Main Content

Layout style

Layout style of the generated HDL model

Since R2021b

Model Configuration Pane: Global Settings / Model Generation

Description

Select the layout style of the generated HDL model for better layout visualization.

Layout StyleDescription
None

When you set the Layout style to None, the generated model has no layout. Use this layout style when you want to test only functionality. The code generation time is significantly reduced.

Default

When you set the Layout style to Default, the model is generated using default HDL coder layout. Use this layout style when you want to verify the configured optimizations on the input model by using optimization reports.

You can set the Auto signal routing to on or off based on the layout visualization and code generation time.

When the design complexity is high, the layout process might not succeed. Code generation does not proceed after the '### Begin model generation' message in the command log. In such a scenario, you can switch layout option to None or change the style to AutoArrange.

AutoArrange

When you set the Layout style to AutoArrange, the model is generated by using a Simulink® layout. Use this layout style when you want to verify the configured optimizations on the input model by using optimization reports.

Note

For an input model that has no optimizations configured, you cannot observe the layout effect of these layout styles. The generated model appears the same as the input model.

Dependencies

To select Layout style, first select Generated model.

Settings

'Default' (default) | 'AutoArrange' | 'None'

Default: Default

Tips

  • Consider introducing hierarchy in the model to reduce the complexity and number of blocks to be placed in a single level. Such model refactoring helps improve the layout computation process.

  • The code generation time increases when you change the layout style to Default or AutoArrange.

To set this property, use hdlset_param,

hdlset_param(gcs,'LayoutStyle','Default')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: LayoutStyle
Type: character vector
Value: 'None' | 'Default'| 'AutoArrange'
Default: 'Default'

Version History

Introduced in R2021b

See Also

Model Settings