Go to the documentation of this file.
30 #ifndef __CPU_O3_SCOREBOARD_HH__
31 #define __CPU_O3_SCOREBOARD_HH__
38 #include "config/the_isa.hh"
40 #include "debug/Scoreboard.hh"
68 unsigned _numPhysicalRegs);
void setReg(PhysRegIdPtr phys_reg)
Sets the register as ready.
bool isZeroReg() const
Check if this is the zero register.
const PhysRegIndex & flatIndex() const
Flat index accessor.
Scoreboard(const std::string &_my_name, unsigned _numPhysicalRegs)
Constructs a scoreboard.
bool isFixedMapping() const
Returns true if this register is always associated to the same architectural register.
#define M5_CLASS_VAR_USED
const RegIndex & index() const
Visible RegId methods.
bool getReg(PhysRegIdPtr phys_reg) const
Checks if the register is ready.
unsigned M5_CLASS_VAR_USED numPhysRegs
The number of actual physical registers.
const char * className() const
Return a const char* with the register class name.
std::vector< bool > regScoreBoard
Scoreboard of physical integer registers, saying whether or not they are ready.
const std::string _name
The object name, for DPRINTF.
std::string name() const
Returns the name of the scoreboard.
Implements a simple scoreboard to track which registers are ready.
void unsetReg(PhysRegIdPtr phys_reg)
Sets the register as not ready.
Generated on Wed Sep 30 2020 14:02:08 for gem5 by doxygen 1.8.17