aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-canon.adb
diff options
context:
space:
mode:
authortmeissner <programming@goodcleanfun.de>2021-10-25 11:56:23 +0200
committerTristan Gingold <tgingold@free.fr>2021-11-02 19:31:25 +0100
commitf911b6b97b379415eb5620d29d4579541bb5facd (patch)
tree18e0f1ef8277c844657086aa2b5bdf4cf56f2fff /src/vhdl/vhdl-canon.adb
parent86fd1ab3079b50c5b7234db2cedf3d1e8c0f081b (diff)
downloadghdl-f911b6b97b379415eb5620d29d4579541bb5facd.tar.gz
ghdl-f911b6b97b379415eb5620d29d4579541bb5facd.tar.bz2
ghdl-f911b6b97b379415eb5620d29d4579541bb5facd.zip
synth: Support alias declarations in vunit
Diffstat (limited to 'src/vhdl/vhdl-canon.adb')
-rw-r--r--src/vhdl/vhdl-canon.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-canon.adb b/src/vhdl/vhdl-canon.adb
index ddaed3792..aba586eae 100644
--- a/src/vhdl/vhdl-canon.adb
+++ b/src/vhdl/vhdl-canon.adb
@@ -3433,7 +3433,9 @@ package body Vhdl.Canon is
| Iir_Kind_Function_Body
| Iir_Kind_Procedure_Body
| Iir_Kind_Attribute_Declaration
- | Iir_Kind_Attribute_Specification =>
+ | Iir_Kind_Attribute_Specification
+ | Iir_Kind_Object_Alias_Declaration
+ | Iir_Kind_Non_Object_Alias_Declaration =>
Item := Canon_Declaration (Unit, Item, Null_Iir);
when Iir_Kinds_Concurrent_Signal_Assignment
| Iir_Kinds_Process_Statement