diff --git a/litex_boards/partner/targets/aller.py b/litex_boards/partner/targets/aller.py index 8646a8b..724b23d 100755 --- a/litex_boards/partner/targets/aller.py +++ b/litex_boards/partner/targets/aller.py @@ -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) diff --git a/litex_boards/partner/targets/nereid.py b/litex_boards/partner/targets/nereid.py index 13c8b1a..0711b41 100755 --- a/litex_boards/partner/targets/nereid.py +++ b/litex_boards/partner/targets/nereid.py @@ -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) diff --git a/litex_boards/partner/targets/tagus.py b/litex_boards/partner/targets/tagus.py index d34ac0a..48bb2d0 100755 --- a/litex_boards/partner/targets/tagus.py +++ b/litex_boards/partner/targets/tagus.py @@ -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)