mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-03 16:29:25 +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.
11 lines
285 B
Verilog
11 lines
285 B
Verilog
// This is the most trivial example of a program block.
|
|
// It contains only an initial statement and final statement,
|
|
// and prints "PASSED" so the test bench knows that it works.
|
|
|
|
program main ();
|
|
|
|
initial $display("Hello, World.");
|
|
final $display("PASSED");
|
|
|
|
endprogram : main
|