Skip to content
hw.dev
hw.dev/signal/tiny-tapeout-vga-frame-reference-ci-2026
Signaltt-vga-sim

Tiny Tapeout Turns Video Frames Into a Build Regression

tt-vga-sim gives Tiny Tapeout video designs stable reference frames that can fail a build when the picture changes.

Thesis connection

A visual hardware output becomes an automated check that runs before anyone reaches for a monitor or programmable chip.

#eda#testing#verification#software
Read Original

tt-vga-sim can now compare the video graphics array (VGA) output of a Tiny Tapeout design against known-good picture files during continuous integration (CI). The simulator already rendered Verilog output without a monitor or field-programmable gate array (FPGA). This release adds animated and video exports, reference-image comparison, and a stable definition of frame zero: the first picture drawn after reset and before the first screen-refresh pulse.

That frame definition is the hard part. The test bench first learns the design's line timing, preserves the output produced around reset, and marks rows drawn too early in grey. The comparison accepts the frame names exported by Tiny Tapeout's playground, prints the changed frame, and exits with an error so the build turns red. The workflow can also upload the rendered animation as an artifact, which gives a reviewer the failure evidence instead of only a waveform.

For small video chips, a picture regression catches mistakes that signal-level assertions often miss, such as an object shifted by one line or stale pixels after reset. Save five frames from a known-good design, change one counter, and make sure the build identifies the first changed picture before trusting the check on a larger animation.