Task-oriented guides to the CVA6 repository, sorted by use. Each page covers one job and explains how the steps fit together. The options of every recipe are in the reference, flows/README.md.
Read getting_started.md first. Every other page assumes it is done.
flowchart TD
start([What do you want to do?]) --> setup{First time here?}
setup -- yes --> gs[getting_started.md]
setup -- no --> goal{Your goal}
goal -- put CVA6 in my SoC --> integ[integration/integrator.md]
goal -- simulate the RTL --> tb{Commercial simulator licence?}
tb -- no --> th[simulation/testharness.md]
tb -- yes --> choose[simulation/README.md]
choose --> uvm[simulation/uvm_testbench.md]
choose --> th
goal -- random tests --> gen[simulation/generated_tests.md]
goal -- run software --> sw{Which software?}
sw -- bare metal --> bm[software/bare_metal.md]
sw -- proxy kernel --> pk[software/proxy_kernel.md]
sw -- Zephyr --> zep[software/zephyr.md]
sw -- Linux --> lin[software/linux.md]
goal -- area or netlist --> syn[synthesis/README.md]
syn --> gl[simulation/gate_level.md]
goal -- run on a board --> fpga[fpga/README.md]
goal -- check a change like the CI --> ci[developer/ci_checks.md]
| Use | Tutorial |
|---|---|
Install the repository, the tools and cook.py (everybody, first) |
getting_started.md |
| Integration | |
| Integrate CVA6 in a SoC: RTL, file lists, configuration, bus | integration/integrator.md |
| Simulation | |
| Choose between the two testbenches | simulation/README.md |
| UVM testbench: VCS, Questa, Xcelium | simulation/uvm_testbench.md |
| TestHarness: Verilator, VCS, Questa, Xcelium | simulation/testharness.md |
| Run many tests with a testlist | simulation/testlists.md |
| Waveforms, GUI and debug options | simulation/waveforms_and_debug.md |
| CoreMark and Dhrystone | simulation/benchmarks.md |
| Random tests with riscv-dv | simulation/generated_tests.md |
| Simulate the synthesised netlist | simulation/gate_level.md |
| Software | |
| A bare metal program | software/bare_metal.md |
| A program under the proxy kernel (pk) | software/proxy_kernel.md |
| A Zephyr application | software/zephyr.md |
| Linux | software/linux.md |
| Synthesis | |
| Choose a synthesis flow | synthesis/README.md |
| Yosys, no licence | synthesis/yosys.md |
| Design Compiler: GTECH or your PDK | synthesis/dc_shell.md |
| FPGA | |
| Build a bitstream, program a board, boot Linux or Zephyr | fpga/README.md |
| Development | |
| Formatting, lint, baselines, full regression, reports | developer/ci_checks.md |
- flows/QUICKSTART.md: worked command sequences to copy.
- flows/README.md: every recipe and its options.
- config/README.md: the targets (configurations) and how to add one.
- flows/CONTINUOUS_INTEGRATION.md: the reports and the CI pipelines.
- corev_apu/instr_tracing/README.md: instruction tracing.