PlaceSegment - Places a segment
PlaceSegment ( net, layer, point1, point2, width )
Placement of a segment.
The segment is created between point1
and point2
on the layer layer
and with width width
. It belongs to the net net
.
Note that the segment must be horizontal or vertival.
net
: Net which the segment 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)
point1
, point2
: The segment is created between those two points
PlaceSegment ( myNet, "ALU3", XY (10, 0), XY (10, 100), 2 )
Some errors may occur :
[Stratus ERROR] PlaceSegment : Argument layer must be a string.
[Stratus ERROR] PlaceSegment : Wrong argument,
the coordinates of the segment must be put in XY objects.
[Stratus ERROR] PlaceSegment : Segments are vertical or horizontal.
Introduction Layout PlaceContact PlacePin PlaceRef GetRefXY ]seccopy
Sophie BELLOEIL