Main Content

Generate resource utilization report

Generate HTML resource utilization report

Model Configuration Pane: Report

Description

Enable or disable generation of an HTML resource utilization report. The report contains a summary and detailed information about the number of hardware resources, such as multipliers, adders, and registers that are used in the generated HDL code. If you have floating-point data types in your model, you can generate HDL code with native floating point support or map your design to native floating-point libraries and Intel® or Xilinx® FPGA floating-point libraries. The resource utilization report displays a target-specific report corresponding to FPGA floating-point library mapping and a resource report corresponding to HDL code in native floating-point mode.

Settings

On (default) | Off
On

Create and display an HTML resource utilization report. To generate the report, after you enable this setting, click the Generate button. The code generation report contains a summary section and a code interface report along with the resource utilization report.

Off

Do not create an HTML resource utilization report.

Tips

To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

For example, you can generate a resource utilization report when generating HDL code for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

  • Pass in the ResourceReport parameter as an argument to makehdl.

    makehdl('sfir_fixed/symmetric_fir','ResourceReport','on')

  • Enable the ResourceReport parameter using hdlset_param and then use makehdl.

    hdlset_param('sfir_fixed','ResourceReport','on')
    makehdl('sfir_fixed/symmetric_fir')

Recommended Settings

No recommendations.

Programmatic Use

Parameter: ResourceReport
Type: Character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2012a

expand all