Skip to content

Conversation

mkorbel1
Copy link
Contributor

Description & Motivation

Sometimes it is desirable to be able to have multiple implementations of a module, one with ROHD and one with SystemVerilog, and reuse the same testbench for both. Currently, you need to point to ExternalSystemVerilogModule, which is a base type, which makes it annoying and inconvenient for that type of testbench setup.

This PR introduces an ability to conditionally enable cosim on a module, as well as point to any Module with a SystemVerilog mixin applied.

Related Issue(s)

Fix #43

Testing

TODO: need to add more testing for this

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

TODO: Yes, we should include some examples and documentation for this approach.

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.

Add support for Cosim mixin on any Module instead of just ExternalSystemVerilogModule
1 participant