29 lines
395 B
Systemverilog
29 lines
395 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
// SPDX-FileCopyrightText: 2010 Lane Brooks
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t (
|
|
input clk
|
|
);
|
|
|
|
wire A;
|
|
|
|
pullup p1 (A);
|
|
|
|
child child ( /*AUTOINST*/
|
|
// Inouts
|
|
.A(A)
|
|
);
|
|
|
|
endmodule
|
|
|
|
module child (
|
|
inout A
|
|
);
|
|
|
|
pulldown p2 (A);
|
|
|
|
endmodule
|