diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-13 17:08:27 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-13 17:08:27 +0200 |
commit | 821fb3a55dc0954d75ade4c8ca50afae62c04956 (patch) | |
tree | b4ad7841e477f279c36ee7a3f431538bbd94ec28 | |
parent | 81a154ca5defa4af0da827d12467d68581817364 (diff) | |
download | nextpnr-821fb3a55dc0954d75ade4c8ca50afae62c04956.tar.gz nextpnr-821fb3a55dc0954d75ade4c8ca50afae62c04956.tar.bz2 nextpnr-821fb3a55dc0954d75ade4c8ca50afae62c04956.zip |
Add test PicoRV32 build script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rw-r--r-- | ice40/.gitignore | 1 | ||||
-rwxr-xr-x | ice40/picorv32.sh | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ice40/.gitignore b/ice40/.gitignore index d1409985..860619ef 100644 --- a/ice40/.gitignore +++ b/ice40/.gitignore @@ -1,4 +1,5 @@ /blinky_chip.v /blinky_tb /blinky_tb.vcd +/picorv32.v /chipdbs/ diff --git a/ice40/picorv32.sh b/ice40/picorv32.sh new file mode 100755 index 00000000..9d171e76 --- /dev/null +++ b/ice40/picorv32.sh @@ -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 |