Guest User

Untitled

a guest
Oct 8th, 2019
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py
  2. index 1120e4cc..c1adcd19 100644
  3. --- a/litex/soc/integration/builder.py
  4. +++ b/litex/soc/integration/builder.py
  5. @@ -109,7 +109,10 @@ class Builder:
  6.              cpu_interface.get_mem_header(self.soc.mem_regions))
  7.          write_to_file(
  8.              os.path.join(generated_dir, "csr.h"),
  9. -            cpu_interface.get_csr_header(self.soc.csr_regions, self.soc.constants))
  10. +            cpu_interface.get_csr_header(self.soc.csr_regions,
  11. +                                         self.soc.constants,
  12. +                                         shadow_base=self.soc.shadow_base)
  13. +        )
  14.          write_to_file(
  15.              os.path.join(generated_dir, "git.h"),
  16.              cpu_interface.get_git_header()
RAW Paste Data