diff options
author | cderrien <65495526+cderrien@users.noreply.github.com> | 2022-11-07 23:14:22 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-12-16 18:26:46 +0100 |
commit | b317a3a6c9f4f2f0eeb36ca4d124ef35567a897e (patch) | |
tree | d353930c8519c4484611d692d25928309a1b196d | |
parent | a7ee2a9a3c0593a16aab6795eec4d5bc569aebbd (diff) | |
download | ghdl-b317a3a6c9f4f2f0eeb36ca4d124ef35567a897e.tar.gz ghdl-b317a3a6c9f4f2f0eeb36ca4d124ef35567a897e.tar.bz2 ghdl-b317a3a6c9f4f2f0eeb36ca4d124ef35567a897e.zip |
Restore latch inference.
-rw-r--r-- | src/synth/netlists-inference.adb | 6 |
1 files changed, 1 insertions, 5 deletions
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. |