21 #ifndef ABC__aig__csw__cswInt_h
22 #define ABC__aig__csw__cswInt_h
128 #define Csw_ObjForEachCut( p, pObj, pCut, i ) \
129 for ( i = 0, pCut = Csw_ObjCuts(p, pObj); i < p->nCutsMax; i++, pCut = Csw_CutNext(pCut) )
131 #define Csw_CutForEachLeaf( p, pCut, pLeaf, i ) \
132 for ( i = 0; (i < (int)(pCut)->nFanins) && ((pLeaf) = Aig_ManObj(p, (pCut)->pFanins[i])); i++ )
static int Csw_ObjRefs(Csw_Man_t *p, Aig_Obj_t *pObj)
int Csw_TableCountCuts(Csw_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Csw_Man_t_ Csw_Man_t
INCLUDES ///.
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Csw_Cut_t * Csw_ObjPrepareCuts(Csw_Man_t *p, Aig_Obj_t *pObj, int fTriv)
FUNCTION DECLARATIONS ///.
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
static int Aig_IsComplement(Aig_Obj_t *p)
static Aig_Obj_t * Csw_ObjEquiv(Csw_Man_t *p, Aig_Obj_t *pObj)
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static Aig_Obj_t * Csw_ObjChild1Equiv(Csw_Man_t *p, Aig_Obj_t *pObj)
static void Csw_ObjAddRefs(Csw_Man_t *p, Aig_Obj_t *pObj, int nRefs)
static unsigned * Csw_CutTruth(Csw_Cut_t *pCut)
static void Csw_ObjSetCuts(Csw_Man_t *p, Aig_Obj_t *pObj, Csw_Cut_t *pCuts)
static int Csw_CutLeaveNum(Csw_Cut_t *pCut)
Csw_Man_t * Csw_ManStart(Aig_Man_t *pMan, int nCutsMax, int nLeafMax, int fVerbose)
DECLARATIONS ///.
static Csw_Cut_t * Csw_ObjCuts(Csw_Man_t *p, Aig_Obj_t *pObj)
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
#define ABC_NAMESPACE_HEADER_END
Aig_Obj_t * Csw_TableCutLookup(Csw_Man_t *p, Csw_Cut_t *pCut)
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
static Aig_Obj_t * Csw_ObjChild0Equiv(Csw_Man_t *p, Aig_Obj_t *pObj)
void Csw_TableCutInsert(Csw_Man_t *p, Csw_Cut_t *pCut)
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
static Csw_Cut_t * Csw_CutNext(Csw_Cut_t *pCut)
Aig_Obj_t * Csw_ObjSweep(Csw_Man_t *p, Aig_Obj_t *pObj, int fTriv)
static void Csw_ObjSetEquiv(Csw_Man_t *p, Aig_Obj_t *pObj, Aig_Obj_t *pEquiv)
static Aig_Obj_t * Aig_NotCond(Aig_Obj_t *p, int c)
void Csw_ManStop(Csw_Man_t *p)
static int * Csw_CutLeaves(Csw_Cut_t *pCut)