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.
Waivers: sign findings off, never lose them
A finding that is understood and accepted is waived, not deleted. It leaves the open list, the counts and the exit status, and the report lists it under # waived findings with the waiver that matched, its reason and its owner. A broken waiver is an error naming file:line; it never silently waives or un-waives anything.
- Waiver files (
-waiver <file>, repeatable): one waiver per line,rule=andreason=required, narrowed byfile,line,object,msg,msg_regexor the finding'sfingerprint, signed off withownerand time-boxed withexpires. The same format as the ipxactlint and CDC/RDC waiver files. - In-deck pragmas:
# upflint waive rule=... reason="..."on the line before a command, or awaive_begin/waive_endblock. They are Tcl comments, so every other tool ignores them. - Review workflow:
-write_waivers review.txtwrites one entry per open finding, keyed by its fingerprint, withowner=$USERandreason="TODO: review";-waivers_frombuilds it from earlier reports without linting again;-strict_waiversfails a run that still has a TODO reason. - No stale waivers: a waiver that matches nothing is reported (warning 62902), an expired one stops applying (warning 62903), and
-no_waiversreports everything open to audit what is waived. - CI gate:
-fail_on error|warning|info|neversets what fails the run (exit 2), and-format csv,json,junitwrites reports a CI server reads directly.
# waivers.txt
rule=UPF-090 object=vdd_in reason="vdd_in is the switch cell pin name in the library" owner=carol expires=2099-12-31
upflint -in block.upf -waiver waivers.txt -format junit
upflint -waivers_from upflint.rpt -write_waivers review.txt
The rule catalogue
153 rules over supplies, power domains, switches, power states, isolation, level shifting and retention, each with a failing and a passing example. upflint -list_rules prints the catalogue and upflint -explain <ID> prints a rule's rationale with a failing and a passing example; neither needs a license. Level 1 checks the UPF alone; Level 2 also checks it against the RTL, adding domain-crossing rules found from the design's connectivity.
Free to evaluate: the download bundle includes its license, so the tool runs as soon as it is unpacked.
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.
Frequently asked questions
rule=<id> reason="<why>" in a waiver file and pass -waiver waivers.txt, or put a # upflint waive pragma above the command in the UPF. Waived findings stay in the report with their reason and owner, and stop failing the run.upflint -in <UPF file> -write_waivers review.txt. It writes one entry per open finding, keyed by fingerprint, with owner and a TODO reason to fill in. Use -strict_waivers in CI so no TODO reason slips through.-fail_on sets the severity that fails the run (exit 2) and -format junit writes a JUnit report; waived findings never fail it, and stale or expired waivers are reported.