Skip to content

Commit

Permalink
Adding configuration-specific CSR doc (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquevremont authored Feb 9, 2024
1 parent 22e9173 commit ef3bb06
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 24 deletions.
25 changes: 25 additions & 0 deletions docs/01_cva6_user/CSR_CV32A60AX.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2023 Thales DIS design services SAS
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _CSR_CV32A60AX:


CV32A60AX Control Status Registers
==================================

*This chapter is not yet available.*
25 changes: 25 additions & 0 deletions docs/01_cva6_user/CSR_CV32A60AX_list.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2023 Thales DIS design services SAS
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _CSR_CV32A60AX_list:


CV32A60AX Control Status Registers List
=======================================

*This chapter is not yet available.*
1 change: 1 addition & 0 deletions docs/01_cva6_user/CSR_CV32A60X.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../csr-from-ip-xact/cv32a60x/csr.rst
1 change: 1 addition & 0 deletions docs/01_cva6_user/CSR_CV32A60X_list.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../csr-from-ip-xact/cv32a60x/csr_list.rst
6 changes: 3 additions & 3 deletions docs/01_cva6_user/Programmer_View.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Notes:
*The following tables detail the availability of extensions for the various CVA6 configurations:*

CV32A60AX extensions
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~

These extensions are available in CV32A60AX:

Expand Down Expand Up @@ -128,7 +128,7 @@ Note: The addition of the H Extension is in the process. After that, HS, VS, and
*The following tables detail the availability of privileges modes for the various CVA6 configurations:*

CV32A60AX privilege modes
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~

These privilege modes are available in CV32A60AX:

Expand Down Expand Up @@ -181,7 +181,7 @@ Notes for the integrator:
*These are the addressing modes supported by the various CVA6 configurations:*

CV32A60AX virtual memory
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~

CV32A60AX integrates an MMU and supports both the **Bare** and **Sv32** addressing modes.

Expand Down
2 changes: 1 addition & 1 deletion docs/01_cva6_user/RISCV_Instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ The notations below are used in the description of instructions.

- **>>u**: Right shift of 2 unsigned values.

- **M[address]**: Value existe in the address of the memory.
- **M[address]**: Value exists in the address of the memory.

- **/s**: Division of 2 signed values.

Expand Down
4 changes: 2 additions & 2 deletions docs/01_cva6_user/RISCV_Instructions_RVZbs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"CV32A60X", "Implemented extension"


============================
==============================
RVZbs: Single-bit instructions
============================
==============================
The single-bit instructions provide a mechanism to set, clear, invert, or extract a single bit in a register. The bit is specified by its index.

The following instructions (and pseudoinstructions) comprise the Zbs extension:
Expand Down
41 changes: 23 additions & 18 deletions docs/01_cva6_user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

CVA6 User Manual
================
Editor: **Jerome Quevremont**

.. toctree::
:maxdepth: 2
Expand All @@ -33,24 +32,30 @@ Editor: **Jerome Quevremont**
Traps_Interrupts_Exceptions
Compiler_Command_Lines
RISCV_Instructions
RISCV_Instructions_RV32I
RISCV_Instructions_RV32M
RISCV_Instructions_RV32A
RISCV_Instructions_RV32C
RISCV_Instructions_RVZba
RISCV_Instructions_RVZbb
RISCV_Instructions_RVZbc
RISCV_Instructions_RVZbs
RISCV_Instructions_RV32ZCb
RISCV_Instructions_RVZicsr
RISCV_Instructions_RVZifencei
RISCV_Instructions_RVZicond
CV32A6_Control_Status_Registers
CV64A6_Control_Status_Registers
RV32I <RISCV_Instructions_RV32I>
RV32M <RISCV_Instructions_RV32M>
RV32A <RISCV_Instructions_RV32A>
RV32C <RISCV_Instructions_RV32C>
RV32Zcb <RISCV_Instructions_RV32ZCb>
RVZba <RISCV_Instructions_RVZba>
RVZbb <RISCV_Instructions_RVZbb>
RVZbc <RISCV_Instructions_RVZbc>
RVZbs <RISCV_Instructions_RVZbs>
RVZicsr <RISCV_Instructions_RVZicsr>
RVZifencei <RISCV_Instructions_RVZifencei>
RVZicond <RISCV_Instructions_RVZicond>
CV32A60X CSR List <CSR_CV32A60X_list>
CV32A60X CSR Details <CSR_CV32A60X>
CV32A60AX CSR List <CSR_CV32A60AX_list>
CV32A60AX CSR Details <CSR_CV32A60AX>
CV64A6 CSR <CV64A6_Control_Status_Registers>
CSR_Cache_Control
CSR_Performance_Counters
CSR Performance Counters <CSR_Performance_Counters>
Parameters_Configuration
Interfaces
AXI Bus Interface <AXI_Interface>
CV-X-IF Interface <CVX_Interface_Coprocessor>
Core_Integration
CVX_Interface_Coprocessor
AXI_Interface



0 comments on commit ef3bb06

Please sign in to comment.