projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dbad4f
)
Adding expected data format to TLB header
author
Daniel Benusovich
<flyingmonkeys1996@gmail.com>
Thu, 14 Feb 2019 06:23:27 +0000
(22:23 -0800)
committer
Daniel Benusovich
<flyingmonkeys1996@gmail.com>
Thu, 14 Feb 2019 06:23:27 +0000
(22:23 -0800)
TLB/TLB.py
patch
|
blob
|
history
diff --git
a/TLB/TLB.py
b/TLB/TLB.py
index 7c68e4a8f0f60d69c805b86b39d17cb712018699..adbf291f47c74f10c2ffe7ac9749fa06233ea5df 100644
(file)
--- a/
TLB/TLB.py
+++ b/
TLB/TLB.py
@@
-2,6
+2,10
@@
from nmigen import Memory, Module, Signal
from nmigen.cli import main
from PermissionValidator import PermissionValidator
+# The expected form of the data is
+# Item (Bits)
+# Tag (N - 79) / ASID (78 - 64) / PTE (63 - 0)
+
class TLB():
def __init__(self):
# Inputs