Merge pull request #598 from sergachev/master
interconnect/csr_bus: fix paged access warning
This commit is contained in:
commit
87d7f6e72e
|
@ -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 New Issue