English

Comprehensive Formal Verification of Observational Correctness for the CHERIoT-Ibex Processor

Hardware Architecture 2025-02-10 v1

Abstract

The CHERI architecture equips conventional RISC ISAs with significant architectural extensions that provide a hardware-enforced mechanism for memory protection and software compartmentalisation. Architectural capabilities replace conventional integer pointers with memory addresses bound to permissions constraining their use. We present the first comprehensive formal verification of a capability extended RISC-V processor with internally 'compressed' capabilities - a concise encoding of capabilities with some resemblance to floating point number representations. The reference model for RTL correctness is a minor variant of the full and definitive ISA description written in the Sail ISA specification language. This is made accessible to formal verification tools by a prototype flow for translation of Sail into SystemVerilog. Our verification demonstrates a methodology for establishing that the processor always produces a stream of interactions with memory that is identical to that specified in Sail, when started in the same initial state. We additionally establish liveness. This abstract, microarchitecture-independent observational correctness property provides a comprehensive and clear assurance of functional correctness for the CHERIoT-Ibex processor's observable interactions with memory.

Keywords

Cite

@article{arxiv.2502.04738,
  title  = {Comprehensive Formal Verification of Observational Correctness for the CHERIoT-Ibex Processor},
  author = {Louis-Emile Ploix and Alasdair Armstrong and Tom Melham and Ray Lin and Haolong Wang and Anastasia Courtney},
  journal= {arXiv preprint arXiv:2502.04738},
  year   = {2025}
}

Comments

17 pages

R2 v1 2026-06-28T21:35:50.031Z