mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
restore graphical buildroot sim
This commit is contained in:
parent
892c14430b
commit
958f60c704
@ -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 <= #1 "(reset)";
|
||||||
PCtextM <= #1 "(reset)";
|
// PCtextM <= #1 "(reset)";
|
||||||
end else begin
|
// end else begin
|
||||||
if (~dut.hart.StallE)
|
// if (~dut.hart.StallE)
|
||||||
if (dut.hart.FlushE) PCtextE <= #1 "(flushed)";
|
// if (dut.hart.FlushE) PCtextE <= #1 "(flushed)";
|
||||||
else PCtextE <= #1 PCtextD;
|
// else PCtextE <= #1 PCtextD;
|
||||||
if (~dut.hart.StallM)
|
// if (~dut.hart.StallM)
|
||||||
if (dut.hart.FlushM) PCtextM <= #1 "(flushed)";
|
// if (dut.hart.FlushM) PCtextM <= #1 "(flushed)";
|
||||||
else PCtextM <= #1 PCtextE;
|
// else PCtextM <= #1 PCtextE;
|
||||||
end
|
// end
|
||||||
|
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
Loading…
Reference in New Issue
Block a user