Commit a8d9c269 authored by Tristan Gingold's avatar Tristan Gingold

testbench: use $fatal in case of error.

parent 52ed28a7
...@@ -433,8 +433,7 @@ module main; ...@@ -433,8 +433,7 @@ module main;
#(start + 200us) ; #(start + 200us) ;
// Should have been finished by the FD monitor. // Should have been finished by the FD monitor.
$display("FAILED"); $fatal(1, "FAILED");
$finish(1);
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment