gem5  v22.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< T, VcdTraceValBase > sc_gem5::VcdTraceVal< T > 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 71 of file vcd.cc.

Constructor & Destructor Documentation

◆ VcdTraceValBase()

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

Definition at line 132 of file vcd.cc.

◆ ~VcdTraceValBase()

sc_gem5::VcdTraceValBase::~VcdTraceValBase ( )
inline

Definition at line 133 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 94 of file vcd.cc.

◆ stripLeadingBits()

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

Definition at line 77 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 135 of file vcd.cc.

References _vcdName.

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

◆ vcdType()

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

Reimplemented in sc_gem5::VcdTraceValFxval< T >, and sc_gem5::VcdTraceValFloat< T >.

Definition at line 137 of file vcd.cc.

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

Member Data Documentation

◆ _vcdName

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

Definition at line 74 of file vcd.cc.

Referenced by vcdName().


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

Generated on Wed Dec 21 2022 10:25:11 for gem5 by doxygen 1.9.1