iverilog build in Nix standard repos has a bug #707
esophagus-now
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(Apologies for duplicate post; I'm not used to github and someone told me to post a discussion instead of a comment)
Original comment from this commit: 580170d
I am using iverilog in repl.it (via Nix). I don't know much about where this distribution of iverilog comes from (or who maintains it) but maybe this is a clue?
I ran into a segfault with a cbAfterDelay callback, and after single-stepping the asm in the debugger I found a mysterious call to
__dynamic_cast
that wasn't in thev11_branch
. Luckily, clicking on the history for this file turns up this fix, so I'm guessing my installation was made before this fix.As a workaround I just put a dummy vpiHandle and it fixed the problem. Here is the particular code I am using:
You can see the whole project here
Beta Was this translation helpful? Give feedback.
All reactions