projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00edf9
)
move comments
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Apr 2019 17:49:28 +0000
(18:49 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Apr 2019 17:49:28 +0000
(18:49 +0100)
TLB/src/ariane/tlb.py
patch
|
blob
|
history
diff --git
a/TLB/src/ariane/tlb.py
b/TLB/src/ariane/tlb.py
index 176693484c08840870966ae18182ad8686d46e38..32041c0af593d9339962adb3ebeb9c36472ac163 100644
(file)
--- a/
TLB/src/ariane/tlb.py
+++ b/
TLB/src/ariane/tlb.py
@@
-266,12
+266,13
@@
class TLB:
#-------------
# Translation
#-------------
+
+ # SV39 defines three levels of page tables
m.d.comb += [ vpn0.eq(self.lu_vaddr_i[12:21]),
vpn1.eq(self.lu_vaddr_i[21:30]),
vpn2.eq(self.lu_vaddr_i[30:39]),
]
- # SV39 defines three levels of page tables
tc = []
for i in range(TLB_ENTRIES):
tlc = TLBContent(self.pte_width)