diff --git a/litex_boards/partner/targets/aller.py b/litex_boards/partner/targets/aller.py index 8646a8b3..0197e922 100755 --- a/litex_boards/partner/targets/aller.py +++ b/litex_boards/partner/targets/aller.py @@ -179,10 +179,9 @@ class AllerSoC(SoCSDRAM): ] def generate_software_header(self, filename): - csr_header = get_csr_header(self.get_csr_regions(), - self.get_constants(), - with_access_functions=False, - with_shadow_base=False) + csr_header = get_csr_header(self.csr_regions, + self.constants, + with_access_functions=False) tools.write_to_file(filename, csr_header) diff --git a/litex_boards/partner/targets/nereid.py b/litex_boards/partner/targets/nereid.py index 13c8b1ae..f67a2c61 100755 --- a/litex_boards/partner/targets/nereid.py +++ b/litex_boards/partner/targets/nereid.py @@ -176,10 +176,9 @@ class NereidSoC(SoCSDRAM): ] def generate_software_header(self, filename): - csr_header = get_csr_header(self.get_csr_regions(), - self.get_constants(), - with_access_functions=False, - with_shadow_base=False) + csr_header = get_csr_header(self.csr_regions, + self.constants, + with_access_functions=False) tools.write_to_file(filename, csr_header) diff --git a/litex_boards/partner/targets/tagus.py b/litex_boards/partner/targets/tagus.py index d34ac0a7..c77aa082 100755 --- a/litex_boards/partner/targets/tagus.py +++ b/litex_boards/partner/targets/tagus.py @@ -177,10 +177,9 @@ class TagusSoC(SoCSDRAM): ] def generate_software_header(self, filename): - csr_header = get_csr_header(self.get_csr_regions(), - self.get_constants(), - with_access_functions=False, - with_shadow_base=False) + csr_header = get_csr_header(self.csr_regions, + self.constants, + with_access_functions=False) tools.write_to_file(filename, csr_header)