1
0
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:
Paul Mackerras 2021-01-07 14:46:42 +11:00 committed by GitHub
commit 45b7312e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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