pdr.h 2.92 KB
Newer Older
1 2 3 4 5 6
/**CFile****************************************************************

  FileName    [pdr.h]

  SystemName  [ABC: Logic synthesis and verification system.]

7
  PackageName [Property driven reachability.]
8 9 10 11 12 13 14 15 16 17 18 19 20

  Synopsis    [External declarations.]

  Author      [Alan Mishchenko]
  
  Affiliation [UC Berkeley]

  Date        [Ver. 1.0. Started - November 20, 2010.]

  Revision    [$Id: pdr.h,v 1.00 2010/11/20 00:00:00 alanmi Exp $]

***********************************************************************/
 
21 22
#ifndef ABC__sat__pdr__pdr_h
#define ABC__sat__pdr__pdr_h
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


ABC_NAMESPACE_HEADER_START


////////////////////////////////////////////////////////////////////////
///                          INCLUDES                                ///
////////////////////////////////////////////////////////////////////////

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

////////////////////////////////////////////////////////////////////////
///                         BASIC TYPES                              ///
////////////////////////////////////////////////////////////////////////

typedef struct Pdr_Par_t_ Pdr_Par_t;
struct Pdr_Par_t_
{
    int iOutput;      // zero-based number of primary output to solve
    int nRecycle;     // limit on vars for recycling
    int nFrameMax;    // limit on frame count
    int nConfLimit;   // limit on SAT solver conflicts
Alan Mishchenko committed
47
    int nRestLimit;   // limit on the number of proof-obligations
48 49 50 51 52
    int nTimeOut;     // timeout in seconds
    int fTwoRounds;   // use two rounds for generalization
    int fMonoCnf;     // monolythic CNF
    int fDumpInv;     // dump inductive invariant
    int fShortest;    // forces bug traces to be shortest
53
    int fSkipGeneral; // skips expensive generalization step
54 55
    int fVerbose;     // verbose output
    int fVeryVerbose; // very verbose output
56
    int iFrame;       // explored up to this frame
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
};

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

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

/*=== pdrCore.c ==========================================================*/
extern void            Pdr_ManSetDefaultParams( Pdr_Par_t * pPars );
extern int             Pdr_ManSolve( Aig_Man_t * p, Pdr_Par_t * pPars, Abc_Cex_t ** ppCex );


ABC_NAMESPACE_HEADER_END


#endif

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