why the error is occuring while converting from simulink to vhdl?

4 visualizaciones (últimos 30 días)
ramandeep kaur
ramandeep kaur el 17 de Nov. de 2016
Respondida: Tim McBrayer el 17 de Nov. de 2016
i was converting simulink model to vhdl. and this error is showing up "Data-type 'Fix_16_14' is unsupported for HDL code generation. If Xilinx System Generator Subsystem is used, make sure it is not the top level subsystem for code generation." can you please help me out. thank you

Respuestas (1)

Tim McBrayer
Tim McBrayer el 17 de Nov. de 2016
Are you using Xilinx System Generator, and if so, is it at the top of the design hierarchy? If so, you need to fix that, just like the message says.
If you are not using XSG, then you need to use MathWorks' fixpt specification for your data type. Instead of Fix_16_14, you should specify the data type as fixdt(1, 16, 14) for a signed type, or fixdt(0,16,14) for an unsigned type.

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by