aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-signals.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-11-19 09:24:12 +0100
committerTristan Gingold <tgingold@free.fr>2014-11-19 09:24:12 +0100
commitf32d6d8f97f9a96945ba819fc7936b19dea7563e (patch)
tree368a5f36bc1d18573200da7b48ba29dd295c1a47 /src/grt/grt-signals.ads
parent5013e9842bce26cefca914ddeaff78eb19a2bae9 (diff)
downloadghdl-f32d6d8f97f9a96945ba819fc7936b19dea7563e.tar.gz
ghdl-f32d6d8f97f9a96945ba819fc7936b19dea7563e.tar.bz2
ghdl-f32d6d8f97f9a96945ba819fc7936b19dea7563e.zip
Add comments.
Diffstat (limited to 'src/grt/grt-signals.ads')
-rw-r--r--src/grt/grt-signals.ads12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/grt/grt-signals.ads b/src/grt/grt-signals.ads
index d792f1634..0b69e6051 100644
--- a/src/grt/grt-signals.ads
+++ b/src/grt/grt-signals.ads
@@ -113,10 +113,18 @@ package Grt.Signals is
case Dynamic is
when True =>
- -- For a non-sensitized process.
- -- Previous action (to speed-up remove from the chain).
+ -- For a non-sensitized process. Action_List elements are put
+ -- in two lists: the Event_List of signals (so that the process
+ -- can be resumed in case of event on the signal), and the
+ -- Sensitivity list of the process (so that the chain can be
+ -- removed once the process is resumed).
+ -- Components Next and Prev are for the Event_List of signal Sig.
+ -- Component Chain is for the Sensitivity list of process Proc.
+
+ -- Previous action (to speed-up removing from the chain).
Prev : Action_List_Acc;
+ -- Signal (to remove this record from the signal event list).
Sig : Ghdl_Signal_Ptr;
-- Chain of signals for the process.