Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix crash when crossing page boundary with MMU activated

  • Loading branch information...
commit d9d952ae6ea7bda0626203d5bad7c0271531aa4e 1 parent 70b5f48
@fallen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cores/lm32/rtl/lm32_icache.v
View
2  cores/lm32/rtl/lm32_icache.v
@@ -743,7 +743,7 @@ begin
itlb_miss_q <= `FALSE;
else
begin
- if (itlb_miss && ~itlb_miss_q)
+ if (itlb_miss && ~itlb_miss_q && ~(exception_x == `TRUE && stall_m == `FALSE && stall_x == `FALSE && q_x == `TRUE))
itlb_miss_q <= `TRUE;
else if (itlb_miss_q && /* exception_m == `TRUE */ exception_x == `TRUE && stall_m == `FALSE && stall_x == `FALSE && q_x == `TRUE)
itlb_miss_q <= `FALSE;
Please sign in to comment.
Something went wrong with that request. Please try again.