Repository logo
 

A Suite of Processors to Explore CHERI-RISC-V Microarchitecture

Accepted version
Peer-reviewed

Change log

Authors

Rugg, Peter 
Woodruff, Jonathan 
Joannou, Alexandre 
Moore, Simon W 

Abstract

We present the implementation of Capability Hardware Enhanced RISC Instructions (CHERI) secure capabilities for RISC-V microarchitectures. This includes implementations for three different scales of core, including microcontrollers and the first open application of CHERI to a superscalar processor, and investigate the scaling of CHERI extensions across a range of core complexities. CHERI offers a contemporary cross-architecture description of capabilities. The initial CHERI implementation extended a MIPS processor. Based on its success in this context, we investigate the microarchitectural implications across a wider range of processors. To improve adoption, this work is performed on the more contemporary RISC-V architecture.

We first extend the Piccolo and Flute microcontrollers, and evaluate area and frequency implications on FPGA, and an initial performance evaluation. To validate correctness, the processors are integrated into the TestRIG infrastructure. We then extend RiscyOO for the first open instantiation of CHERI for a superscalar out-of-order application-class core. We explore new questions due to the more sophisticated microarchitecture, and highlight more architectural tradeoffs. Again, the processor is evaluated on FPGA, investigating area, frequency, and performance. We then are able to present the first analysis of the scaling of CHERI overheads with core complexity. Based on these results, the standardisation of CHERI RISC-V is now underway.

Description

Keywords

Journal Title

Conference Name

27th Euromicro Conference on Digital System Design, MATTERV : Opensource Methods, architectures, tools and technologies for RISC-V

Journal ISSN

Volume Title

Publisher

Publisher DOI

Publisher URL

Sponsorship
Approved for public release; distribution is unlimited. This work was supported by the Defense Advanced Research Projects Agency (DARPA) under contract HR0011-18-C-0016 (“ECATS”). The views, opinions, and/or findings contained in this paper are those of the author and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.