aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-29 08:45:41 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-29 08:45:41 +0200
commitb588ebc8a3fe7be82435e590c793ac7feac8a997 (patch)
tree179e0aa8342441e90a6abe76ce3736ff4b39dd62 /src/ghdldrv
parent0bdb756cbf8f8703980d74f7f3ff4b9e8c9851a6 (diff)
downloadghdl-b588ebc8a3fe7be82435e590c793ac7feac8a997.tar.gz
ghdl-b588ebc8a3fe7be82435e590c793ac7feac8a997.tar.bz2
ghdl-b588ebc8a3fe7be82435e590c793ac7feac8a997.zip
ghdlsimul: use assertion level from command line
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlsimul.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 978d5a501..832ccd9a2 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -168,6 +168,8 @@ package body Ghdlsimul is
Flags.Flag_String (5) := Time_Resolution;
Grtlink.Flag_String := Flags.Flag_String;
+ Synth.Flags.Severity_Level := Grt.Options.Severity_Level;
+
Elaborate_Proc := Simul.Vhdl_Simul.Runtime_Elaborate'Access;
Simul.Vhdl_Simul.Simulation;