
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























ECE594 – Reconfigurable System Synthesis
Ryan Kastner
February 4, 2004
General case NP-complete
Minimize latency given constraints on area orthe resources (ML-RCS)
Minimize resources subject to bound on latency (MR-LCS)
ILP: Integer Linear Programming
Hu’s heuristic algorithm for identical processors
List scheduling
Force-directed scheduling
i
i
Does operation
v
i
start
at step
l
Is operation
v
i
running
at step
l
i
Does operation
v
i
start
at step
l
Does
x
il
= 1
hold?
Is operation
v
i
running
at step
l
Does the following hold?
1
1
=
∑
−
=
l
d
l
m
im
i
x
v
l?
9
Is
x
9,
+ x
9,
+ x
9,
Only one (if any) of the above three cases can happen
To meet resource constraints, we have to ask the samequestion for ALL steps, and ALL operations of that type
v
9
x
9,
v
9
x
9,
v
9
x
9,
Unique start times:
Sequencing (dependency) relations must be satisfied
Resource constraints
T
t
=start times vector,
c
=cost weight (e.g., [0 0 ... 1])
When
c
c
T
t
=
=
l
il
n
i
x
,
, 1 , 0
, 1
K
j
l
jl
l
il
i
j
j
j
i
1
=
−
=
res
k
k
v
T i
l
d
l
m
im
i^
i
nl
l
x
l
.
Assume
λ
= 4
First, perform ASAP and ALAP
NOP
NOP
NOP
NOP
v
v
v3 v
v
vn
v6 v
v8 v
v10 v
v
v
v3 v
v
vn
v6 v
v8 v
v10 v
Using ASAP and ALAP, the non-trivialinequalities are: (assuming unit delay for + and *)
4 ,
11
3 ,
11
2 ,
11
5 ,
4 , 9 3 , 9 2 , 9 5 , 3 , 7 2 , 7 4 , 5 3 ,
10
2 ,
10
(^1) ,
10
4 ,
11
3 ,
11
2 ,
11
3 , 8
2 , 8
(^1) , 8 4 , 9 3 , 9 2 , 9
2 , 6
(^1) , 6 3 , 7 2 , 7
n
n
Since
λ
=4 and sink has no mobility, any feasible solution is
optimum, but we can use the following anyway:
4 ,
11
4 , 9 4 , 5
3 ,
11
3 ,
10
3 , 9
3 , 4
2 ,
11
2 ,
10
2 , 9
(^1) ,
10
3 , 8
3 , 7
2 , 8 2 , 7 2 , 6 2 , 3 (^1) , 8
(^1) , 6
(^1) , 2
(^1) , 1
4 ,
3 ,
2 ,
(^1) ,
. 4. 3. 2
n
n
n
n
x
x
x
x
Min
Simple case of the scheduling problem
Hu’s algorithm
[©Gupta]
Relies on labeling of operations
Try to schedule nodes with higher labels first(i.e., most “critical” operations have priority)
Schedule
a
nodes at a time
[©Gupta]
[©Gupta]
Step 1: Label Vertices (Assume all
operations have unit delays):
[©Gupta]
Find unscheduled vertices withscheduled parents; pick 3 (num.resources) that maximize labels
Heuristic methods for ML-RCS and MR-LCS
Similar to Hu’s algorithm
More general input
a
l
repeat {
for each resource type k {
l,k
= available vertices in V
l,k
= operations in progress.
Select
k
⊆
l,k
such that |
k
l,k
a
k
Schedule the
k
operations at step
l
} l = l +
} until
v
n
is scheduled.