Skip to content

ACT Support for Priv 1.13 #43

@jjscheel

Description

@jjscheel

Technical Group

Privileged Spec IC

ratification-pkg

Priv 1.13

Technical Liaison

Greg Favor

Task Category

Arch Tests

Task Sub Category

  • gcc
  • binutils
  • gdb
  • intrinsics
  • Java
  • KVM
  • ld
  • llvm
  • Linux kernel
  • QEMU
  • Spike

Ratification Target

3Q2024

Statement of Work (SOW)

Component names: Priv 1.13

Requirements:
Provide tests for the following Priv 1.13 updates:

  1. Defined the misa.V field to reflect that the V extension has been implemented.
  2. Defined the RV32-only medelegh and hedelegh CSRs (1)
  3. Allocated interrupt 13 for Sscofpmf LCOFI interrupt (2)
  4. Exposed count-overflow interrupts to VS-mode (1,2)
  5. Redefined misa.MXL to be read-only, making MXLEN a constant
  6. Added the constraint that SXLEN≥UXLEN (3)

The following footnotes clarify level of support:

  1. Basic CSR testing of existence, read, and write until Hypervisor implemented.
  2. Limited by counter support enablement.
  3. May have some challenges with the writability of those fields configurable in the mode in Sail (only).

Note: the following features of Priv 1.13 require ACT infrastructure that prevent their implementation at this time:

  • Defined hardware error and software check exception codes.
  • Defined the misaligned atomicity granule PMA, superseding the proposed Zam extension.

Deliverables:

  • Self-checking assembly language tests.
    Note: because of the nature of the Priv 1.13 tests, they should be written as self-checking so that they can be used both in ACTs and in the Sail model BVTs (build verification tests).
  • Coverage models

Acceptance Criteria:

  • Assembly language tests that meet the TestFormatSpec AND are self-checking.
  • Coverage models using riscv-ctg YAML formatted schema or the compressed coverpoint schema translated into YAML
  • Tests pass using the riscof framework

Projected timeframe: (best guess date)
2 person months (part time)

SOW Signoffs: (delete those not needed)

  • Task group liaison sign-off
  • Development partner sign-off
  • ACT SIG sign-off (if ACT work)

Waiver

  • Freeze
  • Ratification

Pull Request Details

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions