Professional Documents
Culture Documents
Iteration Bound: Lan-Da Van (范倫達), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C
Iteration Bound: Lan-Da Van (范倫達), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C
Iteration Bound
Lan-Da Van (), Ph. D.
Department of Computer Science
National Chiao Tung University
Taiwan, R.O.C.
Fall, 2010
ldvan@cs.nctu.edu.tw
http://www.cs.nctu.tw/~ldvan/
Outline
Introduction
Data Flow Graph (DFG) Representations
Loop Bound and Iteration Bound
Compute the Iteration Bound
Conclusion
Lan-Da Van
VLSI-DSP-2-2
Introduction
Many DSP algorithms such as recursive and
adaptive digital filters contain feedback loops,
which impose an inherent fundamental lower
bound on the achievable iteration or sample period.
Iteration bound = maximum loop bound
Clock period = critical path period = cycle time =
1/clock rate
Sample rate = throughput rate
Impossible to achieve an iteration bound less than
the theoretical iteration bound with infinite
processors
Lan-Da Van
VLSI-DSP-2-3
Outline
Introduction
Data Flow Graph (DFG) Representations
Loop Bound and Iteration Bound
Compute the Iteration Bound
Conclusion
Lan-Da Van
VLSI-DSP-2-4
for n 0 to
VLSI-DSP-2-5
VLSI-DSP-2-6
Iteration bound
Definition:
tl
T max{ }
lL
wl
T
VLSI-DSP-2-7
Outline
Introduction
Data Flow Graph (DFG) Representations
Loop Bound and Iteration Bound
Compute the Iteration Bound
Conclusion
Lan-Da Van
VLSI-DSP-2-8
Lan-Da Van
VLSI-DSP-2-9
1 0 1 1
4 1 0 1
(1)
L
5 1 1 0
5 1 1 1
Lan-Da Van
VLSI-DSP-2-10
( m 1)
i, j
l
L( 2)
max ( 1, l
(1)
i ,k
kK
(m)
k, j
1 0 1 1 1 0 1 1
4 1 0 1 4 1 0 1
5 1 1 0 5 1 1 0
1
5
4 1 0 1
5
1
0
L( 2 )
5 1 1
5
1 5 1 1
Lan-Da Van
VLSI-DSP-2-11
5 4 1 0
8 5
1
( 3)
L
5 1
9 5
9 1 5 1
max
i , m{1, 2,...,d }
( m)
li , i
8
9
L( 4 )
10
10
9 5
5
9 1 5
5
8
4
5
4 4 5 5 5 8 8 5 5
T max { , , , , , , , , } 2
i ,m{1, 2,...,d } 2 2 3 3 3 4 4 4 4
Lan-Da Van
VLSI-DSP-2-12
4 4
L
8
8
(1)
( 2)
12 12
16
16
4 8 12 16
T max{ , , , } 8
1 1 2 2
Lan-Da Van
VLSI-DSP-2-13
Lan-Da Van
VLSI-DSP-2-14
Lan-Da Van
VLSI-DSP-2-15
Lan-Da Van
VLSI-DSP-2-16
4
5
8
0
4
5
f (1) f ( 2 ) f ( 3) f ( 4 )
0
0
f ( 0 )
( m)
( j ) min ( f
( m 1)
iI
Lan-Da Van
(i) w(i, j ))
VLSI-DSP-2-17
min (
max
(d )
(i ) f
d m
( m)
(i )
))
T min{2,1,2, } 2
Lan-Da Van
VLSI-DSP-2-18
( 0)
0 (1) 4 ( 2) 12
f f
12
4
T min{8,6} 8
Lan-Da Van
VLSI-DSP-2-19
Conclusion
When the DFG is recursive, the iteration bound is
the fundamental limit on the minimum sample
period of a hardware implementation of the DSP
program.
Two algorithms to compute iteration bound, LPM
and MCM, were explored.
Lan-Da Van
VLSI-DSP-2-20