build/lattice/diamond: use diamondc instead of pnmainc (avoid having to set environme...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 13 Aug 2020 22:10:38 +0000 (00:10 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 13 Aug 2020 22:10:56 +0000 (00:10 +0200)
http://www.latticesemi.com/en/Support/AnswerDatabase/5/5/2/5522

litex/build/lattice/diamond.py

index 9e6ee704d4134bb9e4e65f2a00efded1b35f9c75..b8ac17a1f4f55dde12a6b413f9727da47375ce33 100644 (file)
@@ -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"):