Add test PicoRV32 build script

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-06-13 17:08:27 +02:00
parent 81a154ca5d
commit 821fb3a55d
2 changed files with 7 additions and 0 deletions

1
ice40/.gitignore vendored
View File

@ -1,4 +1,5 @@
/blinky_chip.v
/blinky_tb
/blinky_tb.vcd
/picorv32.v
/chipdbs/

6
ice40/picorv32.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -ex
rm -f picorv32.v
wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v
yosys -p 'synth_ice40 -nocarry -json picorv32.json -top picorv32' picorv32.v
../nextpnr-ice40 --hx8k --asc picorv32.asc --json picorv32.json