The tool generates two JSON files in the current working directory: port_info.json
and hier_info.json
. The port_info.json
contains all top modules with their ports which are written as a list of objects. The hier_info.json
contains the hierarchy information.
The JSON schema for the port_info.json is provided in the port_info_schema.json file.
-
fileIDs
: list of all source files with unique IDs, which are used in json to avoid repetitive long string names for every module description. -
modules
: description of project's all modules. Has unique identifier constructed by module name and parameters, this identifier is used as key for modules instances fields. -
hierTree
: list of all top level modules (containing filename id, port info, parameters info, module instances with module identifiers pointing to the "modules" section.)
The JSON schema for the hier_info.json is provided in the hier_info_schema.json file.
analyze -f <path_to_instruction_file>
where instruction file contain vhdl/verilog/systemverilog source files with options.
The complete list of supported options are the following:
{-vlog95|-vlog2k|-sv2005|-sv2009|-sv2012|-sv} [-D<macro>[=<value>]] <verilog-file/files>
{-vhdl87|-vhdl93|-vhdl2k|-vhdl2008|-vhdl} <vhdl-file/files>
-work <libname> {-sv|-vhdl|...} <hdl-file/files>
-L <libname> {-sv|-vhdl|...} <hdl-file/files>
-vlog-incdir <directory>
-vlog-libdir <directory>
-vlog-define <macro>[=<value>]
-vlog-undef <macro>
-top <top-module>