forked from M-Labs/artiq
1
0
Fork 0
artiq/conda/artiq-pipistrello-nist_qc1/build.sh

16 lines
597 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
2015-11-04 15:59:08 +08:00
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/pipistrello-qc1
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
cp misoc_nist_qc1_pipistrello/gateware/top.bit $SOC_PREFIX
cp misoc_nist_qc1_pipistrello/software/bios/bios.bin $SOC_PREFIX
cp misoc_nist_qc1_pipistrello/software/runtime/runtime.fbi $SOC_PREFIX
2015-10-22 20:08:40 +08:00
wget https://people.phys.ethz.ch/~robertjo/bscan_spi_lx45_csg324.bit
2015-11-04 15:59:08 +08:00
mv bscan_spi_lx45_csg324.bit $SOC_PREFIX