From 77d64787e07638ac9e44ee892e4d4db5b52686e1 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 24 Aug 2015 19:49:18 -0700 Subject: Changes to be able to compile ABC without CUDD. --- src/base/abci/abcRenode.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/base/abci/abcRenode.c') diff --git a/src/base/abci/abcRenode.c b/src/base/abci/abcRenode.c index ad97aa22..5995f36d 100644 --- a/src/base/abci/abcRenode.c +++ b/src/base/abci/abcRenode.c @@ -19,10 +19,13 @@ ***********************************************************************/ #include "base/abc/abc.h" -#include "bdd/reo/reo.h" #include "map/if/if.h" #include "bool/kit/kit.h" + +#ifdef ABC_USE_CUDD #include "misc/extra/extraBdd.h" +#include "bdd/reo/reo.h" +#endif ABC_NAMESPACE_IMPL_START @@ -31,6 +34,8 @@ ABC_NAMESPACE_IMPL_START /// DECLARATIONS /// //////////////////////////////////////////////////////////////////////// +#ifdef ABC_USE_CUDD + static int Abc_NtkRenodeEvalAig( If_Man_t * p, If_Cut_t * pCut ); static int Abc_NtkRenodeEvalBdd( If_Man_t * p, If_Cut_t * pCut ); static int Abc_NtkRenodeEvalSop( If_Man_t * p, If_Cut_t * pCut ); @@ -306,6 +311,12 @@ int Abc_NtkRenodeEvalMv( If_Man_t * p, If_Cut_t * pCut ) return RetValue; } +#else + +Abc_Ntk_t * Abc_NtkRenode( Abc_Ntk_t * pNtk, int nFaninMax, int nCubeMax, int nFlowIters, int nAreaIters, int fArea, int fUseBdds, int fUseSops, int fUseCnfs, int fUseMv, int fVerbose ) { return NULL; } + +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3