Skip to content

Commit 5de59b2

Browse files
committed
grt: add new unit tests
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 255f8c0 commit 5de59b2

19 files changed

+28162
-5
lines changed

src/grt/test/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TESTS = [
44
"bus_route",
55
"clock_route",
66
"clock_route_cugr",
7+
"clock_route_cugr2",
78
"clock_route_alpha",
89
"clock_route_error1",
910
"clock_route_error2",
@@ -15,11 +16,15 @@ TESTS = [
1516
"congestion6",
1617
"congestion7",
1718
"critical_nets_percentage",
19+
"cugr_adjustment1",
20+
"cugr_adjustment2",
21+
"cugr_adjustment3",
1822
"est_rc1",
1923
"est_rc2",
2024
"est_rc3",
2125
"est_rc4",
2226
"gcd",
27+
"gcd_cugr",
2328
"gcd_flute",
2429
"inst_pin_out_of_die",
2530
"invalid_pin_placement",

src/grt/test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ or_integration_tests(
44
bus_route
55
clock_route
66
clock_route_cugr
7+
clock_route_cugr2
78
clock_route_alpha
89
clock_route_error1
910
clock_route_error2
@@ -15,11 +16,15 @@ or_integration_tests(
1516
congestion6
1617
congestion7
1718
critical_nets_percentage
19+
cugr_adjustment1
20+
cugr_adjustment2
21+
cugr_adjustment3
1822
est_rc1
1923
est_rc2
2024
est_rc3
2125
est_rc4
2226
gcd
27+
gcd_cugr
2328
gcd_flute
2429
inst_pin_out_of_die
2530
invalid_pin_placement

src/grt/test/clock_route_cugr.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[INFO ODB-0133] Created 15 nets and 72 connections.
77
[INFO GRT-0020] Min routing layer: met1
88
[INFO GRT-0021] Max routing layer: met5
9-
[INFO GRT-0022] Global adjustment: 50%
9+
[INFO GRT-0022] Global adjustment: 0%
1010
[INFO GRT-0023] Grid origin: (0, 0)
1111
[INFO GRT-0088] Layer li1 Track-Pitch = 0.4800 line-2-Via Pitch: 0.3400
1212
[INFO GRT-0088] Layer met1 Track-Pitch = 0.3700 line-2-Via Pitch: 0.3400

src/grt/test/clock_route_cugr.tcl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ set_propagated_clock [get_clocks {core_clock}]
1212

1313
set guide_file [make_result_file clock_route_cugr.guide]
1414

15-
set_global_routing_layer_adjustment met1 0.8
16-
set_global_routing_layer_adjustment met2 0.7
17-
set_global_routing_layer_adjustment * 0.5
18-
1915
set_routing_layers -signal met1-met5 -clock met3-met5
2016

2117
global_route -verbose -use_cugr

0 commit comments

Comments
 (0)