mirror of https://github.com/m-labs/artiq.git
13 lines
480 B
Bash
13 lines
480 B
Bash
#!/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/kc705-phaser
|
|
mkdir -p $SOC_PREFIX
|
|
|
|
V=1 $PYTHON -m artiq.gateware.targets.phaser --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE
|
|
cp misoc_phaser_kc705/gateware/top.bit $SOC_PREFIX
|
|
cp misoc_phaser_kc705/software/bios/bios.bin $SOC_PREFIX
|
|
cp misoc_phaser_kc705/software/runtime/runtime.fbi $SOC_PREFIX
|