From: Anton Blanchard Date: Sat, 11 Jan 2020 02:24:14 +0000 (+1100) Subject: Fix a ghdysynth inferred latch error in execute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad3db18dce46cfef0b1d0d1acba0071d891eac0c;p=microwatt.git Fix a ghdysynth inferred latch error in execute It should never happen in practise, but ghdlsynth is complaining about an inferred latch here. Fix it Signed-off-by: Anton Blanchard --- diff --git a/execute1.vhdl b/execute1.vhdl index 4986c71..4714ec5 100644 --- a/execute1.vhdl +++ b/execute1.vhdl @@ -386,6 +386,7 @@ begin when "1110" => -- CROR crresult := (e_in.cr(banum) or e_in.cr(bbnum)); when others => + crresult := '0'; report "BAD CR?"; end case; v.e.write_cr_mask := num_to_fxm((31-btnum) / 4);