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.
Specify automatic placement of blocks in the HDL model.
Default: On
Property:
autoplace |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
To set this property, use hdlset_param
:
hdlset_param(gcs,'autoplace','on')
To select Auto block placement, first select Generated model.
Specify automatic routing of signals in the generated HDL model.
Default: On
Property:
autoroute |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
To set this property, use hdlset_param
:
hdlset_param(gcs,'autoroute','on')
To select Auto signal routing, first select Auto block placement.
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.
Default: 1.7
Property:
InterBlkHorzScale |
Type: positive
integer | positive double |
Default:
1.7 |
To set this property, use hdlset_param
:
hdlset_param(gcs,'InterBlkHorzScale', 1.7)
To select Inter-block horizontal scaling, first select Auto block placement.
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.
Default: 1.2
Property:
InterBlkVertScale |
Type: positive
integer | positive double |
Default:
1.2 |
To set this property, use hdlset_param
:
hdlset_param(gcs,'InterBlkVertScale', 1.2)
To select Inter-block vertical scaling, first select Auto block placement.