diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-07-20 19:43:00 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-07-20 20:40:57 +0200 |
commit | 8277f9c4a938c84558fd5d234e2707bd88afb770 (patch) | |
tree | 5f9f7f0215483ee9ecb36d33ab97c5b79546d4ff /src/synth | |
parent | e5cf297021c08f3528e32784a755f168e71cf8af (diff) | |
download | ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.tar.gz ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.tar.bz2 ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.zip |
grt: add real now variable.
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-vhdl_eval.adb | 3 |
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 |