Show Menu
Cheatography

CpE 3110 Final Cheat Sheet (DRAFT) by

Crib sheet for the final

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Alu Ctrl

ALU Ctrl

upgraded adder table

Forwarding

Forwar­din­g(Men)

 

Control instru­ctions

control instru­ctions

control instru­ctions

control instru­ctions

 

Cashe Prefor­mance

N-stage pipeline

P2 is a 7-stage pipelined processor with the clock cycle time of 200ps. If you are given a program with 1000 instru­ctions without any pipeline hazards, calculate the execution times on P1 and P2
P2=(7*20­0ps­)+(­200­ps*999 inits)

Hazards

Structure Hazards
A required resource is busy
Data Hazards
Need to wait for previous instru­ction to complete its data read/write
Control Hazard
Deciding on control action depends on previous instru­ction

Pipeline stages

Five stages:
1. IF: Instru­ction fetch from memory
2. ID: Instru­ction decode & register read
3. EX: Execute operation or calculate address
4. MEM: Access memory operand
5. WB: Write result back to register