2008-03-25 19:57:41 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
// without warranty, 2008 by Wilson Snyder.
|
|
|
|
|
|
|
|
module a;
|
|
|
|
c c ();
|
|
|
|
initial begin
|
|
|
|
$write("Bad top modules\n");
|
|
|
|
$stop;
|
|
|
|
end
|
|
|
|
endmodule
|
|
|
|
|
2019-05-31 00:30:59 +00:00
|
|
|
module a2;
|
|
|
|
initial begin
|
|
|
|
$write("Bad top modules\n");
|
|
|
|
$stop;
|
|
|
|
end
|
|
|
|
endmodule
|
|
|
|
|
2008-03-25 19:57:41 +00:00
|
|
|
module b;
|
|
|
|
d d ();
|
|
|
|
endmodule
|
|
|
|
|
|
|
|
module c;
|
|
|
|
initial begin
|
2019-05-31 00:30:59 +00:00
|
|
|
$write("Bad mid modules\n");
|
2008-03-25 19:57:41 +00:00
|
|
|
$stop;
|
|
|
|
end
|
|
|
|
endmodule
|
|
|
|
|
|
|
|
module d;
|
|
|
|
initial begin
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
$finish;
|
|
|
|
end
|
|
|
|
endmodule
|