summaryrefslogtreecommitdiffstats
path: root/usrp2/gpif
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-04-14 14:42:40 -0700
committerMatt Ettus <matt@ettus.com>2011-05-26 17:31:22 -0700
commit37cffdd35ab72551696a8d36c16d501b6d502ff1 (patch)
tree48bb1ca0967c016aa6ca3d92ba9580febaea824e /usrp2/gpif
parentb51ef6e5a461dd4d1c42252e902bdbedfa5dc8a7 (diff)
downloaduhd-37cffdd35ab72551696a8d36c16d501b6d502ff1.tar.gz
uhd-37cffdd35ab72551696a8d36c16d501b6d502ff1.tar.bz2
uhd-37cffdd35ab72551696a8d36c16d501b6d502ff1.zip
u1p: vita packet generator for testing purposes
Diffstat (limited to 'usrp2/gpif')
-rw-r--r--usrp2/gpif/gpif.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/gpif/gpif.v b/usrp2/gpif/gpif.v
index 2a9fd901e..007bb41b3 100644
--- a/usrp2/gpif/gpif.v
+++ b/usrp2/gpif/gpif.v
@@ -20,7 +20,7 @@ module gpif
input [35:0] tx_err_data_i, input tx_err_src_rdy_i, output tx_err_dst_rdy_o,
output tx_underrun, output rx_overrun,
- input [7:0] test_rate, input [3:0] test_ctrl,
+ input [15:0] test_len, input [7:0] test_rate, input [3:0] test_ctrl,
output [31:0] debug0, output [31:0] debug1
);
@@ -211,9 +211,9 @@ module gpif
.total(total), .crc_err(crc_err), .seq_err(seq_err), .len_err(len_err));
// Fixed rate RX traffic generator
- packet_generator32 pktgen32
+ vita_pkt_gen pktgen
(.clk(fifo_clk), .reset(fifo_rst), .clear(clear_rx),
- .header({len_err,seq_err,crc_err,total}),
+ .len(test_len),
.data_o(timedrx_data), .src_rdy_o(timedrx_src_rdy_int), .dst_rdy_i(timedrx_dst_rdy_int));
fifo_pacer rx_pacer