Add embedded csr description and CSR table list (#1662)

This commit is contained in:
JeanRochCoulon 2023-12-06 09:16:21 +01:00 committed by GitHub
parent cbd3e9fe19
commit 9952bce6a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 13509 additions and 1 deletions

View file

@ -37,7 +37,8 @@ templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '*.yaml', '*.xml',
'csr-ip-xact/**/cva6_csr.rst']
# -- Options for HTML output -------------------------------------------------

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,42 @@
.. code-block:: none
Copyright (c) 2023 Thales Silicon Security
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
Author: Jean-Roch COULON
Register Summary
----------------
.. csv-table::
:widths: auto
:align: left
:header: "Name", "Display Name", "Address Offset"
"``MSTATUS``", "Machine Status Register", "0x300"
"``MISA``", "Machine ISA Register", "0x301"
"``MIE``", "Machine Interrupt Enable Register", "0x304"
"``MTVEC``", "Machine Trap Vector Register", "0x305"
"``MSTATUSH``", "Upper 32-bits of Machine Status Register", "0x310"
"``MHPMEVENT3-31``", "Machine HW Perf Monitoring Event Selector", "0x323-0x33f"
"``MSCRATCH``", "Machine Scratch", "0x340"
"``MEPC``", "Machine Exception Program Counter", "0x341"
"``MCAUSE``", "Machine Cause", "0x342"
"``MTVAL``", "Machine Trap Value", "0x343"
"``MIP``", "Machine Interrupt Pending", "0x344"
"``PMPCFG0-3``", "Physical Memory Protection Config 0", "0x3a0-0x3a3"
"``PMPADDR0-15``", "Physical Memory Protection Address", "0x3b0-0x3bf"
"``ICACHE``", "Instruction Cache", "0x7C0"
"``MCYCLE``", "M-mode Cycle counter", "0xB00"
"``MINSTRET``", "Machine Instruction Retired counter", "0xB02"
"``MCYCLEH``", "Upper 32-bits of M-mode Cycle counter", "0xB80"
"``MINSTRETH``", "Upper 32-bits of Machine Instruction Retired counter", "0xB82"
"``MHPMCOUNTER3-31``", "Machine HW Performance Monitoring Counter", "0xb03-0xb1f"
"``MHPMCOUNTERH3-31``", "Upper 32 bits of Machine HW Perf Monitoring Counter", "0xb83-0xb9f"
"``CYCLE``", "Cycle counter", "0xC00"
"``INSTRET``", "Instruction Retired counter", "0xC02"
"``CYCLEH``", "Upper 32-bits of Cycle counter", "0xC80"
"``INSTRETH``", "Upper 32-bits of Instruction Retired counter", "0xC82"
"``MVENDORID``", "Machine Vendor ID", "0xF11"
"``MARCHID``", "Machine Architecture ID", "0xF12"
"``MIMPID``", "Machine Implementation ID", "0xF13"
"``MHARTID``", "Machine HW Thread ID", "0xF14"