abc-master
|
Go to the source code of this file.
Macros | |
#define | MIO_EQN_SYM_OPEN '(' |
DECLARATIONS ///. More... | |
#define | MIO_EQN_SYM_CLOSE ')' |
#define | MIO_EQN_SYM_CONST0 '0' |
#define | MIO_EQN_SYM_CONST1 '1' |
#define | MIO_EQN_SYM_NEG '!' |
#define | MIO_EQN_SYM_NEGAFT '\'' |
#define | MIO_EQN_SYM_AND '*' |
#define | MIO_EQN_SYM_AND2 '&' |
#define | MIO_EQN_SYM_XOR '^' |
#define | MIO_EQN_SYM_OR '+' |
#define | MIO_EQN_SYM_OR2 '|' |
#define | MIO_EQN_OPER_NEG 10 |
#define | MIO_EQN_OPER_AND 9 |
#define | MIO_EQN_OPER_XOR 8 |
#define | MIO_EQN_OPER_OR 7 |
#define | MIO_EQN_OPER_MARK 1 |
#define | MIO_EQN_FLAG_START 1 |
#define | MIO_EQN_FLAG_VAR 2 |
#define | MIO_EQN_FLAG_OPER 3 |
#define | MIO_EQN_FLAG_ERROR 4 |
Functions | |
Vec_Int_t * | Mio_ParseFormulaOper (int *pMan, int nVars, Vec_Ptr_t *pStackFn, int Oper) |
FUNCTION DEFINITIONS ///. More... | |
Vec_Int_t * | Mio_ParseFormula (char *pFormInit, char **ppVarNames, int nVars) |
Vec_Wrd_t * | Mio_ParseFormulaTruth (char *pFormInit, char **ppVarNames, int nVars) |
void | Mio_ParseFormulaTruthTest (char *pFormInit, char **ppVarNames, int nVars) |
int | Mio_ParseCheckName (Mio_Gate_t *pGate, char **ppStr) |
int | Mio_ParseCheckFormula (Mio_Gate_t *pGate, char *pForm) |
#define MIO_EQN_FLAG_ERROR 4 |
Definition at line 53 of file mioParse.c.
#define MIO_EQN_FLAG_OPER 3 |
Definition at line 52 of file mioParse.c.
#define MIO_EQN_FLAG_START 1 |
Definition at line 50 of file mioParse.c.
#define MIO_EQN_FLAG_VAR 2 |
Definition at line 51 of file mioParse.c.
#define MIO_EQN_OPER_AND 9 |
Definition at line 44 of file mioParse.c.
#define MIO_EQN_OPER_MARK 1 |
Definition at line 47 of file mioParse.c.
#define MIO_EQN_OPER_NEG 10 |
Definition at line 43 of file mioParse.c.
#define MIO_EQN_OPER_OR 7 |
Definition at line 46 of file mioParse.c.
#define MIO_EQN_OPER_XOR 8 |
Definition at line 45 of file mioParse.c.
#define MIO_EQN_SYM_AND '*' |
Definition at line 36 of file mioParse.c.
#define MIO_EQN_SYM_AND2 '&' |
Definition at line 37 of file mioParse.c.
#define MIO_EQN_SYM_CLOSE ')' |
Definition at line 31 of file mioParse.c.
#define MIO_EQN_SYM_CONST0 '0' |
Definition at line 32 of file mioParse.c.
#define MIO_EQN_SYM_CONST1 '1' |
Definition at line 33 of file mioParse.c.
#define MIO_EQN_SYM_NEG '!' |
Definition at line 34 of file mioParse.c.
#define MIO_EQN_SYM_NEGAFT '\'' |
Definition at line 35 of file mioParse.c.
#define MIO_EQN_SYM_OPEN '(' |
DECLARATIONS ///.
CFile****************************************************************
FileName [mioParse.c]
PackageName [MVSIS 1.3: Multi-valued logic synthesis system.]
Synopsis [Parsing Boolean expressions.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 8, 2003.]
Revision [
]
Definition at line 30 of file mioParse.c.
#define MIO_EQN_SYM_OR '+' |
Definition at line 39 of file mioParse.c.
#define MIO_EQN_SYM_OR2 '|' |
Definition at line 40 of file mioParse.c.
#define MIO_EQN_SYM_XOR '^' |
Definition at line 38 of file mioParse.c.
int Mio_ParseCheckFormula | ( | Mio_Gate_t * | pGate, |
char * | pForm | ||
) |
Definition at line 444 of file mioParse.c.
int Mio_ParseCheckName | ( | Mio_Gate_t * | pGate, |
char ** | ppStr | ||
) |
Function*************************************************************
Synopsis [Checks if the gate's formula essentially depends on all variables.]
Description []
SideEffects []
SeeAlso []
Definition at line 429 of file mioParse.c.
Vec_Int_t* Mio_ParseFormula | ( | char * | pFormInit, |
char ** | ppVarNames, | ||
int | nVars | ||
) |
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 105 of file mioParse.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Performs the operation on the top entries in the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 70 of file mioParse.c.
Vec_Wrd_t* Mio_ParseFormulaTruth | ( | char * | pFormInit, |
char ** | ppVarNames, | ||
int | nVars | ||
) |
Function*************************************************************
Synopsis [Derives the TT corresponding to the equation.]
Description []
SideEffects []
SeeAlso []
Definition at line 396 of file mioParse.c.
void Mio_ParseFormulaTruthTest | ( | char * | pFormInit, |
char ** | ppVarNames, | ||
int | nVars | ||
) |
Definition at line 410 of file mioParse.c.