projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea935f8
)
restore incorrect removal of zero-Cat at LHS (should never do that)
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 16 Aug 2020 09:21:09 +0000
(10:21 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 16 Aug 2020 09:21:09 +0000
(10:21 +0100)
src/soc/experiment/mmu.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/mmu.py
b/src/soc/experiment/mmu.py
index 6ec7ded47abeeaf680757caec20ea9ab6793742e..f9c26d166e4be63fd261f8bbd03baae91bac7e60 100644
(file)
--- a/
src/soc/experiment/mmu.py
+++ b/
src/soc/experiment/mmu.py
@@
-277,7
+277,7
@@
class MMU(Elaboratable):
# for the segment check
comb += v.shift.eq(rts)
comb += v.mask_size.eq(mbits[0:5])
- comb += v.pgbase.eq(
pgtbl[8:56]
)
+ comb += v.pgbase.eq(
Cat(Const(0, 8), pgtbl[8:56])
)
# if l_in.valid = '1' then
with m.If(l_in.valid):