soc/integration/builder: Disable fields_access_functions generation by default since not widely used (at least not in LiteX "official" projects).

This commit is contained in:
Florent Kermarrec 2024-05-14 11:59:13 +02:00
parent 2574cc1ddc
commit 46911d5078
1 changed files with 4 additions and 1 deletions

View File

@ -252,7 +252,10 @@ class Builder:
csr_contents = export.get_csr_header(
regions = self.soc.csr_regions,
constants = self.soc.constants,
csr_base = self.soc.mem_regions["csr"].origin)
csr_base = self.soc.mem_regions["csr"].origin,
with_access_functions = True,
with_fields_access_functions = False,
)
write_to_file(os.path.join(self.generated_dir, "csr.h"), csr_contents)
# Generate Git SHA1 of tools to git.h