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

  
 
  

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

NAME
     GENLIB_FLATTEN_PHFIG - flatten an instance in the current layout figure

SYNOPSIS
     #include <genlib.h>
     void GENLIB_FLATTEN_PHFIG(insname,concat)
     char *insname;
     char concat;

PARAMETERS
     insname		 Name of the instance to be flattened

     concat		 Indicate whether or not to concatenate instance name to
			 instance' objects name

DESCRIPTION
     FLATTEN_PHFIG  inserts  the contents of an instance, but its connectors, in
     the current figure, and then destroys the instance.
     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.

EXAMPLE
     #include <genlib.h>
     main()
     {
	  /* Create a figure to work on  */
	  GENLIB_DEF_PHFIG("mycell");
	  .
	  .
	  .
	  /* Place an instance */
	  GENLIB_PLACE("model","instance", SYM_X, 0, 0);
	  /* flatten an instance */
	  GENLIB_FLATTEN_PHFIG("instance", YES);
	  /* Save all that on disk */
	  GENLIB_SAVE_PHFIG();
     }

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

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

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

home | help