Diff the connectivity of two designs: genconnectiondb writes each design's connection database and compareconnectiondb reports every connection added, removed or changed -- did a restructuring change the design?
Bundle with two launchers. genconnectiondb reads a Verilog/SystemVerilog design and writes a Baya connection database (the connections, instances and parameter maps of the -top module, optionally of all its sub-modules) as XML and JSON. compareconnectiondb compares two such XML databases (-revised against -golden, EMF Compare) and writes a text difference report (default Diff.rpt).
Exit status
- 0 on a normal finish, including runs that reported errors (missing mandatory options, top module not found, parse errors, unreadable database files all return 0). 10 = license checkout failed. 1 =
EDAUTILS_ROOTmissing/invalid. - Message format:
<prefix>: <Severity>: <id>: <text>with prefixgenconnectiondborCompareConnectivityDB, severity one ofError,Fatal Error,Warning,Note;<id>is a 5-digit message number. Usage and diff lines have no severity or id. - Both tools end with
<prefix>: Note: <id>: Found N error(s) and M warning(s) ..., printed even with-nobanner(neither tool guards it). The compareconnectiondb banner names itself "genconnectiondb" (hard-coded inprintBanner).
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call compareconnectivitydatabase. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- compareconnectivitydatabase.