Go to the documentation of this file.
30 #ifndef __CPU_O3_SCOREBOARD_HH__
31 #define __CPU_O3_SCOREBOARD_HH__
40 #include "debug/Scoreboard.hh"
73 Scoreboard(
const std::string &_my_name,
unsigned _numPhysicalRegs);
bool getReg(PhysRegIdPtr phys_reg) const
Checks if the register is ready.
Implements a simple scoreboard to track which registers are ready.
std::vector< bool > regScoreBoard
Scoreboard of physical integer registers, saying whether or not they are ready.
std::string name() const
Returns the name of the scoreboard.
#define GEM5_CLASS_VAR_USED
const RegIndex & flatIndex() const
Flat index accessor.
GEM5_CLASS_VAR_USED unsigned numPhysRegs
The number of actual physical registers.
void setReg(PhysRegIdPtr phys_reg)
Sets the register as ready.
constexpr const char * className() const
Return a const char* with the register class name.
Scoreboard(const std::string &_my_name, unsigned _numPhysicalRegs)
Constructs a scoreboard.
void unsetReg(PhysRegIdPtr phys_reg)
Sets the register as not ready.
constexpr RegIndex index() const
Visible RegId methods.
const std::string _name
The object name, for DPRINTF.
bool isFixedMapping() const
Returns true if this register is always associated to the same architectural register.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Thu Jun 16 2022 10:41:47 for gem5 by doxygen 1.8.17