abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Dar_LibObj_t_ |
struct | Dar_LibDat_t_ |
struct | Dar_Lib_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Dar_Lib_t_ | Dar_Lib_t |
DECLARATIONS ///. More... | |
typedef struct Dar_LibObj_t_ | Dar_LibObj_t |
typedef struct Dar_LibDat_t_ | Dar_LibDat_t |
Functions | |
static Dar_LibObj_t * | Dar_LibObj (Dar_Lib_t *p, int Id) |
static int | Dar_LibObjTruth (Dar_LibObj_t *pObj) |
Dar_Lib_t * | Dar_LibAlloc (int nObjs) |
FUNCTION DEFINITIONS ///. More... | |
void | Dar_LibFree (Dar_Lib_t *p) |
int | Dar_LibReturnClass (unsigned uTruth) |
void | Dar_LibReturnCanonicals (unsigned *pCanons) |
void | Dar_LibAddNode (Dar_Lib_t *p, int Id0, int Id1, int fCompl0, int fCompl1) |
void | Dar_LibSetup_rec (Dar_Lib_t *p, Dar_LibObj_t *pObj, int Class, int fCollect) |
void | Dar_LibSetup (Dar_Lib_t *p, Vec_Int_t *vOuts, Vec_Int_t *vPrios) |
void | Dar_LibCreateData (Dar_Lib_t *p, int nDatas) |
void | Dar_LibSetup0_rec (Dar_Lib_t *p, Dar_LibObj_t *pObj, int Class, int fCollect) |
void | Dar_LibPrepare (int nSubgraphs) |
Dar_Lib_t * | Dar_LibRead () |
void | Dar_LibStart () |
MACRO DEFINITIONS ///. More... | |
void | Dar_LibStop () |
void | Dar_LibIncrementScore (int Class, int Out, int Gain) |
void | Dar_LibDumpPriorities () |
int | Dar_LibCutMatch (Dar_Man_t *p, Dar_Cut_t *pCut) |
int | Dar_LibCutMarkMffc (Aig_Man_t *p, Aig_Obj_t *pRoot, int nLeaves, float *pPower) |
void | Dar_LibObjPrint_rec (Dar_LibObj_t *pObj) |
void | Dar_LibEvalAssignNums (Dar_Man_t *p, int Class, Aig_Obj_t *pRoot) |
int | Dar_LibEval_rec (Dar_LibObj_t *pObj, int Out, int nNodesSaved, int Required, float *pPower) |
void | Dar_LibEval (Dar_Man_t *p, Aig_Obj_t *pRoot, Dar_Cut_t *pCut, int Required, int *pnMffcSize) |
void | Dar_LibBuildClear_rec (Dar_LibObj_t *pObj, int *pCounter) |
Aig_Obj_t * | Dar_LibBuildBest_rec (Dar_Man_t *p, Dar_LibObj_t *pObj) |
Aig_Obj_t * | Dar_LibBuildBest (Dar_Man_t *p) |
int | Dar2_LibCutMatch (Gia_Man_t *p, Vec_Int_t *vCutLits, unsigned uTruth) |
void | Dar2_LibEvalAssignNums (Gia_Man_t *p, int Class) |
int | Dar2_LibEval_rec (Dar_LibObj_t *pObj, int Out) |
int | Dar2_LibEval (Gia_Man_t *p, Vec_Int_t *vCutLits, unsigned uTruth, int fKeepLevel, Vec_Int_t *vLeavesBest2) |
void | Dar2_LibBuildClear_rec (Dar_LibObj_t *pObj, int *pCounter) |
int | Dar2_LibBuildBest_rec (Gia_Man_t *p, Dar_LibObj_t *pObj) |
int | Dar2_LibBuildBest (Gia_Man_t *p, Vec_Int_t *vLeavesBest2, int OutBest) |
int | Dar_LibEvalBuild (Gia_Man_t *p, Vec_Int_t *vCutLits, unsigned uTruth, int fKeepLevel, Vec_Int_t *vLeavesBest2) |
DECLARATIONS ///. More... | |
Variables | |
static Dar_Lib_t * | s_DarLib = NULL |
typedef typedefABC_NAMESPACE_IMPL_START struct Dar_Lib_t_ Dar_Lib_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [darLib.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting.]
Synopsis [Library of AIG subgraphs used for rewriting.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - April 28, 2007.]
Revision [
]
typedef struct Dar_LibDat_t_ Dar_LibDat_t |
typedef struct Dar_LibObj_t_ Dar_LibObj_t |
Function*************************************************************
Synopsis [Reconstructs the best cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 1308 of file darLib.c.
int Dar2_LibBuildBest_rec | ( | Gia_Man_t * | p, |
Dar_LibObj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Reconstructs the best cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 1277 of file darLib.c.
void Dar2_LibBuildClear_rec | ( | Dar_LibObj_t * | pObj, |
int * | pCounter | ||
) |
Function*************************************************************
Synopsis [Clears the fields of the nodes used i this cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 1256 of file darLib.c.
Function*************************************************************
Synopsis [Matches the cut with its canonical form.]
Description []
SideEffects []
SeeAlso []
Definition at line 1056 of file darLib.c.
int Dar2_LibEval | ( | Gia_Man_t * | p, |
Vec_Int_t * | vCutLits, | ||
unsigned | uTruth, | ||
int | fKeepLevel, | ||
Vec_Int_t * | vLeavesBest2 | ||
) |
Function*************************************************************
Synopsis [Evaluates one cut.]
Description [Returns the best gain.]
SideEffects []
SeeAlso []
Definition at line 1184 of file darLib.c.
int Dar2_LibEval_rec | ( | Dar_LibObj_t * | pObj, |
int | Out | ||
) |
Function*************************************************************
Synopsis [Evaluates one cut.]
Description [Returns the best gain.]
SideEffects []
SeeAlso []
Definition at line 1149 of file darLib.c.
void Dar2_LibEvalAssignNums | ( | Gia_Man_t * | p, |
int | Class | ||
) |
Function*************************************************************
Synopsis [Assigns numbers to the nodes of one class.]
Description []
SideEffects []
SeeAlso []
Definition at line 1088 of file darLib.c.
void Dar_LibAddNode | ( | Dar_Lib_t * | p, |
int | Id0, | ||
int | Id1, | ||
int | fCompl0, | ||
int | fCompl1 | ||
) |
Function*************************************************************
Synopsis [Adds one AND to the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 236 of file darLib.c.
Dar_Lib_t* Dar_LibAlloc | ( | int | nObjs | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Starts the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 128 of file darLib.c.
Function*************************************************************
Synopsis [Reconstructs the best cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 1031 of file darLib.c.
Aig_Obj_t* Dar_LibBuildBest_rec | ( | Dar_Man_t * | p, |
Dar_LibObj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Reconstructs the best cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 1005 of file darLib.c.
void Dar_LibBuildClear_rec | ( | Dar_LibObj_t * | pObj, |
int * | pCounter | ||
) |
Function*************************************************************
Synopsis [Clears the fields of the nodes used in this cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 984 of file darLib.c.
void Dar_LibCreateData | ( | Dar_Lib_t * | p, |
int | nDatas | ||
) |
Function*************************************************************
Synopsis [Starts the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 432 of file darLib.c.
Function*************************************************************
Synopsis [Marks the MFFC of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 752 of file darLib.c.
void Dar_LibDumpPriorities | ( | ) |
void Dar_LibEval | ( | Dar_Man_t * | p, |
Aig_Obj_t * | pRoot, | ||
Dar_Cut_t * | pCut, | ||
int | Required, | ||
int * | pnMffcSize | ||
) |
Function*************************************************************
Synopsis [Evaluates one cut.]
Description [Returns the best gain.]
SideEffects []
SeeAlso []
Definition at line 920 of file darLib.c.
int Dar_LibEval_rec | ( | Dar_LibObj_t * | pObj, |
int | Out, | ||
int | nNodesSaved, | ||
int | Required, | ||
float * | pPower | ||
) |
Function*************************************************************
Synopsis [Evaluates one cut.]
Description [Returns the best gain.]
SideEffects []
SeeAlso []
Definition at line 863 of file darLib.c.
Function*************************************************************
Synopsis [Assigns numbers to the nodes of one class.]
Description []
SideEffects []
SeeAlso []
Definition at line 806 of file darLib.c.
int Dar_LibEvalBuild | ( | Gia_Man_t * | p, |
Vec_Int_t * | vCutLits, | ||
unsigned | uTruth, | ||
int | fKeepLevel, | ||
Vec_Int_t * | vLeavesBest2 | ||
) |
DECLARATIONS ///.
Function*************************************************************
Synopsis [Evaluate and build the new node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1329 of file darLib.c.
void Dar_LibFree | ( | Dar_Lib_t * | p | ) |
void Dar_LibIncrementScore | ( | int | Class, |
int | Out, | ||
int | Gain | ||
) |
|
inlinestatic |
void Dar_LibObjPrint_rec | ( | Dar_LibObj_t * | pObj | ) |
|
inlinestatic |
void Dar_LibPrepare | ( | int | nSubgraphs | ) |
Function*************************************************************
Synopsis [Starts the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 478 of file darLib.c.
Dar_Lib_t* Dar_LibRead | ( | ) |
Function*************************************************************
Synopsis [Reads library from array.]
Description []
SideEffects []
SeeAlso []
Definition at line 559 of file darLib.c.
void Dar_LibReturnCanonicals | ( | unsigned * | pCanons | ) |
int Dar_LibReturnClass | ( | unsigned | uTruth | ) |
Function*************************************************************
Synopsis [Adds one AND to the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 284 of file darLib.c.
void Dar_LibSetup0_rec | ( | Dar_Lib_t * | p, |
Dar_LibObj_t * | pObj, | ||
int | Class, | ||
int | fCollect | ||
) |
Function*************************************************************
Synopsis [Adds one AND to the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 454 of file darLib.c.
void Dar_LibSetup_rec | ( | Dar_Lib_t * | p, |
Dar_LibObj_t * | pObj, | ||
int | Class, | ||
int | fCollect | ||
) |
Function*************************************************************
Synopsis [Adds one AND to the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 260 of file darLib.c.
void Dar_LibStart | ( | ) |
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Starts the library.]
Description []
SideEffects []
SeeAlso []
void Dar_LibStop | ( | ) |