Skip to content

Commit ae9df28

Browse files
committed
grt/cugr: update unit tests
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent 87fdcf6 commit ae9df28

6 files changed

Lines changed: 88 additions & 16 deletions

src/grt/test/incremental_deleted_net.ok

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,5 @@ Total 7828 47 0.60% 0 / 0 / 0
6464

6565
[INFO GRT-0018] Total wirelength: 319 um
6666
[INFO GRT-0014] Routed nets: 5
67-
Stage 1: Pattern routing.
68-
Routing statistics
69-
Wire length: 709
70-
Total via count: 28
71-
Total congestion: 0
72-
Min resource: 1.5
73-
Bottleneck: (6, 0, 0)
7467
Summary 1 / 1 (100% pass)
7568
pass

src/grt/test/incremental_update_net.ok

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,5 @@ Total 7828 47 0.60% 0 / 0 / 0
6565

6666
[INFO GRT-0018] Total wirelength: 319 um
6767
[INFO GRT-0014] Routed nets: 5
68-
Stage 1: Pattern routing.
69-
Routing statistics
70-
Wire length: 709
71-
Total via count: 28
72-
Total congestion: 0
73-
Min resource: 1.5
74-
Bottleneck: (6, 0, 0)
7568
Summary 1 / 1 (100% pass)
7669
pass

src/grt/test/resistance_aware_asap7_cong_cugr.ok

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,38 @@
3838
[INFO ODB-0130] Created 54 pins.
3939
[INFO ODB-0131] Created 470 components and 2159 component-terminals.
4040
[INFO ODB-0133] Created 416 nets and 1216 connections.
41+
[INFO GRT-0020] Min routing layer: M2
42+
[INFO GRT-0021] Max routing layer: M6
43+
[INFO GRT-0022] Global adjustment: 0%
44+
[INFO GRT-0023] Grid origin: (0, 0)
45+
[INFO GRT-0088] Layer M1 Track-Pitch = 0.0360 line-2-Via Pitch: 0.0360
46+
[INFO GRT-0088] Layer M2 Track-Pitch = 0.0390 line-2-Via Pitch: 0.0360
47+
[INFO GRT-0088] Layer M3 Track-Pitch = 0.0360 line-2-Via Pitch: 0.0360
48+
[INFO GRT-0088] Layer M4 Track-Pitch = 0.0480 line-2-Via Pitch: 0.0480
49+
[INFO GRT-0088] Layer M5 Track-Pitch = 0.0480 line-2-Via Pitch: 0.0480
50+
[INFO GRT-0088] Layer M6 Track-Pitch = 0.0640 line-2-Via Pitch: 0.0640
51+
[INFO GRT-0003] Macros: 0
52+
[INFO GRT-0004] Blockages: 105
53+
[INFO GRT-0019] Found 6 clock nets.
54+
[INFO GRT-0001] Minimum degree: 2
55+
[INFO GRT-0002] Maximum degree: 57
4156
Design statistics
4257
Nets: 416
4358
Special nets: 0
4459
Routing layers: 6
60+
61+
[INFO GRT-0053] Routing resources analysis:
62+
Routing Original Derated Resource
63+
Layer Direction Resources Resources Reduction (%)
64+
---------------------------------------------------------------
65+
M1 Vertical 0 0 0.00%
66+
M2 Horizontal 445866 178347 60.00%
67+
M3 Vertical 483372 193349 60.00%
68+
M4 Horizontal 362442 144977 60.00%
69+
M5 Vertical 362442 144977 60.00%
70+
M6 Horizontal 271962 108785 60.00%
71+
---------------------------------------------------------------
72+
4573
Stage 1: Pattern routing.
4674
Stage 2: Resistance-aware re-route of critical nets.
4775
Stage 3: Pattern routing with detours.
@@ -51,6 +79,21 @@ Total via count: 2488
5179
Total congestion: 0
5280
Min resource: 0.07543831038893245
5381
Bottleneck: (4, 88, 152)
82+
83+
[INFO GRT-0096] Final congestion report:
84+
Layer Resource Demand Usage (%) Max H / Max V / Total Congestion
85+
---------------------------------------------------------------------------------------
86+
M1 0 0 0.00% 0 / 0 / 0
87+
M2 178347 538 0.30% 0 / 0 / 0
88+
M3 193349 1054 0.55% 0 / 0 / 0
89+
M4 144977 333 0.23% 0 / 0 / 0
90+
M5 144977 671 0.46% 0 / 0 / 0
91+
M6 108785 119 0.11% 0 / 0 / 0
92+
---------------------------------------------------------------------------------------
93+
Total 770435 2715 0.35% 0 / 0 / 0
94+
95+
[INFO GRT-0018] Total wirelength: 1827 um
96+
[INFO GRT-0014] Routed nets: 416
5497
baseline (no resistance-aware) WNS: -122.0 ps TNS: -2912.8 ps
5598
resistance-aware WNS: -121.4 ps TNS: -2848.8 ps
5699
resistance-aware WNS and TNS not worse than baseline: PASS

src/grt/test/resistance_aware_asap7_cong_cugr.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set guide_file [make_result_file resistance_aware_asap7_cong_cugr.guide]
5454
set_routing_layers -signal M2-M6 -clock M4-M6
5555
set_global_routing_layer_adjustment M2-M7 0.6
5656

57-
global_route -use_cugr -critical_nets_percentage 30 -resistance_aware
57+
global_route -use_cugr -critical_nets_percentage 30 -resistance_aware -verbose
5858

5959
write_guides $guide_file
6060

src/grt/test/resistance_aware_asap7_cugr.ok

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,38 @@
3838
[INFO ODB-0130] Created 54 pins.
3939
[INFO ODB-0131] Created 470 components and 2159 component-terminals.
4040
[INFO ODB-0133] Created 416 nets and 1216 connections.
41+
[INFO GRT-0020] Min routing layer: M2
42+
[INFO GRT-0021] Max routing layer: M6
43+
[INFO GRT-0022] Global adjustment: 0%
44+
[INFO GRT-0023] Grid origin: (0, 0)
45+
[INFO GRT-0088] Layer M1 Track-Pitch = 0.0360 line-2-Via Pitch: 0.0360
46+
[INFO GRT-0088] Layer M2 Track-Pitch = 0.0390 line-2-Via Pitch: 0.0360
47+
[INFO GRT-0088] Layer M3 Track-Pitch = 0.0360 line-2-Via Pitch: 0.0360
48+
[INFO GRT-0088] Layer M4 Track-Pitch = 0.0480 line-2-Via Pitch: 0.0480
49+
[INFO GRT-0088] Layer M5 Track-Pitch = 0.0480 line-2-Via Pitch: 0.0480
50+
[INFO GRT-0088] Layer M6 Track-Pitch = 0.0640 line-2-Via Pitch: 0.0640
51+
[INFO GRT-0003] Macros: 0
52+
[INFO GRT-0004] Blockages: 105
53+
[INFO GRT-0019] Found 6 clock nets.
54+
[INFO GRT-0001] Minimum degree: 2
55+
[INFO GRT-0002] Maximum degree: 57
4156
Design statistics
4257
Nets: 416
4358
Special nets: 0
4459
Routing layers: 6
60+
61+
[INFO GRT-0053] Routing resources analysis:
62+
Routing Original Derated Resource
63+
Layer Direction Resources Resources Reduction (%)
64+
---------------------------------------------------------------
65+
M1 Vertical 0 0 0.00%
66+
M2 Horizontal 445866 334400 25.00%
67+
M3 Vertical 483372 362529 25.00%
68+
M4 Horizontal 362442 271832 25.00%
69+
M5 Vertical 362442 271832 25.00%
70+
M6 Horizontal 271962 203972 25.00%
71+
---------------------------------------------------------------
72+
4573
Stage 1: Pattern routing.
4674
Stage 2: Resistance-aware re-route of critical nets.
4775
Routing statistics
@@ -50,6 +78,21 @@ Total via count: 2223
5078
Total congestion: 0
5179
Min resource: 3.378947368421052
5280
Bottleneck: (4, 88, 153)
81+
82+
[INFO GRT-0096] Final congestion report:
83+
Layer Resource Demand Usage (%) Max H / Max V / Total Congestion
84+
---------------------------------------------------------------------------------------
85+
M1 0 0 0.00% 0 / 0 / 0
86+
M2 334400 635 0.19% 0 / 0 / 0
87+
M3 362529 1129 0.31% 0 / 0 / 0
88+
M4 271832 137 0.05% 0 / 0 / 0
89+
M5 271832 577 0.21% 0 / 0 / 0
90+
M6 203972 168 0.08% 0 / 0 / 0
91+
---------------------------------------------------------------------------------------
92+
Total 1444565 2646 0.18% 0 / 0 / 0
93+
94+
[INFO GRT-0018] Total wirelength: 1825 um
95+
[INFO GRT-0014] Routed nets: 416
5396
baseline (no resistance-aware) WNS: -121.9 ps TNS: -2892.8 ps
5497
resistance-aware WNS: -121.6 ps TNS: -2846.6 ps
5598
resistance-aware WNS and TNS not worse than baseline: PASS

src/grt/test/resistance_aware_asap7_cugr.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set guide_file [make_result_file resistance_aware_asap7_cugr.guide]
5050
set_routing_layers -signal M2-M6 -clock M4-M6
5151
set_global_routing_layer_adjustment M2-M7 0.25
5252

53-
global_route -use_cugr -critical_nets_percentage 30 -resistance_aware
53+
global_route -use_cugr -critical_nets_percentage 30 -resistance_aware -verbose
5454

5555
write_guides $guide_file
5656

0 commit comments

Comments
 (0)