Skip to content
hw.dev
hw.dev/signal/vliw-quadra-real-rtl-31-tests-2026
SignalVLIW QUADRA

An Adapter Moves 31 Processor Tests Onto the Real RTL

VLIW QUADRA reuses 31 processor tests against the real design and documents the memory behavior the adapter still cannot cover.

Thesis connection

Reusable verification saves time only when teams can show that the same tests reached the production design.

#eda#testing#verification#software
Read Original

This processor project had 31 passing tests, but they ran against a verification stub rather than the real register-transfer level (RTL) design. A new adapter now presents the production processor through the same ports the Cocotb tests already use, moving all eight test modules onto the actual instruction, register, execution, and writeback logic without rewriting a test.

The adapter makes instruction and data memory visible to the test harness because the production top level keeps those memories inside itself. All 31 tests pass in both configurations, and Verilator reports clean lint on the real modules. The project also names the remaining gap: its memory module has no port-level interface the harness can redirect, so the adapter reimplements its load behavior against external memory signals.

That disclosed gap makes the result more useful than another green test count. Verification teams should require every reusable bench to state which production modules it instantiates, which behavior an adapter substitutes, and the exact test count on both paths. Otherwise a mature test suite can keep proving the scaffold while the chip changes elsewhere.