Layout Options

Different layout options are available in HDL Code Generation > Global Settings pane under the Model Generation tab. You can control placement of blocks, routing of signals within the models, and scaling of blocks.

Auto block placement

Specify automatic placement of blocks in the HDL model.

Settings

Default: On

Command-Line Information

Property: autoplace
Type: character vector
Value: 'on' | 'off'
Default: 'on'

To set this property, use hdlset_param:

hdlset_param(gcs,'autoplace','on')

Dependency

To select Auto block placement, first select Generated model.

See Also

Model Generation for HDL Code

Auto signal routing

Specify automatic routing of signals in the generated HDL model.

Settings

Default: On

Command-Line Information

Property: autoroute
Type: character vector
Value: 'on' | 'off'
Default: 'on'

To set this property, use hdlset_param:

hdlset_param(gcs,'autoroute','on')

Dependency

To select Auto signal routing, first select Auto block placement.

See Also

Model Generation for HDL Code

Inter-block horizontal scaling

Scale the generated model horizontally. You can use this setting with Inter-block vertical scaling depending on how tightly packed or loosely packed you want the model to appear.

Settings

Default: 1.7

Command-Line Information

Property: InterBlkHorzScale
Type: positive integer | positive double
Default: 1.7

To set this property, use hdlset_param:

hdlset_param(gcs,'InterBlkHorzScale', 1.7)

Dependency

To select Inter-block horizontal scaling, first select Auto block placement.

See Also

Model Generation for HDL Code

Inter-block vertical scaling

Scale the generated model vertically. You can use this setting with Inter-block horizontal scaling depending on how tightly packed or loosely packed you want the model to appear.

Settings

Default: 1.2

Command-Line Information

Property: InterBlkVertScale
Type: positive integer | positive double
Default: 1.2

To set this property, use hdlset_param:

hdlset_param(gcs,'InterBlkVertScale', 1.2)

Dependency

To select Inter-block vertical scaling, first select Auto block placement.

See Also

Model Generation for HDL Code