Download presentation
Presentation is loading. Please wait.
Published byKimberly Morton Modified over 9 years ago
2
(a)add Rd, Rs, RtReg[Rd]=Reg[Rs]+Reg[Rt] (b) lw Rt, offs(Rs)Reg[Rt]=MEM[Reg[Rs]+offs] Instruction (a), all blocks except data memory are used for this instruction Instruction (b), all blocks are used for this instruction
4
Setting of the control signals Instru- ction RegDstALUSrcMemto Reg Write Mem Read Mem Write BranchALU Op1 ALU Op0 R type10010001 add 0 add lw011110010 swx1x001010 beqx0x00010 sub 1 sub
7
I-Mem, Add, Mux, ALU, Regs, D-Mem, Control 400ps, 100ps, 30ps, 120ps, 200ps, 350ps, 100ps 500ps, 150ps, 100ps, 180ps, 220ps, 1000ps, 65ps MIPS AND instruction: I-Mem + Regs + Mux + ALU +Mux + Regs = 400 + 200 + 30+ 120+30+ 200 = 980 ps MIPs LD instruction: I-Mem + Regs + Mux +ALU + D-Mem + Mux + Regs = 400+200+30+120+350+30+200 = 1330 ps MIPS BEQ instruction: I-Mem + Regs + Mux + ALU + Mux = 400 + 200 + 30 + 120 + 30 = 780 ps
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.