summaryrefslogtreecommitdiffstats
path: root/usrp2
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-05-20 16:48:59 -0700
committerMatt Ettus <matt@ettus.com>2010-05-20 16:48:59 -0700
commit1d38c098122746ff34c0c1f16668b44d7337175d (patch)
tree4180bc6489d292433fe605403fe6ff4a2460a73f /usrp2
parent3b96b1f0f443acb9412b40592de5dc13e1f840d6 (diff)
downloaduhd-1d38c098122746ff34c0c1f16668b44d7337175d.tar.gz
uhd-1d38c098122746ff34c0c1f16668b44d7337175d.tar.bz2
uhd-1d38c098122746ff34c0c1f16668b44d7337175d.zip
send bigger packets to reduce cpu load
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/control_lib/newfifo/packet_generator.v2
-rw-r--r--usrp2/top/u1e/u1e_core.v4
2 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/control_lib/newfifo/packet_generator.v b/usrp2/control_lib/newfifo/packet_generator.v
index e5bfe5b26..6e8b45ccd 100644
--- a/usrp2/control_lib/newfifo/packet_generator.v
+++ b/usrp2/control_lib/newfifo/packet_generator.v
@@ -5,7 +5,7 @@ module packet_generator
output reg [7:0] data_o, output sof_o, output eof_o,
output src_rdy_o, input dst_rdy_i);
- localparam len = 32'd100;
+ localparam len = 32'd2000;
reg [31:0] state;
reg [31:0] seq;
diff --git a/usrp2/top/u1e/u1e_core.v b/usrp2/top/u1e/u1e_core.v
index 48b5bd010..ee193ffb9 100644
--- a/usrp2/top/u1e/u1e_core.v
+++ b/usrp2/top/u1e/u1e_core.v
@@ -43,6 +43,7 @@ module u1e_core
wire tx_src_rdy, tx_dst_rdy, rx_src_rdy, rx_dst_rdy;
reg [15:0] tx_frame_len;
wire [15:0] rx_frame_len;
+ wire [7:0] rate;
wire bus_error;
@@ -76,7 +77,6 @@ module u1e_core
`endif // LOOPBACK
`ifdef TIMED
- wire [7:0] rate;
// TX side
wire tx_enable, tx_src_rdy_int, tx_dst_rdy_int;
@@ -362,7 +362,7 @@ module u1e_core
assign debug_clk = { EM_CLK, clk_fpga };
assign debug = { { rx_have_data, tx_have_space, EM_NCS6, EM_NCS4, EM_NWE, EM_NOE, rx_overrun, tx_underrun },
- { EM_A[8:1] },
+ { tx_src_rdy, tx_src_rdy_int, tx_dst_rdy, tx_dst_rdy_int, rx_src_rdy, rx_src_rdy_int, rx_dst_rdy, rx_dst_rdy_int },
{ EM_D } };
//assign debug = { phase[23:8], txsync, txblank, tx };