aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-hooks.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-03-07 05:50:08 +0100
committerTristan Gingold <tgingold@free.fr>2017-03-09 20:42:57 +0100
commit101dd876888f9531cea6657e63706cb43d7c7a67 (patch)
tree18718838c39f7985bcbf3c9842f31ab79ca5d735 /src/grt/grt-hooks.ads
parent0b7ccf5869d61528d1a7dbb4fed98b0e300bc7a3 (diff)
downloadghdl-101dd876888f9531cea6657e63706cb43d7c7a67.tar.gz
ghdl-101dd876888f9531cea6657e63706cb43d7c7a67.tar.bz2
ghdl-101dd876888f9531cea6657e63706cb43d7c7a67.zip
Add start_of_processes callback, used by grt-waves
Fix #300
Diffstat (limited to 'src/grt/grt-hooks.ads')
-rw-r--r--src/grt/grt-hooks.ads11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/grt/grt-hooks.ads b/src/grt/grt-hooks.ads
index 576ab4823..bb7ee605b 100644
--- a/src/grt/grt-hooks.ads
+++ b/src/grt/grt-hooks.ads
@@ -86,11 +86,15 @@ package Grt.Hooks is
-- Callbacks.
- -- Called at the beginning of the cycle at time T.
+ -- Called at the beginning of a non-delta simulation cycle.
+ Cb_Next_Time_Step : Callbacks.Callback_List;
+
+ -- Called at the beginning of the cycle at time T. Can create a new
+ -- simulation cycle, and called after Cb_Next_Time_Step.
Cb_After_Delay : Callbacks.Callback_Time_List;
- -- Called at the beginning of a non-delta cycle.
- Cb_Next_Time_Step : Callbacks.Callback_List;
+ -- Called before running processes.
+ Cb_Start_Of_Processes : Callbacks.Callback_List;
-- Called after updating the signals. For value change detection.
Cb_Signals_Updated : Callbacks.Callback_List;
@@ -101,6 +105,7 @@ package Grt.Hooks is
-- cycle.
Cb_Last_Known_Delta : Callbacks.Callback_List;
+ -- Called after postponed processes, may change the next time.
Cb_End_Of_Time_Step : Callbacks.Callback_List;
end Grt.Hooks;