• Stars
    star
    3,191
  • Rank 13,505 (Top 0.3 %)
  • Language
    TeX
  • License
    Creative Commons ...
  • Created over 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RISC-V Instruction Set Manual

RISC-V Instruction Set Manual

RISC-V ISA Build

This repository contains the source files for the RISC-V Instruction Set Manual, which is comprised of the Privileged RISC-V Instruction Set Manual (LaTeX) and the Unprivileged RISC-V Instruction Set Manual (AsciiDoc). The preface of each document indicates the version of each standard that has been formally ratified by RISC-V International.

This work is licensed under a Creative Commons Attribution 4.0 International License. See the LICENSE file for details.

The RISC-V Instruction Set Manual is organized into the following volumes:

  • Volume I: User-Level ISA
  • Volume II: Privileged Architecture

Official and Draft Versions

The canonical list of open-source RISC-V implementations' marchid CSR values is available in the marchid.md file.

Contributing

If you would like to contribute to this documentation, please refer to the Documentation Developer's Guide.

The recommended method for building the PDF files is to use the Docker Image, as described in the RISC-V Docs Base Container Image repository.

Alternative build methods, such as local builds and GitHub Action builds, are also available and described in the Documentation Developer's Guide.

More Repositories

1

riscv-v-spec

Working draft of the proposed RISC-V V vector extension
Assembly
873
star
2

riscv-opcodes

RISC-V Opcodes
Python
597
star
3

riscv-debug-spec

Working Draft of the RISC-V Debug Specification Standard
Python
430
star
4

sail-riscv

Sail RISC-V model
Coq
393
star
5

riscv-crypto

RISC-V cryptography extensions standardisation work.
C
337
star
6

meta-riscv

OpenEmbedded/Yocto layer for RISC-V Architecture
BitBake
327
star
7

riscv-fast-interrupt

Proposal for a RISC-V Core-Local Interrupt Controller (CLIC)
216
star
8

riscv-bitmanip

Working draft of the proposed RISC-V Bitmanipulation extension
Makefile
205
star
9

learn

Tracking RISC-V Actions on Education, Training, Courses, Monitorships, etc.
169
star
10

riscv-j-extension

Working Draft of the RISC-V J Extension Specification
Makefile
144
star
11

riscv-p-spec

RISC-V Packed SIMD Extension
131
star
12

riscv-plic-spec

PLIC Specification
113
star
13

riscv-platform-specs

RISC-V Profiles and Platform Specification
Makefile
110
star
14

riscv-profiles

RISC-V Architecture Profiles
Makefile
80
star
15

riscv-cfi

This repo holds the work area and revisions of the RISC-V CFI (Shadow Stack and Landing Pads) specifications. CFI defines the privileged and unprivileged ISA extensions that can be used by privileged and unprivileged programs to protect the integrity of their control-flow.
Makefile
74
star
16

docs-dev-guide

Documentation developer guide
TeX
64
star
17

riscv-aia

58
star
18

riscv-test-env

C
38
star
19

configuration-structure

RISC-V Configuration Structure
Python
35
star
20

riscv-aclint

Makefile
35
star
21

virtual-memory

34
star
22

riscv-bfloat16

Makefile
25
star
23

riscv-cheri

This repository contains the CHERI extension specification, adding hardware capabilities to RISC-V ISA to enable fine-grained memory protection and scalable compartmentalization.
Python
22
star
24

riscv-smmtt

This specification will define the RISC-V privilege ISA extensions required to support Supervisor Domain isolation for multi-tenant security use cases e.g. confidential-computing, trusted platform services, fault isolation and so on.
Makefile
20
star
25

docs-spec-template

Makefile
14
star
26

riscv-smbios

RISC-V SMBIOS Type 44 Spec
TeX
13
star
27

docs-resources

12
star
28

riscv-spmp

The repo contains the SPMP architectural specification, which includes capabilities like access control of read/write/execute requests by an hart, address matching, encoding of permissions, exceptions for access violation, and support for virtualization.
TeX
11
star
29

riscv-control-transfer-records

This repo contains a RISC-V ISA extension (proposal) to allow recording of control transfer history to on-chip registers, to support usages associated with profiling and debug.
Makefile
11
star
30

riscv-zacas

riscv-zacas created from docs-spec-template template
Makefile
9
star
31

riscv-zabha

The Zabha extension provides support for byte and halfword atomic memory operations.
Makefile
6
star
32

riscv-svadu

The Svadu extension adds support and CSR control for hardware updating of PTE A/D bits.
Makefile
6
star
33

riscv-attached-matrix-facility

Attached Matrix Facility Specification
Makefile
5
star
34

riscv-docs-base-container-image

A base container image populated with the dependencies to build the RISC-V Documentation.
5
star
35

riscv-b

"B" extension - that represents the collection of the Zba, Zbb, and Zbs extensions
Makefile
4
star
36

riscv-zaamo-zalrsc

Zaamo / Zalrsc: A extension components
Makefile
4
star
37

riscv-state-enable

TeX
3
star
38

riscv-smcntrpmf

Cycle & Instret Privilege Mode Filtering Architecture Extension
Makefile
3
star
39

riscv-software-ecosystem

A curated list of the status of different softwares on RISC-V
3
star
40

riscv-double-trap

RISC-V Double Trap Fast-Track Extension
Makefile
3
star
41

riscv-glossary

2
star
42

riscv-ssqosid

This repo will hold the specification for the proposed QoS ID extension being pursued on the fast-track process.
Makefile
2
star
43

riscv-indirect-csr-access

Smcsrind/Sscsrind is an ISA extension that extends the indirect CSR access mechanism originally defined as part of the Smaia/Ssaia extensions, in order to make it available for use by other extensions without creating an unnecessary dependence on Smaia/Ssaia.
Makefile
2
star
44

integrated-matrix-extension

Source code repository for the Integrated Matrix Facility Task Group
Makefile
2
star
45

.github

1
star
46

riscv-ssrastraps

The RAS exception and interrupts extension (Ssrastraps) defines standard local interrupt numbers and exception-cause codes for reporting errors detected by RAS functions in the system.
TeX
1
star
47

riscv-zalasr

The ISA specification for the Zalasr extension.
Makefile
1
star
48

riscv-performance-events

RISC-V Performance Events Specification
Makefile
1
star
49

riscv-svvptc

Eliding Memory-management Fences on setting PTE valid (Svvptc)
Makefile
1
star
50

riscv-pqc

Post Quantum Cryptography
Makefile
1
star
51

riscv-ssdtso

The Ssdtso is a fast-track extension adding a 'dynamic-RVTSO' mode of operation and on-demand per-hart switching between the memory models.
Makefile
1
star
52

lightweight-isolation

The Lightweight Isolation Specification
Makefile
1
star
53

riscv-dot-product

Dot-Product Extension
Makefile
1
star
54

riscv-hac

High Assurance Cryptography
Makefile
1
star
55

riscv-smcdeleg-ssccfg

Supervisor Counter Delegation Architecture Extension
Makefile
1
star
56

riscv-zilsd

Zilsd (Load/Store Pair for RV32) Fast-Track Extension
Makefile
1
star
57

riscv-ras-eri

The (RAS Error-record Register Interface) RERI provides a specification to augment RAS features in RISC-V SOC hardware to standardize reporting and logging of errors by means of a memory-mapped register interface to enable error detection, provide the facility to log the detected errors (including their severity, nature, and location), and configuring means to report the error to a handler component.
TeX
1
star