abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mfs.h
Go to the documentation of this file.
1 /**CFile****************************************************************
2 
3  FileName [mfs.h]
4 
5  SystemName [ABC: Logic synthesis and verification system.]
6 
7  PackageName [The good old minimization with complete don't-cares.]
8 
9  Synopsis [External declarations.]
10 
11  Author [Alan Mishchenko]
12 
13  Affiliation [UC Berkeley]
14 
15  Date [Ver. 1.0. Started - June 20, 2005.]
16 
17  Revision [$Id: mfs.h,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
18 
19 ***********************************************************************/
20 
21 #ifndef ABC__opt__mfs__mfs_h
22 #define ABC__opt__mfs__mfs_h
23 
24 
25 ////////////////////////////////////////////////////////////////////////
26 /// INCLUDES ///
27 ////////////////////////////////////////////////////////////////////////
28 
29 ////////////////////////////////////////////////////////////////////////
30 /// PARAMETERS ///
31 ////////////////////////////////////////////////////////////////////////
32 
33 
34 
36 
37 
38 ////////////////////////////////////////////////////////////////////////
39 /// BASIC TYPES ///
40 ////////////////////////////////////////////////////////////////////////
41 
42 typedef struct Mfs_Par_t_ Mfs_Par_t;
43 struct Mfs_Par_t_
44 {
45  // general parameters
46  int nWinTfoLevs; // the maximum fanout levels
47  int nFanoutsMax; // the maximum number of fanouts
48  int nDepthMax; // the maximum number of logic levels
49  int nWinMax; // the maximum size of the window
50  int nGrowthLevel; // the maximum allowed growth in level
51  int nBTLimit; // the maximum number of conflicts in one SAT run
52  int fRrOnly; // perform redundance removal
53  int fResub; // performs resubstitution
54  int fArea; // performs optimization for area
55  int fMoreEffort; // performs high-affort minimization
56  int fSwapEdge; // performs edge swapping
57  int fOneHotness; // adds one-hotness conditions
58  int fDelay; // performs optimization for delay
59  int fPower; // performs power-aware optimization
60  int fGiaSat; // use new SAT solver
61  int fVerbose; // enable basic stats
62  int fVeryVerbose; // enable detailed stats
63 };
64 
65 ////////////////////////////////////////////////////////////////////////
66 /// MACRO DEFINITIONS ///
67 ////////////////////////////////////////////////////////////////////////
68 
69 ////////////////////////////////////////////////////////////////////////
70 /// FUNCTION DECLARATIONS ///
71 ////////////////////////////////////////////////////////////////////////
72 
73 /*=== mfsCore.c ==========================================================*/
74 extern void Abc_NtkMfsParsDefault( Mfs_Par_t * pPars );
75 extern int Abc_NtkMfs( Abc_Ntk_t * pNtk, Mfs_Par_t * pPars );
76 
77 
78 
79 
81 
82 
83 
84 #endif
85 
86 ////////////////////////////////////////////////////////////////////////
87 /// END OF FILE ///
88 ////////////////////////////////////////////////////////////////////////
89 
int fPower
Definition: mfs.h:59
int nWinTfoLevs
Definition: mfs.h:46
int fSwapEdge
Definition: mfs.h:56
int fOneHotness
Definition: mfs.h:57
int nWinMax
Definition: mfs.h:49
Definition: mfs.h:43
int fArea
Definition: mfs.h:54
typedefABC_NAMESPACE_HEADER_START struct Mfs_Par_t_ Mfs_Par_t
INCLUDES ///.
Definition: mfs.h:42
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Definition: abc_global.h:105
#define ABC_NAMESPACE_HEADER_END
Definition: abc_global.h:106
int fVeryVerbose
Definition: mfs.h:62
void Abc_NtkMfsParsDefault(Mfs_Par_t *pPars)
MACRO DEFINITIONS ///.
Definition: mfsCore.c:47
int nFanoutsMax
Definition: mfs.h:47
int Abc_NtkMfs(Abc_Ntk_t *pNtk, Mfs_Par_t *pPars)
Definition: mfsCore.c:377
int fGiaSat
Definition: mfs.h:60
int fMoreEffort
Definition: mfs.h:55
int nBTLimit
Definition: mfs.h:51
int nDepthMax
Definition: mfs.h:48
int fRrOnly
Definition: mfs.h:52
int nGrowthLevel
Definition: mfs.h:50
int fVerbose
Definition: mfs.h:61
int fResub
Definition: mfs.h:53
int fDelay
Definition: mfs.h:58