From d36c8df337d2d4fc35db8247d7ca920caabc089e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 25 Jul 2020 08:14:01 +0200 Subject: netlists-inference: do not infere a memory in case of reset. Fix ghdl/ghdl-yosys-plugin#128 --- src/synth/netlists-inference.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb index d2a749968..ecd90bb22 100644 --- a/src/synth/netlists-inference.adb +++ b/src/synth/netlists-inference.adb @@ -336,6 +336,7 @@ package body Netlists.Inference is Res : Net; begin if Off = 0 + and then Rst = No_Net and then not Synth.Flags.Flag_Debug_Nomemory1 and then Can_Infere_RAM (Data, Prev_Val) then -- cgit v1.2.3