From 30b226f89590b6530b78e576675314114d4a396f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 22 Oct 2020 08:55:14 +0200 Subject: [PATCH] soc/intergration/export: additional name override fix. --- litex/soc/integration/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/integration/export.py b/litex/soc/integration/export.py index 7d63a31ed..2a6c01484 100644 --- a/litex/soc/integration/export.py +++ b/litex/soc/integration/export.py @@ -431,9 +431,9 @@ def get_csr_svd(soc, vendor="litex", name="soc", description=None): if len(soc.mem_regions) > 0: svd.append(' ') svd.append(' ') - for name, region in soc.mem_regions.items(): + for region_name, region in soc.mem_regions.items(): svd.append(' ') - svd.append(' {}'.format(name.upper())) + svd.append(' {}'.format(region_name.upper())) svd.append(' 0x{:08X}'.format(region.origin)) svd.append(' 0x{:08X}'.format(region.size)) svd.append(' ')