aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-memories.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-13 19:10:48 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-13 19:10:48 +0100
commit7088606d2ee9da5a166153aca7d41311715bbd18 (patch)
tree42d57ddea8a8393c53782d3fb4ff355ad41fd176 /src/synth/netlists-memories.adb
parente9bbdaaef2b3fec0d9843db4f3aaac741641e279 (diff)
downloadghdl-7088606d2ee9da5a166153aca7d41311715bbd18.tar.gz
ghdl-7088606d2ee9da5a166153aca7d41311715bbd18.tar.bz2
ghdl-7088606d2ee9da5a166153aca7d41311715bbd18.zip
netlists-memories: allow initialized rams. For #1090
Diffstat (limited to 'src/synth/netlists-memories.adb')
-rw-r--r--src/synth/netlists-memories.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/netlists-memories.adb b/src/synth/netlists-memories.adb
index 908087f9e..c51229d48 100644
--- a/src/synth/netlists-memories.adb
+++ b/src/synth/netlists-memories.adb
@@ -796,7 +796,8 @@ package body Netlists.Memories is
| Id_Isignal =>
Res := Inst;
Nbr_Sig := Nbr_Sig + 1;
- when Id_Dff =>
+ when Id_Dff
+ | Id_Idff =>
if Get_Next_Sink (Inp) = No_Input
and then Get_First_Sink (First) = Inp
then