update DRAM simulation - reduce the latency of duplicate requests (simulate DRAM cache)

This commit is contained in:
Blaise Tine
2020-12-03 07:30:19 -08:00
parent f3b1069ce8
commit b7a724410b
4 changed files with 37 additions and 19 deletions

View File

@@ -51,6 +51,7 @@ private:
typedef struct {
int cycles_left;
std::array<uint8_t, GLOBAL_BLOCK_SIZE> block;
uint32_t addr;
uint32_t tag;
} dram_req_t;