leCreatePin
leCreatePin(
d_cellViewId
l_layerPurposePair
t_shape
l_points
t_termName
t_termDir
l_accessDir
)
=> d_pinShapeId / nil
Description
Creates a pin shape in cellview d_cellViewId on the specified layer.
Arguments
|
d_cellViewId
|
The database ID of the cellview in which the pin is created.
|
|
l_layerPurposePair
|
|
|
Specifies the layer-purpose pair on which to create the pin. Valid Values: any valid layer and purpose name
|
|
t_shape
|
Type of shape to use for the pin. Valid Values: rectangle, polygon, or circle.
|
|
l_points
|
List of points to use for the creation of the pin. Valid Values: two for a rectangle and more than two for a polygon pin.
|
|
t_termName
|
Name of the terminal to which the pin is attached. If no such terminal exists, one is created. If the terminal must be created, it is created on a net with the same name as the terminal. Valid Values: any valid SKILL expression
|
|
t_termDir
|
Specifies the I/O type (direction) of the pin. Valid Values: input, output, inputOutput, switch, or jumper
|
|
l_accessDir
|
List of access directions of the pin. This field is used only for rectangular pins. Valid Values: none, top, bottom, left, or right
|
Value Returned
|
d_pinShapeId
|
The object ID for the pin if the pin is created.
|
|
nil
|
The pin is not created.
|
Example
Creates a pin in the current cellview on layer metal1R from 0:0 to 10:10. The pin is attached to terminal term1; the I/O type of the pin input and the access directions of the pin are left and right. Returns the object ID of the pin.
leCreatePin( geGetEditRep() "metal1R" "rectangle" list(0:0 10:10) "term1" "input" list("left" "right") )
Interactive Function
Enter this function with only the window ID argument; the system prompts you to enter the terminal name, pin shape, I/O type, and access direction for the pin. If you do not specify w_windowId, the current window is used.
leHiCreatePin( [ w_windowId ] ) => t / nil
Return to top