diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-08-25 20:22:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-08-26 04:48:19 +0200 |
commit | 6a4eaa2208a9491fc0a12cbd994c6ffd858ffbb8 (patch) | |
tree | be455c223ba12bc527272a5a681e4d5cb0f911d9 | |
parent | 85f04269f83e6ecfbd0301bdbdb574f388cac6e2 (diff) | |
download | ghdl-6a4eaa2208a9491fc0a12cbd994c6ffd858ffbb8.tar.gz ghdl-6a4eaa2208a9491fc0a12cbd994c6ffd858ffbb8.tar.bz2 ghdl-6a4eaa2208a9491fc0a12cbd994c6ffd858ffbb8.zip |
grt-disp_signals: add code to display last value (disabled).
-rw-r--r-- | src/grt/grt-disp_signals.adb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grt/grt-disp_signals.adb b/src/grt/grt-disp_signals.adb index b4a83b896..9c4db0bb4 100644 --- a/src/grt/grt-disp_signals.adb +++ b/src/grt/grt-disp_signals.adb @@ -223,6 +223,14 @@ package body Grt.Disp_Signals is else Disp_Value (Sig.Driving_Value, Sig.Mode); end if; + if Boolean'(False) then + Put ("; lst="); + if Sig_Type /= null then + Disp_Value (stdout, Sig.Last_Value, Sig_Type); + else + Disp_Value (Sig.Last_Value, Sig.Mode); + end if; + end if; if Sources then if Sig.Nbr_Ports > 0 then Put (';'); |