Need to help a friend on this and because did system ach. not so much...can't remember. I'll appreciate if anyone could help.
Untitled.png 109.59K
46 downloadsHere are the questions:
a) Explain the purpose of each MUX in the above diagram
b) Describe the steps for the execution of the following instructions in the singlecycle MIPS CPU datapath: add $t7, $t1, $t4, lw $s5, 0($t7), sub $t7, $t2, $t3,
sw $s5, 1000($t4), beq $t7, $t1, 100
Suppose it takes memory 100 nsec to read a word, the ALU and adders take 4
nsec, the register file can be read or written in 1 nsec, the PC can be read or
written in 0.2 nsec, and all multiplexors take 0.1 nsec. Assume everything else
takes 0 time (control, shift, sign extend, wires, etc.).
How long will it take to execute an add instruction?
How long will it take to execute a lw instruction?
How long will it take to execute a beq instruction?
How long will it take to execute a j instruction?
What would be the single-cycle CPU cycle time for the above scenario?
Thanks,toto7


Sign In
Create Account


Back to top









