Skip to content

Instantly share code, notes, and snippets.

@brabect1
Last active May 4, 2024 11:10
Show Gist options
  • Save brabect1/7a2ad39fbf9d055b3638af9bb8b817d4 to your computer and use it in GitHub Desktop.
Save brabect1/7a2ad39fbf9d055b3638af9bb8b817d4 to your computer and use it in GitHub Desktop.
Discovering Verilog files dependencies #verilog #systemverilog #verilog-perl

Discovering (System)Verilog Dependencies

The Verilog-perl module comes with some utilities to help you orient yourself in an alien code.

One of the first things you normally do is to understend the module dependencies. That is, what module instantiates other modules. You can do this easily as follows:

vhier -sv --no-missing --missing-modules  --forest <files>

# if there are any include directives, then add the include dir options
vhier ... -I<dir> ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment