Title: Processor Design
1Processor Design
2All tables and diagrams in this presentation are
from
- D. Patterson and J. Hennessy, Computer
Organization and Design The Hardware/Software
Interface, Third Edition (The Morgan Kaufmann
Series in Computer Architecture and Design),
Morgan Kaufmann, 2002.
3Datapath
4Basic Functional Units
5Instruction Sequencing
6Operations on Data in Registers
7Registers and Memory
8Simple Implementation Scheme
- Single cycle Implementation
9ALU Conttrol
10Control Signals
11(No Transcript)
12R-format and I-format Instructions
13(No Transcript)
14Control Signals and Instruction Opcode
15(No Transcript)
16Control Function
17(No Transcript)
18Multicycle Implementation
19(No Transcript)
20(No Transcript)
21(No Transcript)
22(No Transcript)
23(No Transcript)
24(No Transcript)
25(No Transcript)
26(No Transcript)
27(No Transcript)
28Intstruction fetch IR lt MemoryPC PC lt PC4
IR lt MemoryPC
PC lt PC4
29IorD 0
MemRead 1
IRWrite 1
IR lt MemoryPC
30PCSource 01
PCWrite 1
ALUOp 00
ALUSrcB 01
ALUSrcA 0
PC lt PC4
31Intstruction decode/register fetch A lt Reg IR
2521 B lt Reg IR 2016 ALUOut lt PC
( SignExt( IR150 ) ltlt 2 )
A lt Reg IR 2521 B lt Reg IR 2016
ALUOut lt PC ( SignExt( IR150 ) ltlt 2 )
32A lt Reg IR 2521 B lt Reg IR 2016
33ALUOp 00
ALUSrcB 11
ALUSrcA 0
ALUOut lt PC ( SignExt( IR150 ) ltlt 2 )
34(No Transcript)
35R-type instruction ALUOut lt A op B Reg
IR1511 lt ALUOut
ALUOut lt A op B
Reg IR1511 lt ALUOut
36ALUOp ??
ALUSrcB 0
ALUSrcA 1
ALUOut lt A op B
37 RegWrite 1
MemtoReg 0
RegDst 1
Reg IR1511 lt ALUOut
38(No Transcript)
39Load instruction ALUOut lt A SignExt(IR150) M
DR lt MemoryALUOUT RegIR2016 lt MDR
ALUOut lt A SignExt(IR150)
MDR lt MemoryALUOUT RegIR2016 lt MDR
40ALUOp 00
ALUSrcB 10
ALUSrcA 1
ALUOut lt A SignExt(IR150)
41IorD 1
MemRead 1
RegWrite 1
MemtoReg 1
RegDst 0
MDR lt MemoryALUOUT RegIR2016 lt MDR
42(No Transcript)
43(No Transcript)
44(No Transcript)
45(No Transcript)