diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-01-07 04:21:49 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-01-11 12:51:48 +0100 |
commit | 97314e1e9d5cf748c83ba63da8a449e339783009 (patch) | |
tree | 6673d09d1e3b2fe898ba22892ff4cbcb693e067e /src/vhdl/translate/trans-chap3.ads | |
parent | 2d0b6074af96f3375165afc7386b0e9071be206a (diff) | |
download | ghdl-97314e1e9d5cf748c83ba63da8a449e339783009.tar.gz ghdl-97314e1e9d5cf748c83ba63da8a449e339783009.tar.bz2 ghdl-97314e1e9d5cf748c83ba63da8a449e339783009.zip |
WIP: index arrays of unbounded elements.
Diffstat (limited to 'src/vhdl/translate/trans-chap3.ads')
-rw-r--r-- | src/vhdl/translate/trans-chap3.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans-chap3.ads b/src/vhdl/translate/trans-chap3.ads index 552813451..ec77c1d52 100644 --- a/src/vhdl/translate/trans-chap3.ads +++ b/src/vhdl/translate/trans-chap3.ads @@ -139,6 +139,10 @@ package Trans.Chap3 is function Index_Base (Base : Mnode; Atype : Iir; Index : O_Enode) return Mnode; + -- Index array ARR of type ATYPE with INDEX. + function Index_Array (Arr : Mnode; Atype : Iir; Index : O_Enode) + return Mnode; + -- Same for for slicing. function Slice_Base (Base : Mnode; Atype : Iir; Index : O_Enode) return Mnode; |