Set up config for L1I single window-2 prefetcher

This commit is contained in:
Karlis Susters
2023-03-01 17:20:19 +00:00
parent 6509cf6445
commit 1d2affc707
2 changed files with 4 additions and 4 deletions

View File

@@ -45,9 +45,9 @@ SIM_LLC_ARBITER_LAT ?=
# default check cache deadlock and rename error
CHECK_DEADLOCK ?= true
RENAME_DEBUG ?= false
INSTR_PREFETCHER_LOCATION ?= NONE
INSTR_PREFETCHER_TYPE ?= NEXT_LINE_ON_MISS
DATA_PREFETCHER_LOCATION ?= L1
INSTR_PREFETCHER_LOCATION ?= L1
INSTR_PREFETCHER_TYPE ?= SINGLE_WINDOW
DATA_PREFETCHER_LOCATION ?= NONE
DATA_PREFETCHER_TYPE ?= BLOCK
# clk frequency depends on core size

View File

@@ -124,7 +124,7 @@ module mkSingleWindowPrefetcher(Prefetcher);
$display("%t Prefetcher report HIT %h, moving window end to %h", $time, addr, Addr'{nextEnd, '0});
rangeEnd <= nextEnd;
end
else begin
else if (hitMiss == MISS) begin
$display("%t Prefetcher report MISS %h", $time, addr);
//Reset window
nextToAsk <= getLineAddr(addr) + 1;