gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sc_gem5::VcdTraceValBase Class Referenceabstract
Inheritance diagram for sc_gem5::VcdTraceValBase:
sc_gem5::TraceValBase sc_gem5::TraceVal< ::sc_core::sc_event, VcdTraceValBase > sc_gem5::TraceVal< ::sc_core::sc_time, VcdTraceValBase > sc_gem5::TraceVal< bool, VcdTraceValBase > sc_gem5::TraceVal< sc_dt::sc_logic, VcdTraceValBase > sc_gem5::TraceVal< T, VcdTraceValBase > sc_gem5::VcdTraceVal<::sc_core::sc_event > sc_gem5::VcdTraceVal<::sc_core::sc_time > sc_gem5::VcdTraceVal< bool > sc_gem5::VcdTraceVal< sc_dt::sc_logic > sc_gem5::VcdTraceVal< T > sc_gem5::VcdTraceValEvent sc_gem5::VcdTraceValTime sc_gem5::VcdTraceValBool sc_gem5::VcdTraceValScLogic sc_gem5::VcdTraceValFinite< T > sc_gem5::VcdTraceValFloat< T > sc_gem5::VcdTraceValFxnum< T > sc_gem5::VcdTraceValFxval< T > sc_gem5::VcdTraceValInt< T > sc_gem5::VcdTraceValLogic< T >

Public Member Functions

 VcdTraceValBase (int width)
 
 ~VcdTraceValBase ()
 
void vcdName (const std::string &vcd_name)
 
const std::string & vcdName ()
 
virtual std::string vcdType ()
 
virtual void output (std::ostream &os)=0
 
- Public Member Functions inherited from sc_gem5::TraceValBase
 TraceValBase (int _width)
 
virtual ~TraceValBase ()
 
int width ()
 
virtual void finalize ()
 
virtual bool check ()=0
 

Protected Member Functions

const char * stripLeadingBits (const char *orig)
 
char scLogicToVcdState (char in)
 
void printVal (std::ostream &os, const std::string &rep)
 

Protected Attributes

std::string _vcdName
 
- Protected Attributes inherited from sc_gem5::TraceValBase
int _width
 

Detailed Description

Definition at line 70 of file vcd.cc.

Constructor & Destructor Documentation

◆ VcdTraceValBase()

sc_gem5::VcdTraceValBase::VcdTraceValBase ( int  width)
inline

Definition at line 131 of file vcd.cc.

◆ ~VcdTraceValBase()

sc_gem5::VcdTraceValBase::~VcdTraceValBase ( )
inline

Definition at line 132 of file vcd.cc.

Member Function Documentation

◆ output()

virtual void sc_gem5::VcdTraceValBase::output ( std::ostream &  os)
pure virtual

◆ printVal()

void sc_gem5::VcdTraceValBase::printVal ( std::ostream &  os,
const std::string &  rep 
)
inlineprotected

◆ scLogicToVcdState()

char sc_gem5::VcdTraceValBase::scLogicToVcdState ( char  in)
inlineprotected

Definition at line 93 of file vcd.cc.

Referenced by sc_gem5::VcdTraceValScLogic::output().

◆ stripLeadingBits()

const char* sc_gem5::VcdTraceValBase::stripLeadingBits ( const char *  orig)
inlineprotected

Definition at line 76 of file vcd.cc.

Referenced by printVal().

◆ vcdName() [1/2]

const std::string& sc_gem5::VcdTraceValBase::vcdName ( )
inline

◆ vcdName() [2/2]

void sc_gem5::VcdTraceValBase::vcdName ( const std::string &  vcd_name)
inline

Definition at line 134 of file vcd.cc.

References _vcdName.

Referenced by sc_gem5::VcdTraceScope::output().

◆ vcdType()

virtual std::string sc_gem5::VcdTraceValBase::vcdType ( )
inlinevirtual

Member Data Documentation

◆ _vcdName

std::string sc_gem5::VcdTraceValBase::_vcdName
protected

Definition at line 73 of file vcd.cc.

Referenced by vcdName().


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17