Effacer les filtres
Effacer les filtres

Unable to map lookup tables to RAM in HDL coder

4 vues (au cours des 30 derniers jours)
Ishita Ray
Ishita Ray le 17 Juil 2023
Modifié(e) : Ishita Ray le 19 Juil 2023
I am trying to reduce the utilization of lookup tables in my HDL code while using the Native Floating point library so, I enabled the option to 'map lookup tables to RAM' in the optimization settings. But even after selecting a synthesis tool, the RAM utilization is still at zero. Is there something I am missing that is not mentioned in the documentation?

Réponses (1)

Kiran Kintali
Kiran Kintali le 18 Juil 2023
Can you share a sample model with your configuration settings and desired synthesis results?
All floating point operator level customization options are available in the floating point panel or right-click HDL block options.
Currently 'Map lookup tables to RAM' is not plugged into the floating point operator specific customizations. I will communicate this request to the team.
Please review some sample synthesis metrics here Synthesis Benchmark of Common Native Floating Point Operators. You can easily regenerate the latest synthesis results using this example for your choice of synthesis tool, data types, frequency, fpga device, power settings.
  3 commentaires
Kiran Kintali
Kiran Kintali le 18 Juil 2023
The Map loopup tables to RAM option currently applies to Lookup blocks in Simulink and does not apply to implicit luts inferred within Native Floating Point.
In general use of floating-point incurs additional resources. For high dynamic range applications specifically designs where fixed-point error accumulates rapidly within feedback loops HDL Coder native floating point features are recommended.
Feel free to reach out to tech support for additional assistance. In addition to mapping to RAMs, there are other streaming, sharing and pipelining optimizations that you can employ for futher reducing the size of the hardware and improving performance of the generated code.
Ishita Ray
Ishita Ray le 18 Juil 2023
Modifié(e) : Ishita Ray le 19 Juil 2023
Okay, I understand now. My model does have lookup table blocks in it so I was surprised that none of those were mapped to RAM either. I see no RAM utilization in the systhesis report neither do is there any file generated for highlighting the lookup tables converted to RAM. I'm trying to figure out if there's something is missing.

Connectez-vous pour commenter.

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by