Files
iverilog/ivtest/ivltests/br_gh220.v
T
Stephen Williams cea237b407 Add ivtest to the iverilog source tree
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.
2022-01-15 10:18:50 -08:00

15 lines
233 B
Verilog

module Main();
logic[4:0] r5;
initial begin
r5 = 5'(3'd7 + 3'd6);
$display("r5 = %b, %d", r5, r5);
if (r5 === 5'b01101)
$display("PASSED");
else
$display("FAILED");
end
endmodule