diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-11 06:35:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-11 06:35:48 +0200 |
commit | bca8844670a1a13964f42dc4223f720c4f405939 (patch) | |
tree | faea5ea7788fe501195c0539969f9c90aee06564 /src/vhdl/vhdl-post_sems.adb | |
parent | 2714a30c3753c76cda95eb994851a8be95e60ad9 (diff) | |
download | ghdl-bca8844670a1a13964f42dc4223f720c4f405939.tar.gz ghdl-bca8844670a1a13964f42dc4223f720c4f405939.tar.bz2 ghdl-bca8844670a1a13964f42dc4223f720c4f405939.zip |
vhdl: recognize std_logic_signed package (from synopsys).
Diffstat (limited to 'src/vhdl/vhdl-post_sems.adb')
-rw-r--r-- | src/vhdl/vhdl-post_sems.adb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-post_sems.adb b/src/vhdl/vhdl-post_sems.adb index e5805ea59..8924a1d45 100644 --- a/src/vhdl/vhdl-post_sems.adb +++ b/src/vhdl/vhdl-post_sems.adb @@ -63,7 +63,11 @@ package body Vhdl.Post_Sems is when Name_Math_Real => Vhdl.Ieee.Math_Real.Extract_Declarations (Lib_Unit); when Name_Std_Logic_Unsigned => - Vhdl.Ieee.Std_Logic_Unsigned.Extract_Declarations (Lib_Unit); + Vhdl.Ieee.Std_Logic_Unsigned.Extract_Declarations + (Lib_Unit, Vhdl.Ieee.Std_Logic_Unsigned.Pkg_Unsigned); + when Name_Std_Logic_Signed => + Vhdl.Ieee.Std_Logic_Unsigned.Extract_Declarations + (Lib_Unit, Vhdl.Ieee.Std_Logic_Unsigned.Pkg_Signed); when Name_Std_Logic_Arith => Vhdl.Ieee.Std_Logic_Arith.Extract_Declarations (Lib_Unit); when others => |