フィルターのクリア

Error during HDL code conversion using HDLWorkFlow Advisor

1 回表示 (過去 30 日間)
Roy Francis
Roy Francis 2014 年 6 月 21 日
回答済み: Tim McBrayer 2014 年 6 月 23 日
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

採用された回答

Tim McBrayer
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 件)

カテゴリ

Help Center および File ExchangeHDL Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by