PlaceContact - Places a contact
PlaceContact ( net, layer, point, width, height )
Placement of a contact.
The contact is located at the coodinates of point
, on the layer layer
and has a size of 1 per 1. It belongs to the net net
.
Note that the segment must be horizontal or vertival.
net
: Net which the contact belongs to
layer
: Layer of the segment.
layer
argument is a string wich can take different values, thanks to the technology (file described in HUR_TECHNO_NAME)
point
: Coodinates of the contact
width
: Width of the contact
height
: Height of the contact
PlaceContact ( myNet, "ALU2", XY (10, 0), 2, 2 )
Some errors may occur :
[Stratus ERROR] PlaceContact : Argument layer must be a string.
[Stratus ERROR] PlaceContact : Wrong argument,
the coordinates of the contact must be put in a XY object.
Introduction Layout PlaceSegment PlacePin PlaceRef GetRefXY CopyUpSegment
Sophie BELLOEIL