Skip to content
Quantum.world

Research

TIDE: An FPGA quantum-control processor for deterministic adaptive execution with guarded runtime program revision

Overview Research area: Quantum computing hardware — classical control electronics for quantum experiments (FPGA-based quantum control processors, real-time feedback, timing determinism). Technical le

TIDE: An FPGA quantum-control processor for deterministic adaptive execution with guarded runtime program revision
arXiv
2608.15173
Published
2026-08-15
Authors
Xiaoqin Luo, Jiayun Song, Xiaolu Su

AI summary

Overview

Research area: Quantum computing hardware — classical control electronics for quantum experiments (FPGA-based quantum control processors, real-time feedback, timing determinism).

Technical level: Advanced. The paper assumes familiarity with FPGA design, clock-domain crossing, valid–ready handshakes, instruction pipelines, and quantum error correction control loops.

Scope (one sentence): The paper presents TIDE, an FPGA quantum-control processor that lets a running control program have its parameters and even its instruction stream revised by runtime feedback, while guaranteeing that events already accepted by the hardware-timed path are dispatched at exactly their programmed cycle.

What This Paper Is About

Quantum experiments such as real-time error correction need the control program to change its future behaviour based on measurement results that only arrive after execution has started. Most controllers can already branch or update a numeric parameter, but changing the instruction sequence itself while fetch is still advancing is harder: the processor must avoid fetching half-written instructions and must not disturb events already handed to the timing hardware. TIDE's goal is to make both kinds of runtime revision — parameter patches and instruction-stream overwrites — safe, bounded, and invisible to the already-committed timing stream.

Key Contributions

  1. A three-boundary execution contract. TIDE defines parameter capture, instruction visibility, and event commitment as separate, explicit boundaries, so that state upstream of each boundary stays revisable while state downstream of it becomes immutable. This is the paper's organizing idea, called "deterministic adaptive execution".

  2. Two runtime update mechanisms at different granularities. Dynamic Instruction Parameter Update (DIPU) applies a one-shot patch to the next matching event before parameter capture, using a single 64-bit AXI-Stream word (bits [63:32] = target CSR address, bits [31:0] = patch value). Dynamic Instruction Stream Overwrite (DISO) performs guarded contiguous replacement, logical deletion (writing nop encodings), and out-of-line insertion in future program-memory regions.

  3. A guarded admission and fetch-protection scheme. DISO requests are admitted or rejected by a fetch-distance rule using three configured thresholds (G_guard = 5, G_bg = 10, G_stall = 5 instruction words), with the Instruction Coordination Module stalling fetch locally only when execution approaches revised instructions that are not yet visible.

  4. A measured FPGA implementation. A Xilinx ZCU102 (xczu9eg-ffvb1156-2-e, Vivado 2022.2) design closing timing at 250 MHz for the control core and 425 MHz for the timing/update domain, occupying 14.93% of LUTs, 5.18% of flip-flops, and 0.49% of block-RAM tiles, with zero DSPs.

Main Findings

  • Cycle-exact dispatch needs one timing-domain cycle of lead time. Across 17 scheduling-margin settings from −7 to 9 and 15 repetitions each (255 records), all results followed Δn = max(0, 1 − M_sched). For M_sched ≥ 1 the descriptor was dispatched in the programmed cycle (Δn = 0); the minimum measured margin was one 425 MHz cycle, or 2.353 ns. Late descriptors were retained and presented at the first eligible cycle rather than discarded.

  • Committed events are immune to later activity. A target event with timestamp 220 and payload 0xA5A55A5A was subjected to six perturbations (branch/jump redirection, interrupt handling, explicit core stall, CSR rewrite, DIPU transaction, DISO revision), each at two post-commit placements with 15 repetitions — 180 cases. All 180 dispatched exactly once in cycle 220 with payload 0xA5A55A5A, with no timing or payload mismatch, loss, or duplication.

  • Ten channels stay aligned. With two trigger, four data-control, and four waveform-parameter channels sharing one 425 MHz time base, 34 trials produced 340 target handshakes in cycle 500 and 170 background handshakes in cycle 350; the maximum observed interface-cycle offset among the ten interfaces was zero, and all 510 expected transactions appeared correctly.

  • FIFO back-pressure is lossless. Pushing 40 descriptors through a 32-entry FIFO held full over [225, 315) — 90 timing-domain cycles — retained 32 committed descriptors and 8 upstream; after release the pending eight committed between cycles 317 and 331, dispatch ran from 317 to 356, and generated, committed, and dispatched counts all equalled 40 with order, timestamps, and payloads preserved.

  • Parameter updates have a measured, bounded margin. The minimum all-success mapped DIPU margin was four 250 MHz control-domain cycles, measured from the processor-facing handshake to parameter capture, using a base value of 0xA5A55A5A and patch value 0x13579BDF.

  • Overwrite cost is small and linear. Under continuous payload delivery, an L-word contiguous overwrite completed in L + 5 update-domain cycles, and the runtime write path sustained one 64-bit instruction word per update-domain cycle after startup. An insertion transaction produces N + 3 program-memory writes.

  • Admission gating behaves as designed, within a stated range. Within the characterized guard-distance range, rejected DISO requests left the resident path unchanged while all admitted replacement, deletion, and insertion transactions exercised executed a complete revised sequence. The characterized input domain is limited to recognized packet types with 1 ≤ L ≤ 255 or 1 ≤ N ≤ 255, targets inside configured PMEM regions, and eventual delivery of the full payload; behaviour outside it is explicitly not characterized.

Methodology in Plain English

The authors built a small, deliberately simple processor inside an FPGA to run quantum experiment programs. It has no cache and executes instructions in order, so timing does not vary unpredictably. Instructions that drive hardware don't fire outputs directly; instead they gather a set of parameters from registers and assemble a complete "descriptor" — channel, timestamp, payload — which is pushed into a per-channel first-in-first-out queue. Once a descriptor is accepted into that queue, a separate timing engine, running on its own faster clock against a free-running 48-bit counter, fires it at the programmed instant. Everything the authors want to protect lives downstream of that queue.

For changing the program at runtime, they added two paths. The simple one, DIPU, writes a single patch value tagged with a register address; the next event that reads that register picks up the patch once, and then the patch is cleared. The structural one, DISO, streams new instruction words into program memory. Before any write, a guard compares the target address against the current program counter; if the target is too close, the request is rejected outright. If it is far enough away, the write either proceeds in the background or with fetch briefly stalled. Throughout, a coordination module keeps comparing the live fetch address against the region currently being rewritten and pauses fetch locally if execution is about to reach content that is not yet complete. Crucially, this pause touches only instruction fetch — the timestamp counter and the committed-event queues keep running.

To test all this, the researchers used an on-chip traffic generator as a stand-in decoder to inject updates at controlled cycles, and on-chip logic analyzers to record acceptance, capture, commitment, memory writes, stalls, and the actual registered outputs. All measurements are at the digital interface, not at package pins, so they characterize cycle determinism and payload integrity rather than electrical jitter or board-level skew.

Why This Matters

Impact on research. Real-time quantum error correction, adaptive calibration, and online learning all need the classical controller to act on information that appears mid-run. TIDE shows a concrete way to let the structure of a program, not just a branch choice or a number, respond to that information, without giving up nanosecond-level determinism on the events already in flight. That combination — structural revision plus immutable committed timeline — is the distinctive claim.

Real-world applications (as framed by the paper's control-stack discussion):

  • Real-time quantum error correction with mid-circuit measurement, decoding, and conditional actuation inside a fixed logical-cycle budget.
  • Adaptive calibration, where error-detection records steer controller or decoder parameters during an experiment.
  • Online estimation and learning that track device properties while the experiment runs.
  • Feed-forward and measurement-conditioned pulse control on FPGA/RFSoC-based quantum control stacks.

Industry relevance. The design fits commodity parts (a Xilinx ZCU102 with a Zynq UltraScale+ device) and modest resources — 14.93% of LUTs, 5.18% of flip-flops, no DSPs — so the mechanism could plausibly be added to existing FPGA control electronics rather than requiring bespoke silicon. Vendor and lab control stacks that already offer parameter stitching or branch pre-execution would need something like the visibility guard and commitment boundary to safely overwrite instructions instead.

Future Directions

  • Handle incomplete or failed payloads. The present streaming implementation begins program-memory writes as soon as payload words arrive and therefore assumes an accepted header is followed by its complete payload; timeout, rollback, and complete-packet buffering are not implemented. Adding them is the obvious next step.
  • Widen the characterized domain. The stated input domain is limited to recognized packet types, 1 ≤ L ≤ 255 or 1 ≤ N ≤ 255, in-range targets, and eventual full delivery. Larger regions, multiple concurrent revisions, and tighter address windows remain open.
  • Relax the insertion constraints. Out-of-line insertion currently requires the resident entry instruction to be relocation-safe and fall-through, and requires compiler-side transformation or exclusion for PC-relative and control-redirecting instructions; the extension base address and capacity are statically configured.
  • Close the loop with real electronics. The measurements cover update acceptance, event formation and commitment, guarded revision, and registered output dispatch; external acquisition, decision computation, and waveform generation are outside the scope, as are package-pin timing, inter-channel skew, and downstream latency. Characterizing those would test whether the digital determinism survives the analog front end.

Target Audience

Quantum-computing experimentalists building control electronics and real-time feedback loops; FPGA and SoC architects working on instrument controllers; compiler and control-software developers who need to know which program state remains safely mutable at runtime; and quantum error-correction researchers whose logical-cycle budgets depend on how quickly a controller can revise what it will do next. Readers without a hardware background will find the architecture section demanding, but the execution-contract framing and the measured results are accessible.

Authors’ abstract

Measurement-responsive quantum experiments require control programs that can revise future operations after execution has begun without disturbing events already committed to precise timing. We present Time-Deterministic and Instruction-Dynamic Execution (TIDE), an FPGA quantum-control processor that separates a runtime-revisable future from a hardware-timed committed-event stream. TIDE provides two complementary update paths: Dynamic Instruction Parameter Update (DIPU) applies a one-shot patch to the next matching event before parameter capture, while Dynamic Instruction Stream Overwrite (DISO) performs guarded replacement, logical deletion, and out-of-line insertion in future resident-program regions. Per-channel committed-event FIFOs isolate accepted descriptors from subsequent control-core and update activity. The implemented Xilinx ZCU102 design meets timing at 250 MHz for the control core and 425 MHz for the timing/update domain. With downstream ready, every tested descriptor committed at least one timing-domain cycle before its programmed timestamp was dispatched in the programmed cycle at the registered output interfaces. In separate post-commit tests, committed timestamps and payloads remained unchanged under the applied perturbations. The minimum all-success mapped DIPU margin was four 250 MHz control-domain cycles. Under continuous payload delivery, an L-word contiguous overwrite completed in L+5 update-domain cycles. Within the characterized guard-distance range, rejected DISO requests preserved the resident path, whereas all admitted replacement, deletion, and insertion transactions exercised here executed a complete revised sequence. TIDE therefore enables runtime adaptation of both parameters and instruction structure while preserving deterministic service of committed quantum-control events.

Read the original paper