aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/benchmark
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-25 14:02:22 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-25 14:02:22 +0200
commit6ea898855c96794c32d2d8c9bee3646da139720b (patch)
tree58ac1095431a70bba2db39b857ceac3943d798a3 /ice40/benchmark
parentddfb1f1ff366e57282ea144e24b1d86fcbdc31be (diff)
downloadnextpnr-6ea898855c96794c32d2d8c9bee3646da139720b.tar.gz
nextpnr-6ea898855c96794c32d2d8c9bee3646da139720b.tar.bz2
nextpnr-6ea898855c96794c32d2d8c9bee3646da139720b.zip
Minor improvements in iCE40 benchmark scripts
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/benchmark')
-rw-r--r--ice40/benchmark/.gitignore5
-rw-r--r--ice40/benchmark/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/ice40/benchmark/.gitignore b/ice40/benchmark/.gitignore
new file mode 100644
index 00000000..392dff13
--- /dev/null
+++ b/ice40/benchmark/.gitignore
@@ -0,0 +1,5 @@
+hx8kdemo.log
+hx8kdemo.blif
+hx8kdemo.json
+hx8kdemo_[an][0-9].asc
+report_[an][0-9].txt
diff --git a/ice40/benchmark/Makefile b/ice40/benchmark/Makefile
index 38cc2b0d..2dde17cc 100644
--- a/ice40/benchmark/Makefile
+++ b/ice40/benchmark/Makefile
@@ -13,10 +13,10 @@ hx8kdemo_a$1.asc: hx8kdemo.blif
arachne-pnr -d 8k -p hx8kdemo.pcf -o hx8kdemo_a$1.asc -s $1 hx8kdemo.blif
hx8kdemo_n$1.asc: hx8kdemo.json
- nextpnr-ice40 --asc hx8kdemo_n$1.asc --json hx8kdemo.json --pcf hx8kdemo.pcf --hx8k --seed $1
+ ../../nextpnr-ice40 --asc hx8kdemo_n$1.asc --json hx8kdemo.json --pcf hx8kdemo.pcf --hx8k --seed $1
endef
-$(foreach i,1 2 3 4 5 6 7 8,$(eval $(call mkreport,$(i))))
+$(foreach i,0 1 2 3 4 5 6 7 8 9,$(eval $(call mkreport,$(i))))
hx8kdemo.blif: hx8kdemo.json
hx8kdemo.json: hx8kdemo.v spimemio.v simpleuart.v picosoc.v picorv32.v