From: Florent Kermarrec Date: Thu, 13 Aug 2020 22:10:38 +0000 (+0200) Subject: build/lattice/diamond: use diamondc instead of pnmainc (avoid having to set environme... X-Git-Tag: 24jan2021_ls180~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b344196aba34956c4e6bda4e6c47ac61978c4953;p=litex.git 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 --- 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"):