2018-01-28 03:53:43 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-01-28 22:27:08 +08:00
|
|
|
RTM_PREFIX=$SP_DIR/artiq/binaries/sayma_rtm
|
|
|
|
|
2018-01-28 22:28:55 +08:00
|
|
|
SOC_PREFIX=$SP_DIR/artiq/binaries/sayma-standalone
|
2018-01-28 03:53:43 +08:00
|
|
|
mkdir -p $SOC_PREFIX
|
|
|
|
|
|
|
|
$PYTHON -m artiq.gateware.targets.sayma_amc -V standalone \
|
2018-01-28 22:27:08 +08:00
|
|
|
--rtm-csr-csv $RTM_PREFIX/rtm_csr.csv
|
2018-02-06 16:18:56 +08:00
|
|
|
cp artiq_sayma/standalone/gateware/top.bit $SOC_PREFIX
|
|
|
|
cp artiq_sayma/standalone/software/bootloader/bootloader.bin $SOC_PREFIX
|
|
|
|
cp artiq_sayma/standalone/software/runtime/runtime.{elf,fbi} $SOC_PREFIX
|
2018-01-28 22:27:08 +08:00
|
|
|
cp $RTM_PREFIX/rtm.bit $SOC_PREFIX
|