Product Documentation
Virtuoso Module Generator User Guide
Product Version IC23.1, November 2023

Set Member Alignment and Spacing Form

Use the Set Member Alignment and Spacing form to specify alignment and spacing values for instances in Modgens.

Field Description

Apply To

Lists the Modgen members to which the alignment and spacing settings need to be applied.

Horizontal

Specifies the alignment of instances along the horizontal axis, which is the x-axis.

Alignment

Specifies the horizontal alignments of the selected instances. The available options are:

  • left: The left edge of the selected instance is aligned with the left edge of the instance below it.
  • right: The right edge of the selected instance is aligned with the right edge of the instance below it.
  • center: The center of the selected instance is aligned with the center of the instance below it.

  • custom: The left edge of the selected instance is separated by the specified horizontal distance from the right edge of the neighboring instance.
  • customRight: The right edge of the selected instance is separated by the specified horizontal distance from the left edge of the neighboring instance.

Environment variables: modgenDefHoriAlignment

Spacing to Left

Specifies the spacing of selected instances from the left edge.

Environment variables: modgenDefHoriSpacing

Layer

Specifies the reference layer based on which:

  • The horizontal spacing of devices must be calculated.
  • Instances must be aligned horizontally.

Environment variable: modgenDefHCSRefLayer

Purpose

Specifies the reference purpose for calculating custom spacing value and for specifying the alignment of instances.

Environment variable: modgenDefHCSRefPurpose

Vertical

Specifies the alignment of instances along the vertical axis, which is the y-axis.

Alignment

Specifies the vertical alignments of the selected instances. The available options are:

  • top: The top edge of the selected instance is aligned with the top edge of the instance to the left.

  • bottom: The bottom edge of the selected instance is aligned with the bottom edge of the instance to the left.
  • center: The center of the selected instance is aligned with the center of the instance to the left.
  • custom: The bottom edge of the selected instance is separated by the specified vertical distance from the top edge of the instance below it.
  • customTop: The top edge of the selected instance is separated by the specified vertical distance from the bottom edge of the instance above it.

Multiple instances can be selected and their horizontal and vertical alignments can be set. For example, if multiple instances in a row are selected and their vertical alignment is set to top, all instances are top aligned. Environment variable: modgenDefVertAlignment

Spacing to Bottom

Specifies the spacing of selected instances from the bottom edge.

Environment variables: modgenDefVertSpacing

Layer

Specifies the reference layer based on which:

  • The vertical spacing of devices must be calculated.
  • Instances must be aligned vertically.

Environment variable: modgenDefVCSRefLayer

Purpose

Specifies the reference purpose for calculating custom spacing value and for specifying the alignment of instances.

Environment variable: modgenDefVCSRefPurpose

Save Values

Overwrites environment variables with the values specified in the Set Member Alignment and Spacing form.

Load Values

Resets all values in the form with values from their corresponding environment variables stored in the .cdsenv file. These values were saved earlier by clicking Save Values.

Apply to All Modgen Members

Applies the custom spacing to all the devices in the module.

Related Topics

Specifying Modgen Device Alignment and Spacing


Return to top
 ⠀
X