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
This commit is contained in:
Florent Kermarrec 2020-08-14 00:10:38 +02:00
parent f730f1d7ba
commit b344196aba
1 changed files with 1 additions and 1 deletions

View 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"):