aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/netlists-inference.adb2
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.