diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-25 08:14:01 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-25 11:28:49 +0200 |
commit | d36c8df337d2d4fc35db8247d7ca920caabc089e (patch) | |
tree | 13c2f7ddccfdd0ff3b1eec79388a8fafc616ceb6 /src | |
parent | 04cd83fb46bee1e7a7b37be95bee73449af9c8b8 (diff) | |
download | ghdl-d36c8df337d2d4fc35db8247d7ca920caabc089e.tar.gz ghdl-d36c8df337d2d4fc35db8247d7ca920caabc089e.tar.bz2 ghdl-d36c8df337d2d4fc35db8247d7ca920caabc089e.zip |
netlists-inference: do not infere a memory in case of reset.
Fix ghdl/ghdl-yosys-plugin#128
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/netlists-inference.adb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |