mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
partner/aller, nereid, tagus: Use updated csr APIs
litex commit 8be5824e258b84df240d34636aaa539124b92c65 simplified the handling of csr regions and constants.
This commit is contained in:
parent
d91458c3e6
commit
3012cf75fe
3 changed files with 6 additions and 6 deletions
|
@ -179,8 +179,8 @@ class AllerSoC(SoCSDRAM):
|
|||
]
|
||||
|
||||
def generate_software_header(self, filename):
|
||||
csr_header = get_csr_header(self.get_csr_regions(),
|
||||
self.get_constants(),
|
||||
csr_header = get_csr_header(self.csr_regions,
|
||||
self.constants,
|
||||
with_access_functions=False,
|
||||
with_shadow_base=False)
|
||||
tools.write_to_file(filename, csr_header)
|
||||
|
|
|
@ -176,8 +176,8 @@ class NereidSoC(SoCSDRAM):
|
|||
]
|
||||
|
||||
def generate_software_header(self, filename):
|
||||
csr_header = get_csr_header(self.get_csr_regions(),
|
||||
self.get_constants(),
|
||||
csr_header = get_csr_header(self.csr_regions,
|
||||
self.constants,
|
||||
with_access_functions=False,
|
||||
with_shadow_base=False)
|
||||
tools.write_to_file(filename, csr_header)
|
||||
|
|
|
@ -177,8 +177,8 @@ class TagusSoC(SoCSDRAM):
|
|||
]
|
||||
|
||||
def generate_software_header(self, filename):
|
||||
csr_header = get_csr_header(self.get_csr_regions(),
|
||||
self.get_constants(),
|
||||
csr_header = get_csr_header(self.csr_regions,
|
||||
self.constants,
|
||||
with_access_functions=False,
|
||||
with_shadow_base=False)
|
||||
tools.write_to_file(filename, csr_header)
|
||||
|
|
Loading…
Reference in a new issue