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(' ')