Go to the documentation of this file.
34 #ifndef TTA_MEMORY_PROXY_HH
35 #define TTA_MEMORY_PROXY_HH
virtual void read(ULongWord address, int size, ULongWord &data)
MemoryProxy & operator=(const MemoryProxy &)
Assignment not allowed.
MemoryProxy(SimulatorFrontend &frontend, Memory *memory)
std::vector< MemoryAccess > newWrites_
List of initiated writes.
virtual void write(ULongWord address, int size, ULongWord data)
virtual void fillWithZeros()
MemoryAccess readAccess(unsigned int idx) const
std::pair< Word, int > MemoryAccess
virtual Memory::MAU read(ULongWord address) override
unsigned int writeAccessCount() const
virtual void advanceClock()
std::vector< MemoryAccess > reads_
List of initiated reads on the last cycle.
std::vector< MemoryAccess > newReads_
List of initiated reads.
virtual void write(ULongWord address, MAU data) override
MinimumAddressableUnit MAU
virtual void write(ULongWord address, MAU data)=0
std::vector< MemoryAccess > writes_
List of initiated writes on the last cycle.
MemoryAccess writeAccess(unsigned int idx) const
SimulatorFrontend & frontend_
virtual void fillWithZeros()
unsigned int readAccessCount() const
Memory * memory_
Wrapped memory.