From ad3db18dce46cfef0b1d0d1acba0071d891eac0c Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 11 Jan 2020 13:24:14 +1100 Subject: [PATCH] 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 --- execute1.vhdl | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2