hi,
this days I make some modify in usrp e310 fpga.
I want to recv my custom data and process in fpga.

so I modify the file  xxx/e310/radio.v :
from:
 axi_fifo_2clk #(.WIDTH(65), .SIZE(DATA_FIFO_SIZE)) tx_data_2clk_fifo
     (.reset(bus_rst),
      .i_aclk(bus_clk), .i_tvalid(tx_tvalid_bi), .i_tready(tx_tready_bi), 
.i_tdata({tx_tlast_bi,tx_tdata_bi}),
      .o_aclk(radio_clk), .o_tvalid(tx_tvalid_r), .o_tready(tx_tready_r), 
.o_tdata({tx_tlast_r,tx_tdata_r}));

to:
    wire custom_tvalid;
    wire custom_tlast;
    wire [63:0] custom_tdata;
   wire custom_tready;
 axi_fifo_2clk #(.WIDTH(65), .SIZE(DATA_FIFO_SIZE)) tx_data_2clk_fifo
     (.reset(bus_rst),
      .i_aclk(bus_clk), .i_tvalid(tx_tvalid_bi), .i_tready(tx_tready_bi), 
.i_tdata({tx_tlast_bi,tx_tdata_bi}),
      .o_aclk(radio_clk), .o_tvalid(custom_tvalid), .o_tready(custom_tready), 
.o_tdata({custom_tlast,custom_tdata}));

  my_module test
  (
     .valid(custom_tvalid),
     .last(custom_tlast),
     .ready(custom_tdata),
     .data(custom_tdata)
  );

  when send one packet with tx_streamer->send() , data is send and recv ok!

  but when I send many packet, It become stuck!!  tx_streamer->send() need many 
seconds to return!!

  is that some flow control when send?

  can I get some tips?

  Thank you!

  Best Regards,
  Carry



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to