llb.h 3.79 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**CFile****************************************************************

  FileName    [llb.h]

  SystemName  [ABC: Logic synthesis and verification system.]

  PackageName [BDD-based reachability.]

  Synopsis    [External declarations.]

  Author      [Alan Mishchenko]
  
  Affiliation [UC Berkeley]

  Date        [Ver. 1.0. Started - May 8, 2010.]

  Revision    [$Id: llb.h,v 1.00 2010/05/08 00:00:00 alanmi Exp $]

***********************************************************************/
 
21 22
#ifndef ABC__aig__llb__llb_h
#define ABC__aig__llb__llb_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 47 48 49 50 51

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

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


ABC_NAMESPACE_HEADER_START


////////////////////////////////////////////////////////////////////////
///                         BASIC TYPES                              ///
////////////////////////////////////////////////////////////////////////
  
typedef struct Gia_ParLlb_t_ Gia_ParLlb_t;
struct Gia_ParLlb_t_
{
    int         nBddMax;       // maximum BDD size
    int         nIterMax;      // maximum iteration count
    int         nClusterMax;   // maximum cluster size
    int         nHintDepth;    // the number of times to cofactor
    int         HintFirst;     // the number of first hint to use
    int         fUseFlow;      // use flow computation
    int         nVolumeMax;    // the largest volume
    int         nVolumeMin;    // the smallest volume
52 53
    int         nPartValue;    // partitioning value
    int         fBackward;     // enable backward reachability
54 55 56 57 58
    int         fReorder;      // enable dynamic variable reordering
    int         fIndConstr;    // extract inductive constraints
    int         fUsePivots;    // use internal pivot variables
    int         fCluster;      // use partition clustering
    int         fSchedule;     // use cluster scheduling
59
    int         fDumpReached;  // dump reached states into a file
60 61 62 63 64 65 66 67
    int         fVerbose;      // print verbose information
    int         fVeryVerbose;  // print dependency matrices
    int         fSilent;       // do not print any infomation
    int         fSkipReach;    // skip reachability (preparation phase only)
    int         fSkipOutCheck; // does not check the property output
    int         TimeLimit;     // time limit for one reachability run
    int         TimeLimitGlo;  // time limit for all reachability runs
    // internal parameters
68
    clock_t     TimeTarget;    // the time to stop
69 70 71 72 73 74 75 76 77 78 79 80 81
    int         iFrame;        // explored up to this frame
};

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

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

/*=== llbCore.c ==========================================================*/
extern void     Llb_ManSetDefaultParams( Gia_ParLlb_t * pPars );
82 83
/*=== llb4Nonlin.c ==========================================================*/
extern int      Llb_Nonlin4CoreReach( Aig_Man_t * pAig, Gia_ParLlb_t * pPars );
84 85 86 87 88 89 90 91 92 93 94 95 96



ABC_NAMESPACE_HEADER_END



#endif

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