Essays24.com - Term Papers and Free Essays
Search

Engineering Plan

Essay by   •  October 21, 2010  •  384 Words (2 Pages)  •  1,298 Views

Essay Preview: Engineering Plan

Report this essay
Page 1 of 2

Engineering Plan

SC312 Final Project

11/7/04

*Names*

We plan to implement the basic multi-cycle processor design as shown in the textbook, as well as pipelining and "jump and link". The toughest part of this design will be the datapath control, for which we will be using a FSM. The ALU will implement add, sub, and, or, sll, and slt functions - though a separate block is typically used for shift operations, we felt that putting sll and srl in the ALU would simplify our design. All other basic functions (lw, sw, lui, beq, bne, j) will be implemented as show in the textbook.

The processor will have two main stages: load instructions into memory and execute instructions. Special instruction codes will be defined as "stall" and "stop execution" to work in conjunction with the FSM. The global reset will set all memory and registers to 0, and put the FSM in "load instructions mode". We would like to use one memory module to store both instructions and data (with instructions starting at 0 and going up, and memory starting at the highest address and going down), however this design would present some addressing headaches so we will most likely use separate memory modules for instructions and data.

The main part of the pipelining implementation will be the hazard detection unit. We plan to have this work independent of the datapath control FSM as so to simplify FSM design. The hazard detection unit will control muxes to drive register forwarding and will issue stall instructions directly to the instruction register when needed.

"Jump and link" will make use of a specially designated register (most likely one of the upper registers, since those aren't used in the provided test function). Muxes will be used

...

...

Download as:   txt (2.3 Kb)   pdf (55 Kb)   docx (9.1 Kb)  
Continue for 1 more page »
Only available on Essays24.com