-
Notifications
You must be signed in to change notification settings - Fork 632
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
Fix broken verilator permissive runtime arguments #563
Comments
I'm not gonna run git blame but I believe this is a regression. |
I'll be that guy and point the finger at @jerryz123 340ed90 :) |
Why did it core dump if it wasn't an error? |
Thats just the flag I passed to show it was working. If you give it one of the random init flags it just works silently. |
Its a version flag |
Yeah, I get that, just don't get why the version flag causes a core dump. Not really a question directed at you, just seems odd. |
I believe I made that change to match existing project-template behavior, as the project-template verilator Makefile (and the Rocketchip verilator Makefile, too), do not set the permissive flags. I'm not sure what the right thing to do here is, but it seems to stem from the fact that we really have two sets of arguments, 1 set of arguments for HTIF, and another for the simulator. Combining them into one set of args is convenient, but then we have to deal with these kinds of issues. |
I think we should add this feature since we already have the infrastructure to support it and I did the work of finding what you would need to set them to. |
@colinschmidt so I'm interpreting this to mean that the simulation/ |
Yes I can run verilator simulations to completion with this line:
|
|
cool... this seems like a really easy fix, no? |
yeah I think its a few lines of PR, but I won't get to it until the weekend at the earliest |
So we do need permissive and its even slightly different for verilator so its good that its overrideable:
versus
Originally posted by @colinschmidt in #562
The text was updated successfully, but these errors were encountered: