[Cryptech-Commits] [core/platform/alpha] 06/06: Generate detailed timing report when PAR fails.

git at cryptech.is git at cryptech.is
Wed Jan 23 22:05:57 UTC 2019


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository core/platform/alpha.

commit 1526cfd1166500fa7df689237cfcf950ecc56d4b
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Mon Aug 27 11:24:39 2018 -0400

    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.
---
 build/xilinx.mk | 6 ++----
 1 file 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



More information about the Commits mailing list