removed debug prints

This commit is contained in:
2026-01-27 19:07:31 +00:00
parent 8097b5cd3d
commit aa0f7c69a7
6 changed files with 168 additions and 43 deletions

View File

@@ -376,13 +376,11 @@ module mkMemExePipeline#(MemExeInput inIfc)(MemExePipeline);
// perf: load mem latency
let lat <- ldMemLatTimer.done(tag);
`ifdef PERF_COUNT
$display("Performance count hit");
if(inIfc.doStats) begin
exeLdMemLat.incr(zeroExtend(lat));
end
`endif
`ifdef PERFORMANCE_MONITORING
$display("Performance monitoring hit");
EventsCore events = unpack(0);
events.evt_LOAD_WAIT = saturating_truncate(lat);
events.evt_MEM_CAP_LOAD_TAG_SET = (d.tag) ? 1 : 0;
@@ -782,9 +780,7 @@ module mkMemExePipeline#(MemExeInput inIfc)(MemExePipeline);
end
`ifdef PERF_COUNT
$display("outside TLB");
if(isValid(cause) && inIfc.doStats) begin
$display("Counting TLB");
exeTlbExcepCnt.incr(1);
end
`endif
@@ -1471,6 +1467,7 @@ module mkMemExePipeline#(MemExeInput inIfc)(MemExePipeline);
// MMIO may cause exception, must have spec tag, and only can be St/Amo
doAssert(lsqDeqSt.memFunc == St || lsqDeqSt.memFunc == Amo, "must be St/Amo");
`ifdef PERF_COUNT
$display(inIfc.doStats);
if(inIfc.doStats) begin
if(lsqDeqSt.acq) begin
exeLrScAmoAcqCnt.incr(1);