Fix a ghdysynth inferred latch error in writeback
authorAnton Blanchard <anton@linux.ibm.com>
Sat, 11 Jan 2020 03:20:35 +0000 (14:20 +1100)
committerAnton Blanchard <anton@ozlabs.org>
Sat, 11 Jan 2020 03:20:35 +0000 (14:20 +1100)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
writeback.vhdl

index b88277ed3ac2d3acfc1b3a098146454f29eeded0..85821666b5303290784ea18dd04f642a75fe934e 100644 (file)
@@ -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;