abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fsimCore.c File Reference
#include "fsimInt.h"

Go to the source code of this file.

Functions

ABC_NAMESPACE_IMPL_START void Fsim_ManSetDefaultParamsSim (Fsim_ParSim_t *p)
 DECLARATIONS ///. More...
 
void Fsim_ManSetDefaultParamsSwitch (Fsim_ParSwitch_t *p)
 

Function Documentation

ABC_NAMESPACE_IMPL_START void Fsim_ManSetDefaultParamsSim ( Fsim_ParSim_t p)

DECLARATIONS ///.

MACRO DEFINITIONS ///.

CFile****************************************************************

FileName [fsimCore.c]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [Fast sequential AIG simulator.]

Synopsis [Core procedures.]

Author [Alan Mishchenko]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - June 20, 2005.]

Revision [

Id:
fsimCore.c,v 1.00 2005/06/20 00:00:00 alanmi Exp

]FUNCTION DEFINITIONS /// Function*************************************************************

Synopsis [This procedure sets default parameters.]

Description []

SideEffects []

SeeAlso []

Definition at line 45 of file fsimCore.c.

46 {
47  memset( p, 0, sizeof(Fsim_ParSim_t) );
48  // user-controlled parameters
49  p->nWords = 8; // the number of machine words
50  p->nIters = 32; // the number of timeframes
51  p->TimeLimit = 60; // time limit in seconds
52  p->fCheckMiter = 0; // check if miter outputs are non-zero
53  p->fVerbose = 1; // enables verbose output
54  // internal parameters
55  p->fCompressAig = 0; // compresses internal data
56 }
char * memset()
int nIters
Definition: fsim.h:50
int fCheckMiter
Definition: fsim.h:52
int TimeLimit
Definition: fsim.h:51
int fCompressAig
Definition: fsim.h:55
int fVerbose
Definition: fsim.h:53
int nWords
Definition: fsim.h:49
void Fsim_ManSetDefaultParamsSwitch ( Fsim_ParSwitch_t p)

Function*************************************************************

Synopsis [This procedure sets default parameters.]

Description []

SideEffects []

SeeAlso []

Definition at line 69 of file fsimCore.c.

70 {
71  memset( p, 0, sizeof(Fsim_ParSwitch_t) );
72  // user-controlled parameters
73  p->nWords = 1; // the number of machine words
74  p->nIters = 48; // the number of timeframes
75  p->nPref = 16; // the number of first timeframes to skip
76  p->nRandPiNum = 0; // PI trans prob (0=1/2; 1=1/4; 2=1/8, etc)
77  p->fProbOne = 1; // collect probability of one
78  p->fProbTrans = 1; // collect probatility of switching
79  p->fVerbose = 1; // enables verbose output
80 }
char * memset()
int fProbTrans
Definition: fsim.h:68
int nRandPiNum
Definition: fsim.h:66
int fProbOne
Definition: fsim.h:67
int fVerbose
Definition: fsim.h:69