2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-27 12:18:26 +08:00
artiq/conda/artiq-sayma_rtm/build.sh

12 lines
346 B
Bash
Raw Normal View History

2017-12-21 23:59:14 +08:00
#!/bin/bash
BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh
[ -f $BUILD_SETTINGS_FILE ] && . $BUILD_SETTINGS_FILE
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/sayma_rtm
mkdir -p $SOC_PREFIX
$PYTHON -m artiq.gateware.targets.sayma_rtm
cp artiq_sayma_rtm/top.bit $SOC_PREFIX
cp artiq_sayma_rtm/sayma_rtm_csr.csv $SOC_PREFIX