soc_zynq: update get_csr_header
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 30 Sep 2019 14:00:11 +0000 (16:00 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 30 Sep 2019 14:00:11 +0000 (16:00 +0200)
litex/soc/integration/soc_zynq.py

index 0268ae0991a19ab507af53f6ca61415658a7bf80..10e27933db5450dc7bf7272e167725a7592ccc55 100644 (file)
@@ -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)