mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
interconnect/csr_bus: fix paged access warning
This commit is contained in:
parent
4a18b828bc
commit
8656ea9b67
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue