diff --git a/docs/06_cv32a65x_riscv/priv-isa-cv32a65x.html b/docs/06_cv32a65x_riscv/priv-isa-cv32a65x.html index f6f05a333..f309ff2ad 100644 --- a/docs/06_cv32a65x_riscv/priv-isa-cv32a65x.html +++ b/docs/06_cv32a65x_riscv/priv-isa-cv32a65x.html @@ -487,6 +487,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • 3.1.6.4. Endianness Control in mstatus and mstatush Registers
  • 3.1.6.5. Virtualization Support in mstatus Register
  • 3.1.6.6. Extension Context Status in mstatus Register
  • +
  • 3.1.6.7. Previous Expected Landing Pad (ELP) State in mstatus Register
  • 3.1.7. Machine Trap-Vector Base-Address (mtvec) Register
  • @@ -500,9 +501,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • 3.1.15. Machine Cause (mcause) Register
  • 3.1.16. Machine Trap Value (mtval) Register
  • 3.1.17. Machine Configuration Pointer (mconfigptr) Register
  • -
  • 3.1.18. Machine Configuration Pointer Register (mconfigptr)
  • -
  • 3.1.19. Machine Environment Configuration (menvcfg) Register
  • -
  • 3.1.20. Machine Security Configuration (mseccfg) Register
  • +
  • 3.1.18. Machine Environment Configuration (menvcfg) Register
  • +
  • 3.1.19. Machine Security Configuration (mseccfg) Register
  • 3.2. Machine-Level Memory-Mapped Registers @@ -3412,6 +3412,13 @@ to read or write the corresponding state will cause an illegal-instruction exception.

    +
    +
    3.1.6.7. Previous Expected Landing Pad (ELP) State in mstatus Register
    +
    +

    [CV32A65X] As the Zicfilp extension is not supported, +the SPELP and MPELP fields are read-only zero.

    +
    +

    3.1.7. Machine Trap-Vector Base-Address (mtvec) Register

    @@ -3941,14 +3948,12 @@ exceptions. TODO

    3.1.16. Machine Trap Value (mtval) Register

    - +
    +

    [CV32A65X] The mtval register is an MXLEN-bit read-only 0 register.

    +

    3.1.17. Machine Configuration Pointer (mconfigptr) Register

    - -
    -
    -

    3.1.18. Machine Configuration Pointer Register (mconfigptr)

    The mconfigptr register is an MXLEN-bit read-only CSR that holds the physical address of a configuration data structure.

    @@ -3959,7 +3964,7 @@ configuration data structure does not exist.

    -

    3.1.19. Machine Environment Configuration (menvcfg) Register

    +

    3.1.18. Machine Environment Configuration (menvcfg) Register

    The menvcfg CSR is a 64-bit read/write register that controls certain characteristics of the execution environment for modes less @@ -3975,7 +3980,7 @@ not exist.

    -

    3.1.20. Machine Security Configuration (mseccfg) Register

    +

    3.1.19. Machine Security Configuration (mseccfg) Register

    mseccfg is an optional 64-bit read/write register, that controls security features.

    diff --git a/docs/06_cv32a65x_riscv/src/machine.adoc b/docs/06_cv32a65x_riscv/src/machine.adoc index 1e0ec4394..2c89e9f27 100644 --- a/docs/06_cv32a65x_riscv/src/machine.adoc +++ b/docs/06_cv32a65x_riscv/src/machine.adoc @@ -1398,9 +1398,9 @@ interrupts, unless the interrupt results in a user-level context swap. ==== endif::[] -ifeval::[{ohg-config} != CV32A65X] ===== Previous Expected Landing Pad (ELP) State in `mstatus` Register +ifeval::[{RVZicfilp} == true] The Zicfilp extension adds the `SPELP` and `MPELP` fields that hold the previous `ELP`, and are updated as specified in <>. The *__x__*`PELP` fields are encoded as follows: @@ -1409,6 +1409,11 @@ The Zicfilp extension adds the `SPELP` and `MPELP` fields that hold the previous * 1 - `LP_EXPECTED` - a landing pad instruction is expected. endif::[] +ifeval::[{RVZicfilp} == false] +[{ohg-config}] As the Zicfilp extension is not supported, +the `SPELP` and `MPELP` fields are read-only zero. +endif::[] + ==== Machine Trap-Vector Base-Address (`mtvec`) Register The `mtvec` register is an MXLEN-bit *WARL* read/write register that holds