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 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.
Default: Off
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.
Do not create an HTML resource utilization report.
Property:
ResourceReport |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use 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 Traceability
property as an argument
to
makehdl
.
makehdl('sfir_fixed/symmetric_fir','ResourceReport','on')
Enable the Traceability
property using
hdlset_param
and then use
makehdl
.
hdlset_param('sfir_fixed','ResourceReport','on') makehdl('sfir_fixed/symmetric_fir')