From: Anton Blanchard Date: Sat, 11 Jan 2020 03:20:35 +0000 (+1100) Subject: Fix a ghdysynth inferred latch error in writeback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25968951e4de5be37c53afec1da7ef10a3cbda49;p=microwatt.git Fix a ghdysynth inferred latch error in writeback Signed-off-by: Anton Blanchard --- diff --git a/writeback.vhdl b/writeback.vhdl index b88277e..8582166 100644 --- a/writeback.vhdl +++ b/writeback.vhdl @@ -104,6 +104,7 @@ begin sign_extend <= '0'; second_word <= '0'; xe := e_in.xerc; + data_in <= (others => '0'); if e_in.write_enable = '1' then w_out.write_reg <= e_in.write_reg;