Qubit control on RFSoC
Custom HDL, drivers and a simulation-first CI flow for a multi-converter qubit control system.
The problem
Qubits are controlled and read out with precisely shaped RF and microwave pulses. The electronics behind them have to generate those pulses on many channels at once, capture the signals that come back, and keep every channel on the same clock, down to the sample.
An RFSoC is a natural fit: it puts many high-speed DACs and ADCs on the same chip as the programmable logic and the ARM processors. The catch is that the converters sit in separate tiles, each with its own clocking, FIFOs and digital datapath, and their latency after power-up is not fixed. Multi-converter synchronisation is the work of making every tile line up, so that pulses requested on two channels leave at the same instant, and keep doing so after every reboot. Without it, the phase relationship between channels changes from run to run and experiments stop being repeatable.
The second problem is the development loop. RFSoC builds are slow, and time on the hardware is scarce because the lab needs it for experiments. If every change has to be proven on the board, progress slows to the speed of the bench.
What I built
I built three pieces that fit together.
Custom HDL. The logic between the converters and the rest of the control system, written for this system rather than adapted from vendor example designs. That matters on a multi-converter design, where timing across channels is the whole point.
Drivers. The software layer that configures the hardware and gives the people running experiments a clean way to control it, without needing to know what is going on inside the FPGA.
A simulation-first CI flow. Every change to the design runs through simulation automatically before it goes near the hardware. Regressions show up in minutes on a build server instead of days later in the lab, and bench time is spent confirming behaviour rather than hunting for it. It is the same verify-first approach I use on every project: machines check machines, and I review and own what ships.
Tech
Related services: RFSoC development · FPGA verification · FPGA design
Working on something similar?
Tell me what you're building and where you're stuck. I'll reply within one business day.
Start a project