Skip to content

Commit

Permalink
Draft: Add s-mode CLIC interrupt testcases
Browse files Browse the repository at this point in the history
This is a draft version of the s-mode (Ssclic) CLIC interrupt testcases using clint MSW and MTIMER macros.

Note: pulls are not yet available for spike or sail that support CLIC but these testcases should help enable their development. 

This pull requires:
riscv-software-src/riscv-config#169, 
riscv-software-src/riscof#106
riscv-software-src/riscv-isa-sim#1596

To include s-mode CLIC interrupt tests in riscof testlist flow, add Ssclic to riscof yaml file, e.g.:
spike/spike_isa.yaml:
  ISA: RV32IMCZicsr_Zifencei_Ssclic


Signed-off-by: Dan Smathers <[email protected]>
  • Loading branch information
dansmathers authored and jamesbeyond committed Jun 6, 2024
1 parent 68e9b39 commit 35ee9c1
Show file tree
Hide file tree
Showing 16 changed files with 13,573 additions and 0 deletions.
836 changes: 836 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicdeleg-01.S

Large diffs are not rendered by default.

841 changes: 841 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicmdisable-01.S

Large diffs are not rendered by default.

847 changes: 847 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicmdisable-02.S

Large diffs are not rendered by default.

838 changes: 838 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicmdisable-03.S

Large diffs are not rendered by default.

835 changes: 835 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicnodeleg-01.S

Large diffs are not rendered by default.

854 changes: 854 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicorder-01.S

Large diffs are not rendered by default.

858 changes: 858 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicorder-02.S

Large diffs are not rendered by default.

861 changes: 861 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicorder-03.S

Large diffs are not rendered by default.

858 changes: 858 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicorder-04.S

Large diffs are not rendered by default.

862 changes: 862 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicprivorder-01.S

Large diffs are not rendered by default.

865 changes: 865 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicprivorder-02.S

Large diffs are not rendered by default.

865 changes: 865 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicprivorder-03.S

Large diffs are not rendered by default.

838 changes: 838 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicsdisable-01.S

Large diffs are not rendered by default.

842 changes: 842 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicsdisable-02.S

Large diffs are not rendered by default.

837 changes: 837 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicsdisable-03.S

Large diffs are not rendered by default.

836 changes: 836 additions & 0 deletions riscv-test-suite/rv32i_m/Ssclic/src/sclicwfi-01.S

Large diffs are not rendered by default.

0 comments on commit 35ee9c1

Please sign in to comment.