This is a repository for the work of the RISC-V Foundation Compliance Task Group. The repository owners are:
- Jeremy Bennett (Embecosm)
- Lee Moore (Imperas)
Details of the RISC-V Foundation, the work of its task groups, and how to become a member can be found at riscv.org.
You are encouraged to contribute to this repository by submitting pull requests and by commenting on pull requests submitted by other people.
-
Where a pull request is non-controversial one of the repository owners will immediately merge it. The repository uses rebase merges to maintain a linear history.
-
Other pull requests will be publicised to the task group for comment and decision at a subsequent meeting of the group. Everyone is encouraged to comment on a pull request. Such pull requests will be merged by when a concensus/decision has been reached by the task group.
In general:
- code is licensed under the BSD 3-clause license (SPDX license identifier
BSD-3-Clause
); while - documentation is licensed under the Creative Commons Attribution 4.0 International license (SPDX license identifier
CC-BY-4.0
).
The files COPYING.BSD
and COPYING.CC
in the top level directory contain the complete text of these licenses.
-
Documentation uses the structured text format AsciiDoc. See
doc/README.adoc
for more details. -
Some directories use
ChangeLog
files to track changes in the code and documentation. Please honor these, keeping them up to date and including the ChangeLog entry in the git commit message. -
Please include a comment with the SPDX license identifier in all source files, for example:
// SPDX-License-Identifier: BSD-3-Clause
The only setup required is to define where the toolchain is found, and where the target / device is found.
For the toolchain, the binaries must be in the search path and the compiler prefix is defined on the make line. The default value for this is
RISCV_PREFIX ?= riscv64-unknown-elf-
The path to the RUN_TARGET is defined within the riscv-target Makefile.include.
To run the rv32i test suite on riscvOVPsim
make RISCV_TARGET=riscvOVPsim RISCV_DEVICE=rv32i
As we create the RISCV.org compliance test suite, the Imperas developed riscvOVPsim compliance simulator is included as part of this GitHub repository. For more information please contact [email protected] or [email protected].
For more information on riscvOVPsim look here: riscv-ovpsim/README.md and here: riscv-ovpsim/doc/riscvOVPsim_User_Guide.pdf.