nextpnr/xc7/attosoc.sh

14 lines
477 B
Bash
Raw Normal View History

2018-12-01 09:06:55 +08:00
#!/bin/bash
set -ex
rm -f picorv32.v attosoc.v
wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v
wget https://raw.githubusercontent.com/SymbiFlow/prjtrellis/master/examples/picorv32_versa5g/attosoc.v
ln -sf firmware_slow.hex firmware.hex
2018-12-01 09:06:55 +08:00
yosys attosoc.ys
set +e
../nextpnr-xc7 --json attosoc.json --xdl attosoc.xdl --pcf attosoc.pcf --freq 125
set -e
2018-12-01 09:06:55 +08:00
xdl -xdl2ncd attosoc.xdl
bitgen -w attosoc.ncd -g UnconstrainedPins:Allow
2018-12-01 09:06:55 +08:00
trce attosoc.ncd -v 10