#include "wlc.h"
Go to the source code of this file.
Functions | |
| void | Wlc_NtkDeleteSim (Vec_Ptr_t *p) |
| Vec_Ptr_t * | Wlc_NtkSimulate (Wlc_Ntk_t *p, Vec_Int_t *vNodes, int nWords, int nFrames) |
| void | Wlc_NtkSimulatePrint (Wlc_Ntk_t *p, Vec_Int_t *vNodes, Vec_Ptr_t *vRes, int nWords, int nFrames) |
| void | Wlc_NtkSimulateTest (Wlc_Ntk_t *p) |
| void Wlc_NtkDeleteSim | ( | Vec_Ptr_t * | p | ) |
Function*************************************************************
Synopsis [Performs simulation of a word-level network.]
Description [Returns vRes, a 2D array of simulation information for the output of each bit of each object listed in vNodes. In particular, Vec_Ptr_t * vSimObj = (Vec_Ptr_t *)Vec_PtrEntry(vRes, iObj) and Vec_Ptr_t * vSimObjBit = (Vec_Ptr_t *)Vec_PtrEntry(vSimObj, iBit) are arrays containing the simulation info for each object (vSimObj) and for each output bit of this object (vSimObjBit). Alternatively, Vec_Ptr_t * vSimObjBit = Vec_VecEntryEntry( (Vec_Vec_t *)vRes, iObj, iBit ). The output bitwidth of an object is Wlc_ObjRange( Wlc_NtkObj(pNtk, iObj) ). Simulation information is binary data constaining the given number (nWords) of 64-bit machine words for the given number (nFrames) of consecutive timeframes. The total number of timeframes is nWords * nFrames for each bit of each object.]
SideEffects []
SeeAlso []
Definition at line 120 of file wlcSim.c.

Definition at line 128 of file wlcSim.c.


| void Wlc_NtkSimulatePrint | ( | Wlc_Ntk_t * | p, |
| Vec_Int_t * | vNodes, | ||
| Vec_Ptr_t * | vRes, | ||
| int | nWords, | ||
| int | nFrames ) |
Function*************************************************************
Synopsis [Testing procedure.]
Description [This testing procedure assumes that the WLC network has one node, which is a multiplier. It simulates the node and checks the word-level interpretation of the bit-level simulation info to make sure that it indeed represents multiplication.]
SideEffects []
SeeAlso []
Definition at line 210 of file wlcSim.c.

| void Wlc_NtkSimulateTest | ( | Wlc_Ntk_t * | p | ) |
Definition at line 230 of file wlcSim.c.
