Difference in resource utilization using HDL Coder

4 visualizaciones (últimos 30 días)
Achala G
Achala G el 1 de Abr. de 2025
Respondida: Sahas el 9 de Abr. de 2025
  1. Using MATLAB:I have wriiten code in MATLAB HDL coder and it generated synthesized results successfully (connected Vivado internally)
  1. Xilinx Vivado: For same logic i have written a verilog code and synthesized directly in Vivado and got synthesized results.
Result: HDL coder (MATLAB code) requires more resources compared to direct synthesis using Vivado(verilog code).
Querry: Why this difference appeared even in both the places I have used same logic?

Respuestas (1)

Sahas
Sahas el 9 de Abr. de 2025
When you write code in Verilog on your own the implementation can be different as the code you might have written is more optimized and starightforward to your use. On the other hand, the code generated by MATLAB is fairly generic and less optimized. This is the reason that you can see difference in resourse estimation.
For more information to estimate FPGA resource utilization using MATALB, refer to the following MathWorks documentation on the function "estimateResources": https://www.mathworks.com/help/deep-learning-hdl/ref/dlhdl.processorconfig.estimateresources.html
I hope this is beneficial!

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by