abc-master
|
Go to the source code of this file.
Macros | |
#define | PARSE_EQN_SYM_OPEN '(' |
DECLARATIONS ///. More... | |
#define | PARSE_EQN_SYM_CLOSE ')' |
#define | PARSE_EQN_SYM_CONST0 '0' |
#define | PARSE_EQN_SYM_CONST1 '1' |
#define | PARSE_EQN_SYM_NEG '!' |
#define | PARSE_EQN_SYM_AND '*' |
#define | PARSE_EQN_SYM_OR '+' |
#define | PARSE_EQN_OPER_NEG 10 |
#define | PARSE_EQN_OPER_AND 9 |
#define | PARSE_EQN_OPER_OR 7 |
#define | PARSE_EQN_OPER_MARK 1 |
#define | PARSE_EQN_FLAG_START 1 |
#define | PARSE_EQN_FLAG_VAR 2 |
#define | PARSE_EQN_FLAG_OPER 3 |
#define | PARSE_EQN_FLAG_ERROR 4 |
#define | PARSE_EQN_STACKSIZE 1000 |
Functions | |
static Hop_Obj_t * | Parse_ParserPerformTopOp (Hop_Man_t *pMan, Parse_StackFn_t *pStackFn, int Oper) |
Hop_Obj_t * | Parse_FormulaParserEqn (FILE *pOutput, char *pFormInit, Vec_Ptr_t *vVarNames, Hop_Man_t *pMan) |
FUNCTION DEFINITIONS ///. More... | |
#define PARSE_EQN_FLAG_ERROR 4 |
Definition at line 50 of file parseEqn.c.
#define PARSE_EQN_FLAG_OPER 3 |
Definition at line 49 of file parseEqn.c.
#define PARSE_EQN_FLAG_START 1 |
Definition at line 47 of file parseEqn.c.
#define PARSE_EQN_FLAG_VAR 2 |
Definition at line 48 of file parseEqn.c.
#define PARSE_EQN_OPER_AND 9 |
Definition at line 42 of file parseEqn.c.
#define PARSE_EQN_OPER_MARK 1 |
Definition at line 44 of file parseEqn.c.
#define PARSE_EQN_OPER_NEG 10 |
Definition at line 41 of file parseEqn.c.
#define PARSE_EQN_OPER_OR 7 |
Definition at line 43 of file parseEqn.c.
#define PARSE_EQN_STACKSIZE 1000 |
Definition at line 52 of file parseEqn.c.
#define PARSE_EQN_SYM_AND '*' |
Definition at line 37 of file parseEqn.c.
#define PARSE_EQN_SYM_CLOSE ')' |
Definition at line 33 of file parseEqn.c.
#define PARSE_EQN_SYM_CONST0 '0' |
Definition at line 34 of file parseEqn.c.
#define PARSE_EQN_SYM_CONST1 '1' |
Definition at line 35 of file parseEqn.c.
#define PARSE_EQN_SYM_NEG '!' |
Definition at line 36 of file parseEqn.c.
#define PARSE_EQN_SYM_OPEN '(' |
DECLARATIONS ///.
CFile****************************************************************
FileNameIn [parseEqn.c]
PackageName [ABC: Logic synthesis and verification system.]
Synopsis [Boolean formula parser.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - December 18, 2006.]
Revision [
]
Definition at line 32 of file parseEqn.c.
#define PARSE_EQN_SYM_OR '+' |
Definition at line 38 of file parseEqn.c.
Hop_Obj_t* Parse_FormulaParserEqn | ( | FILE * | pOutput, |
char * | pFormInit, | ||
Vec_Ptr_t * | vVarNames, | ||
Hop_Man_t * | pMan | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Derives the AIG corresponding to the equation.]
Description [Takes the stream to output messages, the formula, the vector of variable names and the AIG manager.]
SideEffects []
SeeAlso []
Definition at line 72 of file parseEqn.c.
|
static |
Function*************************************************************
Synopsis [Performs the operation on the top entries in the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 334 of file parseEqn.c.