Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash when crossing page boundary with MMU activated
  • Loading branch information
fallen committed Sep 4, 2012
1 parent 70b5f48 commit d9d952a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/lm32/rtl/lm32_icache.v
Expand Up @@ -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;
Expand Down

0 comments on commit d9d952a

Please sign in to comment.