HDL Resource Untilization does not match Synthsis Ouput

2 views (last 30 days)
When running hdl coder for example on mlhdlc_sobelfilter.m the utilization report says the hdl needs multipliers (90) adders/Subtractors (131) etc. Running it through Quartus there are no multipliers or adders. Looking at the generated verilog it appears that Workflow Advisor is incorrectly assuming 32x32 bit adders etc for things which are trivially optimized away. In more complex designs this report becomes useless and one has to run through quartus/ise with each iteration of the m code to get a real picture of the utilization. Is there a switch or setting which will eliminate this issue.

Accepted Answer

Tim McBrayer
Tim McBrayer on 12 Sep 2014
The short answer: no, there is no such setting.
The resource reporting in HDL Coder correlates strongly with a textual analysis of the output HDL code. As HDL Coder is not a synthesis tool it has no real way to know what will ultimately be realized onto the FPGA. The resource report can be used to see the relative change in usage between HDL Coder runs.

More Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!