soc/intergration/export: additional name override fix.
This commit is contained in:
parent
abdc8bb26e
commit
30b226f895
|
@ -431,9 +431,9 @@ def get_csr_svd(soc, vendor="litex", name="soc", description=None):
|
|||
if len(soc.mem_regions) > 0:
|
||||
svd.append(' <vendorExtensions>')
|
||||
svd.append(' <memoryRegions>')
|
||||
for name, region in soc.mem_regions.items():
|
||||
for region_name, region in soc.mem_regions.items():
|
||||
svd.append(' <memoryRegion>')
|
||||
svd.append(' <name>{}</name>'.format(name.upper()))
|
||||
svd.append(' <name>{}</name>'.format(region_name.upper()))
|
||||
svd.append(' <baseAddress>0x{:08X}</baseAddress>'.format(region.origin))
|
||||
svd.append(' <size>0x{:08X}</size>'.format(region.size))
|
||||
svd.append(' </memoryRegion>')
|
||||
|
|
Loading…
Reference in New Issue