30 #define XVS0 ABC_INIT_ZERO
31 #define XVS1 ABC_INIT_ONE
32 #define XVSX ABC_INIT_DC
47 if ( Value0 ==
XVS0 || Value1 ==
XVS0 )
49 if ( Value0 ==
XVSX || Value1 ==
XVSX )
65 }
while ( RetValue == 0 );
84 fprintf( pFile,
"0" );
89 fprintf( pFile,
"1" );
93 fprintf( pFile,
"x" );
141 fprintf( stdout,
"Frame : Inputs : Latches : Outputs\n" );
142 for ( f = 0; f < nFrames; f++ )
149 fprintf( stdout,
"%2d : ", f );
152 fprintf( stdout,
" : " );
159 fprintf( stdout,
" : " );
162 fprintf( stdout,
"\n" );
204 for ( f = 0; f < nFrames; f++ )
static int Abc_NtkIsStrash(Abc_Ntk_t *pNtk)
static int Abc_LatchInit(Abc_Obj_t *pLatch)
static Abc_Obj_t * Abc_ObjFanin1(Abc_Obj_t *pObj)
void Abc_NtkXValueSimulate(Abc_Ntk_t *pNtk, int nFrames, int fXInputs, int fXState, int fVerbose)
FUNCTION DEFINITIONS ///.
#define XVS0
DECLARATIONS ///.
ABC_DLL Abc_Obj_t * Abc_AigConst1(Abc_Ntk_t *pNtk)
static int Abc_ObjFaninC1(Abc_Obj_t *pObj)
static int Abc_ObjFaninC0(Abc_Obj_t *pObj)
#define Abc_NtkForEachCo(pNtk, pCo, i)
static int Abc_XsimRand2()
static void Abc_XsimPrint(FILE *pFile, int Value)
static Abc_Obj_t * Abc_ObjFanin0(Abc_Obj_t *pObj)
unsigned Gia_ManRandom(int fReset)
FUNCTION DEFINITIONS ///.
static int Abc_ObjGetXsimFanin1(Abc_Obj_t *pObj)
#define Abc_AigForEachAnd(pNtk, pNode, i)
#define ABC_NAMESPACE_IMPL_END
static int Abc_ObjGetXsim(Abc_Obj_t *pObj)
static void Abc_ObjSetXsim(Abc_Obj_t *pObj, int Value)
#define Abc_NtkForEachLatch(pNtk, pObj, i)
void Abc_NtkCycleInitState(Abc_Ntk_t *pNtk, int nFrames, int fUseXval, int fVerbose)
#define ABC_NAMESPACE_IMPL_START
static int Abc_XsimAnd(int Value0, int Value1)
static int Abc_XsimRand3()
static int Abc_ObjGetXsimFanin0(Abc_Obj_t *pObj)
#define Abc_NtkForEachPo(pNtk, pPo, i)
static int Abc_XsimInv(int Value)
static Abc_Obj_t * Abc_ObjFanout0(Abc_Obj_t *pObj)
#define Abc_NtkForEachPi(pNtk, pPi, i)