Skip to content

Commit 4e485b4

Browse files
authored
Merge pull request #4400 from The-OpenROAD-Project-staging/update-set-rc-doc
Added plot instructions to RC correlation tutorial
2 parents e4daf84 + c568c88 commit 4e485b4

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎docs/tutorials/SetRC.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,17 @@ set_wire_rc -resistance 2.63040E-02 -capacitance 1.64745E-04
100100
set_wire_rc -signal -resistance 2.65684E-02 -capacitance 1.65790E-04
101101
set_wire_rc -clock -resistance 2.14161E-02 -capacitance 1.45426E-04
102102
```
103+
104+
## Generating correlation plots
105+
correlateRC.py has an option to generate capacitance and resistance correlation plots between global route and detail route where RC extraction is performed.
106+
107+
For example, to plot capacitance correlation results for two designs ‘ibex’ and ‘jpeg’ from the above example, use -plot_cap option. For resistance correlation use -plot_res option.
108+
109+
Note that both the combined nets and segments files are required to generate the plot.
110+
111+
```
112+
% cat ./results/asap7/ibex/base/6_nets_rc.csv ./results/asap7/jpeg/base/6_nets_rc.csv > combined_nets_rc.csv
113+
% ./util/correlateRC.py -plot_cap -nets_rc_file ./combined_net_rc.csv -segments_rc_file ./combined_segment_rc.csv
114+
```
115+
116+
![Capacitance correlation plot](./images/RC_cap_plot.png)
58.8 KB
Loading

0 commit comments

Comments
 (0)