Title: Synchronous elastic circuits with Early Evaluation and Token Counterflow
1Synchronous elastic circuitswith Early
Evaluationand Token Counterflow
- Jordi CortadellaUniversitat Politècnica de
Catalunya, Barcelona - Mike KishinevskyStrategic CAD Labs, Intel Corp.,
Hillsboro
2Latency-insensitive (elastic) system
Out
In
B3
B1
B2
Every block onlymakes one step when all inputs
are valid
3SELF (linear communication)
sender
receiver
Data
Data
En
En
En
En
V
V
V
V
Valid
Valid
1
1
1
1
Stop
Stop
S
S
S
S
4Elastic netlists
Enable signal to data latches
Fork
Join
Join / Fork
5Early evaluation
3
x
15
5
2
6Early evaluation
3
x
6
2
7Early evaluation
0
x
0
8
Anti-token
8Example next-PC calculation
PC1
Branch target address
9Example next-PC calculation
PC1
Branch target address
10Example next-PC calculation
PC1
Anti-token !
No branch
Branch target address
11Previous work
- Petri nets
- Extensions to model OR causalityKishinevsky et
al. 1994, Yakovlev et al. 1996 - Asynchronous systems
- Reese et al 2002 Early evaluation
- Brej 2003 Early evaluation with anti-tokens
- Ampalan Singh 2006 preemption using anti-tokens
12Marked Graph model
13Marked Graph model
14Marked Graph model
15Dual Marked Graph model
Enabled !
Place invariants (tokens per cycle) are preserved
16How to implement anti-tokens ?
17How to implement anti-tokens ?
18How to implement anti-tokens ?
Valid
Valid
Valid
Stop
Stop
-
Valid
Valid
Stop
Stop
19Elastic controllers
L
H
Data
En
En
H
L
V
V
V
V
H
L
S
S
S
S
20Dual elastic controllers
En
En
V
V
S
S
-
-
V
V
-
-
S
S
21Fork/join
Dual fork/join
Join with early evaluation
- Protocol properties modeled with temporal logic
(CTL and LTL) - Verified with model checking (NuSMV)
22Example
23Conclusions
- Early evaluation can increase performance beyond
the min mean cycle ratio - The duality between tokens and anti-tokens
suggests a clean and effective implementation - Early evaluation provides a new paradigm for
correct-by-construction microarchitectural
transformations