mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-02 21:48:38 +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.
15 lines
212 B
Verilog
15 lines
212 B
Verilog
module test;
|
|
|
|
parameter parm1 = 0;
|
|
parameter parm2 = parm1 == 0;
|
|
|
|
initial begin
|
|
// if got here then we compiled
|
|
if (parm2)
|
|
$display("PASSED");
|
|
else
|
|
$display("FAILED");
|
|
end
|
|
|
|
endmodule
|