From 59995c5359a9017b7bc730f2e12bac6af7a20906 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 30 Sep 2019 16:00:11 +0200 Subject: [PATCH] soc_zynq: update get_csr_header --- litex/soc/integration/soc_zynq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2