200K+ tool usages 50K+ downloads 69 tools, all free Intel Qualcomm Mediatek LG NVIDIA Samsung Broadcom NXP Huawei Texas Instruments AMD ARM Renesas Ciena 40+ more leading semiconductor companies Free for commercial and academic use 200K+ tool usages 50K+ downloads 69 tools, all free Intel Qualcomm Mediatek LG NVIDIA Samsung Broadcom NXP Huawei Texas Instruments AMD ARM Renesas Ciena 40+ more leading semiconductor companies Free for commercial and academic use

sdc2xls

Convert SDC timing constraints to an Excel workbook

Convert SDC timing constraints to an Excel workbook: a sheet per constraint category, one constraint per row, mode and corner as columns. Tcl and unmodelled commands are kept in a Raw sheet.

Reads SDC (Synopsys Design Constraints) files and writes the SDC workbook: one Excel workbook with a sheet per constraint category, one constraint per row, mode and corner as columns of every row. The inverse is xls2sdc.

SDC to Excel: one workbook, one constraint per row

sdc2xls reads the structure of the SDC files (nothing is executed) and writes one workbook for all of them, with mode and corner as columns of every row, so the same constraint in several modes can be reviewed, filtered and edited side by side. Two inputs may not share the same mode and corner; with no -mode the mode is the file name without extension.

SheetHolds
Modesmode, corner, source_file, out_file, description: one row per mode / corner
Clocks, GeneratedClockscreate_clock, create_generated_clock
ClockProps, ClockGroupslatency, uncertainty, transition, propagated clock, sense, ideal network; set_clock_groups
IODelaysset_input_delay, set_output_delay
Exceptionsfalse path, multicycle, max/min delay, max time borrow, with from / through / to in their own columns
CaseAnalysis, DisableTimingset_case_analysis, set_logic_zero/one/dc; set_disable_timing
Environmentdriving cell, load, input transition, max fanout / transition / capacitance, operating conditions, wire load, units, derate, dont_touch ...
Hierarchycurrent_design, current_instance
Raweverything a sheet cannot own: Tcl, variables, unknown commands, text a cell cannot hold

Every category row carries seq (its place in the SDC, across all sheets), mode, corner, scope (the current_instance in effect), command, the sheet's option columns, other_options and the comments above and on the command's line. Values are the SDC text verbatim, query commands included ([get_ports clk*], {a b}).

Nothing is dropped

Tcl (foreach, proc, if, source), variables (set), vendor commands the command table does not know and text a cell cannot hold (over 30,000 characters goes in pieces) are written to the Raw sheet, in place, and written back in place by xls2sdc. An option a sheet has no column for goes verbatim to other_options. Comments above a command and on its line travel with it. The log lists both under “Carried in Raw or other_options, per construct”. source is not followed: it is a Raw row.

Not preserved: blank lines, indentation, the order of options within a command (written in column order: valued options, flags, positional arguments, other_options) and ; joining of commands.

Example: two modes in one workbook

sdc2xls -in func.sdc,test.sdc -mode func,test -out chip.xlsx
xls2sdc -in chip.xlsx -mode func -out func_again.sdc
xls2sdc -in chip.xlsx -mode all  -out sdc_per_mode

The same two-mode flow ships as examples/two_modes in the bundle. The regenerated SDC reads the same through parsesdc, sdclint and comparesdc. The regression suite round-trips 15 SDC files from 9 public open-source designs through the workbook and checks the parse error count, the normal form of every command (sdc2xls -normalize), comparesdc and the sdclint summary per rule.

Usage

sdc2xls -in <a.sdc>[,<b.sdc>...] [-mode <m>[,<m>...]] [-corner <c>[,<c>...]] -out <book.xlsx> [-nobanner] [-user <email>] [-help]
sdc2xls -normalize <file.sdc> [-out <file>]

Every option is listed by sdc2xls -help, and the complete reference is in the capability file that ships with the tool's AGENTS.md.

Requirements

Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call sdc2xls. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- sdc2xls.

Frequently asked questions

How do I convert SDC to Excel?
Run sdc2xls -in constraints.sdc -out constraints.xlsx. Several files go in one workbook with -in a.sdc,b.sdc -mode func,test (one mode per file, optional -corner). The workbook has a sheet per constraint category and one constraint per row.
What happens to Tcl and commands sdc2xls has no sheet for?
They are kept verbatim in the Raw sheet, in place, or in the other_options column for an option a sheet has no column for, and the log lists each construct. xls2sdc writes them back where they were.
Can I get the SDC back from the workbook?
Yes: xls2sdc writes one SDC per mode / corner from the same workbook. Blank lines, indentation, the order of options within a command and ; joining are not preserved; the commands, options and values are.
Does sdc2xls need a license?
It needs a license file (EDAUTILS_LICENSE_FILE) with feature SDC2XLS; without one it exits with code 10. The licenses of sdc-shell and designplayer-shell also cover it.
Download sdc2xls →

Trusted by design teams worldwide

The collection of tools and utilities fills a real void in EDA. The baya tool is exactly what we had been looking for to assemble large top-level modules in Verilog. The GUI and high-level TCL commands are intuitive, allowing designers to get started immediately.
Michael TrocinoIC Design Manager, Coherent Logix
Thanks for efficient tools which have been successfully used in our internal wireless design flow. Friendly support has been highly appreciated.
Claudine RaibautEDA Manager, Texas Instruments
Baya is a mature production quality tool with features and capabilities beyond those of tools provided by large EDA vendors. Its flexibility is a key reason we have chosen it for use in our Cloud-based platform.
David FritzCEO, Social Silicon
Kanai produced an excellent tool set, which is very useful for complex system-on-chip integration flows. We were skeptical in the beginning, but later got really impressed by the high quality and ease of use.
Boris V. KuznetsovCEO, SOCC
Thanks a lot for creating DesignPlayer and the huge Java class library behind it. Your strong support makes me confident to explore more details in future.
Rolf KemperManager, Mixed Signal Design, Renesas Electronics Europe
EDAUtils is one of the most comprehensive tools for SoC design and integration, and it is available for free. I included EDAUtils in the OpenTech Package as a featured application.
Jamil KhatibOpenTech Package
The VHDL2Verilog translator worked great, even handling the generate statements in the source VHDL. It met our needs exactly.
Jerry FrenkilVP of Engineering, NanoWatt Design
We use the Verilog Parser for developing FPGA CAD applications. The library is very stable and EDAUtils provided much helpful support to us.
Dustin PetersonUniversity of Tübingen
I like the IP-XACT tools and others that you have developed. The IP-XACT tools are great.
Amal KhailtashLead FPGA Designer, Ciena Communications
The netlist parser provides an easy to use and flexible environment for developing my own custom analysis tools. The best part has been the prompt and helpful support.
Gene Y. WuUniversity of Texas
We have been using the Verilog testbench generator in Unix. It is really useful in the coding process and easy to use. I would recommend their tools.
Lucas TeixeiraSMDH
That really helped me now. I got the job done at the right time.
S. KrishnanIntel
The collection of tools and utilities fills a real void in EDA. The baya tool is exactly what we had been looking for to assemble large top-level modules in Verilog. The GUI and high-level TCL commands are intuitive, allowing designers to get started immediately.
Michael TrocinoIC Design Manager, Coherent Logix
Thanks for efficient tools which have been successfully used in our internal wireless design flow. Friendly support has been highly appreciated.
Claudine RaibautEDA Manager, Texas Instruments
Baya is a mature production quality tool with features and capabilities beyond those of tools provided by large EDA vendors. Its flexibility is a key reason we have chosen it for use in our Cloud-based platform.
David FritzCEO, Social Silicon
Kanai produced an excellent tool set, which is very useful for complex system-on-chip integration flows. We were skeptical in the beginning, but later got really impressed by the high quality and ease of use.
Boris V. KuznetsovCEO, SOCC
Thanks a lot for creating DesignPlayer and the huge Java class library behind it. Your strong support makes me confident to explore more details in future.
Rolf KemperManager, Mixed Signal Design, Renesas Electronics Europe
EDAUtils is one of the most comprehensive tools for SoC design and integration, and it is available for free. I included EDAUtils in the OpenTech Package as a featured application.
Jamil KhatibOpenTech Package
The VHDL2Verilog translator worked great, even handling the generate statements in the source VHDL. It met our needs exactly.
Jerry FrenkilVP of Engineering, NanoWatt Design
We use the Verilog Parser for developing FPGA CAD applications. The library is very stable and EDAUtils provided much helpful support to us.
Dustin PetersonUniversity of Tübingen
I like the IP-XACT tools and others that you have developed. The IP-XACT tools are great.
Amal KhailtashLead FPGA Designer, Ciena Communications
The netlist parser provides an easy to use and flexible environment for developing my own custom analysis tools. The best part has been the prompt and helpful support.
Gene Y. WuUniversity of Texas
We have been using the Verilog testbench generator in Unix. It is really useful in the coding process and easy to use. I would recommend their tools.
Lucas TeixeiraSMDH
That really helped me now. I got the job done at the right time.
S. KrishnanIntel

Read all customer feedback →