res.h 2.67 KB
Newer Older
Alan Mishchenko committed
1 2
/**CFile****************************************************************

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

  SystemName  [ABC: Logic synthesis and verification system.]

Alan Mishchenko committed
7
  PackageName [Resynthesis 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 - January 15, 2007.]
Alan Mishchenko committed
16

Alan Mishchenko committed
17
  Revision    [$Id: res.h,v 1.00 2007/01/15 00:00:00 alanmi Exp $]
Alan Mishchenko committed
18 19

***********************************************************************/
Alan Mishchenko committed
20
 
21 22
#ifndef ABC__opt__res__res_h
#define ABC__opt__res__res_h
Alan Mishchenko committed
23

24

Alan Mishchenko committed
25 26 27 28 29 30 31 32
////////////////////////////////////////////////////////////////////////
///                          INCLUDES                                ///
////////////////////////////////////////////////////////////////////////

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

33 34 35 36


ABC_NAMESPACE_HEADER_START

Alan Mishchenko committed
37

Alan Mishchenko committed
38 39 40 41
////////////////////////////////////////////////////////////////////////
///                         BASIC TYPES                              ///
////////////////////////////////////////////////////////////////////////

Alan Mishchenko committed
42 43 44 45 46 47 48 49 50 51 52 53 54
typedef struct Res_Par_t_ Res_Par_t;
struct Res_Par_t_
{
    // general parameters
    int           nWindow;       // window size
    int           nGrowthLevel;  // the maximum allowed growth in level after one iteration of resynthesis
    int           nSimWords;     // the number of simulation words 
    int           nCands;        // the number of candidates to try
    int           fArea;         // performs optimization for area
    int           fDelay;        // performs optimization for delay
    int           fVerbose;      // enable basic stats
    int           fVeryVerbose;  // enable detailed stats
};
Alan Mishchenko committed
55 56

////////////////////////////////////////////////////////////////////////
Alan Mishchenko committed
57
///                      MACRO DEFINITIONS                           ///
Alan Mishchenko committed
58 59 60 61 62 63
////////////////////////////////////////////////////////////////////////

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

Alan Mishchenko committed
64 65 66
/*=== resCore.c ==========================================================*/
extern int        Abc_NtkResynthesize( Abc_Ntk_t * pNtk, Res_Par_t * pPars );

Alan Mishchenko committed
67

68 69 70 71 72


ABC_NAMESPACE_HEADER_END


Alan Mishchenko committed
73 74 75 76 77 78 79

#endif

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