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/bool/kit/kit.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/bool/kit/kit.h') diff --git a/src/bool/kit/kit.h b/src/bool/kit/kit.h index 35a2cae8..29d23d68 100644 --- a/src/bool/kit/kit.h +++ b/src/bool/kit/kit.h @@ -32,9 +32,12 @@ #include #include "misc/vec/vec.h" -#include "misc/extra/extraBdd.h" #include "cloud.h" +#ifdef ABC_USE_CUDD +#include "misc/extra/extraBdd.h" +#endif + //////////////////////////////////////////////////////////////////////// /// PARAMETERS /// //////////////////////////////////////////////////////////////////////// @@ -509,9 +512,11 @@ static inline void Kit_TruthIthVar( unsigned * pTruth, int nVars, int iVar ) //////////////////////////////////////////////////////////////////////// /*=== kitBdd.c ==========================================================*/ +#ifdef ABC_USE_CUDD extern DdNode * Kit_SopToBdd( DdManager * dd, Kit_Sop_t * cSop, int nVars ); extern DdNode * Kit_GraphToBdd( DdManager * dd, Kit_Graph_t * pGraph ); extern DdNode * Kit_TruthToBdd( DdManager * dd, unsigned * pTruth, int nVars, int fMSBonTop ); +#endif /*=== kitCloud.c ==========================================================*/ extern CloudNode * Kit_TruthToCloud( CloudManager * dd, unsigned * pTruth, int nVars ); extern unsigned * Kit_CloudToTruth( Vec_Int_t * vNodes, int nVars, Vec_Ptr_t * vStore, int fInv ); -- cgit v1.2.3