mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 19:58:25 +08:00
10 lines
458 B
Bash
10 lines
458 B
Bash
#!/bin/bash
|
|
|
|
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/sayma_amc-standalone
|
|
mkdir -p $SOC_PREFIX
|
|
|
|
V=1 $PYTHON -m artiq.gateware.targets.sayma_amc -V standalone --rtm-csr-csv $SP_DIR/artiq/binaries/sayma_rtm/sayma_rtm_csr.csv
|
|
cp misoc_standalone_sayma_amc/gateware/top.bit $SOC_PREFIX
|
|
cp misoc_standalone_sayma_amc/software/bootloader/bootloader.bin $SOC_PREFIX
|
|
cp misoc_standalone_sayma_amc/software/runtime/runtime.{elf,fbi} $SOC_PREFIX
|