interconnect/csr_bus: fix paged access warning
authorIlia Sergachev <ilia.sergachev@protonmail.ch>
Mon, 20 Jul 2020 16:23:09 +0000 (18:23 +0200)
committerIlia Sergachev <ilia.sergachev@protonmail.ch>
Mon, 20 Jul 2020 16:23:09 +0000 (18:23 +0200)
litex/soc/interconnect/csr_bus.py

index b91a458ed6966f30bde29bca18f572ee4b91b597..cded5ae29f23c6e6784b198d525e2474115d9c11 100644 (file)
@@ -100,7 +100,7 @@ class SRAM(Module):
         page_bits = log2_int((mem.depth*csrw_per_memw + aligned_paging - 1)//aligned_paging, False)
         if page_bits:
             self._page = CSRStorage(page_bits, name=mem.name_override + "_page")
-            printf("WARNING: SRAM CSR memory will requires paged access.")
+            print("WARNING: SRAM CSR memory will require paged access.")
         else:
             self._page = None
         if read_only is None: