GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RESTOREDIRVBE (3)

[Include document man1/alc_contents.mac]

   restoredirvbe    restoredirvbe

NAME

restoredirvbe - restore connectors directions from behavioral view

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameter
Description
Return Value
Error
Example
See Also

SYNOPSYS






#include "mlo.h"
int restoredirvbe(ptfig)
lofig_list *ptfig;


PARAMETER

ptfig Pointer to a lofig_list

DESCRIPTION

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.

RETURN VALUE

restoredirvbe returns 1 on success, 0 if there is an error while reading the vbe file, -1 if their is no vbe.

ERROR

"*** 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.

EXAMPLE






#include "mut.h"
#include "mlo.h"
lofig_list * getgoodlofig(figname, mode)
char *figname;
char mode;
{
lofig_list *ptfig;
   ptfig = getlofig(figname, mode);
   restoredirvbe(ptfig);
   return ptfig;
}


SEE ALSO

mbk(1), lofig(3), locon(3), getlofig(3),

[Include document man1/alc_bug_report.1]

Search for    or go to Top of page |  Section 3 |  Main Index


ASIM/LIP6 RESTOREDIRVBE (3) October 1, 1997

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.