cudd2.h 3.47 KB
Newer Older
Alan Mishchenko committed
1 2
/**CFile****************************************************************

Alan Mishchenko committed
3
  FileName    [cudd2.h]
Alan Mishchenko committed
4 5 6

  SystemName  [ABC: Logic synthesis and verification system.]

Alan Mishchenko committed
7
  PackageName [Minimalistic And-Inverter Graph package.]
Alan Mishchenko committed
8 9 10 11 12 13 14

  Synopsis    [External declarations.]

  Author      [Alan Mishchenko]
  
  Affiliation [UC Berkeley]

Alan Mishchenko committed
15
  Date        [Ver. 1.0. Started - October 3, 2006.]
Alan Mishchenko committed
16

Alan Mishchenko committed
17
  Revision    [$Id: cudd2.h,v 1.00 2006/05/11 00:00:00 alanmi Exp $]
Alan Mishchenko committed
18 19 20

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

21 22
#ifndef ABC__aig__hop__cudd2_h
#define ABC__aig__hop__cudd2_h
Alan Mishchenko committed
23

24

Alan Mishchenko committed
25 26 27 28 29
// HA: Added for printing messages
#ifndef MSG 
#define MSG(msg) (printf("%s = \n",(msg)));
#endif

Alan Mishchenko committed
30 31 32 33 34 35 36 37
////////////////////////////////////////////////////////////////////////
///                          INCLUDES                                ///
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
///                         PARAMETERS                               ///
////////////////////////////////////////////////////////////////////////

38 39 40 41


ABC_NAMESPACE_HEADER_START
 
Alan Mishchenko committed
42

Alan Mishchenko committed
43 44 45 46 47 48 49 50
////////////////////////////////////////////////////////////////////////
///                         BASIC TYPES                              ///
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
///                      MACRO DEFINITIONS                           ///
////////////////////////////////////////////////////////////////////////

Alan Mishchenko committed
51

Alan Mishchenko committed
52 53 54 55 56 57 58 59
////////////////////////////////////////////////////////////////////////
///                             ITERATORS                            ///
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
///                    FUNCTION DECLARATIONS                         ///
////////////////////////////////////////////////////////////////////////

Alan Mishchenko committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73
extern void Cudd2_Init      ( unsigned int numVars, unsigned int numVarsZ, unsigned int numSlots, unsigned int cacheSize, unsigned long maxMemory, void * pCudd );
extern void Cudd2_Quit      ( void * pCudd );
extern void Cudd2_bddOne    ( void * pCudd, void * pResult );
extern void Cudd2_bddIthVar ( void * pCudd, int iVar, void * pResult );
extern void Cudd2_bddAnd    ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddOr     ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddNand   ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddNor    ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddXor    ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddXnor   ( void * pCudd, void * pArg0, void * pArg1, void * pResult );
extern void Cudd2_bddIte    ( void * pCudd, void * pArg0, void * pArg1, void * pArg2, void * pResult );
extern void Cudd2_bddCompose( void * pCudd, void * pArg0, void * pArg1, int v, void * pResult );
extern void Cudd2_bddLeq    ( void * pCudd, void * pArg0, void * pArg1, int Result );
extern void Cudd2_bddEqual  ( void * pCudd, void * pArg0, void * pArg1, int Result );
Alan Mishchenko committed
74

75 76 77 78 79


ABC_NAMESPACE_HEADER_END


Alan Mishchenko committed
80 81 82 83 84 85 86

#endif

////////////////////////////////////////////////////////////////////////
///                       END OF FILE                                ///
////////////////////////////////////////////////////////////////////////