diff options
author | Nick Foster <nick@nerdnetworks.org> | 2012-01-12 13:45:09 -0800 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2012-01-12 13:45:09 -0800 |
commit | a2bb47b824e498cd10a190fac7fb2fdb2da074d0 (patch) | |
tree | 3d1040a482d5d6e119e017636d93cd4c506e6179 /usrp2/gpif | |
parent | 3f7ff03c098b5bdbc1134a33c1ea14953f1c2f6f (diff) | |
download | uhd-a2bb47b824e498cd10a190fac7fb2fdb2da074d0.tar.gz uhd-a2bb47b824e498cd10a190fac7fb2fdb2da074d0.tar.bz2 uhd-a2bb47b824e498cd10a190fac7fb2fdb2da074d0.zip |
B100: moar buffering on TX for better performance in bidirectional applications
Diffstat (limited to 'usrp2/gpif')
-rw-r--r-- | usrp2/gpif/slave_fifo.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/gpif/slave_fifo.v b/usrp2/gpif/slave_fifo.v index faba2b107..c1a51b008 100644 --- a/usrp2/gpif/slave_fifo.v +++ b/usrp2/gpif/slave_fifo.v @@ -20,7 +20,7 @@ //this is a FIFO master interface for the FX2 in "slave fifo" mode. module slave_fifo - #(parameter TXFIFOSIZE = 11, parameter RXFIFOSIZE = 11) + #(parameter TXFIFOSIZE = 12, parameter RXFIFOSIZE = 12) (// GPIF signals input gpif_clk, input gpif_rst, inout [15:0] gpif_d, @@ -243,7 +243,7 @@ module slave_fifo else data_tx_dst_rdy <= wr_fifo_space >= 256; - fifo_cascade #(.WIDTH(18), .SIZE(10)) wr_fifo + fifo_cascade #(.WIDTH(18), .SIZE(12)) wr_fifo (.clk(gpif_clk), .reset(gpif_rst), .clear(0), .datain({eop,sop,gpif_d}), .src_rdy_i(data_tx_src_rdy), .dst_rdy_o(/*data_tx_dst_rdy*/), .space(wr_fifo_space), .dataout(data_tx_int), .src_rdy_o(tx_src_rdy_int), .dst_rdy_i(tx_dst_rdy_int), .occupied()); @@ -308,7 +308,7 @@ module slave_fifo .arst(fifo_rst)); //rd_fifo buffers writes to the 2clock fifo above - fifo_cascade #(.WIDTH(19), .SIZE(12)) rd_fifo + fifo_cascade #(.WIDTH(19), .SIZE(RXFIFOSIZE)) rd_fifo (.clk(~gpif_clk), .reset(gpif_rst), .clear(0), .datain(data_rx_int), .src_rdy_i(rx_src_rdy_int), .dst_rdy_o(rx_dst_rdy_int), .space(rxfifospace), .dataout(gpif_d_out_data), .src_rdy_o(data_rx_src_rdy), .dst_rdy_i(data_rx_dst_rdy), .occupied()); |