From 3012cf75fe9c63fc4fba9a89df7fbf3be03082d8 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Sat, 14 Dec 2019 00:19:20 +0000 Subject: [PATCH] partner/aller, nereid, tagus: Use updated csr APIs litex commit 8be5824e258b84df240d34636aaa539124b92c65 simplified the handling of csr regions and constants. --- litex_boards/partner/targets/aller.py | 4 ++-- litex_boards/partner/targets/nereid.py | 4 ++-- litex_boards/partner/targets/tagus.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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)