Did more cleaning up

This commit is contained in:
Franz Fuchs
2021-09-06 15:55:28 +01:00
parent 4c9d89e936
commit bc7eed67ab
7 changed files with 5 additions and 96 deletions

View File

@@ -45,26 +45,6 @@ import Connectable::*;
import GetPut::*;
import ClientServer::*;
//`ifdef PERFORMANCE_MONITORING
//typedef struct {
// Bit#(8) evt_LD;
// Bit#(8) evt_LD_MISS;
// Bit#(8) evt_LD_MISS_LAT;
// Bit#(8) evt_ST;
// Bit#(8) evt_ST_MISS;
// Bit#(8) evt_ST_MISS_LAT; // Unimplemented
// Bit#(8) evt_AMO;
// Bit#(8) evt_AMO_MISS;
// Bit#(8) evt_AMO_MISS_LAT;
// Bit#(8) evt_TLB;
// Bit#(8) evt_TLB_MISS; // Only leaf is stored in TLB thus a full
// Bit#(8) evt_TLB_MISS_LAT; // walk must happen every miss
// Bit#(8) evt_TLB_FLUSH;
// Bit#(8) evt_EVICT;
//} EventsCache deriving (Bits, FShow);
//typedef TDiv#(SizeOf#(EventsCache),8) EventsCacheElements;
//`endif
typedef enum {
I = 2'd0,
S = 2'd1,

View File

@@ -60,8 +60,8 @@ import RandomReplace::*;
`ifdef PERFORMANCE_MONITORING
import PerformanceMonitor::*;
import BlueUtils::*;
`endif
import StatCounters::*;
`endif
export ICRqStuck(..);
export IPRqStuck(..);

View File

@@ -62,9 +62,9 @@ import LatencyTimer::*;
import RandomReplace::*;
`ifdef PERFORMANCE_MONITORING
import PerformanceMonitor::*;
import StatCounters::*;
import BlueUtils::*;
`endif
import StatCounters::*;
export L1CRqStuck(..);
export L1PRqStuck(..);

View File

@@ -53,9 +53,9 @@ import ConfigReg::*;
import RandomReplace::*;
`ifdef PERFORMANCE_MONITORING
import PerformanceMonitor::*;
import StatCounters::*;
import BlueUtils::*;
`endif
import StatCounters::*;
export LLCRqStuck(..);
export LLBank(..);