Debugging Errors for HDL Code Generation of IFFT

5 次查看(过去 30 天)
Hi ,
I am trying to generate HDL Code for IFFT through simulink model. I am trying to debug the following errors. Please help me in this.
1. Cannot find the implementation for block 'IFFT_HDL2/Pulse Generator
2. Illegal conversion to/from double and fixed-point--operation not possible in IFFT_HDL2/DTC.
3. Error: To guarantee data integrity in generated HDL code, set the "Multitask rate transition" and "Single task rate transition" options to "Error". You can set these options in Simulation -> Configuration Parameters -> Diagnostics -> Sample Time.

回答(1 个)

Bharath Venkataraman
HDL code generation is not supported for the pulse generator and double to fixed-point blocks. Did you mean to generate HDL code for those blocks?
Put the design for which you want HDL code into a subsystem and generate HDL code for that subsystem by specifying it in the UI or to makehdl.

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by