aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/tools/make/diamond_design_builder.mak
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/tools/make/diamond_design_builder.mak')
-rw-r--r--fpga/usrp3/tools/make/diamond_design_builder.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/fpga/usrp3/tools/make/diamond_design_builder.mak b/fpga/usrp3/tools/make/diamond_design_builder.mak
index 3edff306d..3c2d11e5e 100644
--- a/fpga/usrp3/tools/make/diamond_design_builder.mak
+++ b/fpga/usrp3/tools/make/diamond_design_builder.mak
@@ -31,7 +31,10 @@ BUILD_DIAMOND_DESIGN = \
cp $(TOOLS_DIR)/scripts/dmd_design_build.tcl $(4)/build.tcl; \
cd $(4); \
echo "BUILDER: Implementating design..."; \
- pnmainc build.tcl > $(1)_log.txt ; \
+ $(DIAMOND_EXE) build.tcl > $(1)_log.txt ; \
+ echo "BUILDER: Parsing reports..."; \
+ grep "Cumulative negative slack: 0 (0+0)" impl1/$(1)_impl1.twr ; \
+ if [ $$? -ne 0 ]; then exit 1; fi; \
echo "BUILDER: Generating bitfile..."; \
ddtcmd -oft -svfsingle -if $(5)/$(1)_$(5).jed \
-dev $(2) -op "FLASH Erase,Program,Verify" -revd \