aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-12 18:17:36 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-12 18:17:36 +0200
commit386166fc6913f20d98bee61e4051296998a22cbe (patch)
treec721b7b6c0e9c33081841272484b47d5513da40b /src/ghdldrv
parentf8b87697e8b893b6293ebbfc34670c32bfb49397 (diff)
downloadghdl-386166fc6913f20d98bee61e4051296998a22cbe.tar.gz
ghdl-386166fc6913f20d98bee61e4051296998a22cbe.tar.bz2
ghdl-386166fc6913f20d98bee61e4051296998a22cbe.zip
ghdlsimul: add option -t to trace statements
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 da133251f..aaf355aca 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -183,6 +183,8 @@ package body Ghdlsimul is
begin
if Option = "--debug" or Option = "-g" then
Synth.Flags.Flag_Debug_Enable := True;
+ elsif Option = "-t" then
+ Synth.Flags.Flag_Trace_Statements := True;
else
return False;
end if;