mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-19 03:44:46 -04:00
77 lines
2.9 KiB
YAML
77 lines
2.9 KiB
YAML
# Copyright 2025 Thales CDI
|
|
#
|
|
# Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0
|
|
# You may obtain a copy of the License at https:#solderpad.org/licenses/
|
|
#
|
|
# Original Author: Valentin Thomazic (valentin.thomazic@thalesgroup.com)
|
|
|
|
# ================================================================================
|
|
# Regression test list format
|
|
# --------------------------------------------------------------------------------
|
|
# testlist : Assembly test list
|
|
# test : Assembly test name
|
|
# description : Description of this test
|
|
# gen_opts : Instruction generator options
|
|
# iterations : Number of iterations of this test
|
|
# no_iss : Enable/disable ISS simulator (Optional)
|
|
# gen_test : Test name used by the instruction generator
|
|
# asm_tests : Path to directed, hand-coded assembly test file or directory
|
|
# rtl_test : RTL simulation test name
|
|
# cmp_opts : Compile options passed to the instruction generator
|
|
# sim_opts : Simulation options passed to the instruction generator
|
|
# no_post_compare : Enable/disable comparison of trace log and ISS log (Optional)
|
|
# compare_opts : Options for the RTL & ISS trace comparison
|
|
# gcc_opts : gcc compile options
|
|
# --------------------------------------------------------------------------------
|
|
|
|
common_test_config: &common_test_config
|
|
path_var: TESTS_PATH
|
|
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles ../tests/custom/common/syscalls.c ../tests/custom/common/crt.S -I../tests/custom/env -I../tests/custom/common -lgcc"
|
|
|
|
testlist:
|
|
- test: decreasing_entries_test
|
|
<<: *common_test_config
|
|
iterations: 1
|
|
asm_tests: <path_var>/custom/pmp/decreasing_entries_test.S
|
|
|
|
- test: defined_matches
|
|
<<: *common_test_config
|
|
iterations: 0
|
|
asm_tests: <path_var>/custom/pmp/defined_matches.S
|
|
|
|
- test: double_entries_test
|
|
<<: *common_test_config
|
|
iterations: 0
|
|
asm_tests: <path_var>/custom/pmp/double_entries_test.S
|
|
|
|
- test: exact_csrr_test
|
|
<<: *common_test_config
|
|
iterations: 1
|
|
asm_tests: <path_var>/custom/pmp/exact_csrr_test.S
|
|
|
|
- test: granularity_test
|
|
<<: *common_test_config
|
|
iterations: 1
|
|
asm_tests: <path_var>/custom/pmp/granularity_test.S
|
|
|
|
- test: locked_outside_napot_test
|
|
<<: *common_test_config
|
|
iterations: 0
|
|
asm_tests: <path_var>/custom/pmp/locked_outside_napot_test.S
|
|
|
|
- test: locked_outside_tor_test
|
|
<<: *common_test_config
|
|
iterations: 1
|
|
asm_tests: <path_var>/custom/pmp/locked_outside_tor_test.S
|
|
|
|
- test: lsu_napot_test
|
|
<<: *common_test_config
|
|
iterations: 0
|
|
asm_tests: <path_var>/custom/pmp/lsu_napot_test.S
|
|
|
|
- test: lsu_tor_test
|
|
<<: *common_test_config
|
|
iterations: 1
|
|
asm_tests: <path_var>/custom/pmp/lsu_tor_test.S
|