summaryrefslogtreecommitdiff
path: root/src/grt/grt-options.ads
diff options
context:
space:
mode:
authorTristan Gingold2015-10-30 07:11:28 +0100
committerTristan Gingold2015-10-30 07:11:28 +0100
commitce10f7dbd57cb5d2273567aa536bfce79620849c (patch)
tree62fdd99a17aa09a04166e014444aeb8b732dce81 /src/grt/grt-options.ads
parentab70415983fec433dd35aea6cc8b107699a5aff0 (diff)
downloadghdl-ce10f7dbd57cb5d2273567aa536bfce79620849c.tar.gz
ghdl-ce10f7dbd57cb5d2273567aa536bfce79620849c.tar.bz2
ghdl-ce10f7dbd57cb5d2273567aa536bfce79620849c.zip
Rework callbacks, support cocotb.
Diffstat (limited to 'src/grt/grt-options.ads')
-rw-r--r--src/grt/grt-options.ads7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/grt/grt-options.ads b/src/grt/grt-options.ads
index 44a85b6..604952e 100644
--- a/src/grt/grt-options.ads
+++ b/src/grt/grt-options.ads
@@ -118,10 +118,6 @@ package Grt.Options is
-- Handling of assertions from IEEE library.
Ieee_Asserts : Assert_Handling := Enable_Asserts;
- -- Set by --stop-time=XXX to stop the simulation at or just after XXX.
- -- (unit is fs in fact).
- Stop_Time : Std_Time := Std_Time'Last;
-
-- Set by --stop-delta=XXX to stop the simulation after XXX delta cycles.
Stop_Delta : Natural := 5000;
@@ -132,6 +128,9 @@ package Grt.Options is
type Activity_Mode is (Activity_All, Activity_Minimal, Activity_None);
Flag_Activity : Activity_Mode := Activity_Minimal;
+ -- If true, the simulation should be stopped.
+ Break_Simulation : Boolean;
+
-- Set by --thread=
-- Number of threads used to do the simulation.
-- 1 mean no additionnal threads, 0 means as many threads as number of