Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

vfpAlignPins

vfpAlignPins(
t_referencePinFigNameList
t_targetPinfigNameList
g_topCellViewId
)
=> t / nil

Description

Aligns a list of target pins with respect to the position of a list of reference pins.

Arguments

t_referencePinFigNameList

List of reference pins. The following formats are supported to specify pin names:

  • The Term:Pin:PinFig format
  • The '.*' wildcard character and other regular expression constructs
  • Hierarchy delimiter '/' to specify level-1 pin names
  • Vector single and vector bit notations such as A<0>, A<0:4>, A<2>:A<2> in pin names

t_targetPinfigNameList

List of target pins. The following formats are supported to specify pin names:

  • The Term:Pin:PinFig format
  • The '.*' wildcard character and other regular expression constructs
  • Hierarchy delimiter '/' to specify level-1 pin names
  • Vector single and vector bit notations such as A<0>, A<0:4>, A<2>:A<2> in pin names

g_topCellViewId

ID of the top cellview

Value Returned

t

Pin alignment completed successfully.

nil

Pin alignment failed.

Examples

vfpAlignPins("A B C" "I0/A I0/B I0/C") 

Here, the level-1 Pins; A,B,C; of Instance "IO" are aligned with reference to the top-level Pins; A,B,C.

vfpAlignPins("|IO/.*" ".*")

Here, all the top-level pins are aligned with reference to the level-1 pins of instance "IO".

vfpAlignPins("A:A:A B:B:B" "I1/A:A:A I2/B:B:B")
vfpAlignPins("IN<0:10>" "OUT<0:10>") 
vfpAlignPins("|I2/OUT<0:15>" "OUT<0:15>")
vfpAlignPins("|I0/OUT<0:15>" "|I2/IN<0:15>")
vfpAlignPins("|I0/.* |I2/.*" "|I0/.* .*")
vfpAlignPins("|I0/IN<0:8> |I2/IN<0:9> |I2/OUT<0:12>" "|I0/OUT<0:12> IN_top<0:9> OUT<0:8>")

Return to top
 ⠀
X