678 views

2 Answers

Best answer
5 votes
5 votes

FOR DMA TRANSFER 

15 cycles for initialization +200 cycles for 100 bytes transfer=215 cycles 

FOR INTERRUPT PROGRAM

consists of 5 instruction each inst takes 1 cycle after they say program will be executed for each byte transfer so for 100 BYTES TRANSFER PROGRAM SHOULD RUN 100 TIMES as now PROGRAM CONSISTS of 5 instruction therefore require total of 500 cycles to transfer 100 BYTES.

SPEED UP=500/215=2.32

selected by
0 votes
0 votes
Answer will be 2.3255(approx)

For Pipeline

--------------------------------------

15 (initialization) + 100 *2 (as for each byte we take 2 cycles) = 215 cycles

 

For Non Pipeline

-------------------------------------

100*5*(1 cycle) (as for each byte 5 instructions are executed) = 500

 

Speed up = 500/215 = 2.3255(approx)

Related questions

0 votes
0 votes
1 answer
2
3 votes
3 votes
2 answers
3