85 if ( vMemory == NULL )
95 printf(
"Kit_TruthToGia(): Converting truth table to AIG has failed for function:\n" );
151 if ( vMemory == NULL )
159 if ( pGraph == NULL )
161 printf(
"Kit_TruthToHop(): Converting truth table to AIG has failed for function:\n" );
int Kit_TruthToGia(Gia_Man_t *pMan, unsigned *pTruth, int nVars, Vec_Int_t *vMemory, Vec_Int_t *vLeaves, int fHash)
DECLARATIONS ///.
static int Gia_ManAppendAnd(Gia_Man_t *p, int iLit0, int iLit1)
static Hop_Obj_t * Hop_ManConst1(Hop_Man_t *p)
Hop_Obj_t * Hop_And(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1)
Hop_Obj_t * Kit_GraphToHopInternal(Hop_Man_t *pMan, Kit_Graph_t *pGraph)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static Kit_Node_t * Kit_GraphNode(Kit_Graph_t *pGraph, int i)
static int Kit_GraphIsComplement(Kit_Graph_t *pGraph)
static int Kit_GraphIsVar(Kit_Graph_t *pGraph)
void Kit_DsdPrintFromTruth(unsigned *pTruth, int nVars)
#define Kit_GraphForEachLeaf(pGraph, pLeaf, i)
static int Abc_LitNotCond(int Lit, int c)
Hop_Obj_t * Kit_TruthToHop(Hop_Man_t *pMan, unsigned *pTruth, int nVars, Vec_Int_t *vMemory)
static int Kit_GraphIsConst(Kit_Graph_t *pGraph)
Hop_Obj_t * Kit_GraphToHop(Hop_Man_t *pMan, Kit_Graph_t *pGraph)
static Gia_Obj_t * Gia_ManPi(Gia_Man_t *p, int v)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Kit_GraphFree(Kit_Graph_t *pGraph)
int Kit_GraphToGia(Gia_Man_t *pMan, Kit_Graph_t *pGraph, Vec_Int_t *vLeaves, int fHash)
#define Kit_GraphForEachNode(pGraph, pAnd, i)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_START int Kit_GraphToGiaInternal(Gia_Man_t *pMan, Kit_Graph_t *pGraph, int fHash)
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_START
static Hop_Obj_t * Hop_NotCond(Hop_Obj_t *p, int c)
Hop_Obj_t * Kit_CoverToHop(Hop_Man_t *pMan, Vec_Int_t *vCover, int nVars, Vec_Int_t *vMemory)
static Kit_Node_t * Kit_GraphVar(Kit_Graph_t *pGraph)
static void Vec_IntFree(Vec_Int_t *p)
static void Vec_IntClear(Vec_Int_t *p)
Kit_Graph_t * Kit_TruthToGraph(unsigned *pTruth, int nVars, Vec_Int_t *vMemory)
typedefABC_NAMESPACE_HEADER_START struct Hop_Man_t_ Hop_Man_t
INCLUDES ///.
Hop_Obj_t * Hop_IthVar(Hop_Man_t *p, int i)
FUNCTION DEFINITIONS ///.
int Gia_ManHashAnd(Gia_Man_t *p, int iLit0, int iLit1)
static int Gia_Obj2Lit(Gia_Man_t *p, Gia_Obj_t *pObj)
Kit_Graph_t * Kit_SopFactor(Vec_Int_t *vCover, int fCompl, int nVars, Vec_Int_t *vMemory)
FUNCTION DEFINITIONS ///.