SC_PLACE - place an instance in the current figure at absolute coordinates
#include <genlib.h>
void SC_PLACE(insname, symetry, x, y)
char *insname;
char symetry;
long x,y;
This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at
ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie
4, place Jussieu
75252 PARIS Cedex 05
FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr
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 :
SC_PLACE impossible : missing 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.
SC_PLACE impossible : missing 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.
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>
main()
{
/* Create a figure to work on */
DEF_PHSC("cell");
/* Place two instances */
SC_PLACE("ins1", NOSYM, 0L, 0L);
SC_PLACE("ins2", NOSYM, 80L, 100L);
/* Save all that on disk */
SAVE_PHSC();
}
genlib(1) , DEF_PHSC(3) , SAVE_PHSC(3) , SC_TOP(3) , SC_BOTTOM(3) , SC_LEFT(3) , SC_RIGHT(3) , DEF_PHINS(3) , FLATTEN_PHFIG(3) , FLATTEN_ALL_PHINS(3) , LOINS(3) .
This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi
research team.
We need your feedbak to improve documentation and tools.
If you find bugs, please fill-in the form at
http://asim.lip6.fr/alliance/support/bug-report/
Thanks for doing this.