From 25968951e4de5be37c53afec1da7ef10a3cbda49 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 11 Jan 2020 14:20:35 +1100 Subject: [PATCH] Fix a ghdysynth inferred latch error in writeback Signed-off-by: Anton Blanchard --- writeback.vhdl | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2