From 0df4b801a34697f2058b4a7b95e08d2a0576c9db Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Thu, 10 Oct 2013 10:17:27 -0700 Subject: Squashed B200 FPGA Source. Code from Josh Blum, Ian Buckley, and Matt Ettus. --- fpga/usrp2/top/impactor.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 fpga/usrp2/top/impactor.sh (limited to 'fpga/usrp2/top/impactor.sh') diff --git a/fpga/usrp2/top/impactor.sh b/fpga/usrp2/top/impactor.sh new file mode 100755 index 000000000..c6699424d --- /dev/null +++ b/fpga/usrp2/top/impactor.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +echo "loading $1 into FPGA..." + +CMD_PATH=/tmp/impact.cmd + +echo "generating ${CMD_PATH}..." + +echo "setmode -bscan" > ${CMD_PATH} +echo "setcable -p auto" >> ${CMD_PATH} +echo "addDevice -p 1 -file $1" >> ${CMD_PATH} +echo "program -p 1" >> ${CMD_PATH} +echo "quit" >> ${CMD_PATH} + +impact -batch ${CMD_PATH} + +echo "done!" -- cgit v1.2.3