table of contents
GENLIB_SC_PLACE.3(October 1, 1997) | GENLIB_SC_PLACE.3(October 1, 1997) |
NAME¶
GENLIB_SC_PLACE - place an instance in the current figure at absolute coordinates
SYNOPSYS¶
#include <genlib.h> void GENLIB_SC_PLACE(insname, symetry, x, y) char ∗insname; char symetry; long x,y;
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
PARAMETERS¶
DESCRIPTION¶
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 :
- 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 take place
- ROT_M
- a negative 90 degrees rotation take place
- SY_RP
- Y becomes -Y, and then a positive 90 degrees rotation take place
- SY_RM
- Y becomes -Y, and then a negative 90 degrees rotation take place
ERRORS¶
"GENLIB_SC_PLACE impossible : missing GENLIB_DEF_PHFIG"
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_PLACE("ins2", NOSYM, 80L, 100L); /∗ Save all that on disk ∗/ GENLIB_SAVE_PHSC(); }
SEE ALSO¶
genlib(1), GENLIB_DEF_PHSC(3), GENLIB_SAVE_PHSC(3), GENLIB_SC_TOP(3), GENLIB_SC_BOTTOM(3), GENLIB_SC_LEFT(3), GENLIB_SC_RIGHT(3), GENLIB_DEF_PHINS(3), GENLIB_FLATTEN_PHFIG(3), GENLIB_FLATTEN_ALL_PHINS(3), GENLIB_LOINS(3).
BUG REPORT¶
This tool is under development at the ASIM department of
the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM/LIP6 | PROCEDURAL GENERATION LANGUAGE |