![]() |
![]()
| ![]() |
![]()
NAMEGENLIB_SC_BOTTOM - place an instance in the current figure at the right of the "reference instance" SYNOPSIS#include <genlib.h> void GENLIB_SC_BOTTOM(insname, symetry) char ∗insname; char symetry; See the file man1/alc_origin.1. PARAMETERSDESCRIPTIONSC_BOTTOM add an instance in the current cell. The bottom left corner of the abutment box of the instance is placed, after being symetrized and/or rotated, toward the bottom left corner of the abutment box of the "reference instance". The newly placed instance becomes the "reference instance". 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 symetry argument can take eight legal values :
ERRORS"GENLIB_SC_BOTTOM 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_BOTTOM impossible : missing GENLIB_DEF_LOFIG"
The current netlist figure is not define, so
SC_BOTTOM 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_BOTTOM 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.
EXAMPLE#include <genlib.h> main() { /∗ Create a figure to work on ∗/ GENLIB_DEF_PHSC("cell"); /∗ Place two instances ∗/ GENLIB_SC_PLACE("ins1", NOSYM, 0L, 0L); GENLIB_SC_BOTTOM("ins2", SYMXY); /∗ Save all that on disk ∗/ GENLIB_SAVE_PHSC(); } SEE ALSOgenlib(1), GENLIB_DEF_PHSC(3), GENLIB_SAVE_PHSC(3), GENLIB_SC_PLACE(3), GENLIB_SC_TOP(3), GENLIB_SC_RIGHT(3), GENLIB_SC_LEFT(3), GENLIB_DEF_PHINS(3), GENLIB_FLATTEN_PHFIG(3), GENLIB_FLATTEN_ALL_PHINS(3), GENLIB_LOINS(3). See the file man1/alc_bug_report.1.
|