Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page provides technical details about running the Architecture Compatible Test (ACT) suite to achieve the "RISC-V Compatible" trademark and logo.  Completion of the test suite is is one step in the process of gaining permission to use the “RISC-V Compatible” Trademark. See the RISC-V Branding Guidelines & Materials webpage for more details and requirements on the other steps.

Governing Documents

The following documents provide foundational information for key parts of this process:

Test Components

RISC-V-Compatible Testing requires the following components:

  1. The RISC-V Compatibility Framework (RISCOF)
  2. The RISC-V Config Tool (RISCV-CONFIG)
  3. The Architecture Test Suite (ACT)
  4. The SAIL golden model
    The RISC-V SAIL model is hosted in GitHub at https://github.com/riscv/sail-riscv
  5. The vendor’s device under test (RTL or actual form)

Testing should be performed using the most recent, stable versions.  For more information about the ACT suite, RISCOF, and RISCV-CONFIG, including the most recent versions and the list of supported RISC-V Profiles and Extensions, see the "Compatibility Test Framework" section of the RISC-V Technical Specifications wiki page.  The information in this presentation describes an alternate way to facilitate setup of the tools used by ACT, using a member-provided repository with scripts to facilitate the process.

Test Process

The general process for this testing is as follows:

  1. Read and understand the Architecture Test Policy.  This document defines the testing which is one of the requirements to use the RISC-V Compatible Trademark, including re-running the tests when the implementation is changed or the ACT test version changes.
  2. Decide the base profile and any additional extensions for which the target device wishes to claim compatibility.  More information about Profiles and Extensions can be found in the Profiles summary spreadsheet.
  3. Install the RISCV-CONFIG tool and use it to configure YAML files for all extensions included in step #2.  See the RISCV-CONFIG documentation for more details.
  4. Install the RISCOF Framework, ACT test suite, and SAIL.  Detailed steps for this process can be found in the "Running RISCV-ARCH-TESTS "section of the RISCOF Documentation.
  5. Configure RISCOF for a  Device Under Test (DUT) for the target core to be tested.
  6. Run the tests using RISCOF against the golden model and the DUT.
  7. Review the test results. to ensure that the DUT test results match the results of the SAIL golden model.
  8. When ready, submit the test results and supporting information per the directions in the “Where to Report Test Results” section of the Architecture Test Policy.

Additional Information

A RISC-V Technical Session titled "Using Template Repo  to setup/run RISC-V Arch Test Suite under RHEL/Ubuntu" was recorded in April 2023.  It provides information about a member-provided repo (link) that supplements setup of the ACT environment with some extra scripts and files.  Details, including the presentation and recording links are available here.

Support

Questions about the RISC-V Compatible Trademark Permission Process should be sent to the RISC-V Compatible Trademark Permission Process mailing list (archives) at compatible-trademark@groups.riscv.org.   Public submissions accepted, but maybe moderated.

Any questions about ACT or RISCV-CONFIG should be posted to the Architecture Test Special Interest Group (SIG) mailing list (archives) at sig-arch-test@lists.riscv.org.   Joining this group (link) strongly encouraged for RISC-V members working toward mark usage.

Questions about running SAIL can be sent to the Golden Model SIG mailing list (archives) at tech-golden-model@lists.riscv.org.


  • No labels