Transform non zero initial value delay - Specify Transform Delay blocks to have zero initial value - MATLAB (original) (raw)

Main Content

Specify Transform Delay blocks to have zero initial value

Since R2020b

Model Configuration Pane: Optimization / General

Description

The Transform non zero initial value delay parameter specifies whether to transform Delay blocks that have nonzero initial value to Delay blocks that have a zero initial value.

Settings

On (default) | Off

On

Transform Delay blocks with nonzero Initial condition in your SimulinkĀ® model to Delay blocks with zero Initial condition and some additional logic in the generated HDL code.

By using this transformation, HDL Coderā„¢ can perform optimizations such as sharing, distributed pipelining, and clock-rate pipelining more effectively, and prevent an assertion from being triggered in the validation model.

Off

Do not transform Delay blocks with nonzero Initial condition in your Simulink model.

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 set the TransformNonZeroInitValDelay property to on when you generate HDL code for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

No recommendations.

Programmatic Use

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

Version History

Introduced in R2020b