aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-06-27 19:17:41 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-06-27 19:17:41 -0400
commitcb6281bced4fe31f21c24528c5d6f85602733680 (patch)
treef807c9439a3b92084f7b0fdd169713d24a664b15 /contrib
parent1a79feb965430e8d523b4e9cf5a48fe89feeb441 (diff)
downloadbasic-hdl-template-cb6281bced4fe31f21c24528c5d6f85602733680.tar.gz
basic-hdl-template-cb6281bced4fe31f21c24528c5d6f85602733680.zip
parameterize unconstrained timing analysis
Diffstat (limited to 'contrib')
-rw-r--r--contrib/xilinx.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk
index cbf6c88..c3338f2 100644
--- a/contrib/xilinx.mk
+++ b/contrib/xilinx.mk
@@ -39,6 +39,7 @@
#
# NOTE: DO NOT edit this file to change settings; instead edit Makefile
+unconst_timing ?= -u 10
synth_effort ?= high
coregen_work_dir ?= ./coregen-tmp
map_opts ?= -timing -ol $(synth_effort) -detail -pr b -register_duplication -w
@@ -167,11 +168,11 @@ build/$(project).scr: $(optfile) $(mkfiles) ./$(project).opt
cp $@ build/$(project).xst
build/$(project)_post_map.twr: build/$(project).ncd
- @bash -c "$(xil_env); trce -u 10 -e 20 -l 10 $(project).ncd $(project).pcf -o $(project)_post_map.twr $(colorize)"
+ @bash -c "$(xil_env); trce $(unconst_timing) -e 20 -l 10 $(project).ncd $(project).pcf -o $(project)_post_map.twr $(colorize)"
@echo "Read $@ for timing analysis details"
build/$(project)_post_par.twr: build/$(project)_par.ncd
- @bash -c "$(xil_env); trce -u 10 -e 20 -l 10 $(project)_par.ncd $(project).pcf -o $(project)_post_par.twr $(colorize)"
+ @bash -c "$(xil_env); trce $(unconst_timing) -e 20 -l 10 $(project)_par.ncd $(project).pcf -o $(project)_post_par.twr $(colorize)"
@echo "See $@ for timing analysis details"
tb/simulate_isim.prj: $(tbfiles) $(vfiles) $(mkfiles)