HDL Coder returns with error "Unrecognized fixed-point encoding"
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Kiran Kintali
2020-6-26
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
2020-7-1
can you reach out to support@mathworks.com to help debug this error further?
thanks
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!