examples/make: update.
This commit is contained in:
parent
54488c0f4d
commit
0e1ca9ee31
|
@ -16,7 +16,7 @@ from migen.fhdl.structure import _Fragment
|
||||||
from litex.build.tools import write_to_file
|
from litex.build.tools import write_to_file
|
||||||
from litex.build.xilinx.common import *
|
from litex.build.xilinx.common import *
|
||||||
|
|
||||||
from litex.soc.integration import cpu_interface
|
from litex.soc.integration import export
|
||||||
|
|
||||||
|
|
||||||
def autotype(s):
|
def autotype(s):
|
||||||
|
@ -154,7 +154,7 @@ Depth: {}
|
||||||
subprocess.call(["rm", "-rf", "build/*"])
|
subprocess.call(["rm", "-rf", "build/*"])
|
||||||
|
|
||||||
if actions["build-csr-csv"]:
|
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)
|
write_to_file(args.csr_csv, csr_csv)
|
||||||
|
|
||||||
if actions["build-core"]:
|
if actions["build-core"]:
|
||||||
|
|
Loading…
Reference in New Issue