From: Andrew Waterman Date: Fri, 15 Feb 2013 09:24:19 +0000 (-0800) Subject: fix D$ model not acknowledging stores X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d68f47aec9578a9a5d7f0476f49ded6df79932b;p=riscv-isa-sim.git fix D$ model not acknowledging stores --- 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); } };