30 lines
534 B
Systemverilog
30 lines
534 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
// SPDX-FileCopyrightText: 2012 Wilson Snyder
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t;
|
|
wire ok = 1'b0;
|
|
// verilator lint_off UNDRIVEN
|
|
wire nc;
|
|
// verilator lint_on UNDRIVEN
|
|
|
|
sub sub (
|
|
ok
|
|
,,
|
|
nc
|
|
);
|
|
endmodule
|
|
|
|
module sub (
|
|
input ok,
|
|
input none,
|
|
input nc,
|
|
input missing
|
|
);
|
|
initial
|
|
if (ok && none && nc && missing) begin
|
|
end // No unused warning
|
|
endmodule
|