Go to the documentation of this file.
30 #ifndef __CPU_O3_SCOREBOARD_HH__
31 #define __CPU_O3_SCOREBOARD_HH__
39 #include "debug/Scoreboard.hh"
75 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.
const RegIndex zeroReg
Index of the zero integer register.
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.
void unsetReg(PhysRegIdPtr phys_reg)
Sets the register as not ready.
const char * className() const
Return a const char* with the register class name.
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.
bool is(RegClass reg_class) const
@ IntRegClass
Integer register.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
RegIndex index() const
Visible RegId methods.
Scoreboard(const std::string &_my_name, unsigned _numPhysicalRegs, RegIndex _zero_reg)
Constructs a scoreboard.
Generated on Tue Sep 21 2021 12:25:01 for gem5 by doxygen 1.8.17