projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b782bd
)
diamond: close project when done
author
Shawn Hoffman
<godisgovernment@gmail.com>
Sat, 9 May 2020 09:16:24 +0000
(
02:16
-0700)
committer
Shawn Hoffman
<godisgovernment@gmail.com>
Sat, 9 May 2020 09:28:00 +0000
(
02:28
-0700)
Avoids ".recovery file is present" prompt.
litex/build/lattice/diamond.py
patch
|
blob
|
history
diff --git
a/litex/build/lattice/diamond.py
b/litex/build/lattice/diamond.py
index e48f4852bf383ec528302bc00607fdb2640495d3..da993c5c9df76209dc85cdfad677d417b1185d13 100644
(file)
--- a/
litex/build/lattice/diamond.py
+++ b/
litex/build/lattice/diamond.py
@@
-104,6
+104,9
@@
def _build_tcl(device, sources, vincpaths, build_name):
if _produces_jedec(device):
tcl.append("prj_run Export -impl impl -task Jedecgen")
+ # Cleanly close the project
+ tcl.append("prj_project close")
+
tools.write_to_file(build_name + ".tcl", "\n".join(tcl))
# Script -------------------------------------------------------------------------------------------