Discussion and technical support related to USRP, UHD, RFNoC
View all threadsAll,
gnu radio 3.8.5, UHD 4.0, X310
I originally wanted to add a new rfnoc block but realize I should start smaller.
I am going through the RFNOC getting started guide but not sure how I can add the existing rfnoc blocks into my gnu radio gui?
Is it necessary to update the YAML files. Furthermore, once I update my YAML files do I have to reload the FPGA image on my device if I connect blocks in different orders?
Thanks
I also cannot find existing installed blocks like the radio block, DDC and DUC blocks in my current GUI. Any help would be greatly appreciated!!
You have to install gr-ettus which contains what's needed for compiling OOT
blocks and also installs rfnock blocks
Dario Pennisi
Il Lun 12 Feb 2024, 19:05 gaytanc4@gmail.com ha scritto:
I also cannot find existing installed blocks like the radio block, DDC and
DUC blocks in my current GUI. Any help would be greatly appreciated!!
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
On Mon, Feb 12, 2024 at 2:15 PM Dario Pennisi dario@iptronix.com wrote:
You have to install gr-ettus which contains what's needed for compiling
OOT blocks and also installs rfnock blocks
My recommendation is to not start here and to start with newer software.
Use the latest UHD and the latest GNU radio.
You're starting at a dead-end path if you continue with the versions you
currently have and require gr-ettus.
Brian
Thank you all very much. I am updating my work environment now!
On Mon, Feb 12, 2024, 11:21 AM Brian Padalino bpadalino@gmail.com wrote:
On Mon, Feb 12, 2024 at 2:15 PM Dario Pennisi dario@iptronix.com wrote:
You have to install gr-ettus which contains what's needed for compiling
OOT blocks and also installs rfnock blocks
My recommendation is to not start here and to start with newer software.
Use the latest UHD and the latest GNU radio.
You're starting at a dead-end path if you continue with the versions you
currently have and require gr-ettus.
Brian
Do you recommend updating my Ubuntu to 22.04?
On Mon, Feb 12, 2024, 11:21 AM Brian Padalino bpadalino@gmail.com wrote:
On Mon, Feb 12, 2024 at 2:15 PM Dario Pennisi dario@iptronix.com wrote:
You have to install gr-ettus which contains what's needed for compiling
OOT blocks and also installs rfnock blocks
My recommendation is to not start here and to start with newer software.
Use the latest UHD and the latest GNU radio.
You're starting at a dead-end path if you continue with the versions you
currently have and require gr-ettus.
Brian
On Mon, Feb 12, 2024 at 2:30 PM Chris gaytanc4@gmail.com wrote:
Do you recommend updating my Ubuntu to 22.04?
I use Ubuntu 22.04 and compile GNU Radio and UHD from source. I typically
install it to a non-system directory (i.e. /opt or ~/opt) and add the PATH,
LD_LIBRARY_PATH, and PYTHONPATH in my environment. This way I can have
different copies that never interfere with each other and I can easily
remove them without causing chaos.
Brian
Hi Brian,
The issue with not using gr-ettus is the lack of rfnocmodtool which is very
handy. Also, it is my understanding that unless you move to gnuradio 3.10
even with uhd4.6 you still need gr-ettus. Am I wrong?
Dario Pennisi
Il Lun 12 Feb 2024, 20:21 Brian Padalino bpadalino@gmail.com ha scritto:
On Mon, Feb 12, 2024 at 2:15 PM Dario Pennisi dario@iptronix.com wrote:
You have to install gr-ettus which contains what's needed for compiling
OOT blocks and also installs rfnock blocks
My recommendation is to not start here and to start with newer software.
Use the latest UHD and the latest GNU radio.
You're starting at a dead-end path if you continue with the versions you
currently have and require gr-ettus.
Brian
On Mon, Feb 12, 2024 at 4:13 PM Dario Pennisi dario@iptronix.com wrote:
Hi Brian,
The issue with not using gr-ettus is the lack of rfnocmodtool which is
very handy. Also, it is my understanding that unless you move to gnuradio
3.10 even with uhd4.6 you still need gr-ettus. Am I wrong?
You're right that the rfnocmodtool is not available with the current
software, but you are mistaken that you need gr-ettus. The RFNoC blocks
have been pulled into gr-uhd in GNU Radio:
https://github.com/gnuradio/gnuradio/tree/fe048a9874d2604d48d396d2b39925a0cf2c3c70/gr-uhd/grc
The alternative to the rfnocmodtool is to use this verilog generator code
which is described here:
https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0#Creating_Your_Own_RFNoC_Block
Specifically, you write the yml file which describes your block then you
invoke:
$ python3 <repo>/host/utils/rfnoc_blocktool/rfnoc_create_verilog.py -c
~/rfnoc-demo/blocks/demo.yml -d ~/rfnoc-demo/fpga/rfnoc_block_demo
This sets up the shell and other interfaces as per their definition in the
block yml file.
Hope this helps.
Brian
Hi Brian,
thanks for the clarification, however, if i'm not mistaken, the commit you
mention is on main and that should be in gnuradio 3.10, whereas if you
stick with 3.8 that will still require gr-ettus, as also stated in
here: gr-ettus/README.md
at maint-3.8-uhd4.0 · EttusResearch/gr-ettus (github.com)
https://github.com/EttusResearch/gr-ettus/blob/maint-3.8-uhd4.0/README.md
also, the python script you mention is good but doesn't address completely
the OOT development flow as it still lacks all the block driver counterpart
(python/C) and the OOT tree skeleton which is quite conveniently created
with rfnocmodtool.
of course you could just copy the example tree and start modifying it
however to be honest i've spent some time trying to use gnuradio 3.10/UHD
4.x without gr-ettus and several things were not obvious especially due to
lack of updated documentation and btw i asked a few times what was the
expected way of handling this and have been told that rfnocmodtool was
going to be revamped and included in future versions:
[USRP-users] Re: rfnocmodtool (mail-archive.com)
https://www.mail-archive.com/usrp-users@lists.ettus.com/msg16935.html
rfnocmodtool - NI Community
https://forums.ni.com/t5/USRP-Software-Radio/rfnocmodtool/td-p/4349614
thanks,
Dario Pennisi
On Mon, Feb 12, 2024 at 10:22 PM Brian Padalino bpadalino@gmail.com wrote:
On Mon, Feb 12, 2024 at 4:13 PM Dario Pennisi dario@iptronix.com wrote:
Hi Brian,
The issue with not using gr-ettus is the lack of rfnocmodtool which is
very handy. Also, it is my understanding that unless you move to gnuradio
3.10 even with uhd4.6 you still need gr-ettus. Am I wrong?
You're right that the rfnocmodtool is not available with the current
software, but you are mistaken that you need gr-ettus. The RFNoC blocks
have been pulled into gr-uhd in GNU Radio:
https://github.com/gnuradio/gnuradio/tree/fe048a9874d2604d48d396d2b39925a0cf2c3c70/gr-uhd/grc
The alternative to the rfnocmodtool is to use this verilog generator code
which is described here:
https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0#Creating_Your_Own_RFNoC_Block
Specifically, you write the yml file which describes your block then you
invoke:
$ python3 <repo>/host/utils/rfnoc_blocktool/rfnoc_create_verilog.py
-c ~/rfnoc-demo/blocks/demo.yml -d ~/rfnoc-demo/fpga/rfnoc_block_demo
This sets up the shell and other interfaces as per their definition in the
block yml file.
Hope this helps.
Brian