aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-11-10 19:23:57 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-11-10 19:23:57 +0000
commit78452721f53679ce8f1c70defc9a4b93ccf69b92 (patch)
treed4960c8584617f7c5da4701df4e931ad444594d0
parent881199a5cc09fc98ce34219426ff2dd76a3f25c7 (diff)
downloaduhd-78452721f53679ce8f1c70defc9a4b93ccf69b92.tar.gz
uhd-78452721f53679ce8f1c70defc9a4b93ccf69b92.tar.bz2
uhd-78452721f53679ce8f1c70defc9a4b93ccf69b92.zip
Restores 8-bit sample format support to FPGA code. Synthesized with 7.1SP1.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6858 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-xrbf/rev2/std_2rxhb_2tx.rbfbin180944 -> 181148 bytes
-rwxr-xr-xrbf/rev2/std_4rx_0tx.rbfbin181726 -> 183046 bytes
-rwxr-xr-xrbf/rev4/std_2rxhb_2tx.rbfbin180944 -> 181148 bytes
-rwxr-xr-xrbf/rev4/std_4rx_0tx.rbfbin181726 -> 183046 bytes
-rw-r--r--sdr_lib/rx_buffer.v2
5 files changed, 1 insertions, 1 deletions
diff --git a/rbf/rev2/std_2rxhb_2tx.rbf b/rbf/rev2/std_2rxhb_2tx.rbf
index 072bd8dde..f09848704 100755
--- a/rbf/rev2/std_2rxhb_2tx.rbf
+++ b/rbf/rev2/std_2rxhb_2tx.rbf
Binary files differ
diff --git a/rbf/rev2/std_4rx_0tx.rbf b/rbf/rev2/std_4rx_0tx.rbf
index 43f901d31..1deca9517 100755
--- a/rbf/rev2/std_4rx_0tx.rbf
+++ b/rbf/rev2/std_4rx_0tx.rbf
Binary files differ
diff --git a/rbf/rev4/std_2rxhb_2tx.rbf b/rbf/rev4/std_2rxhb_2tx.rbf
index 072bd8dde..f09848704 100755
--- a/rbf/rev4/std_2rxhb_2tx.rbf
+++ b/rbf/rev4/std_2rxhb_2tx.rbf
Binary files differ
diff --git a/rbf/rev4/std_4rx_0tx.rbf b/rbf/rev4/std_4rx_0tx.rbf
index 43f901d31..1deca9517 100755
--- a/rbf/rev4/std_4rx_0tx.rbf
+++ b/rbf/rev4/std_4rx_0tx.rbf
Binary files differ
diff --git a/sdr_lib/rx_buffer.v b/sdr_lib/rx_buffer.v
index 7c52925c9..d17294b98 100644
--- a/sdr_lib/rx_buffer.v
+++ b/sdr_lib/rx_buffer.v
@@ -136,7 +136,7 @@ module rx_buffer
phase <= 4'd1;
end
else if(~rx_full)
- if(phase == channels)
+ if(phase == ((bitwidth == 5'd8) ? (channels>>1) : channels))
phase <= 4'd0;
else
phase <= phase + 4'd1;