diff options
Diffstat (limited to 'sdr_lib')
-rw-r--r-- | sdr_lib/rx_buffer.v | 2 |
1 files changed, 1 insertions, 1 deletions
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; |