Skip to content

Commit 314abce

Browse files
authored
Merge pull request #79 from liweiwei90/plct-cmo-dev
add support for zicbo* extensions
2 parents 43ea006 + fd441fc commit 314abce

File tree

6 files changed

+529
-18
lines changed

6 files changed

+529
-18
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [2.14.1] - 2022-06-02
6+
7+
- add support for Zicbo* extensions
8+
- add new node in platform_schema: zicbo_cache_block_sz
9+
510
## [2.14.0] - 2022-05-13
611

712
- fix for index-based dependency checks in warl string.

riscv_config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from pkgutil import extend_path
22
__path__ = extend_path(__path__, __name__)
3-
__version__ = '2.14.0'
3+
__version__ = '2.14.1'

riscv_config/schemaValidator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def _check_with_phy_addr(self, field, value):
4040
if rv64 and value > 56:
4141
self._error(field, "Physical address size should not exceed 56 for RV64")
4242

43+
def _check_with_cache_block_size(self, field, value):
44+
if value & (value - 1) != 0:
45+
self._error(field, "Cache block size should be power of 2")
4346

4447
def _check_with_cannot_be_false_rv64(self, field, value):
4548
''' Functions ensures that the field cannot be False in rv64 mode'''

0 commit comments

Comments
 (0)