Skip to content

Commit

Permalink
Merge pull request #184 from antmicro/kiryk/60665-fix-constant-name
Browse files Browse the repository at this point in the history
CI: Add more files to cache hash calculation
  • Loading branch information
tmichalak authored Jun 18, 2024
2 parents 7d0205f + f0e401d commit 9e1d4ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/scripts/get_code_hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# cache.

HASHES=()
HASHES+=(`git submodule status third_party/riscv-dv | cut -d\ -f2`)
HASHES+=(`sha256sum tools/riscv-dv/code_fixup.py | cut -d\ -f1`)
HASHES+=(`sha256sum tools/riscv-dv/Makefile | cut -d\ -f1`)
HASHES+=($(git submodule status third_party/riscv-dv | cut -d\ -f2))
HASHES+=($(sha256sum tools/riscv-dv/code_fixup.py | cut -d\ -f1))
HASHES+=($(sha256sum tools/riscv-dv/testlist.yaml | cut -d\ -f1))
HASHES+=($(sha256sum tools/riscv-dv/riscv_core_setting.sv | cut -d\ -f1))
HASHES+=($(sha256sum tools/riscv-dv/Makefile | cut -d\ -f1))

echo ${HASHES[@]} | sha256sum | cut -d\ -f1
2 changes: 1 addition & 1 deletion .github/workflows/test-riscv-dv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
iss:
- spike
- whisper
- renode
# - renode
coverage: ["all", "branch", "toggle"] #TODO: add functional coverage
version: [ uvm ]
include: ${{ fromJSON(needs.generate-config.outputs.test-include-run) }}
Expand Down
2 changes: 1 addition & 1 deletion tools/riscv-dv/riscv_core_setting.sv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
parameter int XLEN = 32;
parameter satp_mode_t SATP_MODE = BARE;
privileged_mode_t supported_privileged_mode[] = {MACHINE_MODE, USER_MODE};
privileged_mode_t supported_privileged_mode[] = {MACHINE_MODE};

// NOTE: To get supported and unsupported instructions compare
// riscv-dv/src/riscv_instr_pkg.sv and Cores-VeeR-EL2/design/dec/decode files
Expand Down

0 comments on commit 9e1d4ea

Please sign in to comment.