diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-03-19 07:16:58 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-03-19 07:18:48 +0100 |
commit | 368b69c1a09413795a1409d6b54d02139d9fa519 (patch) | |
tree | 50817855c64e1e50c5ea9d55176bed6c55a64010 /src/grt/grt-processes.ads | |
parent | 8e97758e77b2a0798bd83f99e72b32db43f0fe0e (diff) | |
download | ghdl-368b69c1a09413795a1409d6b54d02139d9fa519.tar.gz ghdl-368b69c1a09413795a1409d6b54d02139d9fa519.tar.bz2 ghdl-368b69c1a09413795a1409d6b54d02139d9fa519.zip |
Always execute finalizers and end hooks after simulation.
Fix for issue45.
Diffstat (limited to 'src/grt/grt-processes.ads')
-rw-r--r-- | src/grt/grt-processes.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/grt/grt-processes.ads b/src/grt/grt-processes.ads index 00b057e41..ff51b39bb 100644 --- a/src/grt/grt-processes.ads +++ b/src/grt/grt-processes.ads @@ -43,6 +43,9 @@ package Grt.Processes is -- < 0 in case of failure or stop request. function Simulation return Integer; + -- To be called after Simulation to run finalizer and end hooks. + function Finalize_Simulation return Integer; + -- Number of delta cycles. Nbr_Delta_Cycles : Integer; -- Number of non-delta cycles. |