From 4e7d048aeb80f95b19cebed9d76b79e6cbe64a9a Mon Sep 17 00:00:00 2001
From: eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Date: Thu, 13 Sep 2007 23:21:41 +0000
Subject: Merged r6329:6428 of features/inband-usb + distcheck fixes into
 trunk.

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6429 221aa14e-8319-0410-a670-987f0aec2ac5
---
 usrp/fpga/inband_lib/channel_ram.v | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'usrp/fpga/inband_lib/channel_ram.v')

diff --git a/usrp/fpga/inband_lib/channel_ram.v b/usrp/fpga/inband_lib/channel_ram.v
index 40e0efc01c..60450f02dd 100755
--- a/usrp/fpga/inband_lib/channel_ram.v
+++ b/usrp/fpga/inband_lib/channel_ram.v
@@ -101,8 +101,8 @@ module channel_ram
 	                        
 	//packet_waiting is set to zero if rd_done_int is high
 	//because there is no guarantee that nb_packets will be pos.
-	assign packet_waiting = (nb_packets != 0) & (~rd_done_int);
-	
+	//assign packet_waiting = (nb_packets != 0) & (~rd_done_int);
+	assign packet_waiting = (nb_packets > 1) | ((nb_packets == 1)&(~rd_done_int));
 	always @(posedge txclk)
 		if (reset)
 			nb_packets <= 0;
-- 
cgit v1.2.3