comments on icache
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Sep 2020 10:07:04 +0000 (11:07 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Sep 2020 10:07:04 +0000 (11:07 +0100)
src/soc/experiment/icache.py

index ac59aedcbf27e326abdee08a0f7c2a663a2dafc0..16366d3beea91c16906f5fbfc158841c728b6c6a 100644 (file)
@@ -1149,6 +1149,8 @@ class ICache(Elaboratable):
 #                             " RA:" & to_hstring(real_addr);
                     # We need to read a cache line
                     with m.If(req_is_miss):
+                        # XXX no, do not use "f".  use sync += Display
+                        # and use %d for integer, %x for hex.
                         print(f"cache miss nia:{i_in.nia} " \
                               f"IR:{i_in.virt_mode} " \
                               f"SM:{i_in.stop_mark} " \