abc-master
|
Go to the source code of this file.
Macros | |
#define | AMAP_EQN_SYM_OPEN '(' |
DECLARATIONS ///. More... | |
#define | AMAP_EQN_SYM_CLOSE ')' |
#define | AMAP_EQN_SYM_CONST0 '0' |
#define | AMAP_EQN_SYM_CONST1 '1' |
#define | AMAP_EQN_SYM_NEG '!' |
#define | AMAP_EQN_SYM_NEGAFT '\'' |
#define | AMAP_EQN_SYM_AND '*' |
#define | AMAP_EQN_SYM_AND2 '&' |
#define | AMAP_EQN_SYM_XOR '^' |
#define | AMAP_EQN_SYM_OR '+' |
#define | AMAP_EQN_SYM_OR2 '|' |
#define | AMAP_EQN_OPER_NEG 10 |
#define | AMAP_EQN_OPER_AND 9 |
#define | AMAP_EQN_OPER_XOR 8 |
#define | AMAP_EQN_OPER_OR 7 |
#define | AMAP_EQN_OPER_MARK 1 |
#define | AMAP_EQN_FLAG_START 1 |
#define | AMAP_EQN_FLAG_VAR 2 |
#define | AMAP_EQN_FLAG_OPER 3 |
#define | AMAP_EQN_FLAG_ERROR 4 |
Functions | |
Hop_Obj_t * | Amap_ParseFormulaOper (Hop_Man_t *pMan, Vec_Ptr_t *pStackFn, int Oper) |
FUNCTION DEFINITIONS ///. More... | |
Hop_Obj_t * | Amap_ParseFormula (FILE *pOutput, char *pFormInit, Vec_Ptr_t *vVarNames, Hop_Man_t *pMan) |
int | Amap_LibParseEquations (Amap_Lib_t *p, int fVerbose) |
void | Amap_LibParseTest (char *pFileName) |
#define AMAP_EQN_FLAG_ERROR 4 |
Definition at line 56 of file amapParse.c.
#define AMAP_EQN_FLAG_OPER 3 |
Definition at line 55 of file amapParse.c.
#define AMAP_EQN_FLAG_START 1 |
Definition at line 53 of file amapParse.c.
#define AMAP_EQN_FLAG_VAR 2 |
Definition at line 54 of file amapParse.c.
#define AMAP_EQN_OPER_AND 9 |
Definition at line 47 of file amapParse.c.
#define AMAP_EQN_OPER_MARK 1 |
Definition at line 50 of file amapParse.c.
#define AMAP_EQN_OPER_NEG 10 |
Definition at line 46 of file amapParse.c.
#define AMAP_EQN_OPER_OR 7 |
Definition at line 49 of file amapParse.c.
#define AMAP_EQN_OPER_XOR 8 |
Definition at line 48 of file amapParse.c.
#define AMAP_EQN_SYM_AND '*' |
Definition at line 39 of file amapParse.c.
#define AMAP_EQN_SYM_AND2 '&' |
Definition at line 40 of file amapParse.c.
#define AMAP_EQN_SYM_CLOSE ')' |
Definition at line 34 of file amapParse.c.
#define AMAP_EQN_SYM_CONST0 '0' |
Definition at line 35 of file amapParse.c.
#define AMAP_EQN_SYM_CONST1 '1' |
Definition at line 36 of file amapParse.c.
#define AMAP_EQN_SYM_NEG '!' |
Definition at line 37 of file amapParse.c.
#define AMAP_EQN_SYM_NEGAFT '\'' |
Definition at line 38 of file amapParse.c.
#define AMAP_EQN_SYM_OPEN '(' |
DECLARATIONS ///.
CFile****************************************************************
FileName [amapParse.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Technology mapper for standard cells.]
Synopsis [Parses representations of gates.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 33 of file amapParse.c.
#define AMAP_EQN_SYM_OR '+' |
Definition at line 42 of file amapParse.c.
#define AMAP_EQN_SYM_OR2 '|' |
Definition at line 43 of file amapParse.c.
#define AMAP_EQN_SYM_XOR '^' |
Definition at line 41 of file amapParse.c.
int Amap_LibParseEquations | ( | Amap_Lib_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Parses equations for the gates.]
Description []
SideEffects []
SeeAlso []
Definition at line 392 of file amapParse.c.
void Amap_LibParseTest | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Parses equations for the gates.]
Description []
SideEffects []
SeeAlso []
Definition at line 461 of file amapParse.c.
Hop_Obj_t* Amap_ParseFormula | ( | FILE * | pOutput, |
char * | pFormInit, | ||
Vec_Ptr_t * | vVarNames, | ||
Hop_Man_t * | pMan | ||
) |
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 106 of file amapParse.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Performs the operation on the top entries in the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 73 of file amapParse.c.