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

  
 
  

home | help
GENLIB_FL...L_LOINS.3(October 1, 1997)	  GENLIB_FL...L_LOINS.3(October 1, 1997)

NAME
     GENLIB_FLATTEN_ALL_LOINS  -  flatten  all	instances in the current netlist
     figure

SYNOPSIS
     #include <genlib.h>
     void GENLIB_FLATTEN_ALL_LOINS(concat, catal)
     char concat, catal;

PARAMETER
     concat		 Indicate whether or not to concatenate instance name to
			 instance' objects name catal Indicate whether or not to
			 look in the catalog file before flattening a cell

DESCRIPTION
     FLATTEN_ALL_LOINS inserts the contents of all the instances of the  current
     figure in the current figure.  All these instances are destroyed during the
     process,  and therefore cannot be referred to later in the netlist descrip-
     tion.
     The concat parameter may take two values:

     YES    to concatenate object name with instance names.

     NO     to copy object names.

     In most case, the concat value must be YES, in order to warranty the  unic-
     ity  of  names  in the figure.  It may otherwise fail, because the function
     would try to add in the current figure some object with an already existing
     name.  The catal parameter may also take two values:

     YES    to check the catalog file to see if the model of an instance  is  in
	    it.  If the model belong to the catalog, then it is not flattened.

     NO     in this case, no checks are done, and every instance is flattened.

EXAMPLE
     #include <genlib.h>
     main()
     {
	  /* Create a figure to work on  */
	  GENLIB_DEF_LOFIG("mycell");
	  .
	  .
	  .
	  /* Place an instance */
	  GENLIB_LOINS("model","instance", "sig1", "sig2", EOL);
	  /* flatten all figure instance */
	  GENLIB_FLATTEN_ALL_LOINS(YES, YES);
	  /* Save all that on disk */
	  GENLIB_SAVE_LOFIG();
     }

SEE ALSO
     genlib(1),     GENLIB_LOINS(3),	GENLIB_FLATTEN_LOFIG(3),    GENLIB_FLAT-
     TEN_ALL_PHINS(3).

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

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=GENLIB_FLATTEN_ALL_LOINS&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help