Assignment4.docx - Assignment#4 1(chapter 4.1 Consider the...

This preview shows page 1 - 2 out of 4 pages.

Assignment #4 1. (chapter 4.1) Consider the following instruction: Instruction: Add Rd, Rs, Rt Interperation: Reg[Rd] = Reg[Rs] + Reg[Rt] a. What are the values of control signals generated by the control in Figure 4.2 for the above instruction? (4 points) RegWrite MemRead ALUMux MemWrite ALUOp RegMux Branch b. Which resources (blocks) perform a useful function for this instruction? (2 points). c. Which resources (blocks) produce outputs, but their outputs are not used for this instruction? (2 points). d. Which resources (blocks) produce no output for this instruction? (2 points) Solution: a. The values of control signals generated by the controls for the above instruction. RegWrite MemRead ALUMux MemWrite ALUOp RegMux Branch 1 0 0 0 Add 1(ALU) 0 ALUMux is the control signal at the mux at the incoming ALU, 0 (reg) is chosen from register file and 1 (Imm). Choose the immediate value from Instruction word of 2 nd input to ALU. b. The resources (blocks) perform a useful function for this instruction. The resources performs a useful function for the instruction is apart from Data Memory and Branch Add Unit c.
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Summer '16
  • Dr. Willy

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern