Generate resource utilization report - Generate report with resource utilization information - MATLAB (original) (raw)

Main Content

Generate report with resource utilization information

Model Configuration Pane: HDL Code Generation / Report

Description

The Generate resource utilization report parameter enables or disables generation of these sections in an HTML code generation report:

The High-level Resource Report section contains a summary of hardware resources and detailed information about the number of multipliers, adders, registers, and other resources that the generated HDL code uses.

If you have floating-point data types in your model, you can generate HDL code with native floating-point support. You can map your design to native floating-point libraries or Intel® and Xilinx® FPGA floating-point libraries. The Target-specific Report section includes a target-specific report corresponding to FPGA floating-point library mapping and Native Floating-Point Resource Report section lists the floating-point operators that your Simulink blocks map to.

Settings

on (default) | off

on

Create these sections in the HTML code generation report:

The code generation report contains information about the generated code.

To generate the report, on the HDL Code tab in the Simulink toolstrip, click the Generate HDL Code button.

off

Do not create these sections in the HTML code generation 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 thesfir_fixed model by using either of these methods:

Programmatic Use

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

Version History

Introduced in R2012a

expand all

Starting in R2024a, the Generate resource utilization report parameter is enabled by default.

Before R2024a, the Generate resource utilization report was disabled by default. If you load a model saved before R2024a,Generate resource utilization report is enabled.