1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-02 14:40:42 +00:00

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 <anton@linux.ibm.com>
This commit is contained in:
Anton Blanchard
2021-01-03 16:07:46 +11:00
committed by Anton Blanchard
parent 39c826aa46
commit e1bac4d6e7

View File

@@ -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