aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_eval.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-vhdl_eval.adb')
-rw-r--r--src/synth/synth-vhdl_eval.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_eval.adb b/src/synth/synth-vhdl_eval.adb
index ab1304190..5282473d2 100644
--- a/src/synth/synth-vhdl_eval.adb
+++ b/src/synth/synth-vhdl_eval.adb
@@ -2005,6 +2005,9 @@ package body Synth.Vhdl_Eval is
when Iir_Predefined_Now_Function =>
return Create_Memory_Discrete
(Int64 (Grt.Vhdl_Types.Current_Time), Res_Typ);
+ when Iir_Predefined_Real_Now_Function =>
+ return Create_Memory_Fp64
+ (Fp64 (Grt.Vhdl_Types.Current_Time_AMS), Res_Typ);
when Iir_Predefined_Endfile =>
declare