Generate synthesizable Verilog RTL for the registers and address blocks of an IP-XACT component, with a bus interface for register access.
Reads an IP-XACT register description (a component, memoryMaps, memoryMap or addressBlock XML) and writes a synthesizable Verilog register-interface block: one module holding the registers, with a generic read/write bus interface (clock, asynchronous reset, read/write request, read/write address, read/write data, address-valid) whose port names and bus widths are configurable, plus one output port per register (or per bit field with -fieldtypeport).
Usage
ipxactreg2verilog -in <ipxact.xml> [-out <file.v>] [-v2009 | -v2022] [options]
Every option is listed by ipxactreg2verilog -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
-in, unreadable XML, bad-regwidth/-*_bus_width/-base_address, unrecognised option all return 0). 10 = license checkout failed. 1 =EDAUTILS_ROOTmissing/invalid. - Message format:
ipxactreg2verilog: <Severity>: <id>: <text>, severity one ofError,Fatal Error,Warning,Note;<id>is a 5-digit message number. Usage lines have no severity or id. - Typical failures:
NULL object passed as component definition XML ...(no-in),Unsupported IP-XACT Element of type : ...,Failed to parse argument : -<opt> <val>,Failed to process ...(Fatal, nothing written).
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call ipxactreg2verilog. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- ipxactreg2verilog.