1 #ifndef _ASG_PARSE_SUPPORT
2 #define _ASG_PARSE_SUPPORT
7 /* for use with g++ code: */
8 extern "C" void Add2TermModule(char*,char*,char*,char*);
9 extern "C" void Add3TermModule(char*,char*,char*,char*,char*);
10 extern "C" void AddNTermModule(char*,char*,int, ...);
11 extern "C" void AddModuleTerm(char*,char*,int,int);
13 /* for use with standard C code: */
15 void Add2TermModule(char *name
,char *type
,char *inNode
,char *outNode
);
16 void Add3TermModule(char *name
,char *type
,char *inNode
,char *outNode
, char *inoutNode
);
17 void AddNTermModule(char *name
, char *type
, int N
, ...);
18 void AddModuleTerm(char *type
, char *netName
, int portnum
, int allports
);
20 /* Assumes the variable arguments form a list of nets corresponding to
21 * each terminal of the module <name> of the given <type>.