abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dch.h
Go to the documentation of this file.
1 /**CFile****************************************************************
2 
3  FileName [dch.h]
4 
5  SystemName [ABC: Logic synthesis and verification system.]
6 
7  PackageName [Choice computation for tech-mapping.]
8 
9  Synopsis [External declarations.]
10 
11  Author [Alan Mishchenko]
12 
13  Affiliation [UC Berkeley]
14 
15  Date [Ver. 1.0. Started - June 29, 2008.]
16 
17  Revision [$Id: dch.h,v 1.00 2008/07/29 00:00:00 alanmi Exp $]
18 
19 ***********************************************************************/
20 
21 #ifndef ABC__aig__dch__dch_h
22 #define ABC__aig__dch__dch_h
23 
24 
25 ////////////////////////////////////////////////////////////////////////
26 /// INCLUDES ///
27 ////////////////////////////////////////////////////////////////////////
28 
29 ////////////////////////////////////////////////////////////////////////
30 /// PARAMETERS ///
31 ////////////////////////////////////////////////////////////////////////
32 
33 
34 
36 
37 
38 ////////////////////////////////////////////////////////////////////////
39 /// BASIC TYPES ///
40 ////////////////////////////////////////////////////////////////////////
41 
42 // choicing parameters
43 typedef struct Dch_Pars_t_ Dch_Pars_t;
45 {
46  int nWords; // the number of simulation words
47  int nBTLimit; // conflict limit at a node
48  int nSatVarMax; // the max number of SAT variables
49  int fSynthesis; // set to 1 to perform synthesis
50  int fPolarFlip; // uses polarity adjustment
51  int fSimulateTfo; // uses simulation of TFO classes
52  int fPower; // uses power-aware rewriting
53  int fUseGia; // uses GIA package
54  int fUseCSat; // uses circuit-based solver
55  int fLightSynth; // uses lighter version of synthesis
56  int fSkipRedSupp; // skip choices with redundant support vars
57  int fVerbose; // verbose stats
58  abctime timeSynth; // synthesis runtime
59  int nNodesAhead; // the lookahead in terms of nodes
60  int nCallsRecycle; // calls to perform before recycling SAT solver
61 };
62 
63 ////////////////////////////////////////////////////////////////////////
64 /// MACRO DEFINITIONS ///
65 ////////////////////////////////////////////////////////////////////////
66 
67 ////////////////////////////////////////////////////////////////////////
68 /// FUNCTION DECLARATIONS ///
69 ////////////////////////////////////////////////////////////////////////
70 
71 /*=== dchAig.c ==========================================================*/
72 extern Aig_Man_t * Dch_DeriveTotalAig( Vec_Ptr_t * vAigs );
73 /*=== dchCore.c ==========================================================*/
74 extern void Dch_ManSetDefaultParams( Dch_Pars_t * p );
75 extern int Dch_ManReadVerbose( Dch_Pars_t * p );
76 extern Aig_Man_t * Dch_ComputeChoices( Aig_Man_t * pAig, Dch_Pars_t * pPars );
77 extern void Dch_ComputeEquivalences( Aig_Man_t * pAig, Dch_Pars_t * pPars );
78 /*=== dchScript.c ==========================================================*/
79 extern Aig_Man_t * Dar_ManChoiceNew( Aig_Man_t * pAig, Dch_Pars_t * pPars );
80 
81 
83 
84 
85 
86 #endif
87 
88 ////////////////////////////////////////////////////////////////////////
89 /// END OF FILE ///
90 ////////////////////////////////////////////////////////////////////////
91 
int nCallsRecycle
Definition: dch.h:60
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Definition: vecPtr.h:42
void Dch_ManSetDefaultParams(Dch_Pars_t *p)
DECLARATIONS ///.
Definition: dchCore.c:45
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition: aig.h:50
static Llb_Mgr_t * p
Definition: llb3Image.c:950
int nWords
Definition: dch.h:46
int fLightSynth
Definition: dch.h:55
typedefABC_NAMESPACE_HEADER_START struct Dch_Pars_t_ Dch_Pars_t
INCLUDES ///.
Definition: dch.h:43
void Dch_ComputeEquivalences(Aig_Man_t *pAig, Dch_Pars_t *pPars)
Definition: dchCore.c:134
int Dch_ManReadVerbose(Dch_Pars_t *p)
Definition: dchCore.c:73
int fUseGia
Definition: dch.h:53
Aig_Man_t * Dar_ManChoiceNew(Aig_Man_t *pAig, Dch_Pars_t *pPars)
Definition: darScript.c:849
int fSynthesis
Definition: dch.h:49
int fPolarFlip
Definition: dch.h:50
int nBTLimit
Definition: dch.h:47
abctime timeSynth
Definition: dch.h:58
Aig_Man_t * Dch_DeriveTotalAig(Vec_Ptr_t *vAigs)
MACRO DEFINITIONS ///.
Definition: dchAig.c:65
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Definition: abc_global.h:105
#define ABC_NAMESPACE_HEADER_END
Definition: abc_global.h:106
int fSkipRedSupp
Definition: dch.h:56
int nNodesAhead
Definition: dch.h:59
int fUseCSat
Definition: dch.h:54
Aig_Man_t * Dch_ComputeChoices(Aig_Man_t *pAig, Dch_Pars_t *pPars)
Definition: dchCore.c:89
ABC_INT64_T abctime
Definition: abc_global.h:278
int fVerbose
Definition: dch.h:57
int fSimulateTfo
Definition: dch.h:51
int nSatVarMax
Definition: dch.h:48
int fPower
Definition: dch.h:52