From: Florent Kermarrec Date: Mon, 30 Sep 2019 14:00:11 +0000 (+0200) Subject: soc_zynq: update get_csr_header X-Git-Tag: 24jan2021_ls180~954 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59995c5359a9017b7bc730f2e12bac6af7a20906;p=litex.git soc_zynq: update get_csr_header --- diff --git a/litex/soc/integration/soc_zynq.py b/litex/soc/integration/soc_zynq.py index 0268ae09..10e27933 100644 --- a/litex/soc/integration/soc_zynq.py +++ b/litex/soc/integration/soc_zynq.py @@ -212,7 +212,7 @@ class SoCZynq(SoCCore): self.specials += Instance(self.ps7_name, **self.ps7_params) 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) tools.write_to_file(filename, csr_header)