Skip to content
hw.dev
hw.dev/signal/b210-open-fpga-tick-exact-loop-test-2026
SignalB210 Open FPGA

An FPGA Radio Loop Test Checks Every Sample and Counter

B210 Open FPGA sends a scheduled radio burst through the real loopback and checks every sample plus the hardware event counters.

Thesis connection

A radio data path becomes testable when software checks the exact samples and the hardware events behind them in one run.

#fpga#embedded#testing#verification
Read Original

B210 Open FPGA added a loop test for the complete transmit and receive path of a software-defined radio. The host schedules one burst 0.3 seconds in the future, fills it with nonzero 12-bit hash values, and sends it through the field-programmable gate array (FPGA) loopback. Reception starts before the burst and continues after it, so the checker sees both the intended samples and the zeros surrounding them.

The checker compares every received clock tick with the expected hash value or zero. It also requires the FPGA's counters to record exactly one acknowledged burst and no other event. Separate tests cover full and short packets across two sample widths and one- or two-channel layouts. The transport now gives control, transmit, and receive their own USB endpoints, allowing transmission to run on its own thread while reception remains active.

A payload comparison alone can miss an extra burst, a shifted schedule, or stale data that happens to look valid. Pairing sample-by-sample checks with hardware counters makes those failures distinguishable. Radio teams can copy this pattern by giving each scheduled test burst a deterministic payload and asserting both the received timeline and the device's event counts.