Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Add m-mode, s-mode CLIC interrupt testcases #436

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from

Commits on Jun 6, 2024

  1. Draft: Add m-mode CLIC interrupt testcases

    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]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c239aef View commit details
    Browse the repository at this point in the history
  2. Draft: Add m-mode CLIC interrupt testcases

    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]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    09cb8de View commit details
    Browse the repository at this point in the history
  3. Draft: Add s-mode CLIC interrupt testcases

    his 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]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    68e9b39 View commit details
    Browse the repository at this point in the history
  4. Draft: Add s-mode CLIC interrupt testcases

    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]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    35ee9c1 View commit details
    Browse the repository at this point in the history
  5. Draft: Add m/s-mode CLIC interrupt testcases

    This is a draft version of the m-mode (Smclic), 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 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
    
    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]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    2e3b80b View commit details
    Browse the repository at this point in the history
  6. increased size of signature region, normalized nxti checking

    to allow different elf files between dut and ref, compare xnxti value to xtvt value
    increased size of signature region. 32 was too small.
    
    Signed-off-by: Dan Smathers <[email protected]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    599b1e0 View commit details
    Browse the repository at this point in the history
  7. normalized nxti checking

    to allow comparison between compiles at different code locations, xnxti signature value is compared to xtvt value.
    
    Signed-off-by: Dan Smathers <[email protected]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    880f3ec View commit details
    Browse the repository at this point in the history
  8. adding shv testcases

    Signed-off-by: Dan Smathers <[email protected]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    5178979 View commit details
    Browse the repository at this point in the history
  9. clicshv tests - draft.

    Signed-off-by: Dan Smathers <[email protected]>
    dansmathers authored and jamesbeyond committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    d57ca3a View commit details
    Browse the repository at this point in the history