This tool reads Verilog design and ungroups the specified list of instances and finally dumps out the modified design. You may also consider to explore the flatteninstances tool to flatten specific hierarchical instances. This utility been developed in Java (1.8) in order to make it platform independent and bundled as an executable JAR file which can be directly used from the 'lib' directory in the downloaded tar or ZIP file. Example-
Usage
source setup_env.('csh' or 'sh' or 'bat' as applicable )
Alternatively, for Unix
setenv EDAUTILS_ROOT /usr/user1/DesignPlayer-linux.x86/01MAY2014 ( installation dir )
set path = ( $EDAUTILS_ROOT/bin $path )
and for Windows
set EDAUTILS_ROOT=D:\tmp\DesignPlayer-win32.x86_64\01MAY2014 ( installation dir )
set PATH="%path%;%EDAUTILS_ROOT%\bin"
removehierarchy -in <input vlog files > -top <name-of-module-to-be-flattened> -out <out vhdl file name > [-f <file-containing-list-of-vlog-files>] [-hier_delim <hierarchy-delimiter-character>] [+incdir+<include-path1>+<include-path2> [-dbg] [-all] [-stop_at_leaf] [+define+macro1+macro2]
OR
java com.eu.miscedautils.verilogparser.RemoveHierarchy -in <input vlog files > -top <name-of-module-to-be-flattened> -out <out vhdl file name > [-f <file-containing-list-of-vlog-files>] [-hier_delim <hierarchy-delimiter-character>] [+incdir+<include-path1>+<include-path2> [-dbg] [-all] [-stop_at_leaf] [+define+macro1+macro2]
Go through the examples to get a better understanding of this tool. The examples are pretty comprehensive and covers wide range of possible scenario. Send mails to help@edautils.com if you need any assistance.
Get details by executing it as ' removehierarchy -help '
Part of the EDAUtils toolset
- Baya - AI-enabled SoC integration with IP-XACT and a 200+ command Tcl API
- IP-XACT 1685 solution - component packaging, registers, memory maps and generators
- RTL utilities - parsers, translators, testbench and document generators
- Run online free - try this tool in the browser, no install