Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GENLIB_DEF_AB.3(October	1, 1997)	      GENLIB_DEF_AB.3(October 1, 1997)

NAME
       GENLIB_DEF_AB - define a	new abutment box to the	current	layout cell

SYNOPSYS
       #include	<genlib.h>
       void GENLIB_DEF_AB(dx1, dy1, dx2, dy2);
       long dx1, dy1, dx2, dy2;

PARAMETERS
       dx1, dy1		   Values  to be added to the lower left corner	of the
			   previous abutment box

       dx2, dy2		   Values to be	added to the upper right corner	of the
			   previous abutment box

DESCRIPTION
       DEF_AB give a new abutment box to the current physical cell.  The coor-
       dinates of the abutment box are the coordinates of the envelop  of  the
       abutment	 boxes	of  each instance plus the delta values	given as argu-
       ment. 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.

ERRORS
       "GENLIB_DEF_AB impossible : missing GENLIB_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 be-
	      fore any other layout action.

EXAMPLE
       #include	<genlib.h>
       main()
       {
	    /* Create a	figure to work on  */
	    GENLIB_DEF_PHFIG("cell");
	    /* Place an	instance */
	    GENLIB_PLACE("model","i1", NOSYM,0L,0L);
	    GENLIB_PLACE("model","i2", NOSYM,120L,40L);
	    GENLIB_DEF_PHINS("i1");
	    GENLIB_PLACE_TOP("model2", "i3", NOSYM);
	    /* define the new abutment box as the standard envelop */
	    GENLIB_DEF_AB(0, 0,	0, 0);
	    /* Save all	that on	disk */
	    GENLIB_SAVE_PHFIG();
       }

SEE ALSO
       genlib(1), GENLIB_SAVE_PHFIG(3).

PROCEDURAL GENERATION LANGUAGE	   ASIM/LIP6  GENLIB_DEF_AB.3(October 1, 1997)

NAME | SYNOPSYS | PARAMETERS | DESCRIPTION | ERRORS | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=GENLIB_DEF_AB&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help