Commit 8656ea9b authored by Ilia Sergachev's avatar Ilia Sergachev

interconnect/csr_bus: fix paged access warning

parent 4a18b828
...@@ -100,7 +100,7 @@ class SRAM(Module): ...@@ -100,7 +100,7 @@ class SRAM(Module):
page_bits = log2_int((mem.depth*csrw_per_memw + aligned_paging - 1)//aligned_paging, False) page_bits = log2_int((mem.depth*csrw_per_memw + aligned_paging - 1)//aligned_paging, False)
if page_bits: if page_bits:
self._page = CSRStorage(page_bits, name=mem.name_override + "_page") 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: else:
self._page = None self._page = None
if read_only is None: if read_only is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment