25 lines
428 B
Systemverilog
25 lines
428 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 (clk);
|
|
input clk;
|
|
|
|
wire A;
|
|
|
|
pullup p1(A);
|
|
|
|
child child(/*AUTOINST*/
|
|
// Inouts
|
|
.A (A));
|
|
|
|
endmodule
|
|
|
|
module child(inout A);
|
|
|
|
pulldown p2(A);
|
|
|
|
endmodule
|