Go to the source code of this file.
DECLARATIONS ///.
CFile****************************************************************
FileName [dchMan.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Choice computation for tech-mapping.]
Synopsis [Calls to the SAT solver.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 29, 2008.]
Revision [
- Id:
- dchMan.c,v 1.00 2008/07/29 00:00:00 alanmi Exp
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Creates the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file dchMan.c.
#define ABC_ALLOC(type, num)
void Aig_ManFanoutStart(Aig_Man_t *p)
FUNCTION DEFINITIONS ///.
static int Aig_ManObjNumMax(Aig_Man_t *p)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
#define ABC_CALLOC(type, num)
Aig_Obj_t ** pReprsProved
Function*************************************************************
Synopsis [Prints stats of the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 77 of file dchMan.c.
80 Abc_Print( 1,
"Parameters: Sim words = %d. Conf limit = %d. SAT var max = %d.\n",
82 Abc_Print( 1,
"AIG nodes : Total = %6d. Dangling = %6d. Main = %6d. (%6.2f %%)\n",
87 Abc_Print( 1,
"SAT solver: Vars = %d. Max cone = %d. Recycles = %d.\n",
89 Abc_Print( 1,
"SAT calls : All = %6d. Unsat = %6d. Sat = %6d. Fail = %6d.\n",
92 Abc_Print( 1,
"Choices : Lits = %6d. Reprs = %5d. Equivs = %5d. Choices = %5d.\n",
94 Abc_Print( 1,
"Choicing runtime statistics:\n" );
105 if ( p->
pPars->timeSynth )
static void Abc_PrintTimeP(int level, const char *pStr, abctime time, abctime Time)
static int Aig_ManNodeNum(Aig_Man_t *p)
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static void Abc_Print(int level, const char *format,...)
void Dch_ManSatSolverRecycle |
( |
Dch_Man_t * |
p | ) |
|
Function*************************************************************
Synopsis [Recycles the SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 153 of file dchMan.c.
172 Lit =
toLit( p->nSatVars );
173 if ( p->pPars->fPolarFlip )
int sat_solver_addclause(sat_solver *s, lit *begin, lit *end)
void sat_solver_delete(sat_solver *s)
static lit lit_neg(lit l)
void sat_solver_setnvars(sat_solver *s, int n)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
sat_solver * sat_solver_new(void)
static void Vec_PtrClear(Vec_Ptr_t *p)
static void Dch_ObjSetSatNum(Dch_Man_t *p, Aig_Obj_t *pObj, int Num)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Frees the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 122 of file dchMan.c.
125 if ( p->
pPars->fVerbose )
void Dch_ManPrintStats(Dch_Man_t *p)
void Aig_ManStop(Aig_Man_t *p)
void sat_solver_delete(sat_solver *s)
void Dch_ClassesStop(Dch_Cla_t *p)
void Aig_ManFanoutStop(Aig_Man_t *p)
Aig_Obj_t ** pReprsProved
static void Vec_PtrFree(Vec_Ptr_t *p)