Compare two IP-XACT components or designs and report every difference in ports, parameters, bus interfaces, memory maps and registers.
Compares two IP-XACT XML files of the same document type (component, bus definition, abstraction definition, ...) with EMF Compare. The models are built from the XSD schemas shipped in bin/schemas/ (IP-XACT 1685-2014), or from a schema given with -xsd. Output is a numbered difference list written to a text file (default diff.txt) and echoed to the log.
Usage
compareipxact -golden <file.xml> -revised <file.xml> <type switch> | -xsd <schema.xsd>
[-outfile <file>] [-v2009|-v2014|-v2022] [-origin <file.xml>] [-user <email>]
Every option is listed by compareipxact -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 (also after in-run errors such as an unreadable input file or missing schema, which are reported but not fatal). 1 = unrecognised option, missing mandatory input, or an internal exception. 10 = license checkout failed. 1 also =
EDAUTILS_ROOTmissing/invalid (launcher). - Message format:
compareipxact: <Severity>: <id>: <text>, severity one ofError,Fatal Error,Warning,Note,Programming Error;<id>is a 5-digit message number. Key notes:Found total differences : N,Written differences into file : <f>. - The run ends with
compareipxact: Note: <id>: Found N error(s) and M warning(s) ....
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call compareipxact. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- compareipxact.