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);
const RegIndex & flatIndex() const
Flat index accessor.
constexpr RegIndex index() const
Visible RegId methods.
constexpr const char * className() const
Return a const char* with the register class name.
bool isFixedMapping() const
Returns true if this register is always associated to the same architectural register.
Implements a simple scoreboard to track which registers are ready.
std::string name() const
Returns the name of the scoreboard.
Scoreboard(const std::string &_my_name, unsigned _numPhysicalRegs)
Constructs a scoreboard.
bool getReg(PhysRegIdPtr phys_reg) const
Checks if the register is ready.
std::vector< bool > regScoreBoard
Scoreboard of physical integer registers, saying whether or not they are ready.
void unsetReg(PhysRegIdPtr phys_reg)
Sets the register as not ready.
GEM5_CLASS_VAR_USED unsigned numPhysRegs
The number of actual physical registers.
void setReg(PhysRegIdPtr phys_reg)
Sets the register as ready.
const std::string _name
The object name, for DPRINTF.
#define GEM5_CLASS_VAR_USED
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.