diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-04-13 20:58:14 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-04-13 20:58:14 +0200 |
commit | 951f45147a203381e2b2d3aec51606c1a7657642 (patch) | |
tree | 61111aa7e484c9e050813db83763d09d5d79f29f /src/vhdl/vhdl-annotations.adb | |
parent | 3145f5665bf2aef67d9da88538e16d3790f3c377 (diff) | |
download | ghdl-951f45147a203381e2b2d3aec51606c1a7657642.tar.gz ghdl-951f45147a203381e2b2d3aec51606c1a7657642.tar.bz2 ghdl-951f45147a203381e2b2d3aec51606c1a7657642.zip |
synth: add support for subtype declaration in vunits. Fix #2033
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r-- | src/vhdl/vhdl-annotations.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb index 7e1663e9a..6ac0e982b 100644 --- a/src/vhdl/vhdl-annotations.adb +++ b/src/vhdl/vhdl-annotations.adb @@ -1212,7 +1212,8 @@ package body Vhdl.Annotations is | Iir_Kind_Attribute_Declaration | Iir_Kind_Attribute_Specification | Iir_Kind_Object_Alias_Declaration - | Iir_Kind_Non_Object_Alias_Declaration => + | Iir_Kind_Non_Object_Alias_Declaration + | Iir_Kind_Subtype_Declaration => Annotate_Declaration (Vunit_Info, Item); when Iir_Kinds_Concurrent_Signal_Assignment | Iir_Kinds_Process_Statement |