This commit is contained in:
Kip Macsai-Goren 2021-06-18 18:08:07 -04:00
commit 5e3f2ce5d5

View File

@ -474,18 +474,18 @@ module testbench();
end end
string PCtextD,PCtextE,PCtextM,PCtext2; string PCtextD,PCtextE,PCtextM,PCtext2;
//always_ff @(posedge clk, posedge reset) always_ff @(posedge clk, posedge reset)
// if (reset) begin if (reset) begin
// PCtextE <= #1 "(reset)"; PCtextE = "(reset)";
// PCtextM <= #1 "(reset)"; PCtextM = "(reset)";
// end else begin end else begin
// if (~dut.hart.StallE) if (~dut.hart.StallM)
// if (dut.hart.FlushE) PCtextE <= #1 "(flushed)"; if (dut.hart.FlushM) PCtextM = "(flushed)";
// else PCtextE <= #1 PCtextD; else PCtextM = PCtextE;
// if (~dut.hart.StallM) if (~dut.hart.StallE)
// if (dut.hart.FlushM) PCtextM <= #1 "(flushed)"; if (dut.hart.FlushE) PCtextE = "(flushed)";
// else PCtextM <= #1 PCtextE; else PCtextE = PCtextD;
// end end
initial begin initial begin