Skip to content

Latest commit

 

History

History
61 lines (53 loc) · 4.42 KB

README.md

File metadata and controls

61 lines (53 loc) · 4.42 KB

RISC-V Test Suites

The tests are grouped based on the different extension subsets of the RISC-V unprivileged ISA. The tests strictly follow the Test format specification.

Directory names postfixed with "_unratified" indicate that tests for extensions that have not yet been ratified by RVI.

The coverage report (in html format) of the tests available in this suite is generated through RISCOF and is available here: Coverage Report.

These tests have been generated using the open source Compatibility Test Generator from InCore Semiconductors available at: CTG.

The reference signatures are generated using SAIL.

For those test suites generated by Imperas, (e.g. K crypto) the reference signature is generated by riscvOVPsim and the generated coverage is in the appropriate test suite directory.

Directory structure


├── env                       # contains the architectural test header files
└── rv32i_m                   # top level folder indicate rv32 tests for machine mode
    ├── C                     # include tests and references for "C" extension
    │   ├── references        # static references signatures for "C" extension
    │   └── src               # assembly tests for "C" extension
    ├── I                     # include tests and references for "I" extension
    │   ├── references        # static references signatures for "I" extension
    │   └── src               # assembly tests for "I" extension
    ├── M                     # include tests and references for "M" extension
    │   ├── references        # static references signatures for "M" extension
    │   └── src               # assembly tests for "M" extension
    ├── K_unratified          # include tests and references for "K" extension (developed by Imperas)
    │   ├── references        # static references signatures for "K" extension (developed by Imperas)
    │   └── src               # assembly tests for "K" extension (developed by Imperas)
    ├── privilege             # include tests and references for tests which require Privilege Spec 
    │   ├── references        # static references signatures for tests which require Privilege Spec
    │   └── src               # assembly tests for tests which require Privilege Spec
    └── Zifencei              # include tests and references for "Zifencei" extension
        ├── references        # static references signatures for "Zifencei" extension
        └── src               # assembly tests for "Zifencei" extension
└── rv64i_m                   # top level folder indicate rv64 tests for machine mode
    ├── C                     # include tests and references for "C" extension
    │   ├── references        # static references signatures for "C" extension
    │   └── src               # assembly tests for "C" extension
    ├── I                     # include tests and references for "I" extension
    │   ├── references        # static references signatures for "I" extension
    │   └── src               # assembly tests for "I" extension
    ├── M                     # include tests and references for "M" extension
    │   ├── references        # static references signatures for "M" extension
    │   └── src               # assembly tests for "M" extension
    ├── K_unratified          # include tests and references for "K" extension (developed by Imperas)
    │   ├── references        # static references signatures for "K" extension (developed by Imperas)
    │   └── src               # assembly tests for "K" extension (developed by Imperas)
    ├── privilege             # include tests and references for tests which require Privilege Spec 
    │   ├── references        # static references signatures for tests which require Privilege Spec
    │   └── src               # assembly tests for tests which require Privilege Spec
    └── Zifencei              # include tests and references for "Zifencei" extension
        ├── references        # static references signatures for "Zifencei" extension
        └── src               # assembly tests for "Zifencei" extension