summaryrefslogtreecommitdiff
path: root/ieee-vital_timing.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-07-18 20:29:28 +0200
committerTristan Gingold2014-07-18 20:29:28 +0200
commit415befa3bfe945bc069fd1ce73d8efd91e3b459f (patch)
tree3e3d901d415f99cac031079d0f0671fbf1593717 /ieee-vital_timing.adb
parentcaba1d1b21d9756ede50f40d53fbc816d3b84320 (diff)
downloadghdl-415befa3bfe945bc069fd1ce73d8efd91e3b459f.tar.gz
ghdl-415befa3bfe945bc069fd1ce73d8efd91e3b459f.tar.bz2
ghdl-415befa3bfe945bc069fd1ce73d8efd91e3b459f.zip
Fix implicit conversion in conversion association.
Fix attribute on library units.
Diffstat (limited to 'ieee-vital_timing.adb')
-rw-r--r--ieee-vital_timing.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ieee-vital_timing.adb b/ieee-vital_timing.adb
index 72053eb..64a03e1 100644
--- a/ieee-vital_timing.adb
+++ b/ieee-vital_timing.adb
@@ -1309,7 +1309,7 @@ package body Ieee.Vital_Timing is
Value : Iir_Attribute_Value;
Spec : Iir_Attribute_Specification;
begin
- Value := Get_Attribute_Value_Chain (Unit);
+ Value := Get_Attribute_Value_Chain (Get_Library_Unit (Unit));
while Value /= Null_Iir loop
Spec := Get_Attribute_Specification (Value);
if Get_Attribute_Designator (Spec) = Vital_Level0_Attribute then