ee357_hw8_sol

ee357_hw8_sol - EE 357 Homework 8 Name_Solutions Note...

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

View Full Document Right Arrow Icon
EE 357 Homework 8 Name: ___Solutions________________________________ Note: Attach all work to receive full credit 1.) Write the control sequence of steps for the fetch and execution phase of the following instructions on the three-bus CPU structure presented in class. Show step numbers. Also, optimize your sequences to take the least number of clock cycles (not just steps). This means you should do increments or other possible operations while READs or WRITEs are started. Note : More lines may be shown then the actual number of steps required. a.) SUBI.W #1234,D4 Sub ops: Read SUBI instruct, Inc. PC, Read ext. word $1234, Inc. PC, Subtract $1234 from D4 Step # Steps for Fetch, Decode, and Execution phase 1. PCoutA, F=A, MARin, READ 2. PCoutA, SEL2, ADD, PCin, WMFC 3. MDRoutA, F=A, IRin 4. Decode 5. PCoutA, F=A, MARin, READ 6. PCoutA, SEL2, ADD, PCin, WMFC 7. D4outA, MDRoutB, SUB, D4in, END b.) MOVE.W $7000,$7800 Subops: Read ext. word $7000, Inc. PC, Read data at $7000, Read ext. word $7800, Inc. PC, write data from $7000 to $7800 Step # Steps for execution phase only 5. PCoutA, F=A, MARin, READ 6.
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