Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for Zicbo* extension #46

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 4 additions & 0 deletions riscof/framework/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down