gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_gem5::VcdTraceValBase Class Referenceabstract
Inheritance diagram for sc_gem5::VcdTraceValBase:
sc_gem5::TraceValBase sc_gem5::TraceVal< T, VcdTraceValBase > sc_gem5::TraceVal< bool, VcdTraceValBase > sc_gem5::TraceVal< ::sc_core::sc_event, VcdTraceValBase > sc_gem5::TraceVal< sc_dt::sc_logic, VcdTraceValBase > sc_gem5::TraceVal< ::sc_core::sc_time, VcdTraceValBase > sc_gem5::VcdTraceVal< T > sc_gem5::VcdTraceVal< bool > sc_gem5::VcdTraceVal<::sc_core::sc_event > sc_gem5::VcdTraceVal< sc_dt::sc_logic > sc_gem5::VcdTraceVal<::sc_core::sc_time > sc_gem5::VcdTraceValFinite< T > sc_gem5::VcdTraceValFloat< T > sc_gem5::VcdTraceValFxnum< T > sc_gem5::VcdTraceValFxval< T > sc_gem5::VcdTraceValInt< T > sc_gem5::VcdTraceValLogic< T > sc_gem5::VcdTraceValBool sc_gem5::VcdTraceValEvent sc_gem5::VcdTraceValScLogic sc_gem5::VcdTraceValTime

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()

◆ printVal()

◆ scLogicToVcdState()

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

Definition at line 94 of file vcd.cc.

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

◆ 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

Member Data Documentation

◆ _vcdName

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

Definition at line 74 of file vcd.cc.

Referenced by vcdName(), and vcdName().


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

Generated on Tue Jun 18 2024 16:24:56 for gem5 by doxygen 1.11.0