Generate optimization report - Generate report about impacts of HDL Coder optimizations - MATLAB (original) (raw)

Generate report about impacts of HDL Coder optimizations

Model Configuration Pane: HDL Code Generation / Report

Description

The Generate optimization report parameter enables or disables generation of the sections in the HTML code generation report that describe the impact of HDL Coder optimizations. The report contains information about the results of clock-rate pipelining, distributed pipelining, streaming, sharing, delay balancing, and adaptive pipelining optimizations that are implemented in the generated code. The report includes hyperlinks to the referenced blocks, subsystems, or validation models. If you have floating-point data types in your model and you map to FPGA floating-point libraries, the report includes a target device summary and a link to the generated model.

Settings

on (default) | off

on

Generate 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 generate optimization information 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: OptimizationReport
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2012a

expand all

R2024a: Enabled by default

Starting in R2024a, the Generate optimization report is enabled by default.

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