Minor improvements in iCE40 benchmark scripts

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-07-25 14:02:22 +02:00
parent ddfb1f1ff3
commit 6ea898855c
2 changed files with 7 additions and 2 deletions

5
ice40/benchmark/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
hx8kdemo.log
hx8kdemo.blif
hx8kdemo.json
hx8kdemo_[an][0-9].asc
report_[an][0-9].txt

View File

@ -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