Timingtalk Slides
Timingtalk Slides
Yuyang Ye
Aug.31, 2024
Background
2/20
Timing Paths
Timing path
VDD VDD
Signal A1
A1 Wire B Z
R R A1 Z A2 Cell 3
R R ZN Wire A A2 Cell 2
A1
T1
A2
T2 A2 Cell 1
ZN
A1 R C
T3 Wire path
A2 R C
T4
Loop
VSS
Cell path
3/20
Timing Optimization
“WNS" is the worst negative slack of circuits" and “TNS" is the total negative slack
of circuits. Thus, the timing optimization target can be formulated as:
µτ X
T ({e, e ∈ E}) = min{0, τ (e)} + µω min ω(e), (2)
N e∈E
e∈E
| {z } | {z }
TNS Target WNS Target
4/20
When and How?
Optimize timing during logic synthesis. Optimize timing during physical design.
Logic optimization, technology mapping Clock tree synthesis, Power planning,
and post-optimization. Placement, Routing and Gate sizing.
4x4
Path 1
Slack=-120ps 128x128
Gate U4 512x512
U1 U6 U9
Wire A after Detoured
U4 Re-routing
U2 U7 U10
Path 2 replaced Gate U4
U5 Slack=-90ps
U3 U8 U11
Path 3
Slack=-75ps
5/20
Timing-driven Approximate Logic
synthesis
6/20
What is Approximate Logic Synthesis
7/20
Challenge 1 in Timing-driven ALS
N N app
Xpi
Oacc
app
pi ̸= Opi Xpi
Ypacc
i
− Ypi
ER = ; NMED = . (3)
pi
Npi pi
Npi × (2MSB+1 − 1)
8/20
Challenge 2 in Timing-driven ALS
ALS can bring area improvements and path depth improvements. After
post-optimization, all these improvements can be converted to timing
improvements. Thus, we should achieve tradeoffs between area improvements
and path depth improvements during ALS for effective timing optimization.
Ours
(target both timing and area)
Area
accurate circuit area
9/20
Multi-modal in Timing-driven ALS
During logic synthesis, circuits can be represented at Boolean and Netlist levels.
At Boolean level, circuits are translated through CNF Formulae Encoding. At
Netlist level, circuits are translated to timing graphs to help us achieve timing
optimization.
Timing Path to bit1 (LSB) Timing Path to bit2 (MSB)
W1 W7 Input
W1 W7 Input W8
W8 W2 U1 U3 vector
W2 U1 U3 vector W5
W3
W3 W5 W9
W9
W4 U2 U4 FO Signal
W4 U2 U4 FO Signal Worst arrive
Value of time = 24ps
W6 W16 bit1 (LSB) Value of
W16
Logic depth= 1 W6 bit1 (LSB) Wire W6 W11 W12 Wire W6
W11 W12 W10 U5 U7
W10 U5 U7 W14
W14 W12 W18
U6 W17
W17 W18 U8 FO Signal
U6 Signal
U8 FO Value of
Value of W13 bit2 (MSB)
W13 W15 bit2 (MSB) Wire W12 W19 W15 Wire W12
W19 W22
W22
W20 U9 W21 U10
W20 U9 W21 U10
10/20
Multi-objective in Timing-driven ALS
ALS should target both timing and area to achieve the most effective timing
optimization.
11/20
Timing-driven Power Planning
12/20
What is Power Planning
A power network is designed to supply ideal voltage to various devices in the
chip and thus plays an essential role in signal integrity. One typical PG network
consists of power pads, power stripes, stacked vias, and power rails. The
configuration of a PG network strongly affects reliability issues such as IR drop
and electro-migration (EM). Moreover, the topology of a given PG network also
affects the routability and wirelength of the subsequent global routing stage.
13/20
Challenge 1 in Timing-driven Power Planning
Path 1
U1 U6 U9
U4
Path 2
U2 U7 U10
U5
Path 3
U3 U8 U11
14/20
Challenge 2 in Timing-driven Power Planning
Different solutions of power planning cause different results of IR drop and
routability. The timing performance of circuits is influenced by both these results.
However, in many traditional methods, IR drop is just regarded as one constraint.
During power planning, circuits can be represented at Layout and Netlist levels.
At Layout level, circuits are translated to multi-scale images. At Netlist level,
circuits are translated to timing graphs. Multi-modal helps to achieve effective
timing optimization. For example, we can give more routing spaces for cells on
critical paths rather than all paths.
U1 U4 U6 U9 U2 U4 U7 U10 U3 U4 U7 U11
Physical Feature encoder Physical Feature encoder Physical Feature encoder
U7 U7 || SUM { U2 U4 U7 U1 } || AVE { U7 U7 }
||
0
U3 U3 || SUM { U3 U4 U7 U11 } || AVE { U3 }
||
16/20
Multi-objective in Timing-driven ALS
17/20
Conclusion
18/20
Effective Timing Optimization
Circuit Timing
Layout Level Routed wirelength
19/20
THANK YOU!
20/20