projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99dc9a9
)
MMU LOOKUP for fetch failed, priv mode is inversion of MSR.PR
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 14 Dec 2021 00:46:53 +0000
(
00:46
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 14 Dec 2021 00:46:53 +0000
(
00:46
+0000)
src/soc/fu/mmu/fsm.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/mmu/fsm.py
b/src/soc/fu/mmu/fsm.py
index 7f0b81b4a07665e4763b943caf1f2253221ebd24..752f7ef60a53add90e971045166dfe58b2f62945 100644
(file)
--- a/
src/soc/fu/mmu/fsm.py
+++ b/
src/soc/fu/mmu/fsm.py
@@
-224,7
+224,7
@@
class FSMMMUStage(ControlBase):
# from accepting any other LD/ST requests.
comb += valid.eq(1) # start "pulse"
comb += ldst.instr_fault.eq(blip)
- comb += ldst.priv_mode.eq(msr_i[MSR.PR])
+ comb += ldst.priv_mode.eq(
~
msr_i[MSR.PR])
comb += ldst.maddr.eq(nia_i)
# XXX should not access this!
mmu_done_delay = Signal()