Skip to content

RTL Tree

Commands: lazyverilog.rtlTree, lazyverilog.rtlTreeReverse

Builds a JSON instantiation hierarchy tree for the current module.

  • rtlTree — forward hierarchy: the module and all its instantiated children (recursively).
  • rtlTreeReverse — reverse hierarchy: where the current module is instantiated.

Neovim's RtlTree window listing soc_top, its instances and their children beside the source file

toml
[rtltree]
show_instance_name = true
show_file = false
SectionOptionTypeDefaultDescription
rtltreeshow_instance_namebooltrueShow module (u_instance) instead of just module
rtltreeshow_fileboolfalseAppend [path/to/file.sv] after the module name

Released under the MIT License. Themed with Catppuccin.