From: Florent Kermarrec Date: Mon, 17 Feb 2020 07:36:36 +0000 (+0100) Subject: soc: increase supporteds address_width/paging X-Git-Tag: 24jan2021_ls180~658 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ed0f445b609945742abfc41b81c9f0ab8b83c6f;p=litex.git soc: increase supporteds address_width/paging --- diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 82589a72..91c3306d 100755 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -426,9 +426,9 @@ class SoCLocHandler(Module): class SoCCSRHandler(SoCLocHandler): supported_data_width = [8, 32] - supported_address_width = [14, 15] + supported_address_width = [14+i for i in range(4)] supported_alignment = [32, 64] - supported_paging = [0x800*2**i for i in range(3)] + supported_paging = [0x800*2**i for i in range(4)] # Creation ------------------------------------------------------------------------------------- def __init__(self, data_width=32, address_width=14, alignment=32, paging=0x800, reserved_csrs={}):