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

FreeBSD Manual Pages

  
 
  

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

NAME
       GENLIB_DEF_PHSC	-  load	 a  netlist and	open a layout model as current
       figure

SYNOPSYS
       #include	<genlib.h>
       void GENLIB_DEF_PHSC(cellname)
       char *cellname;

PARAMETERS
       cellname		   Name	of the netlist figure to be looked for in mem-
			   ory or on disk, for futher physical placement.

DESCRIPTION
       DEF_PHSC	 defines the current working figure by it's name, the cellname
       argument, for layout and	netlist	operations.  It	can be use anywhere in
       the  genlib  program,  but  must	appear at least	once at	the top	of it,
       since it	also initalize	the  user's  preferences  through  environment
       variables.
       DEF_PHSC	 looks	for  the netlist figure	cellname in memory, and	if not
       found, on disk. If it fails, an error occurs  and  the  process	termi-
       nates.
       The  main  issue	 of this function is to	allow the netlist and physical
       descriptions of a circuit in two	separate files,	for standard cell  ap-
       proach.	So there is no need to recreate	the netlist view each time the
       placement changes.
       If the physical figure called cellname doesn't exists in	memory,	it  is
       created.	 If it already exists in memory, it makes it the current work-
       ing figure.  DEF_PHSC doesn't look on disk for the figure cellname,  so
       be careful not to overwrite an existing file while saving later on.

EXAMPLE
       #include	<genlib.h>
       main()
       {
	    /* Create a	figure to work on  */
	    GENLIB_DEF_PHSC("mycell");
	    /* Place an	instance */
	    GENLIB_SC_PLACE("instance",	NOSYM,0L,0L);
	    /* Save all	that on	disk */
	    GENLIB_SAVE_PHSC();
       }

SEE ALSO
       genlib(1),  GENLIB_SAVE_PHSC(3),	 GENLIB_SC_PLACE(3), GENLIB_SC_TOP(3),
       GENLIB_SC_BOTTOM(3), GENLIB_SC_LEFT(3), GENLIB_SC_RIGHT(3).

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

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

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

home | help