1VHIER(1) User Contributed Perl Documentation VHIER(1)
2
3
4
6 vhier - Return all files in a verilog hierarchy using Verilog::Netlist
7
9 vhier --help
10 vhier [verilog_options] [-o filename] [verilog_files.v...]
11
13 Vhier reads the Verilog files passed on the command line and outputs a
14 tree of all of the filenames, modules, and cells referenced by that
15 file.
16
18 The following arguments are compatible with GCC, VCS and most Verilog
19 programs.
20
21 +define+var+value =item -Dvar=value
22 Defines the given preprocessor symbol.
23
24 -f file
25 Read the specified file, and act as if all text inside it was
26 specified as command line parameters.
27
28 +incdir+dir =item -Idir
29 Add the directory to the list of directories that should be
30 searched for include directories or libraries.
31
32 +libext+ext+ext...
33 Specify the extensions that should be used for finding modules. If
34 for example module x is referenced, look in x.ext.
35
36 -sv Specifies SystemVerilog language features should be enabled;
37 equivalent to "--language 1800-2009". This option is selected by
38 default, it exists for compatibility with other simulators.
39
40 -y dir
41 Add the directory to the list of directories that should be
42 searched for include directories or libraries.
43
45 --help
46 Displays this message and program version and exits.
47
48 --o file
49 Use the given filename for output instead of stdout.
50
51 --cells
52 Show the module name of all cells in top-down order.
53
54 --input-files
55 Show all input filenames. Copying all of these files should result
56 in only those files needed to represent the entire design.
57
58 --language <1364-1995|1364-2001|1364-2005|1800-2005|1800-2009>
59 Set the language standard for the files. This determines which
60 tokens are signals versus keywords, such as the ever-common "do"
61 (data-out signal, versus a do-while loop keyword).
62
63 --resolve-files
64 Show resolved filenames passed on the command line. This will
65 convert raw module and filenames without paths to include the
66 library search path directory. Output filenames will be in the
67 same order as passed on the command line. Unlike --input-files or
68 --module-files, hierarchy is not traversed.
69
70 --module-files
71 Show all module filenames in top-down order. Child modules will
72 always appear as low as possible, so that reversing the list will
73 allow bottom-up processing of modules. Unlike input-files, header
74 files are not included.
75
76 --modules
77 Show all module names.
78
79 --nomissing
80 Do not complain about references to missing modules.
81
82 --missing-modules
83 With --nomissing, show all modules that are not found.
84
85 --top-module module
86 Start the report at the specified module name, ignoring all modules
87 that are not the one specified with --top-module or below, and
88 report an error if the --top-module specified does not exist.
89 Without this option vhier will report all modules, starting at the
90 module(s) that have no children below them.
91
92 Note this option will not change the result of the --input-files
93 list, as the files needed to parse any design are independent of
94 which modules are used.
95
96 --version
97 Displays program version and exits.
98
100 Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA
101 software tool suite. The latest version is available from CPAN and
102 from http://www.veripool.org/verilog-perl
103 <http://www.veripool.org/verilog-perl>.
104
105 Copyright 2005-2010 by Wilson Snyder. This package is free software;
106 you can redistribute it and/or modify it under the terms of either the
107 GNU Lesser General Public License Version 3 or the Perl Artistic
108 License Version 2.0.
109
111 Wilson Snyder <wsnyder@wsnyder.org>
112
114 Verilog-Perl, Verilog::Getopt, Verilog::Preproc, Verilog::Netlist
115
116
117
118perl v5.12.2 2010-10-25 VHIER(1)