explanatory comment when page hit is the same for stores
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 Jan 2022 16:43:56 +0000 (16:43 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 Jan 2022 16:43:56 +0000 (16:43 +0000)
src/soc/experiment/dcache.py

index 2689a319c274bd5d056e1facb61f2bb844e9a9e5..671b5ce65a958013f39c7f9d20682a731c017621 100644 (file)
@@ -1638,6 +1638,7 @@ class DCache(Elaboratable):
                 with m.If(~bus.stall):
                     # See if there is another store waiting
                     # to be done which is in the same real page.
+                    # (this is when same_tsg is true)
                     with m.If(req.valid):
                         _ra = req.real_addr[ROW_OFF_BITS:SET_SIZE_BITS]
                         sync += r1.wb.adr[0:SET_SIZE_BITS-ROW_OFF_BITS].eq(_ra)