summaryrefslogtreecommitdiff
path: root/ieee-vital_timing.adb
diff options
context:
space:
mode:
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