Upload
ariel-francis
View
212
Download
0
Embed Size (px)
Citation preview
cs581 cs581
G. W. Cox -- Fall 2004
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Example SW/HW Model: System
SensorProcessing
SW/HW
Sensor input
CalibrationFlag
System description:
Waits for input from sensor (sensor inputs provided each 2ms). When input is available, processes it (see SW description).
Following processing, checks state of Calibration Flag; If flag is set, conducts calibration processing. (Calibration flag set each “c” ms where c is distributed as N(50,100), c>=20).
After completion of sensor processing and calibration (if performed), waits for next sensor input.
Purpose:
Determine mean processor utilization and mean and max cycle time for 1,000 cycles.
• “UAH1” computer• Software exists
cs581 cs581
G. W. Cox -- Fall 2004
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Example SW/HW Model: SW
i=1 to 10Cal.Flagset
CalProcessing
Sensor input
Y
ProcessSensorDataPart i
Next i
N
1000 FADD2000 LD2000 STO
500 FADD500 FMULT
1000 STO
cs581 cs581
G. W. Cox -- Fall 2004
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Example SW/HW Model: HW
UAH1 Computer performance:
LD 10 ns
STO 12 ns
FAAD 100 ns
FMULT 300 ns
cs581 cs581
G. W. Cox -- Fall 2004
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Th
e U
niv
ers
ity
Of
Ala
bam
a i
n H
un
tsvi
lle
C
om
pu
ter
Scie
nce
Example SW/HW Model: Simplifying the model
i=1 to 10Cal.Flagset
CalProcessing
Sensor input
Y
ProcessSensorDataPart i
Next i
N
1000 FADD2000 LD2000 STO
500 FADD500 FMULT
1000 STO
ProcessSensor
data
10,000 FADD20,000 LD20,000 STO