From 87224db1451a6d5fe087e3be9bb790b5e5d99ffa Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 25 Sep 2025 07:31:18 -0400 Subject: [PATCH] Test: Update t_interface_parent_scope (#1623) --- ...ope_bad.py => t_interface_parent_scope.py} | 0 ...scope_bad.v => t_interface_parent_scope.v} | 25 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) rename test_regress/t/{t_interface_parent_scope_bad.py => t_interface_parent_scope.py} (100%) rename test_regress/t/{t_interface_parent_scope_bad.v => t_interface_parent_scope.v} (52%) diff --git a/test_regress/t/t_interface_parent_scope_bad.py b/test_regress/t/t_interface_parent_scope.py similarity index 100% rename from test_regress/t/t_interface_parent_scope_bad.py rename to test_regress/t/t_interface_parent_scope.py diff --git a/test_regress/t/t_interface_parent_scope_bad.v b/test_regress/t/t_interface_parent_scope.v similarity index 52% rename from test_regress/t/t_interface_parent_scope_bad.v rename to test_regress/t/t_interface_parent_scope.v index 05c999eb9..a3329dfe7 100644 --- a/test_regress/t/t_interface_parent_scope_bad.v +++ b/test_regress/t/t_interface_parent_scope.v @@ -4,25 +4,26 @@ // without warranty, 2019 by Driss Hafdi. // SPDX-License-Identifier: CC0-1.0 -interface Foo(); - logic quux; +interface Foo; + logic quux; endinterface -module Bar(); - always_comb foo.quux = '0; +module Bar; + // Issue# 1623 - seems legal + always_comb foo.quux = '0; endmodule -module Baz(); - Foo foo(); - Bar bar(); +module Baz; + Foo foo (); + Bar bar (); endmodule module t; - Baz baz(); + Baz baz (); - initial begin - $write("*-* All Finished *-*\n"); - $finish; - end + initial begin + $write("*-* All Finished *-*\n"); + $finish; + end endmodule