GENLIB_HEIGHT3
Compute the height of a model
Synopsys
#include <genlib.h> long GENLIB_HEIGHT(cellname) char ∗cellname;
Parameters
- cellname
-
Name of the cell which height is needed
Overview
HEIGHT looks for the figure called cellname on memory, and then on disk. When found, the figure abutment box height is calculated, and returned.
Return value
HEIGHT returns a long int beeing the cell abutment box height.
Examples
#include <genlib.h>
long cellHeight;
main()
{
cellHeight = GENLIB_HEIGHT("mycell");
GENLIB_DEF_PHFIG("grumf_z");
GENLIB_PLACE("na2_y","ins1", NOSYM, 3 * cellHeight, 0L);
/∗ Save all that on disk ∗/
GENLIB_DEF_AB(0L, 0L, 0L, 0L);
GENLIB_SAVE_PHFIG();
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.