projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67745ec
)
mmu.py fixes https://bugs.libre-soc.org/show_bug.cgi?id=450#c52
author
Cole Poirier
<colepoirier@gmail.com>
Sat, 15 Aug 2020 23:14:00 +0000
(16:14 -0700)
committer
Cole Poirier
<colepoirier@gmail.com>
Sat, 15 Aug 2020 23:14:00 +0000
(16:14 -0700)
src/soc/experiment/mmu.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/mmu.py
b/src/soc/experiment/mmu.py
index 8b81106881453128bfc96263d8cd3e7c30251db7..d68a9fae8dd2047d2b84d2d75b5e9e34c2d1faa1 100644
(file)
--- a/
src/soc/experiment/mmu.py
+++ b/
src/soc/experiment/mmu.py
@@
-961,13
+961,16
@@
class MMU1(Elaboratable):
comb += pgtable_addr.eq(
Cat(
Cat(
- Const(0b000, 3),
- (
- (r.pgbase[3:19] & ~mask)
- | (addrsh & mask)
- )
+ Cat(
+ Const(0b000, 3),
+ (
+ (r.pgbase[3:19] & ~mask)
+ | (addrsh & mask)
+ )
+ ),
+ r.pgbase[19:56]
),
-
Const(0x00, 8)
+ Const(0x00, 8)
)
)