Has anyone been able to get source browsing to work with gtkwave?

78 views
Skip to first unread message

Øyvind Harboe

unread,
Feb 4, 2021, 9:07:41 AM2/4/21
to chisel-users
Ideally, I'd like to have Chisel source browsing from within gtkwave...


I tried and failed to get this working. The article talks about xml2stems not really being maintained.


Schuyler Eldridge

unread,
Feb 5, 2021, 2:47:46 PM2/5/21
to chisel...@googlegroups.com, Øyvind Harboe
I've gotten as far as seeing that GTKWave supports this and thinking it would be cool to add it...

High level: this is probably doable without xml2stems and doing the analysis in a late-running FIRRTL transform. E.g., you run a transform that packages all the Info fields (which are the source locators) into a stems file.

This probably isn't that hard to do if you know what the format of the Stems file should be.

Would be super cool, I think.

Øyvind Harboe

unread,
Feb 5, 2021, 2:54:12 PM2/5/21
to Schuyler Eldridge, chisel...@googlegroups.com
I have looked at the xml2stems and my thinking is that it would not be much code in Scala and probably quite robust. So... FIR+xml from verilator and out pops a stems file. I am not sure the xml from Verilator is required to link Chisel to rtlbrowse.
Reply all
Reply to author
Forward
0 new messages