aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-09-27 10:54:19 +0200
committerClifford Wolf <clifford@clifford.at>2015-09-27 10:54:19 +0200
commita1103698328ada022b014bb7f8dbdb5d3e0bde1b (patch)
tree8551711b26bd757251598af22f427a0c6e6c5a9e /icefuzz/Makefile
parentc501c69942e3c19e11be0d061e56bb10a27d7a50 (diff)
downloadicestorm-a1103698328ada022b014bb7f8dbdb5d3e0bde1b.tar.gz
icestorm-a1103698328ada022b014bb7f8dbdb5d3e0bde1b.tar.bz2
icestorm-a1103698328ada022b014bb7f8dbdb5d3e0bde1b.zip
Added 1k timings
Diffstat (limited to 'icefuzz/Makefile')
-rw-r--r--icefuzz/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/icefuzz/Makefile b/icefuzz/Makefile
index 030eb35..9643f3c 100644
--- a/icefuzz/Makefile
+++ b/icefuzz/Makefile
@@ -17,7 +17,7 @@ TESTS += fflogic
TESTS += ram40
TESTS += pll
-EIGTHK = _8k
+# EIGTHK = _8k
database: bitdata_io.txt bitdata_logic.txt bitdata_ramb$(EIGTHK).txt bitdata_ramt$(EIGTHK).txt
ifeq ($(EIGTHK),_8k)
@@ -36,6 +36,15 @@ endif
diff -U0 cached_ramb_8k.txt bitdata_ramb_8k.txt || cp -v bitdata_ramb_8k.txt cached_ramb_8k.txt
diff -U0 cached_ramt_8k.txt bitdata_ramt_8k.txt || cp -v bitdata_ramt_8k.txt cached_ramt_8k.txt
+timings:
+ifeq ($(EIGTHK),_8k)
+ python3 timings.py -t timings_8k.txt work_*/*.sdf > timings_8k.new
+ mv timings_8k.new timings_8k.txt
+else
+ python3 timings.py -t timings_1k.txt work_*/*.sdf > timings_1k.new
+ mv timings_1k.new timings_1k.txt
+endif
+
data_cached.txt: cached_io.txt cached_logic.txt cached_ramb$(EIGTHK).txt cached_ramt$(EIGTHK).txt
gawk '{ print "io", $$0; }' cached_io.txt > data_cached.new
gawk '{ print "logic", $$0; }' cached_logic.txt >> data_cached.new