projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5e5b6
)
comment spelling
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Apr 2019 16:58:14 +0000
(17:58 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Apr 2019 16:58:14 +0000
(17:58 +0100)
TLB/src/ariane/tlb.py
patch
|
blob
|
history
diff --git
a/TLB/src/ariane/tlb.py
b/TLB/src/ariane/tlb.py
index fdeb71ae3ac084756f9569ba19acc877a17bba93..071a5e6c79bd6a2fde2eb4b7ef11102b48103313 100644
(file)
--- a/
TLB/src/ariane/tlb.py
+++ b/
TLB/src/ariane/tlb.py
@@
-231,7
+231,7
@@
class PLRU:
en.append(plru) # yes inverted (using bool())
print ("plru", i, en)
# boolean logic manipulation:
- # pl
ur0 & plru1 & plur
2 == ~(~plru0 | ~plru1 | ~plru2)
+ # pl
ru0 & plru1 & plru
2 == ~(~plru0 | ~plru1 | ~plru2)
m.d.comb += self.replace_en_o[i].eq(~Cat(*en).bool())
return m