PlaceRight - Places an instance at the right of the "reference instance"
PlaceRight ( ins, sym, offsetX, offsetY )
Placement of an instance.
The instance has to be instantiated in the method Netlist
in order to use the PlaceTop
function.
The bottom left corner of the abutment box of the instance is placed, after beeing symetrized and/or rotated, toward the bottom right corner of the abutment box of the "reference instance". The newly placed instance becomes the "reference instance".
ins
: Instance to place.
sym
: Geometrical operation to be performed on the instance before beeing placed.
sym
argument can take eight legal values :
NOSYM
: no geometrical operation is performed
SYM_Y
: Y becomes -Y, that means toward X axe symetry
SYM_X
: X becomes -X, that means toward Y axe symetry
SYMXY
: X becomes -X, Y becomes -Y
ROT_P
: a positive 90 degrees rotation takes place
ROT_M
: a negative 90 degrees rotation takes place
SY_RP
: Y becomes -Y, and then a positive 90 degrees rotation takes place
SY_RM
: Y becomes -Y, and then a negative 90 degrees rotation takes place
offsetX
(optionnal) : An offset is put horizontally. The value given as argument must be a multiple of PITCH
offsetY
(optionnal) : An offset is put vertically. The value given as argument must be a multiple of SLICE
Place ( myInst1, NOSYM, 0, 0 ) PlaceRight ( myInst2, NOSYM )
Some errors may occur :
[Stratus ERROR] Placement : the instance doesn't exist.
[Stratus ERROR] Placement : the first argument is not an instance.
[Stratus ERROR] Placement : the instance is already placed.
[Stratus ERROR] PlaceRight : no previous instance.
PlaceRight
only if a reference instance exist. Use a Place
call before.
[Stratus ERROR] PlaceRight : wrong argument for placement type.
Introduction Place PlaceTop PlaceBottom PlaceLeft SetRefIns DefAb ResizeAb
Sophie BELLOEIL