summaryrefslogtreecommitdiff
path: root/gr-sounder/src/fpga/tb/sounder_tb.sh
diff options
context:
space:
mode:
authorjcorgan2007-05-21 05:58:05 +0000
committerjcorgan2007-05-21 05:58:05 +0000
commit2711e51f33e4c83b07d8293ceca5d6db7830656e (patch)
tree21be31385aa79dc8d6f3075acd093f8ca9775f3d /gr-sounder/src/fpga/tb/sounder_tb.sh
parent9b7e0f924e4294bff46fa55b9a993b4d529f499a (diff)
downloadgnuradio-2711e51f33e4c83b07d8293ceca5d6db7830656e.tar.gz
gnuradio-2711e51f33e4c83b07d8293ceca5d6db7830656e.tar.bz2
gnuradio-2711e51f33e4c83b07d8293ceca5d6db7830656e.zip
Merged r5463:5504 from jcorgan/snd into trunk. Work in progress, adds digital loopback and receive to FPGA code. Host receive code is still debugging only.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5505 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-sounder/src/fpga/tb/sounder_tb.sh')
-rwxr-xr-xgr-sounder/src/fpga/tb/sounder_tb.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-sounder/src/fpga/tb/sounder_tb.sh b/gr-sounder/src/fpga/tb/sounder_tb.sh
new file mode 100755
index 000000000..9bc714387
--- /dev/null
+++ b/gr-sounder/src/fpga/tb/sounder_tb.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+iverilog -y ../lib/ -y ../../../../usrp/fpga/sdr_lib \
+ sounder_tb.v -o sounder_tb && \
+./sounder_tb > sounder_tb.out && \
+grep 'rst=0' sounder_tb.out | grep 'clk=1' > sounder_tb.out2 && \
+grep 'tx_strobe=1' sounder_tb.out2 > sounder_tb.out3
+