From b317a3a6c9f4f2f0eeb36ca4d124ef35567a897e Mon Sep 17 00:00:00 2001 From: cderrien <65495526+cderrien@users.noreply.github.com> Date: Mon, 7 Nov 2022 23:14:22 +0100 Subject: Restore latch inference. --- src/synth/netlists-inference.adb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/synth') diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb index 5850ad204..35888b2d4 100644 --- a/src/synth/netlists-inference.adb +++ b/src/synth/netlists-inference.adb @@ -916,11 +916,7 @@ package body Netlists.Inference is (Loc, "latch infered for net %n (use --latches)", (1 => +Name)); end if; - if False then - return Infere_Latch_Create (Ctxt, Val, Prev_Val, Last_Mux, Loc); - else - return Val; - end if; + return Infere_Latch_Create (Ctxt, Val, Prev_Val, Last_Mux, Loc); end Infere_Latch; -- VAL is the value to be assigned to a wire at offset OFF. -- cgit v1.2.3