Case study

Chip-to-chip control links over SERDES

Quantum computing · 2024 FPGA SERDES PRBS SPI

A from-scratch FPGA design carrying control traffic over multiple SERDES links, tuned and validated with PRBS, with register access over SPI and command parsing.

The problem

Control systems for quantum computers have to move a lot of command traffic between chips, quickly and without errors. Parallel buses run out of pins and timing margin long before they run out of demand, so the traffic goes over high-speed serial links instead: SERDES transceivers that turn wide parallel data into a fast bit stream on a few wires and back again.

At those speeds the wires stop behaving like wires. The channel between two chips loses high frequencies, reflects energy at every connector and via, and picks up crosstalk and jitter. Transceivers fight back with adjustable transmit swing and pre-emphasis and receive equalisation, but the right settings depend on the actual board and the actual channel. They have to be found by measurement, not copied from a datasheet.

That is what PRBS testing is for. One end sends a pseudo-random bit sequence, the other end generates the same sequence and counts every bit that doesn't match. Sweeping transceiver settings while watching the error count shows where the margin is, and a long error-free run gives real confidence in the bit error rate. With several links in one design, each one has to be tuned and proven on its own, and the control logic above them has to cope with links that come up at different times.

What I built

This was a from-scratch FPGA design, not a modification of an existing one.

Control traffic over multiple SERDES links. The datapath that carries control traffic between chips over several serial links.

PRBS tuning and validation. The links were tuned and validated on real hardware with PRBS, so their settings come from measurement on the actual channel.

Register access over SPI. A simple, well-understood interface for configuring the design and reading its status, usable from almost any host or microcontroller.

Command parsing. Logic that turns incoming commands into actions inside the FPGA, so the rest of the system can talk to it in terms of what it should do rather than which bits to set.

Tech

FPGA SERDES PRBS Link tuning SPI Command parsing

Related services: FPGA design · FPGA verification

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