Go to the documentation of this file.
33 #ifndef TTA_RF_ARCHITECTURE_HH
34 #define TTA_RF_ARCHITECTURE_HH
40 class BaseRegisterFile;
53 int readPorts,
int writePorts,
int bidirPorts,
int maxReads,
int bidirPorts_
Number of bidir ports.
void setReadPortCount(int portCount)
RFArchitecture(int readPorts, int writePorts, int bidirPorts, int maxReads, int maxWrites, int latency, bool guardSupport, int guardLatency=0, bool zeroRegister=false)
void setLatency(int latency)
int readPorts_
Number of read ports.
virtual ~RFArchitecture()
int size_
Size of the register file.
bool zeroRegister() const
void setMaxWrites(int maxWrites)
void setZeroRegister(bool zeroRegister)
bool hasParameterizedSize() const
void setBidirPortCount(int portCount)
int width_
Width of the register file.
bool guardSupport_
The guard support.
int writePorts_
Number of write ports.
bool hasParameterizedWidth() const
int maxWrites_
Maximum number of ports that can read a register in the same cycle in which another port writes the s...
int guardLatency_
Guard latency.
bool hasGuardSupport() const
int maxReads_
Maximum number of simultaneous reads.
int readPortCount() const
bool zeroRegister_
Zero register.
bool operator==(const RFArchitecture &rightHand) const
int bidirPortCount() const
void setMaxReads(int maxReads)
int writePortCount() const
void setGuardSupport(bool supported)
void setWritePortCount(int portCount)