Difference in resource utilization using HDL Coder
4 ビュー (過去 30 日間)
古いコメントを表示
- Using MATLAB:I have wriiten code in MATLAB HDL coder and it generated synthesized results successfully (connected Vivado internally)

- 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?
0 件のコメント
回答 (1 件)
Sahas
2025 年 4 月 9 日
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!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!