From f41c0f4f2e8ebecb3632ff916158b0d9ca3e4df7 Mon Sep 17 00:00:00 2001 From: Pascal Cotret Date: Fri, 6 Oct 2023 20:51:19 +0200 Subject: [PATCH] fix most of sphinx warnings --- .../CVX_Interface_Coprocessor.rst | 4 +- docs/01_cva6_user/PMA.rst | 2 +- .../Traps_Interrupts_Exceptions.rst | 2 +- docs/01_cva6_user/ip-xact/cva6_csr.rst | 492 +++++++++--------- 4 files changed, 250 insertions(+), 250 deletions(-) diff --git a/docs/01_cva6_user/CVX_Interface_Coprocessor.rst b/docs/01_cva6_user/CVX_Interface_Coprocessor.rst index da45317b3a..7de7f89c4d 100644 --- a/docs/01_cva6_user/CVX_Interface_Coprocessor.rst +++ b/docs/01_cva6_user/CVX_Interface_Coprocessor.rst @@ -102,7 +102,7 @@ If CV-X-IF is enabled and configured with 3 source registers, a third read port is added to the CVA6 general purpose register file. Description of interface connections between CVA6 and Coprocessor -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In CVA6 execute stage, there is a new functional unit dedicated to drive the CV-X-IF interfaces. Here is *how* and *to what* CV-X-IF interfaces are connected to the CVA6. @@ -162,7 +162,7 @@ Here is *how* and *to what* CV-X-IF interfaces are connected to the CVA6. | information held in these three registers. Coprocessor recommendations for use with CVA6's CV-X-IF ------------------------------------------------------ +------------------------------------------------------- CVA6 supports all coprocessors supporting the CV-X-IF specification with the exception of : diff --git a/docs/01_cva6_user/PMA.rst b/docs/01_cva6_user/PMA.rst index a01a513335..97d83664d9 100644 --- a/docs/01_cva6_user/PMA.rst +++ b/docs/01_cva6_user/PMA.rst @@ -53,7 +53,7 @@ structure to describe the PMA regions statically: - ``CVA6Cfg.CachedRegionLength``: Length of the cacheable region. Unsupported PMAs -------- +---------------- Currently the following RISC-V defined PMAs are not supported: diff --git a/docs/01_cva6_user/Traps_Interrupts_Exceptions.rst b/docs/01_cva6_user/Traps_Interrupts_Exceptions.rst index 15b3094355..a71c0159ab 100644 --- a/docs/01_cva6_user/Traps_Interrupts_Exceptions.rst +++ b/docs/01_cva6_user/Traps_Interrupts_Exceptions.rst @@ -30,7 +30,7 @@ Raising Traps ============= When a trap is raised, the behaviour of the CVA6 core depends on several CSRs and some CSRs are modified. The CSR description is available -in :doc:`CV32A6_Control_Status_Registers.rst`. +in :doc:`CV32A6_Control_Status_Registers`. Configuration CSRs ------------------ diff --git a/docs/01_cva6_user/ip-xact/cva6_csr.rst b/docs/01_cva6_user/ip-xact/cva6_csr.rst index 3e7a83396a..f4190bb896 100644 --- a/docs/01_cva6_user/ip-xact/cva6_csr.rst +++ b/docs/01_cva6_user/ip-xact/cva6_csr.rst @@ -1,8 +1,8 @@ REGISTERS CSR CV32A6 -=================== +==================== Floating-Point Accrued Exceptions Register --------------------------- +------------------------------------------ AddressOffset: 'h1 -------------------------- Description: @@ -22,30 +22,30 @@ The fields within the ``fcsr`` can also be accessed individually through differe - NV - Invalid operation - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 3 - DZ - Divide by zero - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 2 - OF - Overflow - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 1 - UF - Underflow - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 0 - NX - Inexact - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. Floating-Point Dynamic Rounding Mode Register --------------------------- +--------------------------------------------- AddressOffset: 'h2 -------------------------- Description: @@ -65,10 +65,10 @@ The fields within the ``fcsr`` can also be accessed individually through differe - FRM - Floating-point rounding mode - read-write - - The fields within the ``fcsr`` can also be accessed individually through different CSR addresses, and separate assembler pseudoinstructions are defined for these accesses\. The FRRM instruction reads the Rounding Mode field ``frm`` and copies it into the least\-significant three bits of integer register \*rd\*, with zero in all other bits\. FSRM swaps the value in frm by copying the original value into integer register \*rd\*, and then writing a new value obtained from the three least\-significant bits of integer register \*rs1\* into ``frm``\. FRFLAGS and FSFLAGS are defined analogously for the Accrued Exception Flags field ``fflags``\. ``Enumerated Values``( "RNE" :0)( "RTZ" :1)( "RDN" :2)( "RUP" :3)( "RMM" :4)( "INVALID_5" :5)( "INVALID_6" :6)( "DYN" :7)'\n' + - The fields within the ``fcsr`` can also be accessed individually through different CSR addresses, and separate assembler pseudoinstructions are defined for these accesses. The FRRM instruction reads the Rounding Mode field ``frm`` and copies it into the least-significant three bits of integer register *rd*, with zero in all other bits. FSRM swaps the value in frm by copying the original value into integer register *rd*, and then writing a new value obtained from the three least-significant bits of integer register *rs1* into ``frm``. FRFLAGS and FSFLAGS are defined analogously for the Accrued Exception Flags field ``fflags``. ``Enumerated Values`` ( "RNE" :0)( "RTZ" :1)( "RDN" :2)( "RUP" :3)( "RMM" :4)( "INVALID_5" :5)( "INVALID_6" :6)( "DYN" :7). Floating-Point Control and Status Register Register --------------------------- +--------------------------------------------------- AddressOffset: 'h3 -------------------------- Description: @@ -92,32 +92,32 @@ The fields within the ``fcsr`` can also be accessed individually through differe - FRM - Floating-point rounding mode - read-write - - Floating\-point operations use either a static rounding mode encoded in the instruction, or a dynamic rounding mode held in ``frm``\. Rounding modes are encoded as shown in the enumerated value\. A value of 111 in the instruction’s \*rm\* field selects the dynamic rounding mode held in ``frm``\. If ``frm`` is set to an invalid value \(101–111\), any subsequent attempt to execute a floating\-point operation with a dynamic rounding mode will raise an illegal instruction exception\. Some instructions, including widening conversions, have the \*rm\* field but are nevertheless unaffected by the rounding mode; software should set their \*rm\* field to RNE \(000\)\. ``Enumerated Values``( "RNE" :0)( "RTZ" :1)( "RDN" :2)( "RUP" :3)( "RMM" :4)( "INVALID_5" :5)( "INVALID_6" :6)( "DYN" :7)'\n' + - Floating-point operations use either a static rounding mode encoded in the instruction, or a dynamic rounding mode held in ``frm``. Rounding modes are encoded as shown in the enumerated value. A value of 111 in the instruction’s *rm* field selects the dynamic rounding mode held in ``frm``. If ``frm`` is set to an invalid value \(101–111\), any subsequent attempt to execute a floating-point operation with a dynamic rounding mode will raise an illegal instruction exception. Some instructions, including widening conversions, have the *rm* field but are nevertheless unaffected by the rounding mode; software should set their *rm* field to RNE \(000\). ``Enumerated Values`` ( "RNE" :0)( "RTZ" :1)( "RDN" :2)( "RUP" :3)( "RMM" :4)( "INVALID_5" :5)( "INVALID_6" :6)( "DYN" :7). * - 4 - NV - Invalid operation - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 3 - DZ - Divide by zero - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 2 - OF - Overflow - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 1 - UF - Underflow - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. * - 0 - NX - Inexact - read-write - - The accrued exception flags indicate the exception conditions that have arisen on any floating\-point arithmetic instruction since the field was last reset by software\. The base RISC\-V ISA does not support generating a trap on the setting of a floating\-point exception flag\. + - The accrued exception flags indicate the exception conditions that have arisen on any floating-point arithmetic instruction since the field was last reset by software. The base RISC-V ISA does not support generating a trap on the setting of a floating-point exception flag. Supervisor Status Register -------------------------- @@ -142,55 +142,55 @@ The ``sstatus`` register is a subset of the ``mstatus`` register. - SD - State dirty - read-only - - The SD bit is a read\-only bit that summarizes whether either the FS, VS, or XS fields signal the presence of some dirty state that will require saving extended user context to memory\. If FS, XS, and VS are all read\-only zero, then SD is also always zero\. + - The SD bit is a read-only bit that summarizes whether either the FS, VS, or XS fields signal the presence of some dirty state that will require saving extended user context to memory. If FS, XS, and VS are all read-only zero, then SD is also always zero. * - 19 - MXR - Make executable readable - read-write - - The MXR bit modifies the privilege with which loads access virtual memory\. When MXR=0, only loads from pages marked readable will succeed\. When MXR=1, loads from pages marked either readable or executable \(R=1 or X=1\) will succeed\. MXR has no effect when page\-based virtual memory is not in effect\. + - The MXR bit modifies the privilege with which loads access virtual memory. When MXR=0, only loads from pages marked readable will succeed. When MXR=1, loads from pages marked either readable or executable \(R=1 or X=1\) will succeed. MXR has no effect when page-based virtual memory is not in effect. * - 18 - SUM - Supervisor user memory - read-write - - The SUM \(permit Supervisor User Memory access\) bit modifies the privilege with which S\-mode loads and stores access virtual memory\. When SUM=0, S\-mode memory accesses to pages that are accessible by U\-mode will fault\. When SUM=1, these accesses are permitted\. SUM has no effect when page\-based virtual memory is not in effect\. Note that, while SUM is ordinarily ignored when not executing in S\-mode, it \*is\* in effect when MPRV=1 and MPP=S\. SUM is read\-only 0 if S\-mode is not supported or if ``satp``\.MODE is read\-only 0\. + - The SUM \(permit Supervisor User Memory access\) bit modifies the privilege with which S-mode loads and stores access virtual memory. When SUM=0, S-mode memory accesses to pages that are accessible by U-mode will fault. When SUM=1, these accesses are permitted. SUM has no effect when page-based virtual memory is not in effect. Note that, while SUM is ordinarily ignored when not executing in S-mode, it *is* in effect when MPRV=1 and MPP=S. SUM is read-only 0 if S-mode is not supported or if ``satp``.MODE is read-only 0. * - 16:15 - XS - Extension state - read-only - - The XS field is used to reduce the cost of context save and restore by setting and tracking the current state of the user\-mode extensions\. The XS field encodes the status of the additional user\-mode extensions and associated state\. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required\. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process\. ``Enumerated Values``( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' + - The XS field is used to reduce the cost of context save and restore by setting and tracking the current state of the user-mode extensions. The XS field encodes the status of the additional user-mode extensions and associated state. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process. ``Enumerated Values`` ( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3). * - 14:13 - FS - Floating-point unit state - read-write,WARL - - The FS field is used to reduce the cost of context save and restore by setting and tracking the current state of the floating\-point unit\. The FS field encodes the status of the floating\-point unit state, including the floating\-point registers ``f0–f31`` and the CSRs ``fcsr``, ``frm``, and ``fflags``\. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required\. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process\. ``Enumerated Values``( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' + - The FS field is used to reduce the cost of context save and restore by setting and tracking the current state of the floating-point unit. The FS field encodes the status of the floating-point unit state, including the floating-point registers ``f0–f31`` and the CSRs ``fcsr``, ``frm``, and ``fflags``. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process. ``Enumerated Values`` ( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3). * - 8 - SPP - Supervisor mode prior privilege - read-write - - SPP bit indicates the privilege level at which a hart was executing before entering supervisor mode\. When a trap is taken, SPP is set to 0 if the trap originated from user mode, or 1 otherwise\. When an SRET instruction is executed to return from the trap handler, the privilege level is set to user mode if the SPP bit is 0, or supervisor mode if the SPP bit is 1; SPP is then set to 0\. + - SPP bit indicates the privilege level at which a hart was executing before entering supervisor mode. When a trap is taken, SPP is set to 0 if the trap originated from user mode, or 1 otherwise. When an SRET instruction is executed to return from the trap handler, the privilege level is set to user mode if the SPP bit is 0, or supervisor mode if the SPP bit is 1; SPP is then set to 0. * - 5 - SPIE - Supervisor mode prior interrupt enable - read-write - - The SPIE bit indicates whether supervisor interrupts were enabled prior to trapping into supervisor mode\. When a trap is taken into supervisor mode, SPIE is set to SIE, and SIE is set to 0\. When an SRET instruction is executed, SIE is set to SPIE, then SPIE is set to 1\. + - The SPIE bit indicates whether supervisor interrupts were enabled prior to trapping into supervisor mode. When a trap is taken into supervisor mode, SPIE is set to SIE, and SIE is set to 0. When an SRET instruction is executed, SIE is set to SPIE, then SPIE is set to 1. * - 4 - UPIE - - read-write - - When a URET instruction is executed, UIE is set to UPIE, and UPIE is set to 1\. + - When a URET instruction is executed, UIE is set to UPIE, and UPIE is set to 1. * - 1 - SIE - Supervisor mode interrupt enable - read-write - - The SIE bit enables or disables all interrupts in supervisor mode\. When SIE is clear, interrupts are not taken while in supervisor mode\. When the hart is running in user\-mode, the value in SIE is ignored, and supervisor\-level interrupts are enabled\. The supervisor can disable individual interrupt sources using the ``sie`` CSR\. + - The SIE bit enables or disables all interrupts in supervisor mode. When SIE is clear, interrupts are not taken while in supervisor mode. When the hart is running in user-mode, the value in SIE is ignored, and supervisor-level interrupts are enabled. The supervisor can disable individual interrupt sources using the ``sie`` CSR. * - 0 - UIE - - read-write - - The UIE bit enables or disables user\-mode interrupts\. + - The UIE bit enables or disables user-mode interrupts. Supervisor Interrupt Enable Register --------------------------- +------------------------------------ AddressOffset: 'h104 -------------------------- Description: @@ -210,50 +210,50 @@ The ``sie`` is the register containing supervisor interrupt enable bits. - Reserved_10 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 9 - SEIE - Supervisor-level external interrupt enable - read-write,WARL - - SEIE is the interrupt\-enable bit for supervisor\-level external interrupts\. + - SEIE is the interrupt-enable bit for supervisor-level external interrupts. * - 8 - UEIE - - read-write,WARL - - User\-level external interrupts are disabled when the UEIE bit in the sie register is clear\.``Legal Values:``0\. + - User-level external interrupts are disabled when the UEIE bit in the sie register is clear.``Legal Values:`` 0. * - 7:6 - Reserved_6 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 5 - STIE - Supervisor-level timer interrupt enable - read-write,WARL - - STIE is the interrupt\-enable bit for supervisor\-level timer interrupts\. + - STIE is the interrupt-enable bit for supervisor-level timer interrupts. * - 4 - UTIE - - read-write,WARL - - User\-level timer interrupts are disabled when the UTIE bit in the sie register is clear\.``Legal Values:``0\. + - User-level timer interrupts are disabled when the UTIE bit in the sie register is clear.``Legal Values:`` 0. * - 3:2 - Reserved_2 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 1 - SSIE - Supervisor-level software interrupt enable - read-write,WARL - - SSIE is the interrupt\-enable bit for supervisor\-level software interrupts\. + - SSIE is the interrupt-enable bit for supervisor-level software interrupts. * - 0 - USIE - - read-write,WARL - - User\-level software interrupts are disabled when the USIE bit in the sie register is clear\.``Legal Values:``0\. + - User-level software interrupts are disabled when the USIE bit in the sie register is clear.``Legal Values:`` 0. Supervisor Trap Vector Base Address Register --------------------------- +-------------------------------------------- AddressOffset: 'h105 -------------------------- Description: @@ -273,15 +273,15 @@ The ``stvec`` register holds trap vector configuration, consisting of a vector b - BASE - - read-write,WARL - - The BASE field in stvec is a WARL field that can hold any valid virtual or physical address, subject to the following alignment constraints: when MODE=Direct the address must be 4\-byte aligned, and when MODE=Vectored the address must be 256\-byte aligned\. + - The BASE field in stvec is a WARL field that can hold any valid virtual or physical address, subject to the following alignment constraints: when MODE=Direct the address must be 4-byte aligned, and when MODE=Vectored the address must be 256-byte aligned. * - 1:0 - MODE - - read-write,WARL - - When MODE=Direct, all traps into supervisor mode cause the ``pc`` to be set to the address in the BASE field\. When MODE=Vectored, all synchronous exceptions into supervisor mode cause the ``pc`` to be set to the address in the BASE field, whereas interrupts cause the ``pc`` to be set to the address in the BASE field plus four times the interrupt cause number\.``Legal Values :``0,1\. ``Enumerated Values``( "Direct" :0)( "Vectored" :1)( "Reserved_2" :2)( "Reserved_3" :3)'\n' + - When MODE=Direct, all traps into supervisor mode cause the ``pc`` to be set to the address in the BASE field. When MODE=Vectored, all synchronous exceptions into supervisor mode cause the ``pc`` to be set to the address in the BASE field, whereas interrupts cause the ``pc`` to be set to the address in the BASE field plus four times the interrupt cause number.``Legal Values :`` 0,1. ``Enumerated Values`` ( "Direct" :0)( "Vectored" :1)( "Reserved_2" :2)( "Reserved_3" :3). Supervisor Counter Enable Register --------------------------- +---------------------------------- AddressOffset: 'h106 -------------------------- Description: @@ -301,25 +301,25 @@ The counter-enable register ``scounteren`` controls the availability of the hard - HPMn - Hpmcountern - read-write - - When HPMn is clear, attempts to read the ``hpmcountern`` register while executing in U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted\. + - When HPMn is clear, attempts to read the ``hpmcountern`` register while executing in U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted. * - 2 - IR - Instret - read-write - - When IR is clear, attempts to read the ``instret`` register while executing in U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted\. + - When IR is clear, attempts to read the ``instret`` register while executing in U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted. * - 1 - TM - Time - read-write - - When TM is clear, attempts to read the ``time`` register while executing in U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted\. + - When TM is clear, attempts to read the ``time`` register while executing in U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted. * - 0 - CY - Cycle - read-write - - When CY is clear, attempts to read the ``cycle`` register while executing in U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted\. + - When CY is clear, attempts to read the ``cycle`` register while executing in U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted. Supervisor Scratch Register --------------------------- +--------------------------- AddressOffset: 'h140 -------------------------- Description: @@ -339,10 +339,10 @@ The ``sscratch`` register is dedicated for use by the supervisor. - SSCRATCH - Supervisor scratch - read-write - - The ``sscratch`` register is dedicated for use by the supervisor\. + - The ``sscratch`` register is dedicated for use by the supervisor. Supervisor Exception Program Counter Register --------------------------- +--------------------------------------------- AddressOffset: 'h141 -------------------------- Description: @@ -362,7 +362,7 @@ When a trap is taken into S-mode, ``sepc`` is written with the virtual address o - SEPC - Supervisor exception program counter - read-write,WARL - - When a trap is taken into S\-mode, ``sepc`` is written with the virtual address of the instruction that was interrupted or that encountered the exception\. Otherwise, ``sepc`` is never written by the implementation, though it may be explicitly written by software\. + - When a trap is taken into S-mode, ``sepc`` is written with the virtual address of the instruction that was interrupted or that encountered the exception. Otherwise, ``sepc`` is never written by the implementation, though it may be explicitly written by software. Supervisor Cause Register -------------------------- @@ -479,15 +479,15 @@ Supervisor cause register (``scause``) values after trap are shown in the follow - Interrupt - - read-write - - The Interrupt bit in the ``scause`` register is set if the trap was caused by an interrupt\. + - The Interrupt bit in the ``scause`` register is set if the trap was caused by an interrupt. * - 30:0 - Exception_Code - Exception code - read-write,WLRL - - The Exception Code field contains a code identifying the last exception or interrupt\. + - The Exception Code field contains a code identifying the last exception or interrupt. Supervisor Trap Value Register --------------------------- +------------------------------ AddressOffset: 'h143 -------------------------- Description: @@ -507,10 +507,10 @@ When a trap is taken into S-mode, ``stval`` is written with exception-specific i - STVAL - Supervisor trap value - read-write,WARL - - When a trap is taken into S\-mode, ``stval`` is written with exception\-specific information to assist software in handling the trap\. Otherwise, ``stval`` is never written by the implementation, though it may be explicitly written by software\. The hardware platform will specify which exceptions must set ``stval`` informatively and which may unconditionally set it to zero\. + - When a trap is taken into S-mode, ``stval`` is written with exception-specific information to assist software in handling the trap. Otherwise, ``stval`` is never written by the implementation, though it may be explicitly written by software. The hardware platform will specify which exceptions must set ``stval`` informatively and which may unconditionally set it to zero. Supervisor Interrupt Pending Register --------------------------- +------------------------------------- AddressOffset: 'h144 -------------------------- Description: @@ -530,50 +530,50 @@ The ``sip`` register contains information on pending interrupts. - Reserved_10 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 9 - SEIP - Supervisor-level external interrupt pending - read-only,WARL - - SEIP is the interrupt\-pending bit for supervisor\-level external interrupts\. + - SEIP is the interrupt-pending bit for supervisor-level external interrupts. * - 8 - UEIP - - read-write,WARL - - UEIP may be written by S\-mode software to indicate to U\-mode that an external interrupt is pending\.``Legal Values:``0\. + - UEIP may be written by S-mode software to indicate to U-mode that an external interrupt is pending.``Legal Values:`` 0. * - 7:6 - Reserved_6 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 5 - STIP - Supervisor-level timer interrupt pending - read-only,WARL - - SEIP is the interrupt\-pending bit for supervisor\-level timer interrupts\. + - SEIP is the interrupt-pending bit for supervisor-level timer interrupts. * - 4 - UTIP - - read-write,WARL - - A user\-level timer interrupt is pending if the UTIP bit in the sip register is set\.``Legal Values:``0\. + - A user-level timer interrupt is pending if the UTIP bit in the sip register is set.``Legal Values:`` 0. * - 3:2 - Reserved_2 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 1 - SSIP - Supervisor-level software interrupt pending - read-only,WARL - - SSIP is the interrupt\-pending bit for supervisor\-level software interrupts\. + - SSIP is the interrupt-pending bit for supervisor-level software interrupts. * - 0 - USIP - - read-write,WARL - - A user\-level software interrupt is triggered on the current hart by riting 1 to its user software interrupt\-pending \(USIP\) bit\.``Legal Values:``0\. + - A user-level software interrupt is triggered on the current hart by riting 1 to its user software interrupt-pending \(USIP\) bit.``Legal Values:`` 0. Supervisor Address Translation and Protection Register --------------------------- +------------------------------------------------------ AddressOffset: 'h180 -------------------------- Description: @@ -598,17 +598,17 @@ The ``satp`` register is considered active when the effective privilege mode is - MODE - Mode - read-write,WARL - - This bitfield selects the current address\-translation scheme\. When MODE=Bare, supervisor virtual addresses are equal to supervisor physical addresses, and there is no additional memory protection beyond the physical memory protection scheme\. To select MODE=Bare, software must write zero to the remaining fields of ``satp`` \(bits 30–0\)\. Attempting to select MODE=Bare with a nonzero pattern in the remaining fields has an ``unspecified`` effect on the value that the remaining fields assume and an ``unspecified`` effect on address translation and protection behavior\. ``Enumerated Values``( "Bare" :0)( "Sv32" :1)'\n' + - This bitfield selects the current address-translation scheme. When MODE=Bare, supervisor virtual addresses are equal to supervisor physical addresses, and there is no additional memory protection beyond the physical memory protection scheme. To select MODE=Bare, software must write zero to the remaining fields of ``satp`` \(bits 30–0\). Attempting to select MODE=Bare with a nonzero pattern in the remaining fields has an ``unspecified`` effect on the value that the remaining fields assume and an ``unspecified`` effect on address translation and protection behavior. ``Enumerated Values`` ( "Bare" :0)( "Sv32" :1)'\n' * - 30:22 - ASID - Address space identifier - read-write,WARL - - This bitfield facilitates address\-translation fences on a per\-address\-space basis\. + - This bitfield facilitates address-translation fences on a per-address-space basis. * - 21:0 - PPN - Physical page number - read-write,WARL - - This bitfield holds the root page table, i\.e\., its supervisor physical address divided by 4 KiB\. + - This bitfield holds the root page table, i.e., its supervisor physical address divided by 4 KiB. Machine Status Register -------------------------- @@ -631,7 +631,7 @@ The ``mstatus`` register keeps track of and controls the hart’s current operat - SD - State dirty - read-only - - The SD bit is a read\-only bit that summarizes whether either the FS, VS, or XS fields signal the presence of some dirty state that will require saving extended user context to memory\. If FS, XS, and VS are all read\-only zero, then SD is also always zero\. + - The SD bit is a read-only bit that summarizes whether either the FS, VS, or XS fields signal the presence of some dirty state that will require saving extended user context to memory. If FS, XS, and VS are all read-only zero, then SD is also always zero. * - 30:23 - WPRI3 - Reserved writes preserve values, reads ignore value @@ -641,72 +641,72 @@ The ``mstatus`` register keeps track of and controls the hart’s current operat - TSR - Trap sret - read-write,WARL - - The TSR bit supports intercepting the supervisor exception return instruction, SRET\. When TSR=1, attempts to execute SRET while executing in S\-mode will raise an illegal instruction exception\. When TSR=0, this operation is permitted in S\-mode\. + - The TSR bit supports intercepting the supervisor exception return instruction, SRET. When TSR=1, attempts to execute SRET while executing in S-mode will raise an illegal instruction exception. When TSR=0, this operation is permitted in S-mode. * - 21 - TW - Timeout wait - read-write,WARL - - The TW bit supports intercepting the WFI instruction\. When TW=0, the WFI instruction may execute in lower privilege modes when not prevented for some other reason\. When TW=1, then if WFI is executed in any less\-privileged mode, and it does not complete within an implementation\-specific, bounded time limit, the WFI instruction causes an illegal instruction exception\. The time limit may always be 0, in which case WFI always causes an illegal instruction exception in less\-privileged modes when TW=1\. + - The TW bit supports intercepting the WFI instruction. When TW=0, the WFI instruction may execute in lower privilege modes when not prevented for some other reason. When TW=1, then if WFI is executed in any less-privileged mode, and it does not complete within an implementation-specific, bounded time limit, the WFI instruction causes an illegal instruction exception. The time limit may always be 0, in which case WFI always causes an illegal instruction exception in less-privileged modes when TW=1. * - 20 - TVM - Trap virtual memory - read-write,WARL - - The TVM bit supports intercepting supervisor virtual\-memory management operations\. When TVM=1, attempts to read or write the ``satp`` CSR or execute an SFENCE\.VMA or SINVAL\.VMA instruction while executing in S\-mode will raise an illegal instruction exception\. When TVM=0, these operations are permitted in S\-mode\. + - The TVM bit supports intercepting supervisor virtual-memory management operations. When TVM=1, attempts to read or write the ``satp`` CSR or execute an SFENCE.VMA or SINVAL.VMA instruction while executing in S-mode will raise an illegal instruction exception. When TVM=0, these operations are permitted in S-mode. * - 19 - MXR - Make executable readable - read-write - - The MXR bit modifies the privilege with which loads access virtual memory\. When MXR=0, only loads from pages marked readable will succeed\. When MXR=1, loads from pages marked either readable or executable \(R=1 or X=1\) will succeed\. MXR has no effect when page\-based virtual memory is not in effect\. + - The MXR bit modifies the privilege with which loads access virtual memory. When MXR=0, only loads from pages marked readable will succeed. When MXR=1, loads from pages marked either readable or executable \(R=1 or X=1\) will succeed. MXR has no effect when page-based virtual memory is not in effect. * - 18 - SUM - Supervisor user memory - read-write - - The SUM \(permit Supervisor User Memory access\) bit modifies the privilege with which S\-mode loads and stores access virtual memory\. When SUM=0, S\-mode memory accesses to pages that are accessible by U\-mode will fault\. When SUM=1, these accesses are permitted\. SUM has no effect when page\-based virtual memory is not in effect\. Note that, while SUM is ordinarily ignored when not executing in S\-mode, it is in effect when MPRV=1 and MPP=S\. + - The SUM \(permit Supervisor User Memory access\) bit modifies the privilege with which S-mode loads and stores access virtual memory. When SUM=0, S-mode memory accesses to pages that are accessible by U-mode will fault. When SUM=1, these accesses are permitted. SUM has no effect when page-based virtual memory is not in effect. Note that, while SUM is ordinarily ignored when not executing in S-mode, it is in effect when MPRV=1 and MPP=S. * - 17 - MPRV - Modify privilege - read-write - - The MPRV \(Modify PRiVilege\) bit modifies the effective privilege mode, i\.e\., the privilege level at which loads and stores execute\. When MPRV=0, loads and stores behave as normal, using the translation and protection mechanisms of the current privilege mode\. When MPRV=1, load and store memory addresses are translated and protected, and endianness is applied, as though the current privilege mode were set to MPP\. Instruction address\-translation and protection are unaffected by the setting of MPRV\. + - The MPRV \(Modify PRiVilege\) bit modifies the effective privilege mode, i.e., the privilege level at which loads and stores execute. When MPRV=0, loads and stores behave as normal, using the translation and protection mechanisms of the current privilege mode. When MPRV=1, load and store memory addresses are translated and protected, and endianness is applied, as though the current privilege mode were set to MPP. Instruction address-translation and protection are unaffected by the setting of MPRV. * - 16:15 - XS - Extension state - read-only - - The XS field is used to reduce the cost of context save and restore by setting and tracking the current state of the user\-mode extensions\. The XS field encodes the status of the additional user\-mode extensions and associated state\. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required\. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process\. ``Enumerated Values``( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' + - The XS field is used to reduce the cost of context save and restore by setting and tracking the current state of the user-mode extensions. The XS field encodes the status of the additional user-mode extensions and associated state. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process. ``Enumerated Values`` ( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' * - 14:13 - FS - Floating-point unit state - read-write,WARL - - The FS field is used to reduce the cost of context save and restore by setting and tracking the current state of the floating\-point unit\. The FS field encodes the status of the floating\-point unit state, including the floating\-point registers ``f0–f31`` and the CSRs ``fcsr``, ``frm``, and ``fflags``\. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required\. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process\. ``Enumerated Values``( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' + - The FS field is used to reduce the cost of context save and restore by setting and tracking the current state of the floating-point unit. The FS field encodes the status of the floating-point unit state, including the floating-point registers ``f0–f31`` and the CSRs ``fcsr``, ``frm``, and ``fflags``. This field can be checked by a context switch routine to quickly determine whether a state save or restore is required. If a save or restore is required, additional instructions and CSRs are typically required to effect and optimize the process. ``Enumerated Values`` ( "Off" :0)( "Initial" :1)( "Clean" :2)( "Dirty" :3)'\n' * - 12:11 - MPP - Machine mode prior privilege - read-write - - Holds the previous privilege mode for machine mode\. + - Holds the previous privilege mode for machine mode. * - 10:9 - VS - Vector extension state - read-only,WARL - - V extension is not supported VS=0\. + - V extension is not supported VS=0. * - 8 - SPP - Supervisor mode prior privilege - read-write - - Holds the previous privilege mode for supervisor mode\. + - Holds the previous privilege mode for supervisor mode. * - 7 - MPIE - Machine mode prior interrupt enable - read-write - - Indicates whether machine interrupts were enabled prior to trapping into machine mode\. + - Indicates whether machine interrupts were enabled prior to trapping into machine mode. * - 6 - UBE - User breakpoint enable - read-write,WARL - - UBE controls whether explicit load and store memory accesses made from U\-mode are little\-endian \(UBE=0\) or big\-endian \(UBE=1\)\. + - UBE controls whether explicit load and store memory accesses made from U-mode are little-endian \(UBE=0\) or big-endian \(UBE=1\). * - 5 - SPIE - Supervisor mode prior interrupt enable - read-write - - Indicates whether supervisor interrupts were enabled prior to trapping into supervisor mode\. + - Indicates whether supervisor interrupts were enabled prior to trapping into supervisor mode. * - 4 - WPRI2 - Reserved writes preserve values, reads ignore value @@ -716,7 +716,7 @@ The ``mstatus`` register keeps track of and controls the hart’s current operat - MIE - Machine mode interrupt enable - read-write - - Global interrupt\-enable bit for Machine mode\. + - Global interrupt-enable bit for Machine mode. * - 2 - WPRI1 - Reserved writes preserve values, reads ignore value @@ -726,7 +726,7 @@ The ``mstatus`` register keeps track of and controls the hart’s current operat - SIE - Supervisor mode interrupt enable - read-write - - Global interrupt\-enable bit for Supervisor mode\. + - Global interrupt-enable bit for Supervisor mode. * - 0 - WPRI0 - Reserved writes preserve values, reads ignore value @@ -754,15 +754,15 @@ The misa CSR is reporting the ISA supported by the hart. - MXL - Machine xlen - read-write,WARL - - The MXL field encodes the native base integer ISA width\. ``Enumerated Values``( "XLEN_32" :1)( "XLEN_64" :2)( "XLEN_128" :3)'\n' + - The MXL field encodes the native base integer ISA width. ``Enumerated Values`` ( "XLEN_32" :1)( "XLEN_64" :2)( "XLEN_128" :3)'\n' * - 25:0 - Extensions - Extensions - read-write,WARL - - The Extensions field encodes the presence of the standard extensions, with a single bit per letter of the alphabet\. ``Enumerated Values``( "A" :1)( "B" :2)( "C" :4)( "D" :8)( "E" :16)( "F" :32)( "G" :64)( "H" :128)( "I" :256)( "J" :512)( "K" :1024)( "L" :2048)( "M" :4096)( "N" :8192)( "O" :16384)( "P" :32768)( "Q" :65536)( "R" :131072)( "S" :262144)( "T" :524288)( "U" :1048576)( "V" :2097152)( "W" :4194304)( "X" :8388608)( "Y" :16777216)( "Z" :33554432)'\n' + - The Extensions field encodes the presence of the standard extensions, with a single bit per letter of the alphabet. ``Enumerated Values`` ( "A" :1)( "B" :2)( "C" :4)( "D" :8)( "E" :16)( "F" :32)( "G" :64)( "H" :128)( "I" :256)( "J" :512)( "K" :1024)( "L" :2048)( "M" :4096)( "N" :8192)( "O" :16384)( "P" :32768)( "Q" :65536)( "R" :131072)( "S" :262144)( "T" :524288)( "U" :1048576)( "V" :2097152)( "W" :4194304)( "X" :8388608)( "Y" :16777216)( "Z" :33554432)'\n' Machine Exception Delegation Register --------------------------- +------------------------------------- AddressOffset: 'h302 -------------------------- Description: @@ -782,10 +782,10 @@ Provides individual read/write bits to indicate that certain exceptions should b - Synchronous_Exceptions - Synchronous exceptions - read-write,WARL - - Provides individual read/write bits to indicate that certain exceptions should be processed directly by a lower privilege level\. + - Provides individual read/write bits to indicate that certain exceptions should be processed directly by a lower privilege level. Machine Interrupt Delegation Register --------------------------- +------------------------------------- AddressOffset: 'h303 -------------------------- Description: @@ -805,10 +805,10 @@ Provides individual read/write bits to indicate that certain interrupts should b - Interrupts - Interrupts - read-write - - Provides individual read/write bits to indicate that certain interrupts should be processed directly by a lower privilege level\. + - Provides individual read/write bits to indicate that certain interrupts should be processed directly by a lower privilege level. Machine Interrupt Enable Register --------------------------- +--------------------------------- AddressOffset: 'h304 -------------------------- Description: @@ -828,70 +828,70 @@ This register contains machine interrupt enable bits. - Reserved_12 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 11 - MEIE - M-mode external interrupt enable - read-write,WARL - - Enables machine mode external interrupts\. + - Enables machine mode external interrupts. * - 10 - Reserved_10 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 9 - SEIE - S-mode external interrupt enable - read-write,WARL - - Enables supervisor mode external interrupts\. + - Enables supervisor mode external interrupts. * - 8 - UEIE - - read-write,WARL - - enables U\-mode external interrupts\.``Legal Values:``0\. + - enables U-mode external interrupts.``Legal Values:`` 0. * - 7 - MTIE - M-mode timer interrupt enable - read-write,WARL - - Enables machine mode timer interrupts\. + - Enables machine mode timer interrupts. * - 6 - Reserved_6 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 5 - STIE - S-mode timer interrupt enable - read-write,WARL - - Enables supervisor mode timer interrupts\. + - Enables supervisor mode timer interrupts. * - 4 - UTIE - - read-write,WARL - - timer interrupt\-enable bit for U\-mode\.``Legal Values:``0\. + - timer interrupt-enable bit for U-mode.``Legal Values:`` 0. * - 3 - MSIE - M-mode software interrupt enable - read-write - - Enables machine mode software interrupts\. + - Enables machine mode software interrupts. * - 2 - Reserved_2 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 1 - SSIE - S-mode software interrupt enable - read-write,WARL - - Enables supervisor mode software interrupts\. + - Enables supervisor mode software interrupts. * - 0 - USIE - - read-write,WARL - - enable U\-mode software interrrupts\.``Legal Values:``0\. + - enable U-mode software interrrupts.``Legal Values:`` 0. Machine Trap Vector Register --------------------------- +---------------------------- AddressOffset: 'h305 -------------------------- Description: @@ -911,15 +911,15 @@ This register holds trap vector configuration, consisting of a vector base addre - BASE - - read-write,WARL - - The BASE field in mtvec is a WARL field that can hold any valid virtual or physical address, subject to the following alignment constraints: when MODE=Direct the address must be 4\-byte aligned, and when MODE=Vectored the address must be 256\-byte aligned\. + - The BASE field in mtvec is a WARL field that can hold any valid virtual or physical address, subject to the following alignment constraints: when MODE=Direct the address must be 4-byte aligned, and when MODE=Vectored the address must be 256-byte aligned. * - 1:0 - MODE - - read-write,WARL - - Imposes additional alignment constraints on the value in the BASE field\.``Legal Values :``0,1\. ``Enumerated Values``( "Direct" :0)( "Vectored" :1)( "Reserved_2" :2)( "Reserved_3" :3)'\n' + - Imposes additional alignment constraints on the value in the BASE field.``Legal Values :`` 0,1. ``Enumerated Values`` ( "Direct" :0)( "Vectored" :1)( "Reserved_2" :2)( "Reserved_3" :3)'\n' Machine Counter Enable Register --------------------------- +------------------------------- AddressOffset: 'h306 -------------------------- Description: @@ -939,25 +939,25 @@ This register controls the availability of the hardware performance-monitoring c - HPMn - Hpmcountern - read-write,WARL - - When HPMn is clear, attempts to read the ``hpmcountern`` register while executing in S\-mode or U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode\. + - When HPMn is clear, attempts to read the ``hpmcountern`` register while executing in S-mode or U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode. * - 2 - IR - Instret - read-write - - When IR is clear, attempts to read the ``instret`` register while executing in S\-mode or U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode\. + - When IR is clear, attempts to read the ``instret`` register while executing in S-mode or U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode. * - 1 - TM - Time - read-write - - When TM is clear, attempts to read the ``time`` register while executing in S\-mode or U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode\. + - When TM is clear, attempts to read the ``time`` register while executing in S-mode or U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode. * - 0 - CY - Cycle - read-write - - When CY is clear, attempts to read the ``cycle`` register while executing in S\-mode or U\-mode will cause an illegal instruction exception\. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode\. + - When CY is clear, attempts to read the ``cycle`` register while executing in S-mode or U-mode will cause an illegal instruction exception. When this bit is set, access to the corresponding register is permitted in the next implemented privilege mode. Hardware Performance-Monitoring Event Selector Register --------------------------- +------------------------------------------------------- AddressOffset: 'h323 -------------------------- Description: @@ -977,7 +977,7 @@ This register controls which event causes the corresponding counter to increment - mhpmevent - - read-write,WARL - - This register controls which event causes the corresponding counter to increment\. + - This register controls which event causes the corresponding counter to increment. Machine Scratch Register -------------------------- @@ -1000,10 +1000,10 @@ This register is used to hold a value dedicated to Machine mode. Attempts to acc - mscratch - Machine scratch - read-write - - This register is used to hold a value dedicated to Machine mode\. Attempts to access without Machine mode level raise illegal instruction exception\. + - This register is used to hold a value dedicated to Machine mode. Attempts to access without Machine mode level raise illegal instruction exception. Machine Exception Program Counter Register --------------------------- +------------------------------------------ AddressOffset: 'h341 -------------------------- Description: @@ -1023,7 +1023,7 @@ This register must be able to hold all valid virtual addresses. - mepc - Machine exception program counter - read-write,WARL - - This register must be able to hold all valid virtual addresses\. + - This register must be able to hold all valid virtual addresses. Machine Cause Register -------------------------- @@ -1140,15 +1140,15 @@ Machine cause register (``mcause``) values after trap are shown in the following - Interrupt - Interrupt - read-write - - This bit is set if the trap was caused by an interrupt\. + - This bit is set if the trap was caused by an interrupt. * - 30:0 - exception_code - Exception code - read-write,WLRL - - This field contains a code identifying the last exception or interrupt\. + - This field contains a code identifying the last exception or interrupt. Machine Trap Value Register --------------------------- +--------------------------- AddressOffset: 'h343 -------------------------- Description: @@ -1168,10 +1168,10 @@ When a trap is taken into M-mode, mtval is either set to zero or written with ex - mtval - Machine trap value - read-write,WARL - - When a trap is taken into M\-mode, mtval is either set to zero or written with exception\-specific information to assist software in handling the trap\. + - When a trap is taken into M-mode, mtval is either set to zero or written with exception-specific information to assist software in handling the trap. Machine Interrupt Pending Register --------------------------- +---------------------------------- AddressOffset: 'h344 -------------------------- Description: @@ -1191,70 +1191,70 @@ This register contains machine interrupt pending bits. - Reserved_12 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 11 - MEIP - M-mode external interrupt pending - read-only - - The interrupt\-pending bit for machine\-level external interrupts\. + - The interrupt-pending bit for machine-level external interrupts. * - 10 - Reserved_10 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 9 - SEIP - S-mode external interrupt pending - read-write - - The interrupt\-pending bit for supervisor\-level external interrupts\. + - The interrupt-pending bit for supervisor-level external interrupts. * - 8 - UEIP - - read-write - - enables external interrupts\.``Legal Values:``0\. + - enables external interrupts.``Legal Values:`` 0. * - 7 - MTIP - M-mode timer interrupt pending - read-only - - The interrupt\-pending bit for machine\-level timer interrupts\. + - The interrupt-pending bit for machine-level timer interrupts. * - 6 - Reserved_6 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 5 - STIP - S-mode timer interrupt pending - read-write - - The interrupt\-pending bit for supervisor\-level timer interrupts\. + - The interrupt-pending bit for supervisor-level timer interrupts. * - 4 - UTIP - - read-write - - Correspond to timer interrupt\-pending bits for user interrupt\.``Legal Values:``0\. + - Correspond to timer interrupt-pending bits for user interrupt.``Legal Values:`` 0. * - 3 - MSIP - M-mode software interrupt pending - read-only - - The interrupt\-pending bit for machine\-level software interrupts\. + - The interrupt-pending bit for machine-level software interrupts. * - 2 - Reserved_2 - Reserved - read-write,WARL - - Reserved\.``Legal Values:``0\. + - Reserved.``Legal Values:`` 0. * - 1 - SSIP - S-mode software interrupt pending - read-write - - The interrupt\-pending bit for supervisor\-level software interrupts\. + - The interrupt-pending bit for supervisor-level software interrupts. * - 0 - USIP - - read-write - - A hart to directly write its own USIP bits when running in the appropriate mode\.``Legal Values:``0\. + - A hart to directly write its own USIP bits when running in the appropriate mode.``Legal Values:`` 0. Physical Memory Protection Config 0 Register --------------------------- +-------------------------------------------- AddressOffset: 'h3A0 -------------------------- Description: @@ -1274,25 +1274,25 @@ Holds configuration 0-3. - pmp3cfg - Physical memory protection 3 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 23:16 - pmp2cfg - Physical memory protection 2 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 15:8 - pmp1cfg - Physical memory protection 1 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 7:0 - pmp0cfg - Physical memory protection 0 config - read-write - - Holds the configuration\. + - Holds the configuration. Physical Memory Protection Config 1 Register --------------------------- +-------------------------------------------- AddressOffset: 'h3A1 -------------------------- Description: @@ -1312,25 +1312,25 @@ Holds configuration 4-7. - pmp7cfg - Physical memory protection 7 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 23:16 - pmp6cfg - Physical memory protection 6 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 15:8 - pmp5cfg - Physical memory protection 5 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 7:0 - pmp4cfg - Physical memory protection 4 config - read-write - - Holds the configuration\. + - Holds the configuration. Physical Memory Protection Config 2 Register --------------------------- +-------------------------------------------- AddressOffset: 'h3A2 -------------------------- Description: @@ -1350,25 +1350,25 @@ Holds configuration 8-11. - pmp11cfg - Physical memory protection 11 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 23:16 - pmp10cfg - Physical memory protection 10 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 15:8 - pmp9cfg - Physical memory protection 9 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 7:0 - pmp8cfg - Physical memory protection 8 config - read-write - - Holds the configuration\. + - Holds the configuration. Physical Memory Protection Config 3 Register --------------------------- +-------------------------------------------- AddressOffset: 'h3A3 -------------------------- Description: @@ -1388,25 +1388,25 @@ Holds configuration 12-15. - pmp15cfg - Physical memory protection 15 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 23:16 - pmp14cfg - Physical memory protection 14 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 15:8 - pmp13cfg - Physical memory protection 13 config - read-write - - Holds the configuration\. + - Holds the configuration. * - 7:0 - pmp12cfg - Physical memory protection 12 config - read-write - - Holds the configuration\. + - Holds the configuration. Physical Memory Protection Address Register --------------------------- +------------------------------------------- AddressOffset: 'h3B0 -------------------------- Description: @@ -1426,7 +1426,7 @@ Address register for Physical Memory Protection. - address - Address - read-write,WARL - - Address register for Physical Memory Protection\. + - Address register for Physical Memory Protection. Instuction Cache Register -------------------------- @@ -1495,7 +1495,7 @@ This register determines which trigger is accessible through the other trigger r - index - Index - read-write - - This register determines which trigger is accessible through the other trigger registers\. + - This register determines which trigger is accessible through the other trigger registers. Trigger Data 1 Register -------------------------- @@ -1518,17 +1518,17 @@ Trigger-specific data. - type - Type - read-write - - Type of trigger\. ``Enumerated Values``( "no_trigger" :0)( "legacy_address_match_trigger" :1)( "address_data_match_trigger" :2)( "instruction_count_trigger" :3)( "interrupt_trigger" :4)( "exception_trigger" :5)( "Reserved_6" :6)( "Reserved_7" :7)( "Reserved_8" :8)( "Reserved_9" :9)( "Reserved_10" :10)( "Reserved_11" :11)( "Reserved_12" :12)( "Reserved_13" :13)( "Reserved_14" :14)( "trigger_exists" :15)'\n' + - Type of trigger. ``Enumerated Values`` ( "no_trigger" :0)( "legacy_address_match_trigger" :1)( "address_data_match_trigger" :2)( "instruction_count_trigger" :3)( "interrupt_trigger" :4)( "exception_trigger" :5)( "Reserved_6" :6)( "Reserved_7" :7)( "Reserved_8" :8)( "Reserved_9" :9)( "Reserved_10" :10)( "Reserved_11" :11)( "Reserved_12" :12)( "Reserved_13" :13)( "Reserved_14" :14)( "trigger_exists" :15)'\n' * - 27 - dmode - Debug mode - read-write - - This bit is only writable from Debug Mode\. ``Enumerated Values``( "D_and_M_mode" :0)( "M_mode_only" :1)'\n' + - This bit is only writable from Debug Mode. ``Enumerated Values`` ( "D_and_M_mode" :0)( "M_mode_only" :1)'\n' * - 26:0 - data - Data - read-write - - Trigger\-specific data\. + - Trigger-specific data. Trigger Data 2 Register -------------------------- @@ -1551,7 +1551,7 @@ Trigger-specific data. - data - Data - read-write - - Trigger\-specific data\. + - Trigger-specific data. Trigger Data 3 Register -------------------------- @@ -1574,7 +1574,7 @@ Trigger-specific data. - data - Data - read-write - - Trigger\-specific data\. + - Trigger-specific data. Trigger Info Register -------------------------- @@ -1597,10 +1597,10 @@ Shows trigger information. - info - Info - read-only - - Shows trigger information\. + - Shows trigger information. Debug Control and Status Register --------------------------- +--------------------------------- AddressOffset: 'h7B0 -------------------------- Description: @@ -1620,62 +1620,62 @@ Debug ontrol and status register. - xdebugver - Debug version - read-only - - Shows the version of the debug support\. ``Enumerated Values``( "no_ext_debug" :0)( "ext_debug_spec" :4)( "ext_debug_no_spec" :15)'\n' + - Shows the version of the debug support. ``Enumerated Values`` ( "no_ext_debug" :0)( "ext_debug_spec" :4)( "ext_debug_no_spec" :15)'\n' * - 15 - ebreakm - Environment breakpoint m-mode - read-write - - Shows the behvior of the ``ebreak`` instruction in machine mode\. ``Enumerated Values``( "break_as_spec" :0)( "break_to_debug" :1)'\n' + - Shows the behvior of the ``ebreak`` instruction in machine mode. ``Enumerated Values`` ( "break_as_spec" :0)( "break_to_debug" :1)'\n' * - 13 - ebreaks - Environment breakpoint s-mode - read-write - - Shows the behvior of the ``ebreak`` instruction in supervisor mode\. ``Enumerated Values``( "break_as_spec" :0)( "break_to_debug" :1)'\n' + - Shows the behvior of the ``ebreak`` instruction in supervisor mode. ``Enumerated Values`` ( "break_as_spec" :0)( "break_to_debug" :1)'\n' * - 12 - ebreaku - Environment breakpoint u-mode - read-write - - Shows the behvior of the ``ebreak`` instruction in user mode\. ``Enumerated Values``( "break_as_spec" :0)( "break_to_debug" :1)'\n' + - Shows the behvior of the ``ebreak`` instruction in user mode. ``Enumerated Values`` ( "break_as_spec" :0)( "break_to_debug" :1)'\n' * - 11 - stepie - Stepping interrupt enable - read-write,WARL - - Enables/disables interrupts for single stepping\. The debugger must not change the value of this bit while the hart is running\. ``Enumerated Values``( "disabled" :0)( "enabled" :1)'\n' + - Enables/disables interrupts for single stepping. The debugger must not change the value of this bit while the hart is running. ``Enumerated Values`` ( "disabled" :0)( "enabled" :1)'\n' * - 10 - stopcount - Stop counters - read-write,WARL - - Starts/stops incrementing counters in debug mode\. ``Enumerated Values``( "increment_counters" :0)( "dont_increment_counters" :1)'\n' + - Starts/stops incrementing counters in debug mode. ``Enumerated Values`` ( "increment_counters" :0)( "dont_increment_counters" :1)'\n' * - 9 - stoptime - Stop timers - read-write,WARL - - Starts/stops incrementing timers in debug mode\. ``Enumerated Values``( "increment_timers" :0)( "dont_increment_timers" :1)'\n' + - Starts/stops incrementing timers in debug mode. ``Enumerated Values`` ( "increment_timers" :0)( "dont_increment_timers" :1)'\n' * - 8:6 - cause - Cause - read-write - - Explains why Debug Mode was entered\. When there are multiple reasons to enter Debug Mode in a single cycle, hardware sets ``cause`` to the cause with the highest priority\. ``Enumerated Values``( "ebreak_instruction" :1)( "trigger_module" :2)( "debugger_request" :3)( "single_step" :4)( "reset_halt" :5)'\n' + - Explains why Debug Mode was entered. When there are multiple reasons to enter Debug Mode in a single cycle, hardware sets ``cause`` to the cause with the highest priority. ``Enumerated Values`` ( "ebreak_instruction" :1)( "trigger_module" :2)( "debugger_request" :3)( "single_step" :4)( "reset_halt" :5)'\n' * - 4 - mprven - Modify privilege enable - read-write,WARL - - Enables/disables the modify privilege setting in debug mode\. ``Enumerated Values``( "disable_mprv" :0)( "enable_mprv" :1)'\n' + - Enables/disables the modify privilege setting in debug mode. ``Enumerated Values`` ( "disable_mprv" :0)( "enable_mprv" :1)'\n' * - 3 - nmip - Non-maskable interrupt pending - read-only - - When set, there is a Non\-Maskable\-Interrupt \(NMI\) pending for the hart\. + - When set, there is a Non-Maskable-Interrupt \(NMI\) pending for the hart. * - 2 - step - Step - read-write - - When set and not in Debug Mode, the hart will only execute a single instruction and then enter Debug Mode\. If the instruction does not complete due to an exception, the hart will immediately enter Debug Mode before executing the trap handler, with appropriate exception registers set\. The debugger must not change the value of this bit while the hart is running\. + - When set and not in Debug Mode, the hart will only execute a single instruction and then enter Debug Mode. If the instruction does not complete due to an exception, the hart will immediately enter Debug Mode before executing the trap handler, with appropriate exception registers set. The debugger must not change the value of this bit while the hart is running. * - 1:0 - prv - Privilege level - read-write - - Contains the privilege level the hart was operating in when Debug Mode was entered\. A debugger can change this value to change the hart’s privilege level when exiting Debug Mode\. ``Enumerated Values``( "User" :0)( "Supervisor" :1)( "Machine" :3)'\n' + - Contains the privilege level the hart was operating in when Debug Mode was entered. A debugger can change this value to change the hart’s privilege level when exiting Debug Mode. ``Enumerated Values`` ( "User" :0)( "Supervisor" :1)( "Machine" :3)'\n' Debug PC Register -------------------------- @@ -1700,10 +1700,10 @@ When resuming, the hart’s PC is updated to the virtual address stored in ``dpc - dpc - - read-write - - Upon entry to debug mode, ``dpc`` is updated with the virtual address of the next instruction to be executed\. When resuming, the hart’s PC is updated to the virtual address stored in ``dpc``\. A debugger may write ``dpc`` to change where the hart resumes\. + - Upon entry to debug mode, ``dpc`` is updated with the virtual address of the next instruction to be executed. When resuming, the hart’s PC is updated to the virtual address stored in ``dpc``. A debugger may write ``dpc`` to change where the hart resumes. Debug Scratch Register Register --------------------------- +------------------------------- AddressOffset: 'h7B2 -------------------------- Description: @@ -1723,9 +1723,9 @@ Optional scratch register. A debugger must not write to this register unless ``h - dscratch - - read-write - - Optional scratch register\. A debugger must not write to this register unless ``hartinfo`` explicitly mentions it\. + - Optional scratch register. A debugger must not write to this register unless ``hartinfo`` explicitly mentions it. - Register +Register -------------------------- AddressOffset: 'h800 -------------------------- @@ -1749,7 +1749,7 @@ Floating Point Custom CSR - Floating Point Custom CSR M-mode Cycle counter Register --------------------------- +----------------------------- AddressOffset: 'hB00 -------------------------- Description: @@ -1769,10 +1769,10 @@ Counts the number of clock cycles executed by the processor core on which the ha - count - Count - read-write - - Counts the number of clock cycles executed by the processor core on which the hart is running\. + - Counts the number of clock cycles executed by the processor core on which the hart is running. Machine Instruction Retired counter Register --------------------------- +-------------------------------------------- AddressOffset: 'hB02 -------------------------- Description: @@ -1792,10 +1792,10 @@ Counts the number of instructions the hart has retired. - count - Count - read-write - - Counts the number of instructions the hart has retired\. + - Counts the number of instructions the hart has retired. L1 Inst Cache Miss Register --------------------------- +--------------------------- AddressOffset: 'hB03 -------------------------- Description: @@ -1815,10 +1815,10 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. L1 Data Cache Miss Register --------------------------- +--------------------------- AddressOffset: 'hB04 -------------------------- Description: @@ -1838,7 +1838,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. ITLB Miss Register -------------------------- @@ -1861,7 +1861,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. DTLB Miss Register -------------------------- @@ -1884,7 +1884,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Loads Register -------------------------- @@ -1907,7 +1907,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Stores Register -------------------------- @@ -1930,7 +1930,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Taken Exceptions Register -------------------------- @@ -1953,7 +1953,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Exception Return Register -------------------------- @@ -1976,10 +1976,10 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Software Change of PC Register --------------------------- +------------------------------ AddressOffset: 'hB0B -------------------------- Description: @@ -1999,7 +1999,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Procedure Call Register -------------------------- @@ -2022,7 +2022,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Procedure Return Register -------------------------- @@ -2045,10 +2045,10 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Branch mis-predicted Register --------------------------- +----------------------------- AddressOffset: 'hB0E -------------------------- Description: @@ -2068,7 +2068,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Scoreboard Full Register -------------------------- @@ -2091,10 +2091,10 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Instruction Fetch Queue Empty Register --------------------------- +-------------------------------------- AddressOffset: 'hB10 -------------------------- Description: @@ -2114,10 +2114,10 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Upper 32-bits of M-mode Cycle counter Register --------------------------- +---------------------------------------------- AddressOffset: 'hB80 -------------------------- Description: @@ -2137,10 +2137,10 @@ Counts the number of clock cycles executed by the processor core on which the ha - count - Count - read-write - - Counts the number of clock cycles executed by the processor core on which the hart is running\. + - Counts the number of clock cycles executed by the processor core on which the hart is running. Upper 32-bits of Machine Instruction Retired counter Register --------------------------- +------------------------------------------------------------- AddressOffset: 'hB82 -------------------------- Description: @@ -2160,10 +2160,10 @@ Counts the number of instructions the hart has retired. - count - Count - read-write - - Counts the number of instructions the hart has retired\. + - Counts the number of instructions the hart has retired. Upper 32-bits of Machine Hardware Performance Monitoring Counter Register --------------------------- +------------------------------------------------------------------------- AddressOffset: 'hB83 -------------------------- Description: @@ -2183,7 +2183,7 @@ Hardware performance event counter. - count - Count - read-write - - Hardware performance event counter\. + - Hardware performance event counter. Cycle counter Register -------------------------- @@ -2206,7 +2206,7 @@ Cycle counter for RDCYCLE instruction. - count - Count - read-only - - Cycle counter for RDCYCLE instruction\. + - Cycle counter for RDCYCLE instruction. Timer Register -------------------------- @@ -2229,10 +2229,10 @@ Timer for RDTIME instruction. - count - Count - read-only - - Timer for RDTIME instruction\. + - Timer for RDTIME instruction. Instruction Retired counter Register --------------------------- +------------------------------------ AddressOffset: 'hC02 -------------------------- Description: @@ -2252,10 +2252,10 @@ Instructions-retired counter for RDINSTRET instruction - count - Count - read-only - - Instructions\-retired counter for RDINSTRET instruction + - Instructions-retired counter for RDINSTRET instruction L1 Inst Cache Miss Register --------------------------- +--------------------------- AddressOffset: 'hC03 -------------------------- Description: @@ -2275,10 +2275,10 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. L1 Data Cache Miss Register --------------------------- +--------------------------- AddressOffset: 'hC04 -------------------------- Description: @@ -2298,7 +2298,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. ITLB Miss Register -------------------------- @@ -2321,7 +2321,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. DTLB Miss Register -------------------------- @@ -2344,7 +2344,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Loads Register -------------------------- @@ -2367,7 +2367,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Stores Register -------------------------- @@ -2390,7 +2390,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Taken Exceptions Register -------------------------- @@ -2413,7 +2413,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Exception Return Register -------------------------- @@ -2436,10 +2436,10 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Software Change of PC Register --------------------------- +------------------------------ AddressOffset: 'hC0B -------------------------- Description: @@ -2459,7 +2459,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Procedure Call Register -------------------------- @@ -2482,7 +2482,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Procedure Return Register -------------------------- @@ -2505,10 +2505,10 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Branch mis-predicted Register --------------------------- +----------------------------- AddressOffset: 'hC0E -------------------------- Description: @@ -2528,7 +2528,7 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Scoreboard Full Register -------------------------- @@ -2551,10 +2551,10 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Instruction Fetch Queue Empty Register --------------------------- +-------------------------------------- AddressOffset: 'hC10 -------------------------- Description: @@ -2574,10 +2574,10 @@ Hardware performance event counter. - count - Count - read-only - - Hardware performance event counter\. + - Hardware performance event counter. Upper 32-bits of Cycle counter Register --------------------------- +--------------------------------------- AddressOffset: 'hC80 -------------------------- Description: @@ -2597,10 +2597,10 @@ Cycle counter for RDCYCLE instruction. - count - Count - read-only - - Cycle counter for RDCYCLE instruction\. + - Cycle counter for RDCYCLE instruction. Upper 32-bit of Timer Register --------------------------- +------------------------------ AddressOffset: 'hC81 -------------------------- Description: @@ -2620,10 +2620,10 @@ Timer for RDTIME instruction. - count - Count - read-only - - Timer for RDTIME instruction\. + - Timer for RDTIME instruction. Upper 32-bits of Instruction Retired counter Register --------------------------- +----------------------------------------------------- AddressOffset: 'hC82 -------------------------- Description: @@ -2643,7 +2643,7 @@ Instructions-retired counter for RDINSTRET instruction - count - Count - read-only - - Instructions\-retired counter for RDINSTRET instruction + - Instructions-retired counter for RDINSTRET instruction Machine Vendor ID Register -------------------------- @@ -2666,15 +2666,15 @@ This register provids the JEDEC manufacturer ID of the provider of the core. - bank - Bank - read-only - - Contain encoding for number of one\-byte continuation codes discarding the parity bit\. + - Contain encoding for number of one-byte continuation codes discarding the parity bit. * - 6:0 - offset - Offset - read-only - - Contain encording for the final byte discarding the parity bit\. + - Contain encording for the final byte discarding the parity bit. Machine Architecture ID Register --------------------------- +-------------------------------- AddressOffset: 'hF12 -------------------------- Description: @@ -2694,10 +2694,10 @@ This register encodes the base microarchitecture of the hart. - architecture_id - Architecture id - read-only - - This register encodes the base microarchitecture of the hart\. + - This register encodes the base microarchitecture of the hart. Machine Implementation ID Register --------------------------- +---------------------------------- AddressOffset: 'hF13 -------------------------- Description: @@ -2717,10 +2717,10 @@ Provides a unique encoding of the version of the processor implementation. - implementation - Implementation - read-only - - Provides a unique encoding of the version of the processor implementation\. + - Provides a unique encoding of the version of the processor implementation. Machine Hardware Thread ID Register --------------------------- +----------------------------------- AddressOffset: 'hF14 -------------------------- Description: @@ -2740,4 +2740,4 @@ This register contains the integer ID of the hardware thread running the code. - hart_id - Hart id - read-only - - This register contains the integer ID of the hardware thread running the code\. + - This register contains the integer ID of the hardware thread running the code.