|
abc-master
|
#include "ver.h"Go to the source code of this file.
Macros | |
| #define | VER_PARSE_SYM_OPEN '(' |
| DECLARATIONS ///. More... | |
| #define | VER_PARSE_SYM_CLOSE ')' |
| #define | VER_PARSE_SYM_CONST0 '0' |
| #define | VER_PARSE_SYM_CONST1 '1' |
| #define | VER_PARSE_SYM_NEGBEF1 '!' |
| #define | VER_PARSE_SYM_NEGBEF2 '~' |
| #define | VER_PARSE_SYM_AND '&' |
| #define | VER_PARSE_SYM_OR '|' |
| #define | VER_PARSE_SYM_XOR '^' |
| #define | VER_PARSE_SYM_MUX1 '?' |
| #define | VER_PARSE_SYM_MUX2 ':' |
| #define | VER_PARSE_OPER_NEG 7 |
| #define | VER_PARSE_OPER_AND 6 |
| #define | VER_PARSE_OPER_XOR 5 |
| #define | VER_PARSE_OPER_OR 4 |
| #define | VER_PARSE_OPER_EQU 3 |
| #define | VER_PARSE_OPER_MUX 2 |
| #define | VER_PARSE_OPER_MARK 1 |
| #define | VER_PARSE_FLAG_START 1 |
| #define | VER_PARSE_FLAG_VAR 2 |
| #define | VER_PARSE_FLAG_OPER 3 |
| #define | VER_PARSE_FLAG_ERROR 4 |
Functions | |
| static Hop_Obj_t * | Ver_FormulaParserTopOper (Hop_Man_t *pMan, Vec_Ptr_t *vStackFn, int Oper) |
| static int | Ver_FormulaParserFindVar (char *pString, Vec_Ptr_t *vNames) |
| void * | Ver_FormulaParser (char *pFormula, void *pMan, Vec_Ptr_t *vNames, Vec_Ptr_t *vStackFn, Vec_Int_t *vStackOp, char *pErrorMessage) |
| FUNCTION DEFINITIONS ///. More... | |
| void * | Ver_FormulaReduction (char *pFormula, void *pMan, Vec_Ptr_t *vNames, char *pErrorMessage) |
| #define VER_PARSE_FLAG_ERROR 4 |
Definition at line 56 of file verFormula.c.
| #define VER_PARSE_FLAG_OPER 3 |
Definition at line 55 of file verFormula.c.
| #define VER_PARSE_FLAG_START 1 |
Definition at line 53 of file verFormula.c.
| #define VER_PARSE_FLAG_VAR 2 |
Definition at line 54 of file verFormula.c.
| #define VER_PARSE_OPER_AND 6 |
Definition at line 45 of file verFormula.c.
| #define VER_PARSE_OPER_EQU 3 |
Definition at line 48 of file verFormula.c.
| #define VER_PARSE_OPER_MARK 1 |
Definition at line 50 of file verFormula.c.
| #define VER_PARSE_OPER_MUX 2 |
Definition at line 49 of file verFormula.c.
| #define VER_PARSE_OPER_NEG 7 |
Definition at line 44 of file verFormula.c.
| #define VER_PARSE_OPER_OR 4 |
Definition at line 47 of file verFormula.c.
| #define VER_PARSE_OPER_XOR 5 |
Definition at line 46 of file verFormula.c.
| #define VER_PARSE_SYM_AND '&' |
Definition at line 37 of file verFormula.c.
| #define VER_PARSE_SYM_CLOSE ')' |
Definition at line 32 of file verFormula.c.
| #define VER_PARSE_SYM_CONST0 '0' |
Definition at line 33 of file verFormula.c.
| #define VER_PARSE_SYM_CONST1 '1' |
Definition at line 34 of file verFormula.c.
| #define VER_PARSE_SYM_MUX1 '?' |
Definition at line 40 of file verFormula.c.
| #define VER_PARSE_SYM_MUX2 ':' |
Definition at line 41 of file verFormula.c.
| #define VER_PARSE_SYM_NEGBEF1 '!' |
Definition at line 35 of file verFormula.c.
| #define VER_PARSE_SYM_NEGBEF2 '~' |
Definition at line 36 of file verFormula.c.
| #define VER_PARSE_SYM_OPEN '(' |
DECLARATIONS ///.
CFile****************************************************************
FileName [verFormula.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [Formula parser to read Verilog assign statements.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 19, 2006.]
Revision [
]
Definition at line 31 of file verFormula.c.
| #define VER_PARSE_SYM_OR '|' |
Definition at line 38 of file verFormula.c.
| #define VER_PARSE_SYM_XOR '^' |
Definition at line 39 of file verFormula.c.
| void* Ver_FormulaParser | ( | char * | pFormula, |
| void * | pMan, | ||
| Vec_Ptr_t * | vNames, | ||
| Vec_Ptr_t * | vStackFn, | ||
| Vec_Int_t * | vStackOp, | ||
| char * | pErrorMessage | ||
| ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Parser of the formula encountered in assign statements.]
Description []
SideEffects []
SeeAlso []
Definition at line 76 of file verFormula.c.
|
static |
Function*************************************************************
Synopsis [Returns the index of the new variable found.]
Description []
SideEffects []
SeeAlso []
Definition at line 384 of file verFormula.c.
Function*************************************************************
Synopsis [Performs the operation on the top entries in the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 342 of file verFormula.c.
| void* Ver_FormulaReduction | ( | char * | pFormula, |
| void * | pMan, | ||
| Vec_Ptr_t * | vNames, | ||
| char * | pErrorMessage | ||
| ) |
Function*************************************************************
Synopsis [Returns the AIG representation of the reduction formula.]
Description []
SideEffects []
SeeAlso []
Definition at line 435 of file verFormula.c.