mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 23:26:59 +00:00
Merge pull request #262 from antonblanchard/reset-tb-decr
Reset TB and DECR
This commit is contained in:
commit
45b7312e89
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user