From 57b200d6cb3cdee94fb4813b9ced31edb7a19396 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Wed, 16 Oct 2019 07:56:15 +1100 Subject: [PATCH] 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 --- writeback.vhdl | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2