Skip to content
hw.dev
hw.dev/signal/ad7988-fpga-capture-datasheet-model-2026
SignalMAC-Attack

An FPGA Capture Block Gets a Datasheet-Based ADC Test

A new FPGA capture block is tested against a behavioral AD7988-1 model built from the converter's timing requirements.

Thesis connection

The digital interface can be checked at full capture length before the converter and board are available.

#fpga#testing#verification#embedded
Read Original

The project added a field-programmable gate array (FPGA) block that captures 153,600 samples from an AD7988-1 analog-to-digital converter (ADC) at 96,000 samples per second. Before putting it on either target board, the team drives the block with a behavioral model built from the converter datasheet. The test covers the full capture window, including the counter rollover and memory addresses that short demonstrations miss.

The simulated converter enforces a 9.6-microsecond conversion pulse and returns 16 bits over a 25-megahertz serial clock. Icarus Verilog runs the hardware model, and cocotb, a Python hardware-test framework, checks the capture logic that writes each sample into on-chip memory. The setup can catch clock-edge, bit-order, and sample-count mistakes while the board is somewhere else.

A datasheet model cannot reproduce analog noise or a bad trace on the board, so the physical test still matters. It does let the first bench session focus on signal integrity and measured sample quality instead of discovering that the digital controller counted one bit too few.