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