Error during HDL code conversion using HDLWorkFlow Advisor
2 次查看(过去 30 天)
显示 更早的评论
Hello, I have created a three phase sine wave using CORDIC sine block in the Simulink. This is to be used for a Sine PWM generation. The model simulated perfectly, but during HDL conversion using HDL WorkFlow Advisor, the following error reported:
| | * *"SPWM_VHz/Sine1/Sine/Look-Up Table Error: The "Use last table value..." parameter on the Lookup Table (n-D) block must be selected for HDL code generation."
"SPWM_VHz/Sine1/Sine/Look-Up Table Error: "Require all inputs to have the same data type" must be selected on the Lookup Table (n-D) for HDL code generation."* * | |
*"SPWM_VHz/Sine1/Sine/Look-Up Table Warning: Using linear interpolation on the Lookup Table (n-D) block requires a divide operator in the generated HDL which may not be synthesizable."
The sine waveform used in the block is set in sample based mode from Simulink. Number of samples used is 1024 samples (2^10 +1 samples/cycle). The model sample time 1us.*
I have enclosed the model for your reference.
Thanking you in advance,
Roy
0 个评论
采纳的回答
Tim McBrayer
2014-6-23
This issue has been fixed in R2014a and newer releases. For earlier releases you will need to break the library link and manually make the modifications that the error messages are recommending to the LUT block contained within the Sine block.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!