mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 23:27:48 +00:00
25 lines
421 B
Systemverilog
25 lines
421 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2010 by 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
|