Go to the documentation of this file.
34 #ifndef TTA_BASE_REGISTER_FILE_HH
35 #define TTA_BASE_REGISTER_FILE_HH
53 virtual int width()
const;
54 virtual int size()
const;
virtual void setWidth(int width)
static const std::string OSKEY_SIZE
ObjectState attribute key for the number of registers.
virtual TCEString name() const
virtual ~BaseRegisterFile()
int size_
Number of registers in the register file.
virtual void loadState(const ObjectState *state)
BaseRegisterFile(const std::string &name, int size, int width)
virtual int numberOfRegisters() const
static const std::string OSKEY_WIDTH
ObjectState attribute key for bit width of the registers.
void loadStateWithoutReferences(const ObjectState *state)
virtual void setNumberOfRegisters(int registers)
virtual RFPort * port(const std::string &name) const
virtual ObjectState * saveState() const
static const std::string OSNAME_BASE_REGISTER_FILE
ObjectState name for BaseRegisterFile.
int width_
Bit width of the registers in the register file.
virtual int width() const