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

cphSbAddIOPin

cphSbAddIOPin(
g_cphId
{ g_sbId | l_physLCV }
t_termName
t_termType
[ ?lpp txl_layerPurpose ]
[ ?width n_width ]
[ ?height n_height ]
[ ?number x_number ]
[ ?criticality x_criticality ]
[ ?sigType t_sigType ]
)
=> x_pinID / nil

Description

Adds a new pin for the specified soft block and associates the pin with the specified attributes.

Arguments

g_cphId

ID of the physical configuration cellview

g_sbId | l_PhysLCV

The soft block ID or a list of ("lib" "cell" "view") triplets

t_termName

Terminal name corresponding to the pin

t_termType

Terminal Type of the Pin. Valid terminal types are: "input", "output", "inputoutput", "switch", "jumper", "unused", and "tristate".

?lpp "txl_layerPurpose"

Layer Purpose Pair.

Use one of the following arguments to identify the layer purpose pair.

Text:

"layerName" – The default purpose is "drawing"

“layerName purposeName”

Number:

layerNum – The default purpose is "drawing"

List:

list (“layerName” “purposeName”)

list (layerNum, ”purposeName”)

?width "n_width"

Width of the pin

?height "n_height"

Height of the pin

?number "x_number"

Number of pinFigs to be created on the pin. The maximum number of pinFigs that can be created is 20.

?criticality "x_criticality"

Criticality of the terminal (-128 to 128)

?sigType "t_sigType"

Signal type of the terminal

Valid signal types are: "signal", "ground", "supply", "clock", "analog", "tieOff", "tieHi", "tieLo", "scan", and "reset".

Value Returned

x_pinID

Unique ID of the pin that has been added.

nil

The new pin has not been added.

Examples

pinID = cphSbAddIOPin(cphId sbId "AB" "output" ?lpp "metal3 drawing" ?width 10.0 ?height 10.0 ?sigType "signal")
pinID = cphSbAddIOPin(cphId sbId "AB_x" "input" ?lpp "metal2" ?width 10.0 ?height 10.0 ?sigType "power")
pinID = cphSbAddIOPin(cphId list("lib" "cell" "view") "AB_y" "inputoutput" ?lpp 12 ?width 10.0 ?height 10.0 ?sigType "ground")
pinID = cphSbAddIOPin(cphId sbId "AB_z" "switch" ?lpp list("metal3" "grid") ?width 10.0 ?height 10.0 ?sigType "clock")

Return to top
 ⠀
X