blob: cc20c32876cd41db15a1fae311e07a5b3e1b349c [file] [log] [blame]
Alain Dargelasc224e562019-11-01 22:11:45 -07001// DESCRIPTION: Verilator: Verilog Test module
2//
3// This file ONLY is placed into the Public Domain, for any use,
4// without warranty, 2019 by Wilson Snyder.
5
6module a(in, out);
7 input in;
8 output out;
9 assign out = !in;
10 sub sub ();
11 initial $display("In '%m'");
12endmodule
13
14module b(in, out);
15 input in;
16 output out;
17 assign out = in;
18 sub sub ();
19 initial $display("In '%m'");
20endmodule
21
22module c(uniq_in, uniq_out);
23 input uniq_in;
24 output uniq_out;
25 assign uniq_out = !uniq_in;
26 sub sub ();
27 initial $display("In '%m'");
28endmodule
29
30module sub;
31 initial $display("In '%m'");
32endmodule