cva6/verif/tests/testlist_cvxif.yaml

86 lines
3.2 KiB
YAML

# Copyright 2021 Thales DIS design services SAS
#
# 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: Zineb EL KACIMI (zineb.el-kacimi@external.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"
common_test_config_lgcc: &common_test_config_lgcc
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: cvxif_add_nop
<<: *common_test_config_lgcc
iterations: 1
asm_tests: <path_var>/custom/cv_xif/cvxif_add_nop.S
- test: cvxif_full
<<: *common_test_config_lgcc
iterations: 1
asm_tests: <path_var>/custom/cv_xif/cvxif_full.S
- test: cvxif_multi
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_multi.S
- test: cvxif_rs3
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_rs3.S
- test: cvxif_exc
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_exc.S
- test: cvxif_illegal
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_illegal.S
- test: cvxif_nopexc
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_nopexc.S
- test: cvxif_issexc
<<: *common_test_config
iterations: 0
asm_tests: <path_var>/custom/cv_xif/cvxif_issexc.S
- test: cvxif_s_mode
<<: *common_test_config_lgcc
iterations: 1
asm_tests: <path_var>/custom/cv_xif/cvxif_s_mode.S
- test: cvxif_u_mode
<<: *common_test_config_lgcc
iterations: 1
asm_tests: <path_var>/custom/cv_xif/cvxif_u_mode.S