Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SystemVerilog, and allow passing additional arguments to verilator #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

asinghani
Copy link

Recently discovered this library and started integrating into my workflow and I've absolutely loved it, but noticed a few features that were lacking and added them in:

  1. SystemVerilog support - The build function was hardcoded to only allow ".v" files, added ".sv" as well to allow for top-level files to be SystemVerilog (of which a sufficient subset is supported in Verilator that using SystemVerilog files with Verilator is not uncommon).

  2. Allow parameter overrides - Some of my tests passed parameters into the top-level module to allow testing the module under different conditions, so build now takes a parameters dict object that is converted into -G flags and passed to verilator.

  3. Allow passing additional custom arguments to verilator at build time.

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.

1 participant