soc/integration/builder: export constants and memory_regions with csr_csv
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 23 Nov 2015 18:12:58 +0000 (19:12 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 23 Nov 2015 18:12:58 +0000 (19:12 +0100)
litex/soc/integration/builder.py

index 14ab8ba8daae4558c0e7a0ed8ae4b89e47189acd..45439ef093befacd455da390d48594eb39b8fe39 100644 (file)
@@ -94,7 +94,7 @@ class Builder:
 
         if self.csr_csv is not None:
             with open(self.csr_csv, "w") as f:
-                f.write(cpu_interface.get_csr_csv(csr_regions))
+                f.write(cpu_interface.get_csr_csv(csr_regions, constants, memory_regions))
 
     def _prepare_software(self):
         for name, src_dir in self.software_packages: