From: Florent Kermarrec Date: Sat, 28 Sep 2019 16:59:30 +0000 (+0200) Subject: integration/soc_core: remove csr_map_update (no longer used) X-Git-Tag: 24jan2021_ls180~975 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dd2dc1ce86c6bd1dea565a8669513075eb3fdde;p=litex.git integration/soc_core: remove csr_map_update (no longer used) --- diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 51a319de..e38fdd6a 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -34,7 +34,6 @@ from litex.soc.interconnect import wishbone, csr_bus, wishbone2csr __all__ = [ "mem_decoder", "get_mem_data", - "csr_map_update", "SoCCore", "soc_core_args", "soc_core_argdict", @@ -104,10 +103,6 @@ def mem_decoder(address, size=0x10000000): size >>= 2 # bytes to words aligned return lambda a: (a[log2_int(size):-1] == (address >> log2_int(size))) -def csr_map_update(csr_map, csr_peripherals): - csr_map.update(dict((n, v) - for v, n in enumerate(csr_peripherals, start=max(csr_map.values()) + 1))) - # SoCController ------------------------------------------------------------------------------------ class SoCController(Module, AutoCSR):