base testing

This commit is contained in:
2026-03-21 18:39:01 +00:00
parent d03fb0cf2e
commit fcf3390dc5
9 changed files with 2077 additions and 241 deletions

View File

@@ -918,7 +918,7 @@ module mkCore#(CoreId coreId)(Core);
// incr cycle count
(* fire_when_enabled, no_implicit_conditions *)
rule incCycleCnt(doStats);
// $display("calling cycle");
$display("calling cycle");
cycleCnt.incr(1);
endrule

View File

@@ -658,6 +658,8 @@ module mkMemExePipeline#(MemExeInput inIfc)(MemExePipeline);
// 33554431 is 2^25 - 1 (all ones)
if (delta == 33554431) begin
delta = 0;
end else if (delta == 22369621) begin
delta = 0;
end else begin
x.vaddr = encodeDelta(x.vaddr, 0);
end

View File

@@ -263,7 +263,6 @@ function Maybe#(MemInst) decodeExplicitBoundsMemInst(Instruction inst);
endfunction
function CapChecks memCapChecks(Bool cap_mode);
// TODO (Akilan): To extract offset for PPN
CapChecks capChecks = unpack(0);
capChecks.check_enable = True;
capChecks.check_low_src = Vaddr;