ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
fsim.h
Go to the documentation of this file.
1
20
21#ifndef ABC__aig__fsim__fsim_h
22#define ABC__aig__fsim__fsim_h
23
24
28
32
33
34
36
37
41
42typedef struct Fsim_Man_t_ Fsim_Man_t;
43
44// simulation parameters
47{
48 // user-controlled parameters
49 int nWords; // the number of machine words
50 int nIters; // the number of timeframes
51 int TimeLimit; // time limit in seconds
52 int fCheckMiter; // check if miter outputs are non-zero
53 int fVerbose; // enables verbose output
54 // internal parameters
55 int fCompressAig; // compresses internal data
56};
57
58// switching estimation parameters
61{
62 // user-controlled parameters
63 int nWords; // the number of machine words
64 int nIters; // the number of timeframes
65 int nPref; // the number of first timeframes to skip
66 int nRandPiNum; // PI trans prob (0=1/2; 1=1/4; 2=1/8, etc)
67 int fProbOne; // collect probability of one
68 int fProbTrans; // collect probatility of switching
69 int fVerbose; // enables verbose output
70};
71
75
79
80/*=== fsimCore.c ==========================================================*/
83/*=== fsimSim.c ==========================================================*/
84extern int Fsim_ManSimulate( Aig_Man_t * pAig, Fsim_ParSim_t * pPars );
85/*=== fsimSwitch.c ==========================================================*/
87/*=== fsimTsim.c ==========================================================*/
88extern Vec_Ptr_t * Fsim_ManTerSimulate( Aig_Man_t * pAig, int fVerbose );
89
90
91
93
94
95
96#endif
97
101
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition aig.h:50
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
Definition bblif.c:37
Cube * p
Definition exorList.c:222
Vec_Ptr_t * Fsim_ManTerSimulate(Aig_Man_t *pAig, int fVerbose)
Definition fsimTsim.c:339
struct Fsim_ParSwitch_t_ Fsim_ParSwitch_t
Definition fsim.h:59
typedefABC_NAMESPACE_HEADER_START struct Fsim_Man_t_ Fsim_Man_t
INCLUDES ///.
Definition fsim.h:42
void Fsim_ManSetDefaultParamsSim(Fsim_ParSim_t *p)
MACRO DEFINITIONS ///.
Definition fsimCore.c:45
int Fsim_ManSimulate(Aig_Man_t *pAig, Fsim_ParSim_t *pPars)
Definition fsimSim.c:471
void Fsim_ManSetDefaultParamsSwitch(Fsim_ParSwitch_t *p)
Definition fsimCore.c:69
struct Fsim_ParSim_t_ Fsim_ParSim_t
Definition fsim.h:45
Vec_Int_t * Fsim_ManSwitchSimulate(Aig_Man_t *pAig, Fsim_ParSwitch_t *pPars)
int nIters
Definition fsim.h:50
int fCheckMiter
Definition fsim.h:52
int fCompressAig
Definition fsim.h:55
int fVerbose
Definition fsim.h:53
int TimeLimit
Definition fsim.h:51
int nWords
Definition fsim.h:49
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Definition vecPtr.h:42