2024-12-01 00:56:36 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
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-12-01 00:56:36 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
interface Ifc;
|
|
|
|
|
endinterface
|
|
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
module Sub #(
|
|
|
|
|
parameter P
|
|
|
|
|
);
|
|
|
|
|
Ifc a ();
|
2024-12-01 00:56:36 +01:00
|
|
|
endmodule
|
|
|
|
|
|
|
|
|
|
module t;
|
2026-03-08 23:26:40 +01:00
|
|
|
Sub #(0) sub ();
|
|
|
|
|
// Issue #5649
|
|
|
|
|
wire wbad = sub.a;
|
2024-12-01 00:56:36 +01:00
|
|
|
endmodule
|