From 85d6607257650a9b1824a2d2d7931324f7e52388 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 31 Oct 2019 08:52:04 +0100 Subject: [PATCH] cpu/minverva: give more explicit error message when not able to elaborate cpu --- litex/soc/cores/cpu/minerva/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.30.2