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

FreeBSD Manual Pages

  
 
  

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

NAME
       GENLIB_REVERSE_PHCON  -	reverse	 the order of physical connectors on a
       bus.

SYNOPSYS
       #include	<genlib.h>
       void GENLIB_REVERSE_PHCON(basename)
       char *basename;

PARAMETERS
       basename		   Radical of the vector to be reversed.

DESCRIPTION
       REVERSE_PHCON will change the indexes of	the  vector  called  basename,
       making  the  greatest values the	smallest and so	on.  Both hard connec-
       tors, created by	PHCON(3) like functions	and virtual  ones,  done  with
       PHREF(3),  will	be taken into account for the reverse operation.  This
       function	is mainly useful to implement the msb0 options of the Alliance
       CAD  system module generators, as the whole design can be done with the
       designer	choosen	bit ordering, and modified on user demand only	before
       saving.

EXAMPLE
       #include	<genlib.h>
       main()
       {
	    GENLIB_DEF_PHFIG("rom");
	    /* Create a	figure to work on  */
	    .
	    .
	    .
	    /* Reverse the bit ordering	if needed */
	    if (msb0)
		 GENLIB_REVERSE_PHCON("adr");
	    /* Save all	that on	disk */
	    GENLIB_SAVE_PHFIG();
       }

SEE ALSO
       genlib(1),   GENLIB_PHCON(3),  GENLIB_PHREF(3),	GENLIB_COPY_UP_CON(3),
       GENLIB_COPY_UP_ALL_CON(3),	GENLIB_COPY_UP_CON_FACE(3),	  GEN-
       LIB_COPY_UP_REF(3).

PROCEDURAL GENERATION LANGUAGE	   ASIMGENLIB_REVERSE_PHCON.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_REVERSE_PHCON&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help