{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

eel4713asgt5 - EEL4713 Assignment#5 Spring 2010 Assigned...

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

View Full Document Right Arrow Icon
EEL4713 Assignment #5 Spring 2010 Assigned: 3/02/2010 DEMO: 3/16/2010, 3/23/2010, & 3/30/2010 Due: 4/02/2010 in class Section 1: Setup There is no setup for this assignment. Section 2: Textbook Questions Questions from chapter 4: 4.12.1-3, 4.20.1-2, 4.24.1-3 Section 3: Laboratory In this laboratory you will be modifying your single cycle processor from Assignment 4 in order to implement a pipelined processor. Your processor must support the same 29 instructions required for the single cycle processor, detect potential hazards, and resolve them by forwarding when possible or stalling when not. Please read chapter 4 of your textbook for insight on how this can be done. Begin your design by partitioning your single cycle processor into 5 stages: instruction fetch (IF), instruction decode (ID), execution (EX), memory access (MEM), and write back (WB). Your goal should be to equally divide the propagation delay of your single cycle implementation into the 5 stages. Consult Figure 4.33 in your textbook for inspiration on how you should partition your design. Create four registers to place in between your pipeline stages that will transfer needed data from stage to stage. It is possible to eliminate the “mclk” signal by using the registered input of the altsyncram component as a register between the pipeline stages. Eliminating the “mclk” signal should greatly increase your maximum clock rate and is highly recommended. At this point your processor should be able to execute dependency free code without any problems. Test your processor before moving on. Next, create a table that describes dependencies that may occur when a certain instruction is followed by another instruction and what action you should take in order resolve the dependency (i.e. forwarding or stalling). Below are a few entries from such a table that will help you understand what your table should contain: 1
Image of page 1

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

View Full Document Right Arrow Icon
R I L S JR LUI B JAL R 1a: exmem.rd=idex.rs(1) =idex.rt(2) 2a: memwb.rd=idex.rs(3)
Image of page 2
Image of page 3
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