abc-master
|
#include "parseInt.h"
Go to the source code of this file.
Functions | |
static DdNode * | Parse_ParserPerformTopOp (DdManager *dd, Parse_StackFn_t *pStackFn, int Oper) |
DdNode * | Parse_FormulaParser (FILE *pOutput, char *pFormulaInit, int nVars, int nRanks, char *ppVarNames[], DdManager *dd, DdNode *pbVars[]) |
FUNCTION DEFINITIONS ///. More... | |
#define PARSE_FLAG_ERROR 4 |
Definition at line 90 of file parseCore.c.
#define PARSE_FLAG_OPER 3 |
Definition at line 89 of file parseCore.c.
#define PARSE_FLAG_START 1 |
Definition at line 87 of file parseCore.c.
#define PARSE_FLAG_VAR 2 |
Definition at line 88 of file parseCore.c.
#define PARSE_OPER_AND 9 |
Definition at line 78 of file parseCore.c.
#define PARSE_OPER_EQU 6 |
Definition at line 81 of file parseCore.c.
#define PARSE_OPER_FLL 4 |
Definition at line 83 of file parseCore.c.
#define PARSE_OPER_FLR 5 |
Definition at line 82 of file parseCore.c.
#define PARSE_OPER_MARK 1 |
Definition at line 84 of file parseCore.c.
#define PARSE_OPER_NEG 10 |
Definition at line 77 of file parseCore.c.
#define PARSE_OPER_OR 7 |
Definition at line 80 of file parseCore.c.
#define PARSE_OPER_XOR 8 |
Definition at line 79 of file parseCore.c.
#define PARSE_SYM_AND1 '&' |
Definition at line 59 of file parseCore.c.
#define PARSE_SYM_AND2 '*' |
Definition at line 60 of file parseCore.c.
#define PARSE_SYM_CLOSE ')' |
Definition at line 51 of file parseCore.c.
#define PARSE_SYM_CONST0 '0' |
Definition at line 54 of file parseCore.c.
#define PARSE_SYM_CONST1 '1' |
Definition at line 55 of file parseCore.c.
#define PARSE_SYM_EQU1 '<' |
Definition at line 67 of file parseCore.c.
#define PARSE_SYM_EQU2 '=' |
Definition at line 68 of file parseCore.c.
#define PARSE_SYM_EQU3 '>' |
Definition at line 69 of file parseCore.c.
#define PARSE_SYM_FLL1 '<' |
Definition at line 72 of file parseCore.c.
#define PARSE_SYM_FLL2 '=' |
Definition at line 73 of file parseCore.c.
#define PARSE_SYM_FLR1 '=' |
Definition at line 70 of file parseCore.c.
#define PARSE_SYM_FLR2 '>' |
Definition at line 71 of file parseCore.c.
#define PARSE_SYM_LOWER '[' |
Definition at line 52 of file parseCore.c.
#define PARSE_SYM_NEGAFT '\'' |
Definition at line 58 of file parseCore.c.
#define PARSE_SYM_NEGBEF1 '!' |
Definition at line 56 of file parseCore.c.
#define PARSE_SYM_NEGBEF2 '~' |
Definition at line 57 of file parseCore.c.
#define PARSE_SYM_OPEN '(' |
DECLARATIONS ///.
CFile****************************************************************
FileNameIn [parseCore.c]
PackageName [MVSIS 1.3: Multi-valued logic synthesis system.]
Synopsis [Boolean formula parser.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - February 1, 2003.]
Revision [
]
Definition at line 50 of file parseCore.c.
#define PARSE_SYM_OR1 '+' |
Definition at line 65 of file parseCore.c.
#define PARSE_SYM_OR2 '|' |
Definition at line 66 of file parseCore.c.
#define PARSE_SYM_RAISE ']' |
Definition at line 53 of file parseCore.c.
#define PARSE_SYM_XOR '^' |
Definition at line 64 of file parseCore.c.
#define PARSE_SYM_XOR1 '<' |
Definition at line 61 of file parseCore.c.
#define PARSE_SYM_XOR2 '+' |
Definition at line 62 of file parseCore.c.
#define PARSE_SYM_XOR3 '>' |
Definition at line 63 of file parseCore.c.
#define STACKSIZE 1000 |
Definition at line 92 of file parseCore.c.
DdNode* Parse_FormulaParser | ( | FILE * | pOutput, |
char * | pFormulaInit, | ||
int | nVars, | ||
int | nRanks, | ||
char * | ppVarNames[], | ||
DdManager * | dd, | ||
DdNode * | pbVars[] | ||
) |
FUNCTION DEFINITIONS ///.
INCLUDES ///.
Function*************************************************************
Synopsis [Derives the BDD corresponding to the formula in language L.]
Description [Takes the stream to output messages, the formula, the number variables and the rank in the formula. The array of variable names is also given. The BDD manager and the elementary 0-rank variable are the last two arguments. The manager should have at least as many variables as nVars * (nRanks + 1). The 0-rank variables should have numbers larger than the variables of other ranks.]
SideEffects []
SeeAlso []
Definition at line 116 of file parseCore.c.
|
static |
Function*************************************************************
Synopsis [Performs the operation on the top entries in the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file parseCore.c.