cpu/Minerva: Clone the repository locally for now, we need to create a pythondata repository.

This commit is contained in:
Florent Kermarrec 2020-05-01 11:01:50 +02:00
parent b82b3b7ecf
commit 0abc7d4f0b
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ class Minerva(CPU):
cli_params.append("--with-dcache") cli_params.append("--with-dcache")
if with_muldiv: if with_muldiv:
cli_params.append("--with-muldiv") cli_params.append("--with-muldiv")
_dir = os.path.abspath(os.path.dirname(__file__)) os.system("git clone http://github.com/lambdaconcept/minerva") # FIXME: create pythondata.
if subprocess.call(["python3", os.path.join(_dir, "verilog", "cli.py"), *cli_params, "generate"], if subprocess.call(["python3", os.path.join("minerva", "cli.py"), *cli_params, "generate"],
stdout=open(verilog_filename, "w")): stdout=open(verilog_filename, "w")):
raise OSError("Unable to elaborate Minerva CPU, please check your nMigen/Yosys install") raise OSError("Unable to elaborate Minerva CPU, please check your nMigen/Yosys install")