diff options
author | Matt Ettus <matt@ettus.com> | 2011-04-16 17:53:09 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-05-26 17:31:22 -0700 |
commit | 552e81bf1790c531cbbe4087d6ac93f3baab48d4 (patch) | |
tree | 3f55da5da422ada70fbf9433bc860a824365a17f /usrp2/gpif/gpif.v | |
parent | e9a34b8bd51d639e08f31930266e3425de4f53b3 (diff) | |
download | uhd-552e81bf1790c531cbbe4087d6ac93f3baab48d4.tar.gz uhd-552e81bf1790c531cbbe4087d6ac93f3baab48d4.tar.bz2 uhd-552e81bf1790c531cbbe4087d6ac93f3baab48d4.zip |
u1p: implement a signal to indicate a partially full usb lut, to flush it
Diffstat (limited to 'usrp2/gpif/gpif.v')
-rw-r--r-- | usrp2/gpif/gpif.v | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usrp2/gpif/gpif.v b/usrp2/gpif/gpif.v index 007bb41b3..13a549dc7 100644 --- a/usrp2/gpif/gpif.v +++ b/usrp2/gpif/gpif.v @@ -5,7 +5,7 @@ module gpif (// GPIF signals input gpif_clk, input gpif_rst, inout [15:0] gpif_d, input [3:0] gpif_ctl, output [3:0] gpif_rdy, - input [2:0] gpif_misc, + output [2:0] gpif_misc, // Wishbone signals input wb_clk, input wb_rst, @@ -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 [15:0] test_len, input [7:0] test_rate, input [3:0] test_ctrl, + input [7:0] frames_per_packet, input [15:0] test_len, input [7:0] test_rate, input [3:0] test_ctrl, output [31:0] debug0, output [31:0] debug1 ); @@ -103,13 +103,14 @@ module gpif packet_splitter #(.FRAME_LEN(256)) packet_splitter (.clk(fifo_clk), .reset(fifo_rst), .clear(clear_rx), + .frames_per_packet(), .data_i(rx19_data), .src_rdy_i(rx19_src_rdy), .dst_rdy_o(rx19_dst_rdy), .data_o(splt_data), .src_rdy_o(splt_src_rdy), .dst_rdy_i(splt_dst_rdy)); gpif_rd gpif_rd (.gpif_clk(gpif_clk), .gpif_rst(gpif_rst), .gpif_data(gpif_d_out), .gpif_rd(RD), .gpif_ep(EP), - .gpif_empty_d(DE), .gpif_empty_c(CE), + .gpif_empty_d(DE), .gpif_empty_c(CE), .gpif_flush(gpif_misc[0]), .sys_clk(fifo_clk), .sys_rst(fifo_rst), .data_i(splt_data), .src_rdy_i(splt_src_rdy), .dst_rdy_o(splt_dst_rdy), |