From 06651f1a315342ee1064ae7d9ff07dec5d28df7c Mon Sep 17 00:00:00 2001 From: Karlis Susters Date: Fri, 24 Mar 2023 15:15:03 +0000 Subject: [PATCH] Actually repurpose L1D store count, not store miss count --- src_Core/RISCY_OOO/coherence/src/L1Bank.bsv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src_Core/RISCY_OOO/coherence/src/L1Bank.bsv b/src_Core/RISCY_OOO/coherence/src/L1Bank.bsv index 269ca73..28ccb6c 100644 --- a/src_Core/RISCY_OOO/coherence/src/L1Bank.bsv +++ b/src_Core/RISCY_OOO/coherence/src/L1Bank.bsv @@ -239,12 +239,12 @@ action `endif `ifdef PERFORMANCE_MONITORING EventsL1D events = unpack (0); - events.evt_ST_MISS = saturating_truncate(currentFullCacheCycles - lastReportedFullCacheCycles); + events.evt_ST = saturating_truncate(currentFullCacheCycles - lastReportedFullCacheCycles); lastReportedFullCacheCycles <= currentFullCacheCycles; - $display("Reporting full cache cycles: %d", events.evt_ST_MISS); + $display("Reporting full cache cycles: %d", events.evt_ST); case(op) Ld: events.evt_LD = 1; - St: events.evt_ST = 1; + //St: events.evt_ST = 1; Lr, Sc, Amo: events.evt_AMO = 1; endcase perf_events[0] <= events; @@ -283,7 +283,7 @@ action end St: begin events.evt_ST_MISS_LAT = saturating_truncate(lat); - //events.evt_ST_MISS = 1; + events.evt_ST_MISS = 1; end Lr, Sc, Amo: begin events.evt_AMO_MISS_LAT = saturating_truncate(lat);