Overview
Alexandre Joannou is identified in the provided evidence as a researcher affiliated with the University of Cambridge (Computer Laboratory, cl.cam.ac.uk) whose work focuses on randomized verification of RISC-V CPU implementations. He is named as a co-author on two TestRIG-related publications: an IEEE Design & Test paper and a 2025 RISC-V Summit Europe presentation.
Associated work
Randomized Testing of RISC-V CPUs Using Direct Instruction Injection
Joannou is the first-listed author of "Randomized Testing of RISC-V CPUs Using Direct Instruction Injection," published in IEEE Design & Test of Computers, volume 41, issue 1, pages 40–49, in February 2024 (DOI: 10.1109/MDAT.2023.3262741). Co-authors listed on the paper are Peter Rugg, Jonathan Woodruff, Franz A. Fuchs, Marno van der Maas, Matthew Naylor, Michael Roe, Robert N. M. Watson, Peter G. Neumann, and Simon W. Moore.
The paper introduces TestRIG (Testing with Random Instruction Generation), a testing framework for RISC-V implementations. TestRIG checks equivalence between a model and an implementation by generating random instruction sequences, executing the same sequences on both, and comparing execution traces. The paper states that this tandem-execution approach does not prove equivalence, but can demonstrate divergence and is usable during development.
TestRIG observes the change in state after each instruction of the implementation under test using the RISC-V Formal Interface (RVFI) standard, and uses a novel test-injection technique called Direct Instruction Injection (DII). In normal program execution, the next instruction is fetched from program memory at an address determined by the program counter; with DII, the next instruction to be executed is provided by the test harness, regardless of the CPU's program counter.
The authors report that TestRIG was used to test many standard RISC-V extensions, and the experimental CHERI security extension. They state that TestRIG was easier to use than unit tests (instructions can be tested as they are implemented without supporting a full testing framework), gave more thorough coverage than developer-written unit tests through random generation, and was effective at detecting issues in instruction semantics, the pipeline, and data caches. According to the paper, TestRIG completely replaced instruction-set level unit testing for development.
The work targets executable formal models, software ISA simulators, and simulated execution of hardware designs, rather than completed, fabricated chips.
Who tests the TestRIG? Tooling for randomised tandem verification
Joannou is a co-author of "Who tests the TestRIG? Tooling for randomised tandem verification," presented at RISC-V Summit Europe 2025, alongside Peter Rugg, Jonathan Woodruff, Franz A. Fuchs, and Simon W. Moore, all listed as University of Cambridge (first.last@cl.cam.ac.uk).
The presentation describes TestRIG as a framework first presented at the RISC-V Summit in Zurich in 2019, and discusses subsequent ecosystem improvements, including:
- mutation-based coverage tooling,
- features for generating static test suites, and
- a single-implementation mode that enables more traditional fuzzing.
The technical background given in the presentation states that TestRIG is an ecosystem for cross-verifying RISC-V implementations using a standard RVFI-DII interface. Verification Engines connect to the implementations over this interface: QuickCheckVEngine uses Haskell's QuickCheck library to generate tests and automatically shrink any divergences to a minimal reproducer. The RISC-V golden Sail model implements RVFI-DII, allowing implementations to be compared against this correct-by-definition executable simulator.
The presentation notes that TestRIG is used to test the experimental CHERI security extension (which adds unforgeable hardware capabilities for memory safety and compartmentalisation) in the Toooba and CVA6 processors. It also reports community engagement with users and contributors from Microsoft Research, lowRISC, and SCI Semiconductor.