Tool · Linter

One SDC style, enforced everywhere

Constraint files accumulate formatting chaos. Ṛta normalizes section ordering, spacing and layout without touching semantics, so every review diff shows a real change, not reflow noise.

In plain words

What does the linter do?

The linter reorganizes and cleans up SDC files: consistent section ordering, spacing, and formatting. It never changes what a constraint means, only how it looks.

  • Section ordering: clocks, generated clocks, I/O, exceptions and groups, in one canonical order.
  • Spacing & alignment: consistent formatting across authors and branches.
  • Zero semantic change: lint never rewrites what a constraint means.
$ rta lint --check messy.sdc ✗ not lint-clean - 4 formatting issues (exit 1) $ rta lint --fix messy.sdc ✓ cleaned messy.sdc $ rta lint --check messy.sdc ✓ SDC file is lint-clean

Review speed

Reviewers see constraint changes, not reflowed whitespace.

Less merge pain

Canonical formatting minimizes merge conflicts across branches.

CI enforcement

Gate merges on lint-clean constraints: the same standard for everyone.

Try it

Lint your files

Lint a file
$ rta lint --check your_block.sdc
$ rta lint --fix your_block.sdc # clean in place