verilator/test_regress/t/t_debug_gate.v

32 lines
523 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Dotted reference that uses another dotted reference
// as the select expression
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2024 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
2026-03-08 23:26:40 +01:00
module t ( /*AUTOARG*/
// Outputs
o,
// Inputs
i
);
input i;
output o;
sub sub (
.i,
.o
);
endmodule
2026-03-08 23:26:40 +01:00
module sub ( /*AUTOARG*/
// Outputs
o,
// Inputs
i
);
input i;
output o;
assign o = !i;
endmodule