2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-22 01:44:00 +08:00
artiq/conda/artiq-pipistrello-demo/build.sh

15 lines
589 B
Bash
Raw Normal View History

2015-10-22 20:08:40 +08:00
#!/bin/bash
BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh
[ -f $BUILD_SETTINGS_FILE ] && . $BUILD_SETTINGS_FILE
2016-11-21 23:36:22 +08:00
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/pipistrello-demo
2015-10-22 20:08:40 +08:00
mkdir -p $SOC_PREFIX
2015-11-04 15:59:08 +08:00
$PYTHON -m artiq.gateware.targets.pipistrello $MISOC_EXTRA_ISE_CMDLINE
2016-11-21 23:36:22 +08:00
cp misoc_demo_pipistrello/gateware/top.bit $SOC_PREFIX
cp misoc_demo_pipistrello/software/bios/bios.bin $SOC_PREFIX
cp misoc_demo_pipistrello/software/runtime/runtime.fbi $SOC_PREFIX
2015-10-22 20:08:40 +08:00
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc6slx45.bit