From 6ed0f445b609945742abfc41b81c9f0ab8b83c6f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 17 Feb 2020 08:36:36 +0100 Subject: [PATCH] soc: increase supporteds address_width/paging --- litex/soc/integration/soc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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={}): -- 2.30.2