Files
iverilog/ivtest/vhdl_tests/constassign.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

17 lines
239 B
Verilog

// A very simple test to check continuous assignment
// of a constant
module main();
wire p;
assign p = 1;
initial begin
#1;
if (p == 1)
$display("PASSED");
else
$display("FAILED");
end
endmodule // main