Skip to content

Added code coverage support to ActiveHDL - #461

Merged
kraigher merged 3 commits into
VUnit:masterfrom
vmfox:add_code_coverage_ActiveHDL
Mar 22, 2019
Merged

kraigher merged 3 commits into
VUnit:masterfrom
vmfox:add_code_coverage_ActiveHDL

Conversation

@vmfox

@vmfox vmfox commented Mar 21, 2019

Copy link
Copy Markdown
Contributor

Follow up from #460.

Added code coverage support to ActiveHDL
Comment thread vunit/activehdl_interface.py Outdated


class ActiveHDLInterface(SimulatorInterface):
class ActiveHDLInterface(VsimSimulatorMixin, SimulatorInterface):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it necessary to inherit from VsimSimulatorMixin? I think that could be a misunderstanding.

@vmfox vmfox Mar 22, 2019

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably is a misunderstanding as it's a bit of a challenge to jump into such a big project. The assumption was that akin to Riviera Pro and Modelsim, ActiveHDL is also a vsim based simulator and hence would require this inheritance. I have just tested the performance without this inheritance and everything seems to run as it was before, so will update as a part of the next commit.

vmfox added 2 commits March 22, 2019 14:52
Removed redundant inheritance and updated as per tests failures.
Removed blank line.
@kraigher
kraigher merged commit e1caab9 into VUnit:master Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants