abc-master
|
Go to the source code of this file.
Macros | |
#define | Dtc_ForEachCut(pList, pCut, i) for ( i = 0, pCut = pList + 1; i < pList[0]; i++, pCut += pCut[0] + 1 ) |
DECLARATIONS ///. More... | |
#define | Dtc_ForEachFadd(vFadds, i) for ( i = 0; i < Vec_IntSize(vFadds)/5; i++ ) |
#define Dtc_ForEachCut | ( | pList, | |
pCut, | |||
i | |||
) | for ( i = 0, pCut = pList + 1; i < pList[0]; i++, pCut += pCut[0] + 1 ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [giaFadds.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Extraction of full-adders.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 32 of file giaFadds.c.
#define Dtc_ForEachFadd | ( | vFadds, | |
i | |||
) | for ( i = 0; i < Vec_IntSize(vFadds)/5; i++ ) |
Definition at line 33 of file giaFadds.c.
int Dtc_ManCompare | ( | int * | pCut0, |
int * | pCut1 | ||
) |
Definition at line 283 of file giaFadds.c.
int Dtc_ManCompare2 | ( | int * | pCut0, |
int * | pCut1 | ||
) |
Definition at line 293 of file giaFadds.c.
void Dtc_ManComputeCuts | ( | Gia_Man_t * | p, |
Vec_Int_t ** | pvCutsXor, | ||
Vec_Int_t ** | pvCutsMaj, | ||
int | fVerbose | ||
) |
Definition at line 204 of file giaFadds.c.
int Dtc_ManCutCheckEqual | ( | Vec_Int_t * | vCuts, |
int * | pCutNew | ||
) |
Definition at line 127 of file giaFadds.c.
void Dtc_ManCutMerge | ( | Gia_Man_t * | p, |
int | iObj, | ||
int * | pList0, | ||
int * | pList1, | ||
Vec_Int_t * | vCuts, | ||
Vec_Int_t * | vCutsXor, | ||
Vec_Int_t * | vCutsMaj | ||
) |
Definition at line 177 of file giaFadds.c.
int Dtc_ManCutMergeOne | ( | int * | pCut0, |
int * | pCut1, | ||
int * | pCut | ||
) |
Function*************************************************************
Synopsis [Detecting FADDs in the AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 97 of file giaFadds.c.
Definition at line 238 of file giaFadds.c.
void Dtc_ManPrintFadds | ( | Vec_Int_t * | vFadds | ) |
Definition at line 268 of file giaFadds.c.
void Dtc_ObjCleanTruth_rec | ( | Gia_Obj_t * | pObj | ) |
Definition at line 151 of file giaFadds.c.
int Dtc_ObjComputeTruth | ( | Gia_Man_t * | p, |
int | iObj, | ||
int * | pCut, | ||
int * | pTruth | ||
) |
Definition at line 161 of file giaFadds.c.
int Dtc_ObjComputeTruth_rec | ( | Gia_Obj_t * | pObj | ) |
Definition at line 141 of file giaFadds.c.
void Gia_ManCollectOneChain | ( | Gia_Man_t * | p, |
Vec_Int_t * | vFadds, | ||
int | iFaddTop, | ||
Vec_Int_t * | vMap, | ||
Vec_Int_t * | vChain | ||
) |
Definition at line 377 of file giaFadds.c.
Vec_Wec_t* Gia_ManCollectTopmost | ( | Gia_Man_t * | p, |
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
int | nFaddMin | ||
) |
Definition at line 403 of file giaFadds.c.
Function*************************************************************
Synopsis [Derive GIA with boxes containing adder-chains.]
Description []
SideEffects []
SeeAlso []
Definition at line 499 of file giaFadds.c.
Function*************************************************************
Synopsis [Map each MAJ into the topmost MAJ of its chain.]
Description []
SideEffects []
SeeAlso []
Definition at line 328 of file giaFadds.c.
Definition at line 300 of file giaFadds.c.
void Gia_ManDupFadd | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Vec_Int_t * | vChain, | ||
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
Vec_Wec_t * | vChains, | ||
Vec_Int_t * | vMap2Chain, | ||
Vec_Int_t * | vTruths | ||
) |
Definition at line 565 of file giaFadds.c.
Definition at line 768 of file giaFadds.c.
Definition at line 864 of file giaFadds.c.
Gia_Man_t* Gia_ManDupWithArtificialBoxes | ( | Gia_Man_t * | p, |
int | DelayC, | ||
int | nPathMin, | ||
int | nPathMax, | ||
int | nPathLimit, | ||
int | fUseFanout, | ||
int | fIgnoreBoxDelays, | ||
int | fVerbose | ||
) |
Definition at line 1082 of file giaFadds.c.
void Gia_ManDupWithFaddBoxes_rec | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
Vec_Wec_t * | vChains, | ||
Vec_Int_t * | vMap2Chain, | ||
Vec_Int_t * | vTruths | ||
) |
Definition at line 631 of file giaFadds.c.
Definition at line 651 of file giaFadds.c.
int Gia_ManFindAnnotatedDelay | ( | Gia_Man_t * | p, |
int | DelayC, | ||
int * | pnBoxes, | ||
int | fIgnoreBoxDelays | ||
) |
Function*************************************************************
Synopsis [Adds artificial carry chains to the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 897 of file giaFadds.c.
Definition at line 367 of file giaFadds.c.
int Gia_ManFindChains_rec | ( | Gia_Man_t * | p, |
int | iMaj, | ||
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
Vec_Int_t * | vLength | ||
) |
Definition at line 336 of file giaFadds.c.
int Gia_ManFindChainStart | ( | Gia_Man_t * | p | ) |
Definition at line 966 of file giaFadds.c.
Vec_Int_t* Gia_ManFindMapping | ( | Gia_Man_t * | p, |
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
Vec_Wec_t * | vChains | ||
) |
Definition at line 467 of file giaFadds.c.
Definition at line 983 of file giaFadds.c.
float* Gia_ManGenerateDelayTableFloat | ( | int | nIns, |
int | nOuts | ||
) |
Definition at line 517 of file giaFadds.c.
Gia_Man_t* Gia_ManGenerateExtraAig | ( | int | nBoxes, |
int | nIns, | ||
int | nOuts | ||
) |
Definition at line 551 of file giaFadds.c.
Tim_Man_t* Gia_ManGenerateTim | ( | int | nPis, |
int | nPos, | ||
int | nBoxes, | ||
int | nIns, | ||
int | nOuts | ||
) |
Definition at line 529 of file giaFadds.c.
void Gia_ManIllustrateBoxes | ( | Gia_Man_t * | p | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Derive GIA with boxes containing adder-chains.]
Description []
SideEffects []
SeeAlso []
Definition at line 50 of file giaFadds.c.
int Gia_ManIteratePaths | ( | Gia_Man_t * | p, |
int | DelayC, | ||
int | nPathMin, | ||
int | nPathMax, | ||
int | nPathLimit, | ||
int | fIgnoreBoxDelays, | ||
int | fVerbose | ||
) |
Definition at line 1053 of file giaFadds.c.
void Gia_ManMarkWithTravId_rec | ( | Gia_Man_t * | p, |
int | Id | ||
) |
Definition at line 390 of file giaFadds.c.
void Gia_ManPrintChains | ( | Gia_Man_t * | p, |
Vec_Int_t * | vFadds, | ||
Vec_Int_t * | vMap, | ||
Vec_Wec_t * | vChains | ||
) |
Definition at line 437 of file giaFadds.c.
Function*************************************************************
Synopsis [Converting AIG with annotated carry-chains into AIG with boxes.]
Description [Assumes that annotations are pObj->fMark0 or pObj->fMark1. Only one of these can be set to 1. If fMark0 (fMark1) is set to 1, the first (second) input of an AND-gate is chained.]
SideEffects []
SeeAlso []
Definition at line 756 of file giaFadds.c.
Definition at line 762 of file giaFadds.c.
|
inlinestatic |
Definition at line 961 of file giaFadds.c.