mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-27 15:04:36 +00:00
linux testbench now ignores HWRITE glitches caused by flush glitches
This commit is contained in:
parent
2694a7a43f
commit
9927f771cc
@ -4,6 +4,7 @@ view wave
|
||||
add wave -divider
|
||||
add wave /testbench/clk
|
||||
add wave /testbench/reset
|
||||
add wave -dec /testbench/instrs
|
||||
|
||||
add wave -divider Stalls_and_Flushes
|
||||
add wave /testbench/dut/hart/StallF
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
module testbench();
|
||||
|
||||
parameter waveOnICount = 2514000; // # of instructions at which to turn on waves in graphical sim
|
||||
parameter waveOnICount = 2657000; // # of instructions at which to turn on waves in graphical sim
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -491,7 +491,7 @@ module testbench();
|
||||
//always @(HWDATA or HADDR or HSIZE or HWRITE) begin
|
||||
always @(negedge HWRITE) begin
|
||||
//#1;
|
||||
if ($time != 0) begin
|
||||
if (($time != 0) && ~dut.hart.hzu.FlushM) begin
|
||||
if($feof(data_file_memW)) begin
|
||||
$display("no more memW data to read");
|
||||
`ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user