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
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. The default layout style is AutoArrange.

Dotty

When you set the Layout style to Dotty, the model is generated using graphviz 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.

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.

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

AutoArrange (default) | Dotty | None

Default: AutoArrange

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 Dotty or AutoArrange.

To set this property, use hdlset_param,

hdlset_param(gcs,'LayoutStyle','AutoArrange')

Recommended Settings

No recommended settings.

Programmatic Use

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

Version History

Introduced in R2021b

See Also

Model Settings