From 740f013284444257329c11bed5ee209d6a4dcc90 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sun, 3 Jan 2021 16:46:28 +1100 Subject: [PATCH] Initialize PID register If the PID register is read before it is written we'll consume X state data. Signed-off-by: Anton Blanchard --- mmu.vhdl | 1 + 1 file changed, 1 insertion(+) diff --git a/mmu.vhdl b/mmu.vhdl index 09df3ae..623c2c9 100644 --- a/mmu.vhdl +++ b/mmu.vhdl @@ -88,6 +88,7 @@ begin r.pt0_valid <= '0'; r.pt3_valid <= '0'; r.prtbl <= (others => '0'); + r.pid <= (others => '0'); else if rin.valid = '1' then report "MMU got tlb miss for " & to_hstring(rin.addr);