Skip to content
hw.dev
hw.dev/signal/fpga-design-agent-pyuvm-systemverilog-benchmark-2026
SignalFPGA Design Agent

A Python Verification Bench Builds 579 Times Faster Than Its SystemVerilog Twin

A direct benchmark shows where Python makes chip verification cheaper to start and where simulation speed still costs it.

Thesis connection

A measured comparison lets verification teams choose a test framework by build time, runtime, coverage, and bugs caught.

#fpga#eda#testing#verification
Read Original

The field-programmable gate array (FPGA) project called FPGA Design Agent rebuilt the same 10-gigabit Ethernet block twice. One bench uses Universal Verification Methodology (UVM) in SystemVerilog. The other uses pyuvm, a Python implementation that runs on cocotb. Both benches exercise the physical coding sublayer, which prepares data for the wire, and the media access controller that moves network frames. The benchmark exposes a measured language trade.

The Python bench built in 0.1 seconds versus 57.9 seconds for the SystemVerilog version. It ran 42 regressions, reached all 217 coverage bins, and killed 16 of 17 deliberately planted bugs, matching the SystemVerilog bench on the bug set. Simulation was slower once running: 2.7 milliseconds per clock for Python versus 0.29 milliseconds for SystemVerilog. Fast startup therefore buys cheap test development, while long regressions still favor the compiled bench.

Verification leads can test this boundary without replacing an existing flow. Rebuild one medium-sized block in pyuvm, plant the same faults in both benches, and compare time to first result plus faults caught. The benchmark says Python is credible for daily block work, but the runtime numbers will decide how far up the design it should go.