Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #42 from edwin7026/cgf-patch
Browse files Browse the repository at this point in the history
Error reporting for missing covergroup corresponding to input coverlabel
  • Loading branch information
pawks authored May 23, 2022
2 parents 36f0f0e + 260a3cc commit bb2e6d1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
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).

## [0.13.2] - 2022-05-23
- Error reporting for missing coverlabel in cgf file

## [0.13.1] - 2022-05-07
- Fix mistune version for doc builds.

Expand Down
2 changes: 1 addition & 1 deletion riscv_isac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__author__ = """InCore Semiconductors Pvt Ltd"""
__email__ = '[email protected]'
__version__ = '0.13.1'
__version__ = '0.13.2'
6 changes: 6 additions & 0 deletions riscv_isac/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,12 @@ def compute(trace_file, test_name, cgf, parser_name, decoder_name, detailed, xle
del temp[groups]
cgf = temp

# If cgf does not have the covergroup pertaining to the cover-label, throw error
# and exit
if not cgf:
logger.err('Covergroup(s) for ' + str(cov_labels) + ' not found')
sys.exit(1)

if dump is not None:
dump_f = open(dump, 'w')
dump_f.write(ruamel.yaml.round_trip_dump(cgf, indent=5, block_seq_indent=3))
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.13.1
current_version = 0.13.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read_requires():

setup(
name='riscv_isac',
version='0.13.1',
version='0.13.2',
description="RISC-V ISAC",
long_description=readme + '\n\n',
classifiers=[
Expand Down

0 comments on commit bb2e6d1

Please sign in to comment.