83 pParsRwr->fUpdateLevel = 0;
86 pParsRwr->fVerbose = fVerbose;
96 pAig->Time2Quit = Time;
107 pAig->Time2Quit = Time;
117 pAig->Time2Quit = Time;
129 pAig->Time2Quit = Time;
139 pAig->Time2Quit = Time;
173 pParsRwr->fUpdateLevel = fUpdateLevel;
176 pParsRwr->fPower = fPower;
178 pParsRwr->fVerbose = 0;
212 pParsRwr->fUseZeros = 1;
246 pParsRwr->fUpdateLevel = fUpdateLevel;
248 pParsRwr->fFanout = fFanout;
249 pParsRwr->fPower = fPower;
251 pParsRwr->fVerbose = 0;
267 pParsRwr->fUpdateLevel = 0;
269 pParsRwr->fUpdateLevel = fUpdateLevel;
295 pParsRwr->fUseZeros = 1;
355 pAig =
Dar_ManCompress(pAig, fBalance, fUpdateLevel, fPower, fVerbose);
442 pParsRwr->fUpdateLevel = fUpdateLevel;
445 pParsRwr->fPower = fPower;
447 pParsRwr->fVerbose = 0;
473 pParsRwr->fUseZeros = 1;
507 pParsRwr->fUpdateLevel = fUpdateLevel;
509 pParsRwr->fFanout = fFanout;
510 pParsRwr->fPower = fPower;
512 pParsRwr->fVerbose = 0;
553 pParsRwr->fUseZeros = 1;
618 return (
int)(Count > 10);
643 printf(
"Warning: Due to high fanout count of some nodes, level updating is disabled.\n" );
651 pAig =
Dar_NewCompress( pAig, fBalance, fUpdateLevel, fPower, fVerbose );
656 pAig =
Dar_NewCompress2( pAig, fBalance, fUpdateLevel, 1, fPower, fLightSynth, fVerbose );
782 int fVerbose = pPars->fVerbose;
787 char * pName, * pSpec;
813 pManTime = pAig->pManTime; pAig->pManTime = NULL;
827 pMan->pManTime = pManTime;
859 char * pName, * pSpec;
863 pManTime = pAig->
pManTime; pAig->pManTime = NULL;
873 if ( pPars->fUseGia )
893 pMan->pManTime = pManTime;
ABC_NAMESPACE_IMPL_START Aig_Man_t * Dar_ManRewriteDefault(Aig_Man_t *pAig)
DECLARATIONS ///.
Aig_Man_t * Dar_ManChoiceNewAig(Aig_Man_t *pAig, Dch_Pars_t *pPars)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Aig_Man_t * Dar_ManChoiceNew(Aig_Man_t *pAig, Dch_Pars_t *pPars)
Aig_Man_t * Dar_ManCompress2(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fFanout, int fPower, int fVerbose)
void Gia_ManStop(Gia_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
void Aig_ManStop(Aig_Man_t *p)
Aig_Man_t * Dar_NewCompress(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fPower, int fVerbose)
Aig_Man_t * Aig_ManDupDfs(Aig_Man_t *p)
void Aig_ManPrintStats(Aig_Man_t *p)
int Dar_ManRewrite(Aig_Man_t *pAig, Dar_RwrPar_t *pPars)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
typedefABC_NAMESPACE_HEADER_START struct Dch_Pars_t_ Dch_Pars_t
INCLUDES ///.
Aig_Man_t * Aig_ManChoiceConstructive(Vec_Ptr_t *vAigs, int fVerbose)
static abctime Abc_Clock()
Aig_Man_t * Dar_ManCompress(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fPower, int fVerbose)
static void * Vec_PtrPop(Vec_Ptr_t *p)
Aig_Man_t * Dar_NewCompress2(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fFanout, int fPower, int fLightSynth, int fVerbose)
int Aig_ManChoiceLevel(Aig_Man_t *p)
Gia_Man_t * Gia_ManFromAig(Aig_Man_t *p)
INCLUDES ///.
Aig_Man_t * Aig_ManDupDfsGuided(Aig_Man_t *p, Vec_Ptr_t *vPios)
#define Aig_ManForEachNode(p, pObj, i)
int Dar_ManRefactor(Aig_Man_t *pAig, Dar_RefPar_t *pPars)
#define ABC_NAMESPACE_IMPL_END
Vec_Ptr_t * Aig_ManOrderPios(Aig_Man_t *p, Aig_Man_t *pOrder)
Gia_Man_t * Dar_NewChoiceSynthesis(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fPower, int fLightSynth, int fVerbose)
void Dar_ManDefaultRefParams(Dar_RefPar_t *pPars)
FUNCTION DEFINITIONS ///.
Aig_Man_t * Dch_DeriveTotalAig(Vec_Ptr_t *vAigs)
MACRO DEFINITIONS ///.
Aig_Man_t * Cec_ComputeChoices(Gia_Man_t *pGia, Dch_Pars_t *pPars)
Gia_Man_t * Gia_ManChoiceMiter(Vec_Ptr_t *vGias)
int Dar_NewChoiceSynthesisGuard(Aig_Man_t *pAig)
static void Vec_PtrWriteEntry(Vec_Ptr_t *p, int i, void *Entry)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
Aig_Man_t * Dar_ManChoice(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fConstruct, int nConfMax, int nLevelMax, int fVerbose)
Aig_Man_t * Dar_ManRwsat(Aig_Man_t *pAig, int fBalance, int fVerbose)
DECLARATIONS ///.
Aig_Man_t * Aig_ManChoicePartitioned(Vec_Ptr_t *vAigs, int nPartSize, int nConfMax, int nLevelMax, int fVerbose)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
Aig_Man_t * Gia_ManToAigSkip(Gia_Man_t *p, int nOutDelta)
typedefABC_NAMESPACE_HEADER_START struct Dar_RwrPar_t_ Dar_RwrPar_t
INCLUDES ///.
Vec_Ptr_t * Dar_ManChoiceSynthesis(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fPower, int fVerbose)
static int Aig_ObjRefs(Aig_Obj_t *pObj)
Aig_Man_t * Dch_ComputeChoices(Aig_Man_t *pAig, Dch_Pars_t *pPars)
Aig_Man_t * Dar_ManBalance(Aig_Man_t *p, int fUpdateLevel)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
char * Abc_UtilStrsav(char *s)
void Dar_ManDefaultRwrParams(Dar_RwrPar_t *pPars)
FUNCTION DEFINITIONS ///.
static void Vec_PtrFree(Vec_Ptr_t *p)