From 400791163effa79a06a7b46bf67c623b26289078 Mon Sep 17 00:00:00 2001 From: Noah Boorstin Date: Mon, 15 Mar 2021 18:27:27 -0400 Subject: [PATCH] copy Ross's branch predictor preload change into busybear --- wally-pipelined/testbench/testbench-busybear.sv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wally-pipelined/testbench/testbench-busybear.sv b/wally-pipelined/testbench/testbench-busybear.sv index ababf7e4..abd830b8 100644 --- a/wally-pipelined/testbench/testbench-busybear.sv +++ b/wally-pipelined/testbench/testbench-busybear.sv @@ -101,6 +101,8 @@ module testbench_busybear(); $readmemh("/courses/e190ax/busybear_boot/ram.txt", dut.uncore.dtim.RAM); $readmemh("/courses/e190ax/busybear_boot/bootmem.txt", dut.imem.bootram, 'h1000 >> 3); $readmemh("/courses/e190ax/busybear_boot/ram.txt", dut.imem.RAM); + $readmemb(`TWO_BIT_PRELOAD, dut.hart.ifu.bpred.DirPredictor.memory.memory); + $readmemb(`BTB_PRELOAD, dut.hart.ifu.bpred.TargetPredictor.memory.memory); end integer warningCount = 0;