From 1f09b11b189e7239133126588bc16dc1dec875d8 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Tue, 5 Dec 2023 12:46:59 +0100 Subject: [PATCH] Add detailed information about origin of pre-generated RISCV-DV tests Internal-tag: [#52142] Signed-off-by: Maciej Kurc --- .github/assets/riscv_dv/README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/assets/riscv_dv/README.md b/.github/assets/riscv_dv/README.md index 3529dd9a6bd..732418bf44a 100644 --- a/.github/assets/riscv_dv/README.md +++ b/.github/assets/riscv_dv/README.md @@ -1,5 +1,16 @@ # RISCV-DV tests -This folder contains pre-generated RISCV-DV test programs for VeeR. +This folder contains pre-generated RISCV-DV test programs for VeeR. Normally the programs are generated and cached by the CI using proprietary tools. In case of a failure during this process the CI falls back to the code stored in this folder. -Normally the programs are generated and cached by the CI using proprietary tools. In case of a failure during this process the CI falls back to the code stored in this folder. +The programs were generated using RISCV-DV SHA [f01f628](https://github.com/chipsalliance/riscv-dv/commit/f01f62867adaa23c24d84374b8183e7c92116958) and veer-el2 SHA [97ffac3](https://github.com/chipsalliance/Cores-VeeR-EL2/commit/97ffac34a3fd957a85f76daca6ac31443c4552a1) with the following command: +``` +pushd tools/riscv-dv + make -j`nproc` \ + RISCV_DV_TEST=$RISCV_DV_TEST + RISCV_DV_ITER=3 + RISCV_DV_SEED=999 + generate +popd +``` + +Test names used are defined in `target/rv32imc/testlist.yaml` in RISCV-DV repository.