this post was submitted on 02 Nov 2023
7 points (100.0% liked)

RISC-V

879 readers
1 users here now

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

founded 3 years ago
MODERATORS
7
RISC-V + CHERI (www.electronicsweekly.com)
submitted 1 year ago by 3arn0wl to c/[email protected]
top 3 comments
sorted by: hot top controversial new old
[–] Findecanor 5 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] 3arn0wl 1 points 1 year ago

Interesting. Thank you.

[–] uis 1 points 1 year ago

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