aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-options.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/grt-options.ads')
-rw-r--r--src/grt/grt-options.ads7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/grt/grt-options.ads b/src/grt/grt-options.ads
index 32852d650..fd0daad07 100644
--- a/src/grt/grt-options.ads
+++ b/src/grt/grt-options.ads
@@ -23,7 +23,7 @@
-- however invalidate any other reasons why the executable file might be
-- covered by the GNU Public License.
with Grt.Types; use Grt.Types;
-with Grt.Lib; use Grt.Lib;
+with Grt.Errors;
package Grt.Options is
pragma Preelaborate (Grt.Options);
@@ -120,7 +120,7 @@ package Grt.Options is
Checks : Boolean := False;
-- Level at which an assert stop the simulation.
- Severity_Level : Integer := Failure_Severity;
+ Severity_Level : Integer := Grt.Errors.Failure_Severity;
-- How assertions are handled.
type Assert_Handling is
@@ -157,6 +157,9 @@ package Grt.Options is
-- or append_mode (TEXTIO)
Unbuffered_Writes : Boolean := False;
+ -- Set maximum dynamic stack allocation.
+ Max_Stack_Allocation : Ghdl_Index_Type := 128 * 1024;
+
-- Helper: extract time from STR (a number followed by a unit, without
-- spaces; the number is optionnal). In case of error, display an error
-- message and returns -1.