forked from parallaxsw/OpenSTA
-
Notifications
You must be signed in to change notification settings - Fork 5
[ENG-2108] FEATURE - check_setup has json dump option #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a58537b
-json [filename] support for check_setup command
stanminlee 195bccb
implementation change
stanminlee 312ce09
loops arent supported
stanminlee 58b681c
json pretty-prints
stanminlee 7653271
test case
stanminlee 1bc33d5
keep whats necessary
stanminlee 9de490c
fix typo!
stanminlee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| Warning: There are 4 input ports missing set_input_delay. | ||
| Warning: There are 2 unclocked register/latch pins. | ||
| Warning: There are 4 unconstrained endpoints. | ||
| Warning 518: check_setup_json.tcl line 16, check_setup -json does not support -loops. Loops are not emitted. | ||
| { | ||
| "no_input_delay": [ | ||
| "clk2", | ||
| "clk3", | ||
| "in1", | ||
| "in2" | ||
| ], | ||
| "unclocked": [ | ||
| "r2/CLK", | ||
| "r3/CLK" | ||
| ], | ||
| "unconstrained": [ | ||
| "out", | ||
| "r1/D", | ||
| "r2/D", | ||
| "r3/D" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # check_setup -json | ||
| source helpers.tcl | ||
| read_liberty asap7_small.lib.gz | ||
| read_verilog reg1_asap7.v | ||
| link_design top | ||
|
|
||
| # Only constrain clk1; leave clk2/clk3, inputs, and outputs unconstrained | ||
| create_clock -name clk1 -period 500 clk1 | ||
|
|
||
| set json_file [make_result_file "check_setup_json.json"] | ||
|
|
||
| # Dump JSON, should warn that loops aren't supported. | ||
| check_setup -unconstrained_endpoints -multiple_clock -no_clock \ | ||
| -no_input_delay -generated_clocks \ | ||
| -loop \ | ||
| -json $json_file | ||
|
|
||
| report_file $json_file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.