summaryrefslogtreecommitdiffstats
path: root/src/bool/kit/kit.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-08-24 19:49:18 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-08-24 19:49:18 -0700
commit77d64787e07638ac9e44ee892e4d4db5b52686e1 (patch)
tree18c1b7d3eea9e38c875afc80980352c43baef9e4 /src/bool/kit/kit.h
parent1fffe8f6f3274e03289a67a0abf9c7aa4028f823 (diff)
downloadabc-77d64787e07638ac9e44ee892e4d4db5b52686e1.tar.gz
abc-77d64787e07638ac9e44ee892e4d4db5b52686e1.tar.bz2
abc-77d64787e07638ac9e44ee892e4d4db5b52686e1.zip
Changes to be able to compile ABC without CUDD.
Diffstat (limited to 'src/bool/kit/kit.h')
-rw-r--r--src/bool/kit/kit.h7
1 files changed, 6 insertions, 1 deletions
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 <assert.h>
#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 );