Lint UPF (IEEE 1801) power intent: evaluates the UPF like a power-intent tool and checks supplies, domains, switches, power states, isolation, level shifting and retention against a rule catalogue, optionally against the RTL.
UPF (IEEE 1801 power intent) lint checker. Reads one or more UPF files, evaluates them in a private Tcl interpreter (JTcl) the way a power-intent tool does -- set, expr, foreach, proc, if and $variables work, source and load_upf are followed (load_upf -scope moves the scope), set_scope moves it -- builds its own power-intent model (domains and their extents, supply ports, nets and sets with their functions and handles, associations, switches, isolation / level-shifter / retention / repeater strategies, power states, state groups, legacy PSTs, port attributes, power models; every object with the statement that created it and the -updates that changed it, each with file and line) and checks it against the catalogue of lint rules.
Usage
upflint -in <file.upf> [-in <file.upf> ...] [-f <filelist>] [-report <file>]
[-disable <ID,ID..>] [-enable_only <ID,ID..>] [-severity error|warning|info]
[-list_rules] [-quiet] [-nobanner] [-user <email>] [-help]
Every option is listed by upflint -help, and the complete reference is in the capability file that ships with the tool's AGENTS.md.
Exit status
- 0 no lint error (warnings and info never fail the run), 2 at least one lint error reported, 1 usage error / unreadable input / internal error, 10 no license. The launcher itself exits 1 when
EDAUTILS_ROOTis not set. - Message ids 61200-61239 belong to this tool: 61200 usage error, 61201 options, 61202 reading a file, 61203 report written, 61204 lint result, 61210 a finding, 61220-61228 usage text, 61239 internal error. Displayed ids carry the usual 50000 offset (
111204).
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call upflint. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- upflint.