cva6/docs/README.md
slgth ab2283c075
Some checks failed
bender-up-to-date / bender-up-to-date (push) Has been cancelled
ci / build-riscv-tests (push) Has been cancelled
ci / execute-riscv64-tests (push) Has been cancelled
ci / execute-riscv32-tests (push) Has been cancelled
doc: keep documentation in sync with the code (#2558)
Both the ISA and design documentations use some parameters generated from the RTL (ports, parameters).
As of now, they are committed to the repository and can be out of sync with the code.

This PR removes them from the repository and freshly generates them from the code when building HTML files.

This PR also removes prebuilt HTML files (design & ISA docs) and generates them when building the top-level Read the Docs documentation (make -C docs).
2024-10-25 12:27:09 +02:00

1.3 KiB

CVA6 documentation

CVA6 documentation is published as a Read the Docs documentation. It can be generated by running make in this directory. This generates all necessary sub-documents.

Configuration-specific manuals

For each supported target (e.g. cv32a65x), there are two manuals included in the main documentation: a tailored RISC-V instruction set manual, and a design documentation. These documents are generated when building the main documentation.

Instruction set manual

Instruction set manuals (privileged & unprivileged) are based on the official RISC-V Instruction Set Manual repository. Some parts are stripped down or annotated to only include what's relevant for each specific configuration.

These manuals can be manually generated with: make -C 04_cv32a65x/riscv priv-html unpriv-html. Replace 04_cv32a65x with the desired target. Some of the files used in this documentation (config.adoc) are directly generated from the RTL.

Design documentation

Design documentation describes the internal architecture of the CVA6 processor.

It can be manually generated with: make -C 04_cv32a65x/design design-html. Some of the files used in this documentation (config.adoc, parameters.adoc, port_*.adoc, csr.adoc, isa.adoc) are directly generated from the RTL.