restoredirvbe - restore connectors directions from behavioral view
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
#include mlo412.h"
int restoredirvbe(ptfig)
lofig_list *ptfig;
The restoredirvbe function read the PORT section of the vhdl behavuoiral view of the figure, restores the externals connectors directions and order them as indicated in the vbe.
restoredirvbe returns 1 on success, 0 if there is an error while reading the vbe file, -1 if their is no vbe.
*** mbk error *** restoredirvbe : no figure given"
The ptfig parameter is NULL.
*** mbk error *** restoredirvbe : figure %s have more connectors than
vbe"
Number of connetors in vbe and in figure must be identical. If the
vbe have more connectors, the getlocon function give an error on
the unknown connector.
*** mbk error *** restoredirvbe : cannot read port well!"
To restore the connectors directions, the vbe description must have
a port well.
*** mbk error *** restoredirvbe : bit_vect neither to nor downto"
In a port section of a vbe, the bit vector must have indication of
the sens of incrementation.
#include mut412.h"
#include mlo412.h"
lofig_list * getgoodlofig(figname, mode)
char *figname;
char mode;
{
lofig_list *ptfig;
ptfig = getlofig(figname, mode);
restoredirvbe(ptfig)
;
return ptfig;
}
mbk(1) , lofig(3) , locon(3) , getlofig(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.