From 55294d9bbc767b9bb3e256e5d1fe44720d099f49 Mon Sep 17 00:00:00 2001 From: Weiwei Li Date: Thu, 2 Jun 2022 09:57:27 +0800 Subject: [PATCH 1/2] add support for Zicbo* extension --- riscof/framework/test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/riscof/framework/test.py b/riscof/framework/test.py index 0401c78..9f4706f 100644 --- a/riscof/framework/test.py +++ b/riscof/framework/test.py @@ -335,6 +335,10 @@ def generate_test_pool(ispec, pspec, workdir, dbfile = None): macros.append("FLEN=64") elif re.match(r"^[^(Z,z)]+F.*$",isa): macros.append("FLEN=32") + if 'cbozero' in file: + macros.append("RVMODEL_CBZ_BLOCKSIZE="+str(pspec['zicbo_cache_block_sz']['zicboz_sz'])) + elif 'cbo' in file: + macros.append("RVMODEL_CMO_BLOCKSIZE="+str(pspec['zicbo_cache_block_sz']['zicbom_sz'])) test_pool.append( (file, db[file]['commit_id'], macros,isa,cov_labels)) logger.info("Selecting Tests.") From d00a103bfe00ad28e6898b684e2f1e0f89399085 Mon Sep 17 00:00:00 2001 From: Weiwei Li Date: Thu, 2 Jun 2022 09:58:31 +0800 Subject: [PATCH 2/2] update CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e4497..82a7060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.25.4] - 2023-02-22 +- Add support for Zicbo* extension + ## [1.25.3] - 2023-01-24 - use "make -k" in riscof_model.py template to ensure all test cases run, even after a failure. Fixes #73.