diff options
author | jcorgan | 2007-11-10 19:23:57 +0000 |
---|---|---|
committer | jcorgan | 2007-11-10 19:23:57 +0000 |
commit | 320e6a0afb53b6c596eb8cbabe08aa139508f9ec (patch) | |
tree | 8a7db694343622a6a54c1a58eb5d34a2809f8fb9 /usrp/fpga/sdr_lib | |
parent | d15e9b2a599c5919152362331189a7cafcb7c457 (diff) | |
download | gnuradio-320e6a0afb53b6c596eb8cbabe08aa139508f9ec.tar.gz gnuradio-320e6a0afb53b6c596eb8cbabe08aa139508f9ec.tar.bz2 gnuradio-320e6a0afb53b6c596eb8cbabe08aa139508f9ec.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
Diffstat (limited to 'usrp/fpga/sdr_lib')
-rw-r--r-- | usrp/fpga/sdr_lib/rx_buffer.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/fpga/sdr_lib/rx_buffer.v b/usrp/fpga/sdr_lib/rx_buffer.v index 7c52925c9..d17294b98 100644 --- a/usrp/fpga/sdr_lib/rx_buffer.v +++ b/usrp/fpga/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; |