From: Florent Kermarrec Date: Fri, 1 May 2020 09:01:50 +0000 (+0200) Subject: cpu/Minerva: Clone the repository locally for now, we need to create a pythondata... X-Git-Tag: 24jan2021_ls180~414 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0abc7d4f0bb635775698f7e18072bc69b72a7db5;p=litex.git cpu/Minerva: Clone the repository locally for now, we need to create a pythondata repository. --- diff --git a/litex/soc/cores/cpu/minerva/core.py b/litex/soc/cores/cpu/minerva/core.py index 4ec118b0..a4b63e62 100644 --- a/litex/soc/cores/cpu/minerva/core.py +++ b/litex/soc/cores/cpu/minerva/core.py @@ -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")