Tool · Converter

SDC as data, not text

Parse an SDC file and output structured JSON or YAML for tool integration, scripting, dashboards and audits. Same parser the checker uses, so what you convert is what you validate.

In plain words

What does the converter do?

Your SDC is text. Sometimes you need it as data: to feed an in-house dashboard, run a script over every constraint, or keep a machine-readable inventory for audits. The converter makes that one command.

  • Tool integration: feed constraint structure into your own scripts and dashboards.
  • Audit-friendly: machine-readable constraint inventories for reviews.
  • Diff-friendly: compare JSON snapshots instead of SDC text.
$ rta convert top.sdc --format json { "commands": [ { "command": "create_clock", "flags": {"-name": "clk", "-period": 10.0}, "objects": ["sys_clk"], "line": 3 } ] }

Try it

Convert your constraints

Convert to JSON / YAML
$ rta convert your_block.sdc --format json --output constraints.json
$ rta convert your_block.sdc --format yaml # YAML to stdout