abc-master
|
Go to the source code of this file.
Functions | |
static ABC_NAMESPACE_IMPL_START Dec_Graph_t * | Rwr_CutEvaluate (Rwr_Man_t *p, Abc_Obj_t *pRoot, Cut_Cut_t *pCut, Vec_Ptr_t *vFaninsCur, int nNodesSaved, int LevelMax, int *pGainBest, int fPlaceEnable) |
DECLARATIONS ///. More... | |
static int | Rwr_CutIsBoolean (Abc_Obj_t *pObj, Vec_Ptr_t *vLeaves) |
static int | Rwr_CutCountNumNodes (Abc_Obj_t *pObj, Cut_Cut_t *pCut) |
static int | Rwr_NodeGetDepth_rec (Abc_Obj_t *pObj, Vec_Ptr_t *vLeaves) |
int | Rwr_NodeRewrite (Rwr_Man_t *p, Cut_Man_t *pManCut, Abc_Obj_t *pNode, int fUpdateLevel, int fUseZeros, int fPlaceEnable) |
FUNCTION DEFINITIONS ///. More... | |
void | Rwr_CutIsBoolean_rec (Abc_Obj_t *pObj, Vec_Ptr_t *vLeaves, int fMarkA) |
void | Rwr_CutCountNumNodes_rec (Abc_Obj_t *pObj, Cut_Cut_t *pCut, Vec_Ptr_t *vNodes) |
void | Rwr_ScoresClean (Rwr_Man_t *p) |
int | Rwr_ScoresCompare (int *pNum1, int *pNum2) |
void | Rwr_ScoresReport (Rwr_Man_t *p) |
Variables | |
static int | Gains [222] |
Function*************************************************************
Synopsis [Count the nodes in the cut space of a node.]
Description []
SideEffects []
SeeAlso []
Definition at line 449 of file rwrEva.c.
Function*************************************************************
Synopsis [Count the nodes in the cut space of a node.]
Description []
SideEffects []
SeeAlso []
Definition at line 412 of file rwrEva.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [rwrDec.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting package.]
Synopsis [Evaluation and decomposition procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Function*************************************************************
Synopsis [Evaluates the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 253 of file rwrEva.c.
Function*************************************************************
Synopsis [Checks the type of the cut.]
Description [Returns 1(0) if the cut is Boolean (algebraic).]
SideEffects []
SeeAlso []
Definition at line 379 of file rwrEva.c.
Function*************************************************************
Synopsis [Checks the type of the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 353 of file rwrEva.c.
Function*************************************************************
Synopsis [Returns depth of the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 478 of file rwrEva.c.
int Rwr_NodeRewrite | ( | Rwr_Man_t * | p, |
Cut_Man_t * | pManCut, | ||
Abc_Obj_t * | pNode, | ||
int | fUpdateLevel, | ||
int | fUseZeros, | ||
int | fPlaceEnable | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Performs rewriting for one node.]
Description [This procedure considers all the cuts computed for the node and tries to rewrite each of them using the "forest" of different AIG structures precomputed and stored in the RWR manager. Determines the best rewriting and computes the gain in the number of AIG nodes in the final network. In the end, p->vFanins contains information about the best cut that can be used for rewriting, while p->pGraph gives the decomposition dag (represented using decomposition graph data structure). Returns gain in the number of nodes or -1 if node cannot be rewritten.]
SideEffects []
SeeAlso []
Definition at line 59 of file rwrEva.c.
void Rwr_ScoresClean | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file rwrEva.c.
int Rwr_ScoresCompare | ( | int * | pNum1, |
int * | pNum2 | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
void Rwr_ScoresReport | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 550 of file rwrEva.c.