From 6d68f47aec9578a9a5d7f0476f49ded6df79932b Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 15 Feb 2013 01:24:19 -0800 Subject: [PATCH] fix D$ model not acknowledging stores --- riscv/cachesim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/cachesim.h b/riscv/cachesim.h index d6f5946..d5dcf38 100644 --- a/riscv/cachesim.h +++ b/riscv/cachesim.h @@ -115,7 +115,7 @@ class dcache_sim_t : public cache_memtracer_t } void trace(uint64_t addr, size_t bytes, bool store, bool fetch) { - if (!fetch) cache->access(addr, bytes, false); + if (!fetch) cache->access(addr, bytes, store); } }; -- 2.30.2