From e1bac4d6e7f0e4f3ef0621527142a06f056108f5 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sun, 3 Jan 2021 16:07:46 +1100 Subject: [PATCH] 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 --- execute1.vhdl | 2 ++ 1 file changed, 2 insertions(+) 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