How ettusresearch/uhd works
UHD is the user-space driver and API for configuring and using USRP software-defined radios. A typical workflow begins in an application, proceeds through host device and motherboard control, and reaches hardware; daughterboard management and RFNoC streaming are distinct host-side responsibilities. MPM manages embedded-device functions, while firmware and FPGA images provide device-side software and logic. The README establishes these product areas, but the sampled excerpts show only selected implementation links, so other cross-component relationships are left unasserted.
Main entry points: usrp Motherboard control · include UHD host API · usrp_hwd.py Module peripheral manager · process_manager.py MPM process manager
Components 18
Host driver
- UHD host API
host/include - Motherboard control
host/lib/usrp - X300 control
host/lib/usrp/x300/x300_mb_controller.cpp - B300 control
host/lib/usrp/b300/b300_mb_controller.cpp - Daughterboard management
host/lib/usrp/dboard_manager.cpp - RFNoC streaming
host/lib/rfnoc/link_stream_manager.cpp - Image builder
host/python/uhd/rfnoc_utils/image_builder.py
Embedded management
- Module peripheral manager
mpm/python/usrp_hwd.py - MPM process manager
mpm/python/usrp_mpm/process_manager.py
Device software
- E300 power control
firmware/e300/battery/main.c - E300 revision firmware
firmware/e300/rev_b/main.c - FX2 firmware
firmware/fx2/b100/usrp_main.c - FX3 firmware
firmware/fx3/b200/firmware/b200_main.c - OctoClock firmware
firmware/octoclock/lib/network.c - USRP2 firmware
firmware/usrp2/usrp2p/u2p_init.c - USRP3 firmware
firmware/usrp3/x300/x300_main.c
FPGA logic
- FPGA images
fpga
Other components
- Applications
Connections 17
- Applications → UHD host API: uses API
- UHD host API → Motherboard control: controls devices
- Motherboard control → Daughterboard management: manages boards
host/lib/usrp/dboard_manager.cpp - Motherboard control → X300 control: includes control
host/lib/usrp/x300/x300_mb_controller.cpp - Motherboard control → B300 control: includes control
host/lib/usrp/b300/b300_mb_controller.cpp - UHD host API → RFNoC streaming: streams RFNoC
- UHD host API → Image builder: builds images
- MPM process manager → Module peripheral manager: starts and stops
mpm/python/usrp_mpm/process_manager.py - UHD host API → Module peripheral manager: manages embedded devices
- Motherboard control → E300 power control: communicates with
- Motherboard control → E300 revision firmware: communicates with
- Motherboard control → FX2 firmware: communicates with
- Motherboard control → FX3 firmware: communicates with
- Motherboard control → OctoClock firmware: communicates with
- Motherboard control → USRP2 firmware: communicates with
- Motherboard control → USRP3 firmware: communicates with
- UHD host API → FPGA images: uses hardware images