-
Notifications
You must be signed in to change notification settings - Fork 44
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
Verilator support #41
Comments
That is great to hear!! I definitely would love to see a future where I can run Verilator as the primary simulator for regression tests. The current requirement to use Questa is a little cumbersome to new users that want to contribute. |
Well the first step is to file an issue at the verilator github. So far the things left to do are: Regblock-generated code
Regression testbenches
|
Found an existing ticket for disable fork, and issued a new one for |
Would it be possible to add Verilator lint waivers in the generated SV module? I'd rather not turn off %Warning-MULTIDRIVEN for my entire project. In the meantime, I can make some automated edits to the generated SV module to work-around this. Verilator doesn't like multiple bits in structs to be set by separate processes (even though each field itself is not multi-driven), so I was going to guard the entire file with: |
Did you think of using Create a file
During verilation, just pass it along with other verilog files. |
That's a good suggestion, thanks! I'd have to fold that into my verilator build flow though, but easy enough. |
I done a series of pull requests in Verilator in order to support the code regblock is generating.
In the next release 5.12 I believe most of the things will be supported.
There are still some false linting errors that I still need to fix, but that's not too important.
In order to properly test if everything is supported I need to add a verilator support in your regression tests.
At the moment, I can see that some constructs are falling, like the double hash (##) you use in your testbenches.
I am willing to take a look into issues that can be solved and supported easily.
First to ask you, would you be interested in merging verilator support as a part of your regression tests?
And in case that some construct is not easily fixed in verilator, would you be willing to use an equivalent alternative in order to have verilator support?
The text was updated successfully, but these errors were encountered: