Skip to content

Commit

Permalink
Merge pull request #681 from Disasm/fix-svd-soc-name
Browse files Browse the repository at this point in the history
Fix SoC name in SVD generator
  • Loading branch information
enjoy-digital authored Oct 22, 2020
2 parents 4eb634b + e499729 commit abdc8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/integration/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ def print_svd_register(csr, csr_address, description, length, svd):
interrupts[csr] = irq

documented_regions = []
for name, region in soc.csr.regions.items():
for region_name, region in soc.csr.regions.items():
documented_regions.append(DocumentedCSRRegion(
name = name,
name = region_name,
region = region,
csr_data_width = soc.csr.data_width)
)
Expand Down

0 comments on commit abdc8bb

Please sign in to comment.