ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <VCD.h>
Classes | |
class | Signal |
Public Member Functions | |
template<typename T > | |
bool | declare (T &variable, const std::string &name, unsigned width, uint64_t initialvalue, uint64_t undefined=-1) |
template<typename T > | |
void | update (double time_s, const T &variable, uint64_t value, uint64_t undefined=0) |
std::string | toString () const |
void | close () |
Public Member Functions inherited from etiss::ToString | |
ToString () | |
virtual | ~ToString () |
Protected Member Functions | |
bool | declare (void *variable, const std::string &name, unsigned width, uint64_t initialvalue, uint64_t undefined) |
void | update (uint64_t time_ps, void *variable, uint64_t value, uint64_t undefined) |
void | flush () |
Private Attributes | |
std::ofstream | out_ |
bool | valid_ |
bool | dumpstarted_ |
std::vector< Signal > | sigs_ |
uint64_t | lasttime_ps |
std::map< void *, int > | ptr2index_ |
std::string | dumpvar |
TODO replace with better lookup. More... | |
std::string | file |
|
protected |
Definition at line 133 of file VCD.cpp.
References etiss::ERROR, etiss::interfaces::VCD::Signal::ident, etiss::interfaces::index2str(), etiss::log(), etiss::interfaces::VCD::Signal::name, etiss::split(), get_metrics::str, etiss::interfaces::VCD::Signal::undefined, etiss::interfaces::val2str(), etiss::interfaces::VCD::Signal::valid, etiss::interfaces::VCD::Signal::value, and etiss::interfaces::VCD::Signal::width.
|
protected |
Definition at line 223 of file VCD.cpp.
References s, and etiss::interfaces::val2str().
|
inline |
|
protected |
Definition at line 195 of file VCD.cpp.
References etiss::ERROR, etiss::log(), etiss::interfaces::VCD::Signal::undefined, etiss::interfaces::VCD::Signal::valid, and etiss::interfaces::VCD::Signal::value.
|
private |
|
private |
Definition at line 136 of file VCD.h.
Referenced by toString().
|
private |