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/grt/grt-vhdl_types.ads | |
parent | e5cf297021c08f3528e32784a755f168e71cf8af (diff) | |
download | ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.tar.gz ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.tar.bz2 ghdl-8277f9c4a938c84558fd5d234e2707bd88afb770.zip |
grt: add real now variable.
Diffstat (limited to 'src/grt/grt-vhdl_types.ads')
-rw-r--r-- | src/grt/grt-vhdl_types.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/grt/grt-vhdl_types.ads b/src/grt/grt-vhdl_types.ads index 42db6b9dd..34366161e 100644 --- a/src/grt/grt-vhdl_types.ads +++ b/src/grt/grt-vhdl_types.ads @@ -158,6 +158,10 @@ package Grt.Vhdl_Types is Current_Time : Std_Time; -- The current delta cycle number. Current_Delta : Integer; + + -- For AMS + Current_Time_AMS : Ghdl_F64; private pragma Export (C, Current_Time, "__ghdl_now"); + pragma Export (C, Current_Time_AMS, "__ghdl_now_ams"); end Grt.Vhdl_Types; |