Go to the documentation of this file.
33 #ifndef TTA_REGISTER_FILE_STATE_HH
34 #define TTA_REGISTER_FILE_STATE_HH
52 bool zeroRegister =
false);
RegisterFileState(int size, int width, bool zeroRegister=false)
std::vector< RegisterState * > registerStates_
Contains all the registers of the state.
virtual ~RegisterFileState()
static NullRegisterFileState * instance_
Unique instance of NullRegisterFileState.
NullRegisterFileState & operator=(const NullRegisterFileState &)
Assignment not allowed.
virtual RegisterState & registerState(int index)
RegisterFileState & operator=(const RegisterFileState)
Assignment not allowed.
static NullRegisterFileState & instance()
virtual ~NullRegisterFileState()
virtual std::size_t registerCount() const
virtual RegisterState & registerState(int index)