Commit ddab80ae by Alan Mishchenko

Isolating BMC code into a separate package.

parent be7a4e42
SRC += src/aig/saig/saigCone. \ SRC += src/aig/saig/saigCone.c \
src/aig/saig/saigConstr.c \ src/aig/saig/saigConstr.c \
src/aig/saig/saigConstr2.c \ src/aig/saig/saigConstr2.c \
src/aig/saig/saigDual.c \ src/aig/saig/saigDual.c \
......
...@@ -201,7 +201,7 @@ void Dss_NtkPrint( Dss_Ntk_t * p ) ...@@ -201,7 +201,7 @@ void Dss_NtkPrint( Dss_Ntk_t * p )
{ {
printf( "%s", Dss_IsComplement(p->pRoot) ? "!":"" ); printf( "%s", Dss_IsComplement(p->pRoot) ? "!":"" );
if ( Dss_Regular(p->pRoot)->Type == DAU_DSD_VAR ) if ( Dss_Regular(p->pRoot)->Type == DAU_DSD_VAR )
printf( "%s%d", Dss_Regular(p->pRoot)->iVar ); printf( "%c", 'a' + Dss_Regular(p->pRoot)->iVar );
else else
Dss_NtkPrint_rec( p, Dss_Regular(p->pRoot) ); Dss_NtkPrint_rec( p, Dss_Regular(p->pRoot) );
} }
...@@ -388,7 +388,6 @@ void Dss_NtkCheck( Dss_Ntk_t * p ) ...@@ -388,7 +388,6 @@ void Dss_NtkCheck( Dss_Ntk_t * p )
void Dss_NtkTransform( Dss_Ntk_t * p ) void Dss_NtkTransform( Dss_Ntk_t * p )
{ {
Dss_Obj_t * pChildren[DAU_MAX_VAR]; Dss_Obj_t * pChildren[DAU_MAX_VAR];
Vec_Ptr_t Fanins, * vFanins = &Fanins;
Dss_Obj_t * pObj, * pChild; Dss_Obj_t * pObj, * pChild;
int i, k; int i, k;
Dss_NtkForEachNode( p, pObj, i ) Dss_NtkForEachNode( p, pObj, i )
...@@ -569,7 +568,7 @@ Dss_Man_t * Dss_ManAlloc( int nVars ) ...@@ -569,7 +568,7 @@ Dss_Man_t * Dss_ManAlloc( int nVars )
p = ABC_CALLOC( Dss_Man_t, 1 ); p = ABC_CALLOC( Dss_Man_t, 1 );
p->nVars = nVars; p->nVars = nVars;
p->nBins = Abc_PrimeCudd( 1000 ); p->nBins = Abc_PrimeCudd( 1000 );
p->pBins = ABC_CALLOC( int, p->nBins ); p->pBins = ABC_CALLOC( unsigned, p->nBins );
p->pMem = Mem_FlexStart(); p->pMem = Mem_FlexStart();
p->vObjs = Vec_PtrAlloc( 1000 ); p->vObjs = Vec_PtrAlloc( 1000 );
Dss_ObjAlloc( p, DAU_DSD_CONST0, 0, 0 ); Dss_ObjAlloc( p, DAU_DSD_CONST0, 0, 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment