Fix SoC name in SVD generator
The name was overwritten with one of the CSR region names
This commit is contained in:
parent
5a6b8f452d
commit
e4997295bd
|
@ -347,9 +347,9 @@ def get_csr_svd(soc, vendor="litex", name="soc", description=None):
|
||||||
interrupts[csr] = irq
|
interrupts[csr] = irq
|
||||||
|
|
||||||
documented_regions = []
|
documented_regions = []
|
||||||
for name, region in soc.csr.regions.items():
|
for region_name, region in soc.csr.regions.items():
|
||||||
documented_regions.append(DocumentedCSRRegion(
|
documented_regions.append(DocumentedCSRRegion(
|
||||||
name = name,
|
name = region_name,
|
||||||
region = region,
|
region = region,
|
||||||
csr_data_width = soc.csr.data_width)
|
csr_data_width = soc.csr.data_width)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue