RISC-V + CHERI

3 years ago by 3arn0wl to c/riscv

Codasip, the  RISC-V Custom Compute specialist, has announced the first commercial implementation of CHERI (Capability Hardware Enhanced RISC Instructions
load all comments
Findecanor 5 points 3 years ago

Very little information about this. Can't even tell if it is going to be 32-bit or 64-bit.

There have been open source cores for running on FPGAs available for some time. Most work seem to have been for 64-bit, so this seems likely.

A "capability" (in this context) is a pointer with bounds and access rights built in. Memory tagging in hardware makes capabilities unforgeable. Cheri/RISC-V allows for multiple models: Full, hybrid and legacy. In the full model, capabilities and Cheri instructions are used instead of pointers and normal instructions — and buffer overflows are impossible. In hybrid models, capabilities are used to protect certain resources, or used for compartmentalisation within a program (cap inside legacy, or legacy inside cap). The downside is that a stored capability is twice as large as a normal pointer. 128 bits on 64-bit systems and 64 bits on 32-bit systems ... despite bounds being "compressed" using a floating-point like encoding to have larger granularity the larger they are.

path: 0 5010355, hotness: undefined, score: 5, children: 2
3arn0wl 1 point 3 years ago

Interesting. Thank you.

path: 0 5010355 5010641, hotness: undefined, score: 1, children: 0
uis 1 point 3 years ago

Wow. I remember seeing something like this in description of ELBRUS architecture.

path: 0 5010355 5190955, hotness: undefined, score: 1, children: 0
riscv
riscv

@lemmy.ml

login for more options
1244
305
3

RISC-V (pronounced "risk-five") is a license-free, modular, extensible instruction set architecture (ISA).

riscv.org

Youtube | Twitter

Matrix space

Other RISC-V communities on Lemmy

go to feed...