projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f3f48
)
whitespace
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Apr 2019 10:56:27 +0000
(11:56 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Apr 2019 10:56:27 +0000
(11:56 +0100)
TLB/src/AddressEncoder.py
patch
|
blob
|
history
diff --git
a/TLB/src/AddressEncoder.py
b/TLB/src/AddressEncoder.py
index 31af2ff73b6839583f3cd973d756b0866cd832c0..4c4b8d763ce07914d978ffea6289926d5e233214 100644
(file)
--- a/
TLB/src/AddressEncoder.py
+++ b/
TLB/src/AddressEncoder.py
@@
-30,7
+30,7
@@
class AddressEncoder():
self.single_match = Signal(1)
self.multiple_match = Signal(1)
self.o = Signal(max=width)
-
+
def elaborate(self, platform=None):
m = Module()
@@
-43,7
+43,7
@@
class AddressEncoder():
self.p_encoder.i.eq(self.i)
]
- # Steps:
+ # Steps:
# 1. check if the input vector is non-zero
# 2. if non-zero, check if single match or multiple match
# 3. set output line to be lowest value address output