HDL Coder returns with error "Unrecognized fixed-point encoding"
3 views (last 30 days)
Show older comments
When running HDL Coder, trying to generate generic RTL, HDL Coder fails returning a cryptic error:
"Unrecognized fixed-point encoding."
It offers no further details. If I click on the associated Simulink Blocks and resources link, it takes me to a whole subsystem, not highlighting any offending blocks. So, I went through all of the blocks in the subsystem, finding nothing wrong with how the fixed point data types are defined.
Does anyone know what exactly this error actually means or how to debug it?
One additional note - I get the same error regardless of whether I generate the code from the HDL Workflow Advisor or Generate HDL for Subsystem context menu.
0 Comments
Answers (2)
Kiran Kintali
on 26 Jun 2020
Hi Tim,
Based on the error message this does not seem to be coming during code generation process. Are you sure you able to compile (ctrl-d) and simulate the model (ctrl-t)?
If you provide a model with reproduction steps we can provide better guidance on HDL code generation.
Thanks
Kiran Kintali
on 1 Jul 2020
can you reach out to support@mathworks.com to help debug this error further?
thanks
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!