mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
By adding ivtest to the iverilog source tree, it is easier to keep the regression test synchronized with the source that is being tested. This should be especially helpful for PRs that add a new feature, and have a matching ivtest PR with the regression test for that feature.
7 lines
180 B
Verilog
7 lines
180 B
Verilog
module test;
|
|
initial begin
|
|
$write("expected 32'h55555552; got 32'h%0h\n", (-(32'h9) / 32'h3));
|
|
$write("expected 1; got %0d\n", (-(32'h9) % 32'h3));
|
|
end
|
|
endmodule
|