diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-02-10 11:05:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-02-10 11:05:00 -0800 |
commit | d335ee096e902844b9a94076e8ce5855f74d9bde (patch) | |
tree | d066f603fc0d16339de44a74070802eaa535bddb /src/sat/bmc/bmcEnum.c | |
parent | 4e6978f242c867f060075f19796a64a986d722da (diff) | |
download | abc-d335ee096e902844b9a94076e8ce5855f74d9bde.tar.gz abc-d335ee096e902844b9a94076e8ce5855f74d9bde.tar.bz2 abc-d335ee096e902844b9a94076e8ce5855f74d9bde.zip |
Standardizing the use of new CNF generator. Adding CNF variable connectivity information.
Diffstat (limited to 'src/sat/bmc/bmcEnum.c')
-rw-r--r-- | src/sat/bmc/bmcEnum.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sat/bmc/bmcEnum.c b/src/sat/bmc/bmcEnum.c index 5fe2c1ed..45aeb2b3 100644 --- a/src/sat/bmc/bmcEnum.c +++ b/src/sat/bmc/bmcEnum.c @@ -29,8 +29,6 @@ ABC_NAMESPACE_IMPL_START /// DECLARATIONS /// //////////////////////////////////////////////////////////////////////// -extern Cnf_Dat_t * Mf_ManGenerateCnf( Gia_Man_t * pGia, int nLutSize, int fCnfObjIds, int fAddOrCla, int fVerbose ); - //////////////////////////////////////////////////////////////////////// /// FUNCTION DEFINITIONS /// //////////////////////////////////////////////////////////////////////// @@ -169,7 +167,7 @@ void Gia_ManDeriveOneTest( Gia_Man_t * p ) Gia_Man_t * pNew; Gia_Obj_t * pObj, * pRoot; Vec_Int_t * vValues = Vec_IntStart( Gia_ManCiNum(p) ); - Cnf_Dat_t * pCnf = Mf_ManGenerateCnf( p, 8, 0, 0, 0 ); + Cnf_Dat_t * pCnf = (Cnf_Dat_t *)Mf_ManGenerateCnf( p, 8, 0, 0, 0, 0 ); int i, iVar, nIter, iPoVarBeg = pCnf->nVars - Gia_ManCiNum(p); sat_solver * pSat = (sat_solver *)Cnf_DataWriteIntoSolver( pCnf, 1, 0 ); Vec_Int_t * vLits = Vec_IntAlloc( 100 ); |