cpu/Minerva: Clone the repository locally for now, we need to create a pythondata repository.
This commit is contained in:
parent
b82b3b7ecf
commit
0abc7d4f0b
|
@ -98,8 +98,8 @@ class Minerva(CPU):
|
|||
cli_params.append("--with-dcache")
|
||||
if with_muldiv:
|
||||
cli_params.append("--with-muldiv")
|
||||
_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
if subprocess.call(["python3", os.path.join(_dir, "verilog", "cli.py"), *cli_params, "generate"],
|
||||
os.system("git clone http://github.com/lambdaconcept/minerva") # FIXME: create pythondata.
|
||||
if subprocess.call(["python3", os.path.join("minerva", "cli.py"), *cli_params, "generate"],
|
||||
stdout=open(verilog_filename, "w")):
|
||||
raise OSError("Unable to elaborate Minerva CPU, please check your nMigen/Yosys install")
|
||||
|
||||
|
|
Loading…
Reference in New Issue