diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-22 19:10:43 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-22 21:31:28 +0200 |
commit | 05db5773b03071ce39d60477868ab47f9a566059 (patch) | |
tree | 4db2176ae4125873db9c313437738b8ad4e54af8 | |
parent | 5e3156f249145f7384f0a4fe25486791efd0e10a (diff) | |
download | ghdl-05db5773b03071ce39d60477868ab47f9a566059.tar.gz ghdl-05db5773b03071ce39d60477868ab47f9a566059.tar.bz2 ghdl-05db5773b03071ce39d60477868ab47f9a566059.zip |
synth: extend purpose of -dm debug option.
-rw-r--r-- | src/synth/netlists-inference.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb index 8b053855e..12c689123 100644 --- a/src/synth/netlists-inference.adb +++ b/src/synth/netlists-inference.adb @@ -29,6 +29,7 @@ with Netlists.Memories; use Netlists.Memories; with Synth.Source; use Synth.Source; with Synth.Errors; use Synth.Errors; +with Synth.Flags; package body Netlists.Inference is -- DFF inference. @@ -636,6 +637,7 @@ package body Netlists.Inference is end; if Off = 0 + and then not Synth.Flags.Flag_Debug_Nomemory and then Can_Infere_RAM (Data, Prev_Val) then -- Maybe it is a RAM. |