diff --git a/examples/make.py b/examples/make.py index bc8c149..3c77b8c 100755 --- a/examples/make.py +++ b/examples/make.py @@ -16,7 +16,7 @@ from migen.fhdl.structure import _Fragment from litex.build.tools import write_to_file from litex.build.xilinx.common import * -from litex.soc.integration import cpu_interface +from litex.soc.integration import export def autotype(s): @@ -154,7 +154,7 @@ Depth: {} subprocess.call(["rm", "-rf", "build/*"]) if actions["build-csr-csv"]: - csr_csv = cpu_interface.get_csr_csv(soc.csr_regions, soc.constants) + csr_csv = export.get_csr_csv(soc.csr_regions, soc.constants) write_to_file(args.csr_csv, csr_csv) if actions["build-core"]: