Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/proof/cec/cecSatG2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2322,6 +2322,12 @@ Vec_Str_t * encodeSOP(char * pSop, int nFanins, int nCubes){

***********************************************************************/

// The SOP derivation below is the only CUDD user in the CEC package, and
// ABC_USE_CUDD is how the rest of the tree guards code that needs the BDD
// package. Without it, these three functions leave undefined references to
// Cudd_* and the no-CUDD build does not link.
#ifdef ABC_USE_CUDD

char * extractSOP( DdManager * dd, DdNode * bFunc, int nFanins, int polarity, int * _nCubes){

extern int Abc_CountZddCubes( DdManager * dd, DdNode * zCover );
Expand Down Expand Up @@ -2562,6 +2568,8 @@ void Cec_DeriveSOPs( Gia_Man_t * p ){

***********************************************************************/

#endif // ABC_USE_CUDD

int evaluate_mffc(Gia_Man_t * p, int rootId, int fanId, Vec_Int_t * vLeaves){

int quality = 0, jMFFCLeaf;
Expand Down Expand Up @@ -4369,7 +4377,9 @@ Gia_Man_t * Cec_SimGenRun( Gia_Man_t * p, Cec_ParSimGen_t * pPars ){
pManSim = Cec4_ManCreate( pMapped, pCECPars );
pManSim->pPars->fVerbose = 0; // disabling verbose sat solver

#ifdef ABC_USE_CUDD
Cec_DeriveSOPs( pMapped );
#endif

/*
if (pPars->fVeryVerbose)
Expand Down
Loading