REVERSE_PHCON - reverse the order of physical connectors on a bus.
#include <genlib.h>
void REVERSE_PHCON(basename)
char *basename;
This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at
ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie
4, place Jussieu
75252 PARIS Cedex 05
FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr
REVERSE_PHCON will change the indexes of the vector called basename, making the greatest values the smallest and so on. Both hard connectors, 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.
#include <genlib.h>
main()
{
DEF_PHFIG("rom");
/* Create a figure to work on */
.
.
.
/* Reverse the bit ordering if needed */
if (msb0)
REVERSE_PHCON("adr");
/* Save all that on disk */
SAVE_PHFIG();
}
genlib(1) , PHCON(3) , PHREF(3) , COPY_UP_CON(3) , COPY_UP_ALL_CON(3) , COPY_UP_CON_FACE(3) , COPY_UP_REF(3) .
This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi
research team.
We need your feedbak to improve documentation and tools.
If you find bugs, please fill-in the form at
http://asim.lip6.fr/alliance/support/bug-report/
Thanks for doing this.