2020-03-21 15:24:24 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
2012-03-24 15:10:17 +00:00
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
// without warranty, 2010 by Lane Brooks.
|
2020-03-21 15:24:24 +00:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2012-03-24 15:10:17 +00:00
|
|
|
|
|
|
|
module t (clk);
|
|
|
|
input clk;
|
|
|
|
|
|
|
|
wire A;
|
2017-09-11 23:18:58 +00:00
|
|
|
|
2012-03-24 15:10:17 +00:00
|
|
|
pullup p1(A);
|
|
|
|
|
|
|
|
child child(/*AUTOINST*/
|
|
|
|
// Inouts
|
|
|
|
.A (A));
|
2017-09-11 23:18:58 +00:00
|
|
|
|
2012-03-24 15:10:17 +00:00
|
|
|
endmodule
|
|
|
|
|
|
|
|
module child(inout A);
|
|
|
|
|
|
|
|
pulldown p2(A);
|
|
|
|
|
|
|
|
endmodule
|