show work please Suppose it takes 100ns to read a word from memory, the ALU and
ID: 3553081 • Letter: S
Question
show work please
Suppose it takes 100ns to read a word from memory, the ALU and adders take 4ns. e register file can be read in Ins, the PC can be read or written in 0.2ns, and all multiplexors take 0. Ins. Assume everything else takes 0 time. How long will it take to execute the following instructions in a single-cycle MIPS implementation? (Note: Execution includes fetching an instruction also.) add instruction Execution time= lw instruction Execution time= beq instruction Execution time= j instruction Execution time =Explanation / Answer
a) add : 4 step
0.2 + 1 + 4 + 1 = 6.2ns
b) lw : 5 step
0.2 + 1 + 4 + 100 + 1 = 106.2ns
c) beq : 3 step
0.2 + 1 + 4 = 5.2ns
d) j : 3 steps
0.2 + 4 + 0.2 + 0.1 = 4.5ns
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.