From 55c94a0dfe0aff8f36003bbd6ae266709d03f270 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 29 Jul 2022 06:15:27 +0200 Subject: netlists-memories: allow X in memories. Fix #2146 --- src/synth/netlists-memories.adb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/synth/netlists-memories.adb b/src/synth/netlists-memories.adb index ffc3316ba..f0af40455 100644 --- a/src/synth/netlists-memories.adb +++ b/src/synth/netlists-memories.adb @@ -1313,7 +1313,8 @@ package body Netlists.Memories is Inst := Get_Input_Instance (Inst, 0); when Id_Isignal | Id_Signal - | Id_Const_Bit => + | Id_Const_Bit + | Id_Const_Log => return Inst; when others => if Flag_Memory_Verbose then @@ -2439,7 +2440,8 @@ package body Netlists.Memories is case Get_Id (Inst) is when Id_Isignal | Id_Signal - | Id_Const_Bit => + | Id_Const_Bit + | Id_Const_Log => null; when others => raise Internal_Error; -- cgit v1.2.3