-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated testlist with CSR Access tests
- Loading branch information
1 parent
ea000b3
commit 79dca21
Showing
1 changed file
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,76 @@ | ||
- test: MSCRATCH_CSR | ||
## // Copyright 2023 Thales | ||
## // SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
|
||
- test: M_RW_CSR | ||
iterations: 1 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/csr_access_tests/riscv_mscratch_csr_test_0.S | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_m_rw_csr_test_0.S | ||
|
||
- test: S_RW_CSR | ||
iterations: 1 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_s_rw_csr_test_0.S | ||
|
||
- test: M_RO_CSR | ||
iterations: 1 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_m_ro_csr_test_0.S | ||
|
||
- test: M_MCYCLE_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_mcycle_csr_test_0.S | ||
|
||
- test: M_MCYCLEH_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_mcycleh_csr_test_0.S | ||
|
||
- test: M_MINSTRET_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_minstret_csr_test_0.S | ||
|
||
- test: M_MINSTRETH_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_minstreth_csr_test_0.S | ||
|
||
- test: U_CYCLE_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_cycle_csr_test_0.S | ||
|
||
- test: U_INSTRET_CSR | ||
iterations: 0 | ||
path_var: TESTS_PATH | ||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first. | ||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation. | ||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/" | ||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_instret_csr_test_0.S | ||
|
||
|