2015-10-22 21:00:31 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh
|
|
|
|
[ -f $BUILD_SETTINGS_FILE ] && . $BUILD_SETTINGS_FILE
|
|
|
|
|
2016-04-05 16:07:29 +08:00
|
|
|
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-nist_qc2
|
2015-11-04 15:59:08 +08:00
|
|
|
mkdir -p $SOC_PREFIX
|
2015-10-22 21:00:31 +08:00
|
|
|
|
2017-12-22 00:01:26 +08:00
|
|
|
V=1 $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_qc2
|
2015-11-04 15:59:08 +08:00
|
|
|
cp misoc_nist_qc2_kc705/gateware/top.bit $SOC_PREFIX
|
|
|
|
cp misoc_nist_qc2_kc705/software/bios/bios.bin $SOC_PREFIX
|
|
|
|
cp misoc_nist_qc2_kc705/software/runtime/runtime.fbi $SOC_PREFIX
|