Extract a Verilog/SystemVerilog design's connectivity -- instances, parameter maps, port-to-port and constant connections -- into a Baya connection database (XML and JSON) for querying, diffing or replaying as Baya Tcl.
Reads a Verilog/SystemVerilog design and writes a Baya connection database for the -top module: its instances, parameter maps and connections (port-to-port and constant), as an XML file and a JSON file of the same stem (default BayaConnectionDB.xml / BayaConnectionDB.json). The XML feeds compareconnectiondb and bayadb2bayatcl.
Usage
genconnectiondb -in <file.v> | -f <filelist> -top <module> [-out <db.xml>] [options]
Every option is listed by genconnectiondb -help, and the complete reference is in the capability file that ships with the tool's AGENTS.md.
Exit status
- 0 on a normal finish, including runs that reported errors (missing
-top, top module not found, parse errors all return 0). 10 = license checkout failed. 1 =EDAUTILS_ROOTmissing/invalid. - Message format:
genconnectiondb: <Severity>: <id>: <text>, severity one ofError,Fatal Error,Warning,Note;<id>is a 5-digit message number. Usage lines have no severity or id. Per module:Generating connection DB corresponding to the module <m>andCompleted conversion of the module <m>. - The run ends with
genconnectiondb: Note: <id>: Found N error(s) and M warning(s) ...; N is the number of Error/Fatal messages. This summary is printed even with-nobanner.
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call genconnectiondb. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- genconnectiondb.