Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | List of all members
trap::HistoryInstrType Struct Reference

Type representing a single entry in the instruction history queue. More...

#include <instructionBase.hpp>

Collaboration diagram for trap::HistoryInstrType:

Public Member Functions

 HistoryInstrType ()
 
std::string toStr () const
 Creates a string representation of the current history element. More...
 
std::ostream & operator<< (std::ostream &other) const
 Prints the string representation of the current instruction on a stream. More...
 

Public Attributes

unsigned int address
 
std::string name
 
std::string mnemonic
 
unsigned int cycle
 

Detailed Description

Type representing a single entry in the instruction history queue.

Constructor & Destructor Documentation

trap::HistoryInstrType::HistoryInstrType ( )
inline

References address, and cycle.

Member Function Documentation

std::ostream& trap::HistoryInstrType::operator<< ( std::ostream &  other) const
inline

Prints the string representation of the current instruction on a stream.

References other, and toStr().

Here is the call graph for this function:

std::string trap::HistoryInstrType::toStr ( ) const
inline

Creates a string representation of the current history element.

References address, cycle, mnemonic, and name.

Referenced by operator<<().

Member Data Documentation

unsigned int trap::HistoryInstrType::address

Referenced by HistoryInstrType(), and toStr().

unsigned int trap::HistoryInstrType::cycle

Referenced by HistoryInstrType(), and toStr().

std::string trap::HistoryInstrType::mnemonic

Referenced by toStr().

std::string trap::HistoryInstrType::name

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