forked from parallaxsw/OpenSTA
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add {
instance
, cell
, verilog_src
, pin
, net
, hier_pins
, `c…
…apacitance`} fields to `report_checks -format json` for paths (parallaxsw#135) * Add {`inst`, `cell`, `src`, `nets`} to `report_checks -format json` * Smallfix * Improved nets * Race condition fix * Fixes * Small whitespace fix * Add no paths corner case stuff * Adjustments to naming of fields * Requested fixes * Reintroduce escapeBackslashes, use stringCopy to prevent stack memory warning * Fix escapeBackslashes to use preferred style * No backslash escaping * Make requested fixes
- Loading branch information
Showing
14 changed files
with
207 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
Startpoint: in (input port clocked by clk) | ||
Endpoint: _1415_ (rising edge-triggered flip-flop clocked by clk) | ||
Startpoint: _1415_ (rising edge-triggered flip-flop clocked by clk) | ||
Endpoint: _1416_[0] (rising edge-triggered flip-flop clocked by clk) | ||
Path Group: clk | ||
Path Type: max | ||
|
||
Cap Slew Delay Time Description Src Attr | ||
--------------------------------------------------------------------------------------------------------------- | ||
0.00 0.00 0.00 clock clk (rise edge) | ||
0.00 0.00 clock network delay (ideal) | ||
0.00 0.00 v input external delay | ||
0.00 0.00 0.00 0.00 v in (in) | ||
in (net) | ||
0.00 0.00 0.00 v _1415_/D (sky130_fd_sc_hd__dfrtp_1) synthesis/tests/counter.v:22.3-28.6 | ||
0.00 data arrival time | ||
0.00 0.00 0.00 ^ _1415_/CLK (sky130_fd_sc_hd__dfrtp_1) synthesis/tests/counter.v:22.3-28.6 | ||
0.00 0.04 0.33 0.33 v _1415_/Q (sky130_fd_sc_hd__dfrtp_1) synthesis/tests/counter.v:22.3-28.6 | ||
mid (net) synthesis/tests/counter.v:22.3-28.6 | ||
0.04 0.00 0.33 v _1416_[0]/D (sky130_fd_sc_hd__dfrtp_1) synthesis/tests/counter.v:22.3-28.6 | ||
0.33 data arrival time | ||
|
||
0.00 10.00 10.00 clock clk (rise edge) | ||
0.00 10.00 clock network delay (ideal) | ||
0.00 10.00 clock reconvergence pessimism | ||
10.00 ^ _1415_/CLK (sky130_fd_sc_hd__dfrtp_1) | ||
-0.10 9.90 library setup time | ||
9.90 data required time | ||
10.00 ^ _1416_[0]/CLK (sky130_fd_sc_hd__dfrtp_1) | ||
-0.12 9.88 library setup time | ||
9.88 data required time | ||
--------------------------------------------------------------------------------------------------------------- | ||
9.90 data required time | ||
-0.00 data arrival time | ||
9.88 data required time | ||
-0.33 data arrival time | ||
--------------------------------------------------------------------------------------------------------------- | ||
9.90 slack (MET) | ||
9.55 slack (MET) | ||
|
||
|
This file contains 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,78 @@ | ||
{"checks": [ | ||
{ | ||
"type": "check", | ||
"path_group": "clk", | ||
"path_type": "max", | ||
"startpoint": "_1415_/Q", | ||
"endpoint": "_1416_[0]/D", | ||
"source_clock": "clk", | ||
"source_clock_edge": "rise", | ||
"source_path": [ | ||
{ | ||
"instance": "", | ||
"cell": "counter", | ||
"verilog_src": "", | ||
"pin": "clk", | ||
"arrival": 0.000e+00, | ||
"capacitance": 3.742e-15, | ||
"slew": 0.000e+00 | ||
}, | ||
{ | ||
"instance": "_1415_", | ||
"cell": "sky130_fd_sc_hd__dfrtp_1", | ||
"verilog_src": "synthesis/tests/counter.v:22.3-28.6", | ||
"pin": "_1415_/CLK", | ||
"net": "clk", | ||
"arrival": 0.000e+00, | ||
"slew": 0.000e+00 | ||
}, | ||
{ | ||
"instance": "_1415_", | ||
"cell": "sky130_fd_sc_hd__dfrtp_1", | ||
"verilog_src": "synthesis/tests/counter.v:22.3-28.6", | ||
"pin": "_1415_/Q", | ||
"net": "mid", | ||
"arrival": 3.296e-10, | ||
"capacitance": 1.949e-15, | ||
"slew": 3.612e-11 | ||
}, | ||
{ | ||
"instance": "_1416_[0]", | ||
"cell": "sky130_fd_sc_hd__dfrtp_1", | ||
"verilog_src": "synthesis/tests/counter.v:22.3-28.6", | ||
"pin": "_1416_[0]/D", | ||
"net": "mid", | ||
"arrival": 3.296e-10, | ||
"slew": 3.612e-11 | ||
} | ||
], | ||
"target_clock": "clk", | ||
"target_clock_edge": "rise", | ||
"target_clock_path": [ | ||
{ | ||
"instance": "", | ||
"cell": "counter", | ||
"verilog_src": "", | ||
"pin": "clk", | ||
"arrival": 0.000e+00, | ||
"capacitance": 3.742e-15, | ||
"slew": 0.000e+00 | ||
}, | ||
{ | ||
"instance": "_1416_[0]", | ||
"cell": "sky130_fd_sc_hd__dfrtp_1", | ||
"verilog_src": "synthesis/tests/counter.v:22.3-28.6", | ||
"pin": "_1416_[0]/CLK", | ||
"net": "clk", | ||
"arrival": 0.000e+00, | ||
"slew": 0.000e+00 | ||
} | ||
], | ||
"data_arrival_time": 3.296e-10, | ||
"crpr": 0.000e+00, | ||
"margin": 1.207e-10, | ||
"required_time": 9.879e-09, | ||
"slack": 9.550e-09 | ||
} | ||
] | ||
} |
This file contains 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,7 @@ | ||
# report_checks -format json | ||
read_liberty ../examples/sky130hd_tt.lib.gz | ||
read_verilog verilog_attribute.v | ||
link_design counter | ||
create_clock -name clk -period 10 clk | ||
set_input_delay -clock clk 0 [all_inputs -no_clocks] | ||
report_checks -path_group clk -format json >> results/report_json1.log |
This file contains 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,3 @@ | ||
{"checks": [ | ||
] | ||
} |
This file contains 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,6 @@ | ||
# report_checks -format json with no paths | ||
read_liberty ../examples/sky130hd_tt.lib.gz | ||
read_verilog verilog_attribute.v | ||
link_design counter | ||
create_clock -name clk -period 10 | ||
report_checks -path_group clk -format json >> results/report_json2.log |
This file contains 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