2020-03-21 16:24:24 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
|
|
|
// SPDX-FileCopyrightText: 2010 Lane Brooks
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2012-03-24 16:10:17 +01:00
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
module t (
|
|
|
|
|
input clk
|
|
|
|
|
);
|
2012-03-24 16:10:17 +01:00
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
wire A;
|
2017-09-12 01:18:58 +02:00
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
pullup p1 (A);
|
2012-03-24 16:10:17 +01:00
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
child child ( /*AUTOINST*/
|
|
|
|
|
// Inouts
|
|
|
|
|
.A(A)
|
|
|
|
|
);
|
2017-09-12 01:18:58 +02:00
|
|
|
|
2012-03-24 16:10:17 +01:00
|
|
|
endmodule
|
|
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
module child (
|
|
|
|
|
inout A
|
|
|
|
|
);
|
2012-03-24 16:10:17 +01:00
|
|
|
|
2026-03-10 02:38:29 +01:00
|
|
|
pulldown p2 (A);
|
2012-03-24 16:10:17 +01:00
|
|
|
|
|
|
|
|
endmodule
|