build/lattice/diamond: use diamondc instead of pnmainc (avoid having to set environme...
[litex.git] / 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"):