Question

Add d Sum Shit left 1 B anch Instruction 16-0 Control emiaR nstruction [1915Read rogisar 1 Reat estruction [24-20 Zeru ALU AL

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Instruction Branch MemtoReg ALUSrc RegWrite Memread MemWrite ALUOp
Sd 0 X 1 0 0 1 00
Beq 1 X 0 0 0 0 01
  • Execution steps for the ld instruction:
  • 1) instruction is fetched from the instruction memory, and the PC is increamented.
  • 2) Register (x11) value is read from the register file.
  • 3) the ALU computes the sum of the value read from the register file and the sign-extended 12 bits of the instruction (offset - 40)
  • 4) the sum from the ALU is used as a address for the data memory.
  • 5) the data from the memory unit is written into the register file (x10).
  • The control lines, datapath units and connection that are active which is highlight as shown in below figure.
  • Add d Sum Shit left 1 Instruction 16-0 Rm) Control(,) Instruction [19-15 PC address PCRead estruction [24-20 Read daa1 t Zeru
Add a comment
Know the answer?
Add Answer to:
Add d Sum Shit left 1 B anch Instruction 16-0 Control emiaR nstruction [1915Read rogisar 1 Reat estruction [24-20 Zeru ALU ALU egster 2 Write Read 31-0retucion 11-7 Read dataM Instruction dala Reg...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 5 0.25 pts What is the value of the MemWrite control signal? Question 6 0.25 pts What is the value of the ALUSrc control signal? Add Add Sum--(1 4 Shift left 1 Branch MemRead Instruction [6-...

    Question 5 0.25 pts What is the value of the MemWrite control signal? Question 6 0.25 pts What is the value of the ALUSrc control signal? Add Add Sum--(1 4 Shift left 1 Branch MemRead Instruction [6-0] ControMemtoReg MemWrite ALUSrc RegWrite Instruction [19-15]Read Read register 1 Read Read data! PCaddress Instruction [24-20] Zero ALU ALU result register 2 Instruction 31-0 Instruction [11-7 Read1 Address data | Write Read register daiaALU | M Instruction memory Write data Registers Write Data data...

  • MCS) Add Addresult ALU Shift left 2 RegDst Branch MemRead MemtoReg Instruction (31-26] Control ALUOP MemWrite...

    MCS) Add Addresult ALU Shift left 2 RegDst Branch MemRead MemtoReg Instruction (31-26] Control ALUOP MemWrite ALUS RegWrite PC instruction (25-21] Instruction (20-16) Read address Instruction (31-0) Instruction memory Read register 1 Read Read data 1 register 2 Write Read Zoro ALU ALU result Address Read data instruction (15-11] register data 2 x3) Write data Registers Write Data data memory Instruction 15-01 16 Sign- extend ALU control Instruction (5-0) With regards to the single cycle implementation (as shown in the...

  • 3. Assume the processor data path show below. XE30 Add Add ALU result Shift left 2...

    3. Assume the processor data path show below. XE30 Add Add ALU result Shift left 2 RegDst Branch MemRead Instruction (31-26] RegSrc Control ALUOP Mem Write ALUSrc RegWrite PC Instruction (25-21) Read address Instruction (20-16] Instruction [31-0) Instruction instruction (15-11) memory Read register 1 Read data 1 Read register 2 Write Read register data 2 Write data Registers Zero ALU ALU result Read Address data OX OX3) 3x) Write Data data memory Instruction [15-0) 16 32 Sign- extend ALU control...

  • Add 9 MUX 4 4 Addresult ALU Shift left 2 RegDst Branch MemRead Instruction (31-26) Control...

    Add 9 MUX 4 4 Addresult ALU Shift left 2 RegDst Branch MemRead Instruction (31-26) Control Memto Reg ALUOD MemWrite ALUSC RegWrite Instruction [25-21) Read PC Read address register 1 Read Instruction (20-16] MUX1 MUX Zero ALU ALU MUX3 M Instruction (31-0) Instruction memory Road Address data Read data 1 register 2 Write Read register data 2 Write data Registers result Instruction (15-11] Fox SX) Data Write data memory 16 32 Instruction (150) Sign- extend ALU control Instruction (5-0)

  • Add EX ALU Add dresult Shift left 2 Regst Branch MomRoad Instruction (31-26) MemtoReg Control ALUOO...

    Add EX ALU Add dresult Shift left 2 Regst Branch MomRoad Instruction (31-26) MemtoReg Control ALUOO MemWrite ALUST RegWrite instruction [25-21] Read register 1 Read instruction (20-16) Read data 1 register 2 Write Read data 2 instruction (15-11) register Write data Registers Read address Zero ALU ALU Instruction (31-0) Instruction memory result Address Read data Write Data data memory Instruction (15-01 16 32 Sign- extend ALU control Instruction (5-0) With regards to the single cycle implementation (as shown in the...

  • (o x Add Addresult ALU Shift left 2 Regst Branch MemRead Instruction (31-26) MemtoReg Controll ALUOP...

    (o x Add Addresult ALU Shift left 2 Regst Branch MemRead Instruction (31-26) MemtoReg Controll ALUOP MemWrite ALUSC RogWrite Instruction [25-21] Read register 1 Read Instruction (20-16) Read data 1 register 2 Write Read Instruction (15-11) Write data Registers PC Read address Zoro ALU ALU Instruction (31-0) Instruction memory result Address Read data register data 2 **039 -25 Write Data data memory Instruction (15-01 16 Sign- extend ALU control Instruction 15-01 With regards to the single cycle implementation (as shown...

  • PCSrc Add ALU Add result Shift left 2 Read register 1Read Read register 2 Write register Write da...

    PCSrc Add ALU Add result Shift left 2 Read register 1Read Read register 2 Write register Write data RegWrite Read ALU operation MemWrite data 1 MemtoReg Zero ALU ALUAddresS data Instruction Registers Read Read Instruction MI IMI memory WriteData data memory 16 Sign- MemRead extend 3, (4 points) For question#2, in the datapath as shown in Fig. 1, assume that one of the following control signals has a stuch-at-0 fault, meaning that the signal is always 0, regardless of its...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT