34 #ifndef __CPU_O3_SCOREBOARD_HH__
35 #define __CPU_O3_SCOREBOARD_HH__
42 #include "config/the_isa.hh"
44 #include "debug/Scoreboard.hh"
98 unsigned _numPhysicalRegs,
99 unsigned _numMiscRegs,
void unsetReg(PhysRegIndex reg_idx)
Sets the register as not ready.
Scoreboard(const std::string &_my_name, unsigned _numPhysicalRegs, unsigned _numMiscRegs, PhysRegIndex _zeroRegIdx, PhysRegIndex _fpZeroRegIdx)
Constructs a scoreboard.
#define M5_CLASS_VAR_USED
void setReg(PhysRegIndex reg_idx)
Sets the register as ready.
std::string name() const
Returns the name of the scoreboard.
unsigned numPhysRegs
The number of actual physical registers.
bool isZeroReg(PhysRegIndex idx) const
PhysRegIndex fpZeroRegIdx
The index of the FP zero register.
std::vector< bool > regScoreBoard
Scoreboard of physical integer registers, saying whether or not they are ready.
bool getReg(PhysRegIndex reg_idx) const
Checks if the register is ready.
Implements a simple scoreboard to track which registers are ready.
const std::string _name
The object name, for DPRINTF.
PhysRegIndex zeroRegIdx
The index of the zero register.
unsigned M5_CLASS_VAR_USED numTotalRegs
The total number of registers which can be indexed, including the misc registers that come after the ...