mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Tests: Fix race in t_select_sideeffect.
This commit is contained in:
@@ -22,12 +22,10 @@ module t;
|
||||
initial begin
|
||||
foo = new;
|
||||
if (x[foo.get()] != 2) $stop;
|
||||
if (x[foo.get2()] != 3) $stop;
|
||||
$write("*-* All Finished *-*\n");
|
||||
$finish;
|
||||
end
|
||||
always begin
|
||||
if (x[foo.get2()] != 3) $stop;
|
||||
end
|
||||
final begin
|
||||
if (x[foo.get()] != 4) $stop;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user