aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-04-23 18:06:28 -0700
committerMatt Ettus <matt@ettus.com>2010-04-23 18:06:28 -0700
commitaeed16ec6e220f99df41534febe85336e5b384e6 (patch)
tree1763758737b897cd7e698fe8e8ed2b0f487ec5bc /usrp2
parent5de2543e9cee644009d9ec15c19c70986df89594 (diff)
downloaduhd-aeed16ec6e220f99df41534febe85336e5b384e6.tar.gz
uhd-aeed16ec6e220f99df41534febe85336e5b384e6.tar.bz2
uhd-aeed16ec6e220f99df41534febe85336e5b384e6.zip
Only allow new packets if we can fit the largest possible packet (2KB)
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/gpmc/gpmc_to_fifo_async.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp2/gpmc/gpmc_to_fifo_async.v b/usrp2/gpmc/gpmc_to_fifo_async.v
index 38f1165fc..6232244d4 100644
--- a/usrp2/gpmc/gpmc_to_fifo_async.v
+++ b/usrp2/gpmc/gpmc_to_fifo_async.v
@@ -57,7 +57,7 @@ module gpmc_to_fifo_async
if(fifo_rst)
fifo_ready <= 0;
else
- fifo_ready <= first_write & (fifo_space > frame_len);
+ fifo_ready <= first_write & (fifo_space > 16'd1023);
always @(posedge fifo_clk)
if(fifo_rst)