From c348e697dd910173d6d64dc78b43adad316e892a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 8 Feb 2023 16:03:13 +0100 Subject: vhdl-canon: remove signal parameters for all-sensitized processes. Fix #2344 --- src/vhdl/vhdl-utils.ads | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/vhdl/vhdl-utils.ads') diff --git a/src/vhdl/vhdl-utils.ads b/src/vhdl/vhdl-utils.ads index 4ff81b011..8ea5ac786 100644 --- a/src/vhdl/vhdl-utils.ads +++ b/src/vhdl/vhdl-utils.ads @@ -64,7 +64,6 @@ package Vhdl.Utils is function Get_Object_Prefix (Name: Iir; With_Alias : Boolean := True) return Iir; - -- Return TRUE if NAME is a name that designate an object (ie a constant, -- a variable, a signal or a file). function Is_Object_Name (Name : Iir) return Boolean; @@ -85,6 +84,10 @@ package Vhdl.Utils is -- Return TRUE iff EXPR is a quantity name. function Is_Quantity_Name (Expr : Iir) return Boolean; + -- Return TRUE iff OBJ is a signal parameter (an interface signal of a + -- subprogram). Works only for base names. + function Is_Signal_Parameter (Obj : Iir) return Boolean; + -- Get the interface corresponding to the formal name FORMAL. This is -- always an interface, even if the formal is a name. function Get_Interface_Of_Formal (Formal : Iir) return Iir; -- cgit v1.2.3