XML2STEMS(1)

πŸ’– XML2STEMS(1) β€” Filetype Conversion, but make it cute πŸ’–

okay bestie, welcome to the xml2stems page β€” manual name is Filetype Conversion, section 1, and she's a little tool with a big job. let's get into it πŸŽ€


✨ NAME ✨

xml2stems β€” Verilator XML to rtlbrowse stems conversion.

✨ SYNTAX ✨

xml2stems [option]... INFILE [OUTFILE]

✨ DESCRIPTION ✨

So what does she do? Converts Verilator XML AST representation to stems file for use with rtlbrowse. that's the whole vibe πŸ’…

She's intended to replace the obsolete vermin, and fr fr, in the future, advanced tool features may possibly use additional data provided by the Verilator AST. no cap.

Two lil quality-of-life things you need to know:

  • Using - as an input filename reads from stdin. yes, the humble dash, main character energy.
  • Omitting the output filename outputs to stdout. so she'll just talk right at your terminal 🫢

✨ OPTIONS ✨

  • -V, --vl_sim β€” Adds TOP hierarchy for Verilator sim. Not necessary for other simulators. like, only needed if you're Verilator-ing, bestie πŸ’œ
  • -h, --help β€” Display help then exit. the classic. she says her piece and dips πŸ‘‘

✨ EXAMPLES ✨

okay so here's a whole chain of commands to compile Verilog source and then bring up gtkwave and rtlbrowse together for source code annotation. This assumes the file des.fst was already generated from a prior simulation. (iykyk 🌸)

verilator -Wno-fatal des.v -xml-only --bbox-sys

xml2stems obj_dir/Vdes.xml des.stems

gtkwave -t des.stems des.fst

three lines, whole pipeline, slay πŸ”₯

✨ AUTHORS ✨

Anthony Bybell <bybell@rocketmail.com> β€” legend behaviour, honestly 🌈

✨ SEE ALSO ✨

rtlbrowse(1) gtkwave(1)


πŸ¦‹ gentle reminder from your bestie: vermin is obsolete, so don't be out here using it, okay? use xml2stems instead. periodt.

this page was brought to you by Anthony Bybell, version 3.3.93 β€” mwah, take care of her, she's iconic πŸ’–βœ¨πŸŽ€