Steven Herbst
Steven Herbst
@leonardt that would be totally fine; it's just for debugging purposes. The traceback is mainly helpful for SPICE simulations, where ``Expect`` actions are implemented in post-processing.
Great - it's OK with me if the feature is disabled by default.
Hierarchy looks good; only thing I would recommend is to put ``Real`` and ``Elect`` under a type called ``Analog``. ``Real`` and ``Elect`` both represent analog signals, but use different simulator...
It looks like this behavior of **vvp** is expected according to a [comment](https://github.com/steveicarus/iverilog/issues/171), so I think it's probably necessary to use [unbuffer](https://www.systutorials.com/docs/linux/man/1-unbuffer/), [stdbuf](https://www.gsp.com/cgi-bin/man.cgi?section=1&topic=stdbuf), or similar to achieve realtime output.
Thanks for reporting this! If you wanted to try to add the feature to `svinst`, you could look into adding a new pattern to the `analyze_defs` function in `svinst/src/main.rs`: https://github.com/sgherbst/svinst/blob/432069dd23370db7aa7c7ec57e3b5213b16b1791/src/main.rs#L172...
Sorry for the delay on this. I looked into using `slang` to do elaboration, and it seems promising. Running `slang top.sv --ast-json -` produces [this JSON output](https://gist.github.com/sgherbst/b97dbd426793ef429ba8c6ff5a05f335#file-slang_test-json). (here's [top.sv](https://gist.github.com/sgherbst/93f256d0facbdfb5f9b8e3aa2bc1aeb1)) As...
Awesome, great job! Feel free to create a pull request for this feature when it is to your liking. I'm happy to help with any integration issues that arise.
Thanks for catching this. As you suspected, the issue is that ``svinst`` doesn't do any escaping of characters in strings: https://github.com/sgherbst/svinst/blob/c444cfbc95ac3d283323caccb95089f401e198a3/src/main.rs#L358 We could do a quick fix for this, although...
Just had a chance to work on this - sorry for the delay. Could you try the latest version to see if the problem is fixed on your side? Thanks.
Hi @ganghuang -- just wanted to check if I can go ahead and close this issue. Thanks again for catching it.