assign5 - EEL4713 Assignment #5 Spring 2011 Assigned:...

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

View Full Document Right Arrow Icon
EEL4713 Assignment #5 Spring 2011 Assigned: 3/11/11 Checkpoint 1 Demo: 3/24/11 in Lab Checkpoint 2 Demo: 3/31/11 in Lab Demo: 4/7/11 in Lab Due: 4/8/11 @ 11:59pm Via Sakai Section 1: Setup There is no setup in 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
Background image of page 1

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

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

This note was uploaded on 01/09/2012 for the course EEL 4713 taught by Professor Staff during the Spring '11 term at University of Florida.

Page1 / 3

assign5 - EEL4713 Assignment #5 Spring 2011 Assigned:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online