diff options
| author | Tristan Gingold <tgingold@free.fr> | 2021-05-22 07:58:04 +0200 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2021-05-22 07:58:04 +0200 | 
| commit | 8ef3af5bfc135e63ac76315a863e71690f0b0b73 (patch) | |
| tree | e5c22940b105bbcefe3163ddfa517584083bfbe2 /src | |
| parent | 6baa2e235e18c7a8e83b5d973e4dbf7ff8ba16d9 (diff) | |
| download | ghdl-8ef3af5bfc135e63ac76315a863e71690f0b0b73.tar.gz ghdl-8ef3af5bfc135e63ac76315a863e71690f0b0b73.tar.bz2 ghdl-8ef3af5bfc135e63ac76315a863e71690f0b0b73.zip | |
vhdl-evaluation: add a comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/vhdl/vhdl-evaluation.adb | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/vhdl/vhdl-evaluation.adb b/src/vhdl/vhdl-evaluation.adb index babd3fef6..0486b8808 100644 --- a/src/vhdl/vhdl-evaluation.adb +++ b/src/vhdl/vhdl-evaluation.adb @@ -345,6 +345,13 @@ package body Vhdl.Evaluation is        Set_Right_Limit (A_Range, Right);     end Set_Right_Limit_By_Length; +   --  LRM08 9.3.2 Literals +   --  If there is a value to the left of the nominal leftmost bound (given by +   --  the 'LEFTOF) attribute, then the leftmost bound is the nominal leftmost +   --  bound, and the rightmost bound is the value to the left of the nominal +   --  leftmost bound.  Otherwise, the leftmost bound is the value to the +   --  right of the nominal leftmost bound, and the rightmost bound is the +   --  nominal leftmost bound.     procedure Set_Enumeration_Null_Range_Limits (A_Range : Iir)     is        A_Type : constant Iir := Get_Type (A_Range); | 
