+ All Categories
Home > Documents > 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical ...

1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical ...

Date post: 19-Jan-2018
Category:
Upload: anastasia-stewart
View: 223 times
Download: 0 times
Share this document with a friend
Description:
3 INTRODUCTION Efficient Routing: –Reducing total wiring area –Lengths of critical path nets for performance opt. Detailed Routing: –Net ordering problem ( Std. Single-Net Routing ) –Ripup-and-Reroute (R&R) New approach (Bump & Refit strategy)
29
1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical & Computer Eng. University of Illinois at Chicago ICCD 2003
Transcript
Page 1: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

1

ROAD : An Order-Impervious Optimal Detailed Router

Hasan Arslan, Shantanu Dutt

Electrical & Computer Eng.University of Illinois at Chicago

ICCD 2003

Page 2: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

2

OUTLINE

• Introduction• Standard Single-Net Routing Mode• Ripup-Reroute Detailed Routing Alg.

• Bump &Refit (B&R) Concepts• B&R Paradigm• Applying B&R to Complete Detailed Routing

• Optimality-Preserving Speedup Methods• Lookahead TC functions• Learning-Based Search Space Pruning• Clique-Based Search Space Pruning

• Experimental Results• Conclusion

Page 3: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

3

INTRODUCTION

• Efficient Routing:– Reducing total wiring area– Lengths of critical path nets for performance

opt.• Detailed Routing:

– Net ordering problem (Std. Single-Net Routing )– Ripup-and-Reroute (R&R)

• New approach (Bump & Refit strategy)

Page 4: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

4

2 22

2

2

2

0 1 0 10 1

11

10

10

Prior work on Detailed Routing (Cont.)

A

B

D

CE

E

• Standard single-net routing mode– during detail routing

• Does not perturb or move existing nets

Switchboxes

} }Tracks

Tracks #sCells

S T

Page 5: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

5

0 1 0 10 1

11

10

10

Prior work on Detailed Routing(Cont.) (RIPUP-and-REROUTE)

A

B

D

C

EE

1) Single Net Routing : Route new nets without removing any existing nets.

2) Rip & Reroute : If some nets cannot be routed, rip-up the existing nets which occupy the resources of new nets. Reroute the ripped up nets

– Changes net topology– Net length can be increased– Because of ripup-reroute solution

time can be increased

Page 6: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

6

Complete Detailed Router by using Bump-&-Refit strategy

• Basic B&R developed for incremental routing (Dutt etal. ICCAD’99, ICCAD’01, TODAES’02)

• Incremental Routing– Existing routed nets set R– Some new nets set S (timing violation, noise…)– Route the nets in S by doing min. changes on nets in R.

• Bump-&-Refit Approach– Does not rip-up and reroute– Shift them (or their subnets) to other track positions ---

Bump-&-Refit (B&R)– No change in topology, length of existing nets– Optimal: Finds a detailed route if exists

Page 7: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

7

Experimental Results(Dutt etal., TODAES 2002)

10% new net, 10% unused tracks

0

100

200

300

400

500

600

700

800

sse rd73 pma cse sao

2mm4a

term1

s713s83

8.1 ex1

s820

mlt32

clip i5

exmp2 i4

Avg

Unr

oute

d N

ets

over

B&

R

STD R&R

Comparisons of STD, R&R, B&R Inc. Routing Alg.

R&R=(85x)

STD=(20x)

Page 8: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

8

• Each step in complete detailed routing is an incremental routing problem

Complete Detailed Router (B&R)

B&R

B&RB&R

B&RB&R

Complete_Detailed_Routing() input: unrouted nets N: number of nets output: Routed nets. R0= for (i=1 to N) Ri=Do_Incremental_Routing(ni,Ri-1)

Page 9: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

9

B&R Concepts Some definitions and representation (cont.)

3

0 1 2 3 0 1 2 30 1 2 3

210

210

210

3

3

n4

n2

n5

n3

n6

The overlap graph (OG) Nodes: existing nets Edges: a channel is shared by two nets

Tj Tk, bumps to some nets

T0 T0

T3 T2

T1

T1

T1

T1

T2

T3

T0 T0T0

T2 T3

T3

n2T1

n3T0

n4T2

n5T3

n6T0

SPT2

Page 10: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

100 1 0 10 1

11

10

10

B&R Concepts

AT0

A

B

BT1

CT0

DT1

C

D

E

EX

New_Net

O_NetO_Net

(i) TC1sum (ni TjTk ) = l(nj) nj adjTk (ni)total-length-of

bumped nets

l(nj) nj adjTk (ni)(ii) TC1

sqrt (ni TjTk ) = ----------------------------- sqrt(| adjTk (ni)|

l(nj) is the total length of nj in terms of the track segments

adjT1(E)={B} adjT0(E)={C}

Page 11: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

11

TC1=Total-length-of-bumped-nets

n1 n2

n4

012n5

n3

B&R Concepts

n1

n2 n3

T1 T2

n4 n5

12 6

1st Level TC Functions

Page 12: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

120 1 0 10 1

11

10

10

Example: B&R for Detailed Routing

AT0

A

BBT1

CT0

DT1

C

D

E

EX

New_Net

ET0

CX

O_Net O_Net

D_SpT0

C23

Page 13: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

130 1 0 10 1

11

10

10

Example: B&R for Detailed Routing(Cont.)

AT0

A

B BT1

DT1D

E

New_Net

ET0

CX

O_Net

D_Sp T0

CCT1

DXDT0

Page 14: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

14

Navigating the OG

45 6

8Sp

1012

Sp

11

Sp Sp

New-net

1 2 3

T2

T1 T3

T3

T1

T2

T39

T2

T3

T1

B&R Concepts

• If there is a solution, this process will find it.• it optimizes the number of tracks

Time Complexity:•L= # of paths in OG •(m=# of nodes, b:branching factor)• In worst case L=O((b-1) m)• If OG is tree L is linear

Page 15: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

15

Optimality-Preserving Speedup Methods

• Regular incremental routing: B&R applied to 1-10% of the nets---speed is good

• Complete detailed routing: B&R applied to 100% of nets--speed drops significantly

• Developed three optimality-preserving speedup methods to increase the speed of B&R

Page 16: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

16

n1 n2

n3

012n6

n4

n5

(i) TC1=Total-length-of-bumped-nets

(i) TC2sum-sum (ni TjTk ) = nj adjTk (ni) min Tt (TC1

sum (ni TkTt ))

T0

n4 n5

T1

n6

T2 T0

Sp

n1

n2 n3

T1 T2

Optimality-Preserving Speedup Methods (Cont.)(1) Lookahead TC Functions

7 3

3 0 3 5

Page 17: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

17

(2) Clique-Based Search Space Pruning

AT1

CT0

BT2

DT3

YT3

AT1

CT0

BT2

DT3

BY

T0T1T2

AC

D T3

XB

Y

T0T1T2

AC

D T3

X

• Dynamically determines the presence of cliques in the OG among the longer nets

• CLIQUE: is a completely connected subgraph of OG• Min. # of distinct tracks for succ. Routing (m=4)• For each clique, maintain the number of common unused

(CUT) track. (k)• After a net in clique is bumped, If (k+m) > t , there is no

solution to bump that net. • (1+4) > 4

Optimality-Preserving Speedup Methods (Cont.)

Page 18: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

18

(3) Learning-Based Search Space Pruning

A

C

D

K

B

P

1A

D

K

A DC

K B

T0T1T2T3

Optimality-Preserving Speedup Methods (Cont.)

2A

C

D

X

Z

K

B

Q

A

D

K

DAC

K XZ

B

T0T1T2T3

• Theorem: if no soln. for bumping net B, and obstacle pattern OP1 is obtained– If in another search path, B is bumped again and OP1 AP2

– Then no solution exists

Page 19: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

19

• Isomorphic Function:– f: is a one-to-one and onto functions between tracks that maps T i Tk where Tk=Tf(i)

Pattern Isomorphism: Let P1 and P2 be obstacle patterns, If all nets on each track of P1 appears on a unique, possibly different, track of P2, then P1 is isomorphic to P2.

CK B

T0T1T2T3

T0T1T2T3

CK X

ZB

A D

A D

Optimality-Preserving Speedup Methods (Cont.)(3) Learning-Based Search Space Pruning

Page 20: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

20

A

C

D

K

B

P

1 2A

C

D

X

Z

K

B

Q

A

D

K

A

D

K

A DC

K B

T0T1T2T3

T0T1T2T3

CK X

ZB

A D

Optimality-Preserving Speedup Methods (Cont.)(3) Learning-Based Search Space Pruning

• Theorem: if no soln. for bumping net B, and obstacle pattern OP1 is obtained– If in another search path, B is bumped again

• OP2 AP2 & OP1 isomorphic to OP2

– Then no solution exists

Page 21: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

21

Experimental Results(Characteristics of VPR Benchmark Circuits)

Circuit Name FPGA Size # net # pins

Opt.track

Circuit Name FPGA Size # net # pins

Opt.track

C499 10x10 147 443 7 vda 18x18 399 1511 10mm9a 13x13 205 787 6 frg2 36x36 558 2177 6alu2 15x15 236 1001 7 apex6 30x30 575 2199 6s1 14x14 248 990 7 ex4p 22x22 586 2337 6s1423 15x15 272 1133 6 mm30a 23x23 651 2634 6t481 15x15 280 1087 8 misex3c 24x24 663 2773 9sand 16x16 285 1236 7 ex5p 33x33 1072 5391 15mm9b 15x15 292 1107 6 tseng 33x33 1248 5409 7planet 17x17 307 1357 6 misex3 38x38 1658 7013 12planet1 17x17 308 1357 7 alu4 40x40 1748 7632 12x4 21x21 310 1136 6 diffeq 39x39 1786 7588 8s1196 17x17 325 1354 7 des 63x63 1847 8456 8i6 26x26 328 1115 4 apex2 44x44 2284 9431 13duke2 16x16 328 1306 8 elliptic 61x61 4175 15565 11s1488 18x18 340 1508 6 spla 61x61 4286 18512 14

Page 22: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

22

Experimental Results(Speedup Method Results)

• ROAD-1: Basic B&R with 1st TC Function• ROAD0: 1st TC Function 2nd TC Function• ROAD: LBS + Clique-Based pruning mtd.

Added to ROAD0

ROAD (bumped & Refit based OptimAl Detailed

router)

Page 23: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

23

Experimental Results (Internal Comparisons)

ROAD-1 ROAD-0 ROADCircuit Name

Time in secs

mm9a 3299.22 130.03 1.27alu2 4015.23 1.44 1.41s1 3163.87 1.40 1.14s1423 537.34 4.65 2.56sand 131.76 4.90 2.08planet 2010.56 2.29 2.05planet1 1.06 2.24 2.37x4 18.06 3.41 2.72i6 4.60 4.56 3.93s1488 12.21 2.97 2.31total(10 Ckt) 13193.91 157.89 21.84

83.56 604.12Speed up over ROAD-12253.63 36.83

61.19Speed up over ROAD-0total ( 16) ckt

planet1 1.06 2.24 2.37x4 18.06 3.41 2.72i6 4.60 4.56 3.93s1488 12.21 2.97 2.31C499 51.52 0.54t481 37.80 1.80mm9b 10.05 2.45s1196 87.70 3.10duke2 238.20 2.11vda 1670.47 4.99

Extrapolated Speed up of ROAD over ROAD-1

83 x 61 = 5763

Page 24: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

24

Experimental Results (Extracting VPR Global Routing Topology)

VPR Placement

VPR Router

Flat-routing

2 22

2

2

2

0 1 0 10 1

11

10

10 ROAD SEGA

Comparisons ofROAD, VPR and SEGA

Page 25: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

25

Experimental Results (Comparing with VPR-SEGA combine)

Comparisions of SEGA, ROAD track numbers

0%

20%

40%

60%

80%

100%

120%

mm9a s1 t481mm9b

planet1

s1196

duke2 vd

aap

ex6

mm30a

ex5pmise

x diff

eqap

ex2

Total

Impr

ovem

ent o

ver

SEG

A

Page 26: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

26

Experimental Results (Comparing with VPR-SEGA combine)

Comparisions of VPR, ROAD, SEGA runtimes (SEGA runtime taken as baseline)

0

5

10

15

20

25

alu2

t481

planet

s1196

s1488

apex

6

misex3

cmise

x des

Total

Spee

dup

fact

or o

ver

SEG

A

VPRROAD

Approx. VPR detailed-runtime=(VPR flat-runtime) - (VPR global-runtime)

ROAD=(7x)

VPR=(4x)

Page 27: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

27

Empirical Avg. Case Time Complexity of ROAD

y = 0.1409x - 56.939

y = 3E-05x2 + 0.0347x - 11.105

y = 2E-11x4 - 1E-07x3 + 0.0003x2 - 0.1827x + 32.085

-100.00

0.00

100.00

200.00

300.00

400.00

500.00

600.00

700.00

800.00

0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000

number of nets

Tim

e

ROAD Linear (ROAD) Poly. (ROAD) Poly. (ROAD)

Page 28: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

28

CONCLUSION

• ROAD: uses the bump-and-refit (B&R)– Overcomes net-ordering problem– Optimality-preserving search space pruning methods that

give us orders of magnitude speedup• Large circuits: VPR’s flat routing time consuming• Hence need two-stage routing (global followed by

detailed routing) possibly interleaved across the nets

• ROAD prime candidate for detailed routing phase in this two-stage framework

Page 29: 1 ROAD : An Order-Impervious Optimal Detailed Router Hasan Arslan, Shantanu Dutt Electrical  Computer Eng. University of Illinois at Chicago ICCD 2003.

29

THANK YOU


Recommended