From b344196aba34956c4e6bda4e6c47ac61978c4953 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 14 Aug 2020 00:10:38 +0200 Subject: [PATCH] build/lattice/diamond: use diamondc instead of pnmainc (avoid having to set environment variables). http://www.latticesemi.com/en/Support/AnswerDatabase/5/5/2/5522 --- litex/build/lattice/diamond.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/diamond.py b/litex/build/lattice/diamond.py index 9e6ee704..b8ac17a1 100644 --- a/litex/build/lattice/diamond.py +++ b/litex/build/lattice/diamond.py @@ -122,7 +122,7 @@ def _build_script(build_name, device): copy_stmt = "cp" fail_stmt = "" - script_contents += "pnmainc {tcl_script}{fail_stmt}\n".format( + script_contents += "diamondc {tcl_script}{fail_stmt}\n".format( tcl_script = build_name + ".tcl", fail_stmt = fail_stmt) for ext in (".bit", ".jed"): -- 2.30.2