Unable to map lookup tables to RAM in HDL coder

조회 수: 2 (최근 30일)
Ishita Ray
Ishita Ray . 2023년 7월 17일
편집: Ishita Ray . 2023년 7월 19일
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?

답변 (1개)

Kiran Kintali
Kiran Kintali 2023년 7월 18일
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
Kiran Kintali
Kiran Kintali 2023년 7월 18일
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 2023년 7월 18일
편집: Ishita Ray 님. 2023년 7월 19일
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.

댓글을 달려면 로그인하십시오.




Community Treasure Hunt

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

Start Hunting!

Translated by