aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2018-08-27 11:24:39 -0400
committerPaul Selkirk <paul@psgd.org>2019-01-23 14:26:59 -0500
commitbf5f9958e677ffce2e65b683f8101273c1fcb468 (patch)
tree6bb8709cd9a32805b50c539327d48b99b72360d2 /build
parent3d9123b5f2a496e3c3c7469f33eeec98c910004e (diff)
Generate detailed timing report when PAR fails.
The original version of this file appears to have been attempting to do this, but got the grotty details wrong.
Diffstat (limited to 'build')
-rw-r--r--build/xilinx.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/xilinx.mk b/build/xilinx.mk
index 99f86ef..4bfefde 100644
--- a/build/xilinx.mk
+++ b/build/xilinx.mk
@@ -106,12 +106,10 @@ junk += $(project).bgn $(project).bit $(project).drc $(project)_bd.bmm
$(project)_par.ncd: $(project).ncd
$(xil_env); \
- if par $(intstyle) $(par_opts) -w $(project).ncd $(project)_par.ncd; then \
- :; \
- else \
+ if ! par $(intstyle) $(par_opts) -w $(project).ncd $(project)_par.ncd || grep >/dev/null 'WARNING:Par:468' $(project)_par.par; then \
$(MAKE) etwr; \
+ exit 1; \
fi
- @ ! grep >/dev/null 'WARNING:Par:468' $(project)_par.par
junk += $(project)_par.ncd $(project)_par.par $(project)_par.pad
junk += $(project)_par_pad.csv $(project)_par_pad.txt
junk += $(project)_par.grf $(project)_par.ptwx