soc_zynq: update get_csr_header

This commit is contained in:
Florent Kermarrec 2019-09-30 16:00:11 +02:00
parent 4d90058b18
commit 59995c5359
1 changed files with 2 additions and 2 deletions

View 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)