Replies: 1 comment 2 replies
-
Thanks for the kind words. The netlist tool isn't necessarily intended to be used as a library, but I suppose the way you're pulling it in will work. I'm not sure about the particulars of your question; there's no enough information to diagnose it. You'll need to look at the backtrace from when the assertion fires and see what the code is looking at. Your code might be configuring the tool differently from what slang-netlist will do by default. You can look at what the code is doing and try to replicate or figure out what you're doing differently when setting it up. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to use the code in slang-netlist in my project. Specifically, I am using it to find all instances of "read" and "write" accesses to a variable. Which I believe can be done by retrieving the declaration netlist node and gathering its incoming and outgoing edges.
This is what my CMakeLists.txt file looks like right now:
With this, I am able to include files from tools/netlist/include, and it does build successfully, however when I try to create a netlist from an SV file with a concurrent assertion I get this error:
Trying to use a debugger to inspect this failed miserably. The error is odd to me because from the commit history, it looks like ignoring concurrent assertions was something that was specifically fixed in a recent commit. And indeed the same SV source file does work with the slang-netlist executable.
What's going wrong? How can I resolve this?
Unrelated note:
As I dig deeper into this project, I am more and more impressed by its sheer size. As someone who is constantly going through the IEEE SystemVerilog spec book, the fact that a single person can implement its ideas to any level of completion is mind-blowing to me, let alone a basically fully accurate implementation. Big props to you @MikePopoloski, the fact that you even seem to have a decorated career outside of this project is insane.
Beta Was this translation helpful? Give feedback.
All reactions