Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreatePin

dbCreatePin( 
d_netId 
d_figId | nil
[ t_pinName | nil ] 
[ d_termId | nil] 

) 
=> d_pin / nil 

Description

Creates a pin.

The figure of a pin represents physical implementation and graphical rendering for the pin. A pin cannot exist without being attached to a terminal. A terminal cannot exist without being attached to a net. Therefore, if the root-net (the top-most parent) of net d_net does not have a terminal, one is created automatically.

The access direction of the pin is initialized to None.

Arguments

d_netId

Net ID for the pin.

d_figId

Figure ID of the pin. The figure purpose attribute is left unchanged.

t_pinName

Pin name nil or an empty string produces an automatically generated name.
Pin name t_pinName is optional. If specified, it must be unique among pins of the same terminal. A unique name is automatically generated if t_pinName is not given.

d_termId

Term ID for the pin.
Term ID d_termId is optional.

Value Returned

d_pin

The new pin.

nil

The pin is not created.

Example

pin = dbCreatePin(net fig)

Related Topics

Connectivity Creation and Modification Functions


Return to top
 ⠀
X