Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-26 Thread Cédric Hannotier via USRP-users
On 25/01/21 12:37, Aaron Rossetto via USRP-users wrote: > On Mon, Jan 25, 2021 at 11:33 AM Cédric Hannotier via USRP-users > wrote: > > > So the action is propagated by the gain block iif the controller is > > built with UHD and hence recognized by uhd_usrp_probe. > > Building the controller as O

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-25 Thread Aaron Rossetto via USRP-users
On Mon, Jan 25, 2021 at 11:33 AM Cédric Hannotier via USRP-users wrote: > So the action is propagated by the gain block iif the controller is > built with UHD and hence recognized by uhd_usrp_probe. > Building the controller as OOT makes the block unrecognized and > hence falls back to name 'Bloc

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-25 Thread Cédric Hannotier via USRP-users
Dear Aaron and Rob, On 22/01/21 14:15, Rob Kossler wrote: > > On 21/01/21 22:49, Rob Kossler wrote: > > > Also, regarding building in-tree, are you opposed to building in-tree as > > > even > > > a temporary test case? It's not too difficult to do. I am not > > > talking about the > > > FPGA co

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-22 Thread Rob Kossler via USRP-users
> On 21/01/21 22:49, Rob Kossler wrote: > > Also, regarding building in-tree, are you opposed to building in-tree as > > even > > a temporary test case? It's not too difficult to do. I am not > > talking about the > > FPGA code - just the block controller HPP / CPP. > > I am not, especially as a

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-22 Thread Aaron Rossetto via USRP-users
On Thu, Jan 21, 2021 at 4:49 PM Cédric Hannotier via USRP-users wrote: > On a side note: > Are we forced to implement a custom controller for each RFNoC block? > I was expecting that I could just write the verilog part > and use the basic noc_block_base controller to manage my blocks in C++, > us

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-22 Thread Cédric Hannotier via USRP-users
Hi Rob, Thanks for your assistance. On 21/01/21 22:49, Rob Kossler wrote: > Also, regarding building in-tree, are you opposed to building in-tree as even > a temporary test case? It's not too difficult to do. I am not > talking about the > FPGA code - just the block controller HPP / CPP. I am

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-21 Thread Rob Kossler via USRP-users
> > In the rfnoc_rx_to_file program, > > streaming is started by the function rx_stream->issue_stream_cmd(). Note > > that this is a command to the streamer which then must be forwarded to the > > gain controller and then the ddc controller and then the radio controller > > which will then turn on

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-21 Thread Cédric Hannotier via USRP-users
Hi Rob, Thanks for your reply :) On 21/01/21 09:32, Rob Kossler wrote: > [...] > In the rfnoc_rx_to_file program, > streaming is started by the function rx_stream->issue_stream_cmd(). Note > that this is a command to the streamer which then must be forwarded to the > gain controller and then the

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-21 Thread Rob Kossler via USRP-users
Also, it might help if you turn on "debug" logging (export UHD_LOG_LEVEL=debug; export UHD_LOG_CONSOLE_LEVEL=debug) and run the rfnoc_rx_to_file example. First try with a working block such as FFT and then with the gain block and see if there are any clues. Rob On Thu, Jan 21, 2021 at 9:32 AM Rob

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-21 Thread Rob Kossler via USRP-users
I still don't know the answer to the problem, but one difference between the program I sent you and the rfnoc_rx_to_file is the way in which the streaming is started. In my example, streaming is started directly by sending samples via the tx_streamer. In the rfnoc_rx_to_file program, streaming is

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-21 Thread Cédric Hannotier via USRP-users
Hi Rob, Thanks for your help. On 20/01/21 16:46, Rob Kossler wrote: > I don't see anything wrong. Given that you said the FFT block works but > your block doesn't, could it be something related to a c++ block > controller? It is not just *my* block. the gain block from "uhd/host/examples/rfnoc-

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-20 Thread Rob Kossler via USRP-users
By the way, I have created a block controller for every UHD4 RFNOC block that I have created and I simply compile them in-tree since I don't know how to make this work OOT. This has the nice advantage that uhd_usrp_probe can then know about my blocks. Rob On Wed, Jan 20, 2021 at 4:46 PM Rob Koss

Re: [USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-20 Thread Rob Kossler via USRP-users
Hi Cédric, I don't see anything wrong. Given that you said the FFT block works but your block doesn't, could it be something related to a c++ block controller? Attached is a program I use to test an individual block with the graph "host => block => host". It might help to see if this works. Thi

[USRP-users] No streaming using OOT RFNoC Block in UHD4

2021-01-19 Thread Cédric Hannotier via USRP-users
Dear all, I am trying to implement simple RFNoC block in my FPGA image (X310), and test it using UHD C++ API. However, none of my blocks worked when inserted between the DDC and rx_stream. Both rfnoc-example/gain block (from upstream host/example) and bare bones block from rfnocmodtool (passthrou