From 0e1ca9ee31478423d9c926fc0b93bcbaac11ff1a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 17 Jun 2020 21:22:17 +0200 Subject: [PATCH] examples/make: update. --- examples/make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]: