DEF_AB - define a new abutment box to the current layout cell
#include <genlib.h>
void DEF_AB(dx1, dy1, dx2, dy2);
long dx1, dy1, dx2, dy2;
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_AB give a new abutment box to the current physical cell. The coordinates of the abutment box are the coordinates of the envelop of the abut_ment boxes of each instance plus the delta values given as argument. The (dx1, dy1) values are added to the (x1, y1) coordinates of the bottom left corner of the standard abutment box (the envelop), and the (dx2, dy2) are added to the top right ones. You have to call this function before saving, otherwise the figure will not have an abutment box. Since it's regarding the abutment box of its model that an instance is placed, any futher use of this figure will be incorrect if DEF_AB isn't called, or properly defined.
DEF_AB impossible : missing DEF_PHFIG" No figure has been yet specified by a call to DEF_PHFIG. So it isn't possible to give it a size. you must call DEF_PHFIG before any other layout action.
#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);
/* define the new abutment box as the standard envelop */
DEF_AB(0, 0, 0, 0);
/* Save all that on disk */
SAVE_PHFIG();
}
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.