From: Florent Kermarrec Date: Thu, 31 Oct 2019 07:52:04 +0000 (+0100) Subject: cpu/minverva: give more explicit error message when not able to elaborate cpu X-Git-Tag: 24jan2021_ls180~888 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85d6607257650a9b1824a2d2d7931324f7e52388;p=litex.git cpu/minverva: give more explicit error message when not able to elaborate cpu --- diff --git a/litex/soc/cores/cpu/minerva/core.py b/litex/soc/cores/cpu/minerva/core.py index 20f087dd..cd9e61a0 100644 --- a/litex/soc/cores/cpu/minerva/core.py +++ b/litex/soc/cores/cpu/minerva/core.py @@ -99,7 +99,7 @@ class Minerva(CPU): cli_params.append("--with-muldiv") if subprocess.call(["python3", os.path.join(vdir, "cli.py"), *cli_params, "generate"], stdout=open(os.path.join(vdir, "minerva.v"), "w")): - raise OSError("Error while generating Minerva CPU") + raise OSError("Unable to elaborate Minerva CPU, please check your nMigen/Yosys install") def do_finalize(self): assert hasattr(self, "reset_address")