team front end

16
TEAM FRONT END ECEN 4243 Digital Computer Design

Upload: feryal

Post on 23-Feb-2016

44 views

Category:

Documents


0 download

DESCRIPTION

    ECEN 4243        Digital Computer Design. TEAM FRONT END. What is MIPS?. MIPS : Microprocessor without Interlocked Pipelined Stages developed in 1981 Reduced Instruction Set Computing (RISC) Can be single cycle or pipelined We will be developing a 5 pipeline version. 5 Stage Pipeline. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: TEAM FRONT END

TEAM FRONT END    ECEN 4243  

     Digital Computer Design

Page 2: TEAM FRONT END

2

What is MIPS?

• MIPS : Microprocessor without Interlocked Pipelined Stages developed in 1981

• Reduced Instruction Set Computing (RISC)

• Can be single cycle or pipelined– We will be developing a 5 pipeline version

Page 3: TEAM FRONT END

3

5 Stage Pipeline

Page 4: TEAM FRONT END

4

Pipelined Datapath

Page 5: TEAM FRONT END

5

Who is the Front End?Team Member Role

Rashmi Wadhwa Team Leader

Alex Whiteway Lead Engineer

Carolina Arbona Wiki Specialist

Rory Little Intra Team Relations 

Phillip Walker Researcher

Ran Liao  Production Line Principal

Ameen Alsharan Report Compiler

Tuan Phan Minutes of meeting(s)

Page 6: TEAM FRONT END

What is the Front End?

• The Front End is the first section that an instruction traverses on its way through the pipeline

• Made up of two pipeline stages– Instruction Fetch– Instruction Decode

6

Page 7: TEAM FRONT END

Front End Stages: IF/ID

Fetch7

Page 8: TEAM FRONT END

Instruction Fetch• Pulls an instruction from memory• Updates the PC based on the PCSrc control line

8

Page 9: TEAM FRONT END

Front End Stages: ID

Decode9

Page 10: TEAM FRONT END

Instruction Decode

• What’s in a MIPS Decode stage?– Definitely no decoding like x86

• Register File • Sign Extend• Register Destination Mux

10

Page 11: TEAM FRONT END

Read Ports

• Input:– Two Addresses: RR1 & RR2

• Each 5 bit bus determines what register will show on its respective read port

• Asynchronous Reading

• Output:– Two data outputs: RD1 & RD2

• 32 bit register contents sent to execution• Data is chosen from multiplexers using RS

and RT as the respective control lines

11

Page 12: TEAM FRONT END

Write Port• Input

– Write Address• 5 bit address input from WB Stage goes into

a 5 to 32 decoder– Write Data

• 32 bit word from WB Stage– Write Enable

• ANDed with decoder output so only 1 register is written

• Tells register that Write Address specifies to write the data on the negative edge

12

Page 13: TEAM FRONT END

Summary• Write Address (WA) is the input to the 5 to 32 decoder• Write Enable (WE) ANDed with the output of the

decoder and is the clock for the register• Write Data (WD) is the data input to the registers• Read Data 1 (RD1) is the 32 bit output of the mux

controlled by RR1• Read Data 2 (RD2) is the 32 bit output of the mux

controlled by RR2• The inputs for the muxes are all of the registers (32 32

bit registers, 1024 total in the register file)• Asynchronous reads and synchronous writes

13

Page 14: TEAM FRONT END

What is in a Register File?

Note: Register 0 will be hard wired to always have the value 014

Page 15: TEAM FRONT END

Other Components

• 16 to 32 bit sign extender– Copies bit 15 to bits 16 through 31– Immediate values need to be 32 bits for ALU

• Reg Write Mux– Different types of instructions need to store to

registers in different parts of the instruction– R-Type writes to $rd– I-Type writes to $rt– J-Type writes to $ra

15

Page 16: TEAM FRONT END

Questions?

16