JSON2STEMS(1)

๐Ÿ’– JSON2STEMS(1) ๐Ÿ’–

okay bestie, so this is a Filetype Conversion manual page โ€” it's json2stems(1), and no cap it's the little glue tool that turns your Verilator JSON into stems. let's get into it ๐Ÿฆ‹


โœจ NAME โœจ

json2stems โ€” Verilator JSON to rtlbrowse stems conversion. that's the whole vibe. ๐Ÿ’…


๐ŸŒธ SYNTAX ๐ŸŒธ

json2stems METAINFILE TREEINFILE OUTFILE

three args, in that order, no substitutions. periodt. ๐Ÿ‘‘


๐ŸŽ€ DESCRIPTION ๐ŸŽ€

so what it does is: it converts a Verilator JSON AST representation into a stems file for use with rtlbrowse. like, that's the job. that's the whole job. โœจ

and here's the tea โ€” it's intended to replace the obsolete xml2stems(1). rip to xml2stems, she did her best. ๐Ÿ™ˆ

also, lowkey foreshadowing: in the future, advanced tool features may possibly use additional data provided by the Verilator AST. so this little guy might get even more iconic later. no promises tho, that's literally just what the page says. ๐Ÿ”ฎ


๐Ÿงš EXAMPLES ๐Ÿงš

here's a whole chain of commands to compile Verilog source and then bring up gtkwave and rtlbrowse together for source code annotation. bestie duo behavior, honestly. ๐Ÿซถ

this assumes the file des.fst was already generated from a prior simulation โ€” so don't come for me if that's missing, it's a prerequisite, okay? ๐Ÿ’€

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

json2stems obj_dir/Vdes.tree.meta.json obj_dir/Vdes.tree.json des.stems

gtkwave -t des.stems des.fst

see how the output of one thing feeds the next? it's giving pipeline. it's giving main character energy. the des.stems shows up in the gtkwave call with -t and everything lines up. slay. ๐Ÿ”ฅ


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

Leon Wandruschka <leon.wandruschka@outlook.com> โ€” the author, the moment, the legend. ๐ŸŽ€


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

go read those too, iykyk. ๐Ÿ’œ


fr fr that's the entire page. nothing skipped, nothing invented, every flag-free argument and every command kept exactly as it was. ๐Ÿ’–

and a lil sign-off for you, bestie: this one's by Leon Wandruschka, version 3.3.125, dated 3.3.125, filed under JSON2STEMS(1). mwah, take care of her ๐Ÿฆ‹โœจ๐ŸŒธ