Skip to content

Commit

Permalink
Draft: Add m-mode CLIC interrupt testcases
Browse files Browse the repository at this point in the history
This is a draft version of the m-mode (Smclic) 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 m-mode CLIC interrupt tests in riscof testlist flow, add Smclic to riscof yaml file, e.g.:
spike/spike_isa.yaml:
  ISA: RV32IMCZicsr_Zifencei_Smclic

Signed-off-by: Dan Smathers <[email protected]>
  • Loading branch information
dansmathers authored Feb 8, 2024
1 parent 0653f78 commit 11afbf0
Show file tree
Hide file tree
Showing 9 changed files with 5,189 additions and 0 deletions.
577 changes: 577 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/clicdirect-01.S

Large diffs are not rendered by default.

581 changes: 581 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/cliclevel-01.S

Large diffs are not rendered by default.

584 changes: 584 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/cliclevel-02.S

Large diffs are not rendered by default.

581 changes: 581 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/cliclevel-03.S

Large diffs are not rendered by default.

584 changes: 584 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/cliclevel-04.S

Large diffs are not rendered by default.

569 changes: 569 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/clicnomint-01.S

Large diffs are not rendered by default.

574 changes: 574 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/clicnomint-02.S

Large diffs are not rendered by default.

571 changes: 571 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/clicnomint-03.S

Large diffs are not rendered by default.

568 changes: 568 additions & 0 deletions riscv-test-suite/rv32i_m/Smclic/src/clicwfi-01.S

Large diffs are not rendered by default.

0 comments on commit 11afbf0

Please sign in to comment.