aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/canon.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/canon.adb')
-rw-r--r--src/vhdl/canon.adb5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdl/canon.adb b/src/vhdl/canon.adb
index 5d7755faf..bf6e7562a 100644
--- a/src/vhdl/canon.adb
+++ b/src/vhdl/canon.adb
@@ -258,8 +258,9 @@ package body Canon is
end;
when Iir_Kind_Object_Alias_Declaration =>
- Canon_Extract_Sensitivity
- (Get_Name (Expr), Sensitivity_List, Is_Target);
+ if not Is_Target and then Is_Signal_Object (Expr) then
+ Add_Element (Sensitivity_List, Expr);
+ end if;
when Iir_Kind_Constant_Declaration
| Iir_Kind_Interface_Constant_Declaration