Error during HDL code conversion using HDLWorkFlow Advisor
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Roy Francis
il 21 Giu 2014
Risposto: Tim McBrayer
il 23 Giu 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 Commenti
Risposta accettata
Tim McBrayer
il 23 Giu 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su HDL Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!