Crates.io | sdcx |
lib.rs | sdcx |
version | 0.1.0 |
source | src |
created_at | 2023-11-16 10:13:05.733372 |
updated_at | 2023-11-16 10:13:05.733372 |
description | SDC (Synopsys Design Constraints) toolkit |
homepage | |
repository | https://github.com/dalance/sdcx |
max_upload_size | |
id | 1037479 |
size | 434,154 |
SDCx is SDC (Synopsys Design Constraints) toolkit. It provides a cli tool to handle SDC files and a SDC parsing library of Rust.
SDC (Synopsys Design Constraints) is a de facto standard format to describe constraints for ASIC/FPGA design. The specification of SDC is published through Technology Access Program (TAP-in). SDCx supports SDC1.1 ~ SDC2.1 defined at the specification.
sdcx
is a CLI frontend of SDCx. This provides the following features.
sdcx check
validates an input SDC file.
By default, sdcx
uses SDC version according to set sdc_version
command.
If version is not specified, SDC 2.1 will be assumed.
If --force-version
option is provided, the version can be overrided.
$ cat test.sdc
set sdc_version 2.1
set_sense -positive pin; # set_sense is supported on SDC2.1 only
$ sdcx check test.sdc
$ sdcx check --force-version 2.0 test.sdc
error[sdcx::sdc::SdcError]: Unsupported command at SDC 2.0
┌─ test.sdc:2:1
│
2 │ set_sense -positive pin; # set_sense is supported on SDC2.1 only
│ ^^^^^^^^^^^^^^^^^^^^^^^ Found
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.