diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-09-18 04:47:50 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-09-18 04:47:50 +0200 |
commit | eb9974cf1578e1bd4f4c167601fa767398db3e80 (patch) | |
tree | a6c7c8287fadc0af3036ea80fae1ab1bbda1e494 /src/vhdl/translate/trans-chap3.ads | |
parent | 358f0a800e3b3836e96606ff444df80964f31909 (diff) | |
download | ghdl-eb9974cf1578e1bd4f4c167601fa767398db3e80.tar.gz ghdl-eb9974cf1578e1bd4f4c167601fa767398db3e80.tar.bz2 ghdl-eb9974cf1578e1bd4f4c167601fa767398db3e80.zip |
translate: for alias of signal slice: trsnslate name subtype.
Fix #649
Diffstat (limited to 'src/vhdl/translate/trans-chap3.ads')
-rw-r--r-- | src/vhdl/translate/trans-chap3.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans-chap3.ads b/src/vhdl/translate/trans-chap3.ads index daed65d93..9900f48a9 100644 --- a/src/vhdl/translate/trans-chap3.ads +++ b/src/vhdl/translate/trans-chap3.ads @@ -265,6 +265,11 @@ package Trans.Chap3 is Res : Mnode; Obj_Type : Iir); + -- Used for alias: create the vars for the subtype of the name (when the + -- name is a slice). The identifier prefix must have been set. + procedure Translate_Array_Subtype (Arr_Type : Iir); + procedure Elab_Array_Subtype (Arr_Type : Iir); + -- Create the bounds for SUB_TYPE. -- SUB_TYPE is expected to be a non-static, anonymous array type. procedure Create_Array_Subtype (Sub_Type : Iir); |