Merge pull request #598 from sergachev/master

interconnect/csr_bus: fix paged access warning
This commit is contained in:
enjoy-digital 2020-07-20 19:24:21 +02:00 committed by GitHub
commit 87d7f6e72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: