Main Content

Generate optimization report

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.

Dependencies

To enable this parameter, select these model configuration parameters:

Settings

on (default) | off
on

Generate these sections in the HTML code generation report:

  • Delay Balancing

  • Hierarchy Flattening

  • Code Reuse

  • Target Code Generation

  • Streaming and Sharing

  • Clock Rate Pipelining

  • Distributed Pipelining

  • Adaptive Pipelining

  • Frame to Sample

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 the sfir_fixed model by using either of these methods:

  • Pass the OptimizationReport parameter as an argument to makehdl.

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

  • Enable the OptimizationReport parameter by using hdlset_param, and then use makehdl.

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

Programmatic Use

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

Version History

Introduced in R2012a

expand all