Lint SDC timing constraints: evaluates the decks like a timing tool and checks clocks, generated clocks, IO delays, exceptions and units against a design-independent rule catalogue.
SDC lint checker. Reads one or more SDC (Synopsys Design Constraints) decks, evaluates them in a private Tcl interpreter (JTcl) the way a timing tool does -- set, expr, foreach, proc, if, source and $variables all work -- builds its own typed constraint model (clocks, generated clocks, clock latency/uncertainty/transition/propagation, clock groups, input/output delays, false path / multicycle / max / min delay with from/through/to, case analysis, environment, design rules, units; every record with file and line) and checks it against a catalogue of lint rules. Design-independent: no netlist or Liberty library is read.
Changes in release 10.0
- The evaluator knows
all_inputs -no_clocks,get_full_name,all_faninandall_fanout, and raises no SDC-303 for a list a deck builds while walking a collection (that depends on the netlist, which sdclint does not have). - The SDC lexer accepts backslash escapes and several
[..]groups in one word, so-regexp {^(.*)\.sync\[([0-9]+)\]}is one word. - The
sdccorpusregression family runs 15 SDC files from 9 public open-source designs through print-back and lint. - To review constraints per mode in a spreadsheet, see sdc2xls and xls2sdc.
Usage
sdclint -in <file.sdc> [-in <file.sdc> ...] [-f <filelist>] [-sdc_version <v>] [-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 sdclint -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 10700-10899 belong to this tool: 10700 usage error, 10701 options, 10702 reading a deck, 10703 report written, 10704 lint result, 10710 a finding, 10720-10728 usage text, 10799 internal error. Displayed ids carry the usual 50000 offset (
60704).
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call sdclint. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- sdclint.