2016-01-21 10:36:21 +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_clock
|
2016-01-21 10:36:21 +08:00
|
|
|
mkdir -p $SOC_PREFIX
|
|
|
|
|
2017-02-05 22:26:08 +08:00
|
|
|
V=1 $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_clock --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE
|
2016-01-21 10:36:21 +08:00
|
|
|
cp misoc_nist_clock_kc705/gateware/top.bit $SOC_PREFIX
|
|
|
|
cp misoc_nist_clock_kc705/software/bios/bios.bin $SOC_PREFIX
|
|
|
|
cp misoc_nist_clock_kc705/software/runtime/runtime.fbi $SOC_PREFIX
|
|
|
|
|
2017-10-21 01:44:50 +08:00
|
|
|
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc7k325t.bit
|