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 <anton@linux.ibm.com>
pull/133/head
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 0a6fd0adb5
commit ad3db18dce

@ -386,6 +386,7 @@ begin
when "1110" => -- CROR when "1110" => -- CROR
crresult := (e_in.cr(banum) or e_in.cr(bbnum)); crresult := (e_in.cr(banum) or e_in.cr(bbnum));
when others => when others =>
crresult := '0';
report "BAD CR?"; report "BAD CR?";
end case; end case;
v.e.write_cr_mask := num_to_fxm((31-btnum) / 4); v.e.write_cr_mask := num_to_fxm((31-btnum) / 4);

Loading…
Cancel
Save