From: Anton Blanchard Date: Sun, 3 Jan 2021 05:07:46 +0000 (+1100) Subject: Reset TB and DECR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1bac4d6e7f0e4f3ef0621527142a06f056108f5;p=microwatt.git Reset TB and DECR We don't care what the values of TB and DECR are after reset, but we don't want the X state to propagate to other parts of the chip. Signed-off-by: Anton Blanchard --- diff --git a/execute1.vhdl b/execute1.vhdl index 4f85f3d..f9b46c1 100644 --- a/execute1.vhdl +++ b/execute1.vhdl @@ -282,6 +282,8 @@ begin if rising_edge(clk) then if rst = '1' then r <= reg_type_init; + ctrl.tb <= (others => '0'); + ctrl.dec <= (others => '0'); ctrl.msr <= (MSR_SF => '1', MSR_LE => '1', others => '0'); ctrl.irq_state <= WRITE_SRR0; else