DEF_PHINS - define a new reference instance
#include <genlib.h>
void DEF_PHINS(instancename);
char *instancename;
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
DEF_PHINS define the new reference instance", used as starting point in the relative placement functions of genlib. It's regarding the abutment box of the instance instancename that the next instance is going to be placed, if using the appropriate functions. Notice that the more recently placed instance becomes automaticaly the reference instance", if DEF_PHINS isn't called.
DEF_PHINS impossible : missing DEF_PHFIG" No figure has been yet specified by a call to DEF_PHFIG. So it isn't possible to refer to an instance inside it. you must call DEF_PHFIG before any other layout action. instance instancename doesn't exist in current figure" The instance instancename hasn't currently been placed in the figure, so it's impossible do to any placement from it.
#include <genlib.h>
main()
{
/* Create a figure to work on */
DEF_PHFIG("cell");
/* Place an instance */
PLACE("model","i1", NOSYM,0L,0L);
PLACE("model","i2", NOSYM,120L,40L);
DEF_PHINS("i1");
PLACE_TOP("model2", i3", NOSYM);
genlib(1) , PLACE(3) , PLACE_TOP(3) , PLACE_RIGHT(3) , PLACE_LEFT(3) , PLACE_BOTTOM(3) , SC_PLACE(3) , SC_TOP(3) , SC_RIGHT(3) , SC_LEFT(3) , SC_BOTTOM(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.