56 assert( Abc_NtkIsStrash(pNtk) );
66 if ( Abc_LatchIsInit0(pNode) )
68 else if ( Abc_LatchIsInit1(pNode) )
73 for ( i = 0; i < nFrames; i++ )
74 Sim_SimulateSeqFrame( vInfo, pNtk, i,
nWords, (
int)(i < nFrames-1) );
106 for ( k = 0; k < nFrames; k++ )
107 pUnsigned[k] = pModel[k * Abc_NtkPiNum(pNtk) + i] ? ~((unsigned)0) : 0;
113 if ( Abc_LatchIsInit0(pNode) )
115 else if ( Abc_LatchIsInit1(pNode) )
116 pUnsigned[0] = ~((unsigned)0);
121 for ( i = 0; i < nFrames; i++ )
122 Sim_SimulateSeqFrame( vInfo, pNtk, i, 1, (
int)(i < nFrames-1) );
struct Abc_Obj_t_ Abc_Obj_t
#define Abc_NtkForEachPo(pNtk, pPo, i)
#define Abc_NtkForEachLatch(pNtk, pObj, i)
struct Abc_Ntk_t_ Abc_Ntk_t
#define Abc_NtkForEachPi(pNtk, pPi, i)
ABC_DLL Abc_Obj_t * Abc_AigConst1(Abc_Ntk_t *pNtk)
#define Abc_NtkForEachNode(pNtk, pNode, i)
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
Vec_Ptr_t * Sim_SimulateSeqRandom(Abc_Ntk_t *pNtk, int nFrames, int nWords)
FUNCTION DEFINITIONS ///.
Vec_Ptr_t * Sim_SimulateSeqModel(Abc_Ntk_t *pNtk, int nFrames, int *pModel)
void Sim_UtilSetRandom(unsigned *pPatRand, int nSimWords)
Vec_Ptr_t * Sim_UtilInfoAlloc(int nSize, int nWords, int fClean)
FUNCTION DEFINITIONS ///.
void Sim_UtilSimulateNodeOne(Abc_Obj_t *pNode, Vec_Ptr_t *vSimInfo, int nSimWords, int nOffset)
void Sim_UtilTransferNodeOne(Abc_Obj_t *pNode, Vec_Ptr_t *vSimInfo, int nSimWords, int nOffset, int fShift)
#define SIM_RANDOM_UNSIGNED
void Sim_UtilSetConst(unsigned *pPatRand, int nSimWords, int fConst1)
#define Sim_SimInfoGet(vInfo, pNode)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.