From 57bc0369c728c3666f51c3da9281c122132ee594 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 5 Feb 2024 12:57:06 +0100 Subject: [PATCH] integration/soc/SocCSRHandler: Make supported_address_width/paging values explicit. --- 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 0f0b4edce..22c1d50c5 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -650,9 +650,9 @@ def __str__(self): class SoCCSRHandler(SoCLocHandler): supported_data_width = [8, 32] - supported_address_width = [14+i for i in range(4)] + supported_address_width = [14, 15, 16, 17, 18] supported_alignment = [32] - supported_paging = [0x400*2**i for i in range(5)] + supported_paging = [0x400, 0x800, 0x1000, 0x2000, 0x4000] supported_ordering = ["big", "little"] # Creation -------------------------------------------------------------------------------------