Error during HDL code conversion using HDLWorkFlow Advisor
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Roy Francis
am 21 Jun. 2014
Beantwortet: Tim McBrayer
am 23 Jun. 2014
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 Kommentare
Akzeptierte Antwort
Tim McBrayer
am 23 Jun. 2014
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu HDL Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!