Example instruction that flows through the example/CoreModel.
More...
#include <ExampleInst.hpp>
|
enum class | Status : std::uint16_t {
FETCHED = 0
, __FIRST = FETCHED
, DECODED
, RENAMED
,
SCHEDULED
, COMPLETED
, RETIRED
, __LAST
} |
|
enum class | TargetUnit : std::uint16_t {
ALU0
, ALU1
, FPU
, BR
,
LSU
, ROB
, N_TARGET_UNITS
} |
|
using | SpartaPairDefinitionType = ExampleInstPairDef |
|
using | InstStatus = sparta::SharedData< Status > |
|
Example instruction that flows through the example/CoreModel.
Definition at line 28 of file ExampleInst.hpp.
◆ InstStatus
◆ SpartaPairDefinitionType
◆ Status
enum class core_example::ExampleInst::Status : std::uint16_t |
|
strong |
◆ TargetUnit
enum class core_example::ExampleInst::TargetUnit : std::uint16_t |
|
strong |
◆ ExampleInst() [1/2]
core_example::ExampleInst::ExampleInst |
( |
const sparta::decode::DecoderBase & |
static_inst, |
|
|
TargetUnit |
unit, |
|
|
uint32_t |
execute_time, |
|
|
bool |
isStore, |
|
|
const sparta::Clock * |
clk, |
|
|
Status |
state |
|
) |
| |
|
inline |
◆ ExampleInst() [2/2]
core_example::ExampleInst::ExampleInst |
( |
const StaticInfo & |
info, |
|
|
const sparta::Clock * |
clk, |
|
|
Status |
state = Status::FETCHED |
|
) |
| |
|
inline |
◆ getCompletedStatus()
bool core_example::ExampleInst::getCompletedStatus |
( |
| ) |
const |
|
inline |
◆ getExecuteTime()
uint32_t core_example::ExampleInst::getExecuteTime |
( |
| ) |
const |
|
inline |
◆ getMnemonic()
const char * core_example::ExampleInst::getMnemonic |
( |
| ) |
const |
|
inline |
◆ getOpCode()
uint32_t core_example::ExampleInst::getOpCode |
( |
| ) |
const |
|
inline |
◆ getParentId()
uint64_t core_example::ExampleInst::getParentId |
( |
| ) |
const |
|
inline |
◆ getRAdr()
uint64_t core_example::ExampleInst::getRAdr |
( |
| ) |
const |
|
inline |
◆ getStaticInst()
const sparta::decode::DecoderBase & core_example::ExampleInst::getStaticInst |
( |
| ) |
const |
|
inline |
◆ getStatus()
const Status & core_example::ExampleInst::getStatus |
( |
| ) |
const |
|
inline |
◆ getUniqueID()
uint64_t core_example::ExampleInst::getUniqueID |
( |
| ) |
const |
|
inline |
◆ getUnit()
const TargetUnit & core_example::ExampleInst::getUnit |
( |
| ) |
const |
|
inline |
◆ getVAdr()
uint64_t core_example::ExampleInst::getVAdr |
( |
| ) |
const |
|
inline |
◆ isSpeculative()
bool core_example::ExampleInst::isSpeculative |
( |
| ) |
const |
|
inline |
◆ isStoreInst()
bool core_example::ExampleInst::isStoreInst |
( |
| ) |
const |
|
inline |
◆ setLast()
◆ setSpeculative()
void core_example::ExampleInst::setSpeculative |
( |
bool |
spec | ) |
|
|
inline |
◆ setStatus()
void core_example::ExampleInst::setStatus |
( |
Status |
status | ) |
|
|
inline |
◆ setUniqueID()
void core_example::ExampleInst::setUniqueID |
( |
uint64_t |
uid | ) |
|
|
inline |
◆ setVAdr()
void core_example::ExampleInst::setVAdr |
( |
uint64_t |
vaddr | ) |
|
|
inline |
The documentation for this class was generated from the following file: