hw5_soln - Rice University ELEC 220 Fundamentals of...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Rice University ELEC 220 – Fundamentals of Computer Engineering Homework #5 Homework graded out of 100 points. This fifth homework contains problems from Chapters 5, 6 and 7 of the textbook by Patt & Patel, second edition. 1. (10 points) Chapter 5, problem 5.36. LD instruction use of LC-3 datapath in Fig. 5.18. Memory, MDR, MAR, IR, PC, Reg File, the SEXT unit connected to IR[8:0], ADDR2MUX, ADDR1MUX set to PC, alongwith the ADDER they connect to, and MAXMUX and GateMARMUX implement the LD instruction, alongwith NZP and the logic which goes with it. 2. (10 points) Chapter 5, problem 5.40. Internal control structure of LC-3. The signal A indicates if the instruction in IR is a taken branch instruction. 3. (10 points) Chapter 5, problem 5.41. Internal control signals within LC-3. (a) Y is the P Condition code. (b) Yes. The error is that the logic should not have the logic gate A. X should be one whenever the opcode field of the IR matches the opcodes which change the condition code registers. The problem is that X is 1 for the BR opcode (0000) in the given logic.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ 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