projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0479b4
)
add addrgen comment
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 5 Jun 2019 05:22:55 +0000
(06:22 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 5 Jun 2019 05:22:55 +0000
(06:22 +0100)
src/scoreboard/addr_match.py
patch
|
blob
|
history
diff --git
a/src/scoreboard/addr_match.py
b/src/scoreboard/addr_match.py
index 657f95b68851b4df7a40eec031694e2246c3ea49..3edbdfeb44a7d7597e92adcf959ba4b114cc5d7b 100644
(file)
--- a/
src/scoreboard/addr_match.py
+++ b/
src/scoreboard/addr_match.py
@@
-19,6
+19,13
@@
without using expensive comparators) probably the best way to do so would
be to turn the last 16 bits into a byte-level bitmap. LD/ST on a byte
would have 1 of the 16 bits set. LD/ST on a DWORD would have 8 of the 16
bits set (offset if the LD/ST was misaligned). TODO.
+
+Notes:
+
+> I have used bits <11:6> as they are not translated (4KB pages)
+> and larger than a cache line (64 bytes).
+> I have used bits <11:4> when the L1 cache was QuadW sized and
+> the L2 cache was Line sized.
"""
from nmigen.compat.sim import run_simulation