From: Paul Mackerras Date: Tue, 15 Oct 2019 20:56:15 +0000 (+1100) Subject: writeback: Eliminate inferred latch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57b200d6cb3cdee94fb4813b9ced31edb7a19396;p=microwatt.git writeback: Eliminate inferred latch This initializes data_in to all zeroes so that it doesn't become a set of 64 inferred latches. Signed-off-by: Paul Mackerras --- diff --git a/writeback.vhdl b/writeback.vhdl index 1879a5e..042ad59 100644 --- a/writeback.vhdl +++ b/writeback.vhdl @@ -95,6 +95,7 @@ begin partial_write <= '0'; sign_extend <= '0'; second_word <= '0'; + data_in <= (others => '0'); if e_in.write_enable = '1' then w_out.write_reg <= e_in.write_reg;