abc-master
|
Go to the source code of this file.
Functions | |
static ABC_NAMESPACE_IMPL_START unsigned | Ivy_NodeGetTruth (Ivy_Obj_t *pObj, int *pNums, int nNums) |
DECLARATIONS ///. More... | |
static int | Ivy_NodeRewrite (Ivy_Man_t *pMan, Rwt_Man_t *p, Ivy_Obj_t *pNode, int fUpdateLevel, int fUseZeroCost) |
static Dec_Graph_t * | Rwt_CutEvaluate (Ivy_Man_t *pMan, Rwt_Man_t *p, Ivy_Obj_t *pRoot, Vec_Ptr_t *vFaninsCur, int nNodesSaved, int LevelMax, int *pGainBest, unsigned uTruth) |
static int | Ivy_GraphToNetworkCount (Ivy_Man_t *p, Ivy_Obj_t *pRoot, Dec_Graph_t *pGraph, int NodeMax, int LevelMax) |
static void | Ivy_GraphUpdateNetwork (Ivy_Man_t *p, Ivy_Obj_t *pRoot, Dec_Graph_t *pGraph, int fUpdateLevel, int nGain) |
int | Ivy_ManRewritePre (Ivy_Man_t *p, int fUpdateLevel, int fUseZeroCost, int fVerbose) |
FUNCTION DEFINITIONS ///. More... | |
unsigned | Ivy_NodeGetTruth_rec (Ivy_Obj_t *pObj, int *pNums, int nNums) |
Ivy_Obj_t * | Ivy_GraphToNetwork (Ivy_Man_t *p, Dec_Graph_t *pGraph) |
void | Ivy_GraphUpdateNetwork3 (Ivy_Man_t *p, Ivy_Obj_t *pRoot, Dec_Graph_t *pGraph, int fUpdateLevel, int nGain) |
Ivy_Obj_t* Ivy_GraphToNetwork | ( | Ivy_Man_t * | p, |
Dec_Graph_t * | pGraph | ||
) |
Function*************************************************************
Synopsis [Transforms the decomposition graph into the AIG.]
Description [AIG nodes for the fanins should be assigned to pNode->pFunc of the leaves of the graph before calling this procedure.]
SideEffects []
SeeAlso []
Definition at line 485 of file ivyRwr.c.
|
static |
Function*************************************************************
Synopsis [Counts the number of new nodes added when using this graph.]
Description [AIG nodes for the fanins should be assigned to pNode->pFunc of the leaves of the graph before calling this procedure. Returns -1 if the number of nodes and levels exceeded the given limit or the number of levels exceeded the maximum allowed level.]
SideEffects []
SeeAlso []
Definition at line 413 of file ivyRwr.c.
|
static |
Function*************************************************************
Synopsis [Replaces MFFC of the node by the new factored form.]
Description []
SideEffects []
SeeAlso []
Definition at line 518 of file ivyRwr.c.
void Ivy_GraphUpdateNetwork3 | ( | Ivy_Man_t * | p, |
Ivy_Obj_t * | pRoot, | ||
Dec_Graph_t * | pGraph, | ||
int | fUpdateLevel, | ||
int | nGain | ||
) |
Function*************************************************************
Synopsis [Replaces MFFC of the node by the new factored form.]
Description []
SideEffects []
SeeAlso []
Definition at line 559 of file ivyRwr.c.
int Ivy_ManRewritePre | ( | Ivy_Man_t * | p, |
int | fUpdateLevel, | ||
int | fUseZeroCost, | ||
int | fVerbose | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Performs incremental rewriting of the AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 55 of file ivyRwr.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [ivyRwt.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [And-Inverter Graph package.]
Synopsis [Rewriting based on precomputation.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 11, 2006.]
Revision [
]
Function*************************************************************
Synopsis [Computes the truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 344 of file ivyRwr.c.
unsigned Ivy_NodeGetTruth_rec | ( | Ivy_Obj_t * | pObj, |
int * | pNums, | ||
int | nNums | ||
) |
Function*************************************************************
Synopsis [Computes the truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 312 of file ivyRwr.c.
|
static |
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 153 of file ivyRwr.c.
|
static |
Function*************************************************************
Synopsis [Evaluates the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 361 of file ivyRwr.c.