GENLIB_SC_PLACE(1) place an instance in the current figure at absolute coordinates


#include <genlib.h>
void GENLIB_SC_PLACE(insname, symetry, x, y)
char *insname;
char symetry;
long x,y;
man2html: unable to open or read file man1/alc_origin.1


Name to be given to the instance on the model
Geometrical operation to be performed on the instance before beeing placed
x, y
Coordinates of the lower left corner of the abutment box of the model in the current figure


SC_PLACE add an instance in the current cell. The bottom left corner of the instance is placed, after beeing symetrized and/or rotated, at (x, y) coordinates. The placement takes place only if the netlist is up to day, because the model of the instance is seeked there, in order to ensure consistency. The placed instance becomes the new "reference instance", used in the relative placement functions.
The symetry argument can take eight legal values :
no geometrical operation is performed
Y becomes -Y, that means toward X axe symetry
X becomes -X, that means toward Y axe symetry
X becomes -X, Y becomes -Y
a positive 90 degrees rotation take place
a negative 90 degrees rotation take place
Y becomes -Y, and then a positive 90 degrees rotation take place
Y becomes -Y, and then a negative 90 degrees rotation take place


"GENLIB_SC_PLACE impossible : missing GENLIB_DEF_PHFIG"
No figure has been yet specified by a call to DEF_PHFIG. So it isn't possible to place an instance inside it. you must call DEF_PHFIG before any other layout action.
"GENLIB_SC_PLACE impossible : missing GENLIB_DEF_LOFIG"
The current netlist figure is not define, so SC_PLACE doesn't know where to pick up the model. A DEF_LOFIG or a DEF_PHSC is to be performed to avoid this error.
"GENLIB_SC_PLACE impossible : no logical instance insname"
The instance insname does not exist in the netlist representation of the cell. It may lead us to believe that there is a consistency problem between the two representation of this cell.
"illegal addphins : transformation is x in insname"
The symetry parameter is not one of the define given, but has the integer value x.


#include <genlib.h>
        /* Create a figure to work on  */
        /* Place two instances */
        GENLIB_SC_PLACE("ins1", NOSYM, 0L, 0L);
        GENLIB_SC_PLACE("ins2", NOSYM, 80L, 100L);
        /* Save all that on disk */