Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Commit 55294d9

Browse files
author
Weiwei Li
committed
add support for Zicbo* extension
1 parent a25e315 commit 55294d9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

riscof/framework/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ def generate_test_pool(ispec, pspec, workdir, dbfile = None):
335335
macros.append("FLEN=64")
336336
elif re.match(r"^[^(Z,z)]+F.*$",isa):
337337
macros.append("FLEN=32")
338+
if 'cbozero' in file:
339+
macros.append("RVMODEL_CBZ_BLOCKSIZE="+str(pspec['zicbo_cache_block_sz']['zicboz_sz']))
340+
elif 'cbo' in file:
341+
macros.append("RVMODEL_CMO_BLOCKSIZE="+str(pspec['zicbo_cache_block_sz']['zicbom_sz']))
338342
test_pool.append(
339343
(file, db[file]['commit_id'], macros,isa,cov_labels))
340344
logger.info("Selecting Tests.")

0 commit comments

Comments
 (0)