8-channel SDR on Zynq UltraScale+ RFSoC
Eight bidirectional radio channels at 491.52 MSPS each. Samples move between the RF converters, parallel DSP pipelines, 100G links, memory and two real-time cores, with no dropped samples.
- 8 × 491.52MSPS bidirectional channels
- 1.96608GSPS per GT quad, 4 channels each
- 62.91456Gbps per quad on a 100G link
- 96 → 256bit gearbox, timing met at 491.52 MHz
- 32-bitcomplex samples, I and Q at 16 bits
Architecture · block diagram
- Main data path
- Logic
- Processor
- Memory
- Interconnect
- Off-chip
The story
Most of the work in a multi-channel radio is to move data. This radio has eight bidirectional channels, and each channel samples at 491.52 MSPS. Samples go from the RF converters into processing, into memory and out to other equipment. For some workloads, they also go into a real-time CPU. The system must not drop any of them.
Challenges
Each sample is a 32-bit complex value, with 16 bits of I and 16 bits of Q. Four channels at 491.52 MSPS come to 1.96608 GSPS, or 62.91456 Gbps at 32 bits per sample. One GT quad carries that rate on a 100G link, with headroom for framing. Two quads carry all eight channels. The logic before the quads must sustain the same rate without a stall.
The datapath runs at 491.52 MHz in the PL, and each block on it must meet timing at that clock. Sample widths change along the path, and the width converters are where timing usually fails. Some processing needed a CPU with deterministic latency. That processing runs on the Cortex-R5 cores instead of under Linux.
What I built
The antenna feeds the RF-ADC and RF-DAC tiles of the RF Data Converter. From there, a channel arbiter feeds a switch fabric into n parallel DSP pipelines. A second switch sends their outputs to the GTY and GTM quads, four channels to a quad, for Aurora or Ethernet links to other equipment. An AXI DMA connects the datapath to DRAM for record and playback, and to the RPU with its tightly coupled memory. A control bus connects the blocks to the Linux processing system.
The equalizer exists twice, once in PL logic and once in hard DSP IP. Each channel can use either one. Record and playback through DDR can tap the datapath at several points, which helps with debug of the radio chain.
The hardest problem
The hardest block was the gearbox, a 96-to-256-bit word assembler at 491.52 MHz. It kept failing setup, because its barrel-shifter accumulator had a read-modify-write recurrence. The result of each cycle depended on the previous result through a long combinational path. I replaced it with a ping-pong bank architecture per lane. That removed the recurrence and the failing paths.
For real-time IQ processing on the Cortex-R5 cores, I first characterized TCM addressing and AXI bus widths. Then I split the I and Q lanes across the ATCMs of R5_0 and R5_1. A SystemVerilog AXI4-Stream-to-dual-TCM datamover feeds both cores directly. The per-sample DSP stays in the PL.
To verify the datapath, I built MATLAB and Python tools that read 16-bit I/Q from Vivado ILA CSV exports and from libpcap captures of the link traffic. With both quads connected, that traffic runs at 3.93216 GSPS. A cross-correlation against a CAZAC reference waveform checks sample alignment and data integrity across the chain.
Result
All eight bidirectional channels stream at 491.52 MSPS through the RF data converters. They go out over two 100G quads at 62.91456 Gbps each. After the architecture change, the gearbox meets timing at 491.52 MHz. Both Cortex-R5 cores process IQ in real time from TCM. The host-side checks against the reference waveform can run again at any time.
Where you'd find something like this
Phased-array and MIMO radios
Spectrum monitoring and signal intelligence
Test and measurement, radar and communications prototyping