

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Computer Architecture which includes Machines Address Memory, Notes About Memory, Assembly Language Programmer, Instruction Support for Functions, Jump Register, Nested Procedures, Register Values, Memory Organization etc. Key important points are: Multi-Cycle Processor, Single Cycle Datapath, Truth Table, Main Control, Components of Computer, Designing Datapath, Idealized Memory, Reducing Cycle Time, Combinational Dependency Graph
Typology: Slides
1 / 41
This page cannot be seen from the preview
Don't miss anything!


































ALUctr
Clk
busW
RegWr
busA
busB
Rw Ra Rb 32 32-bit Registers
Rs
Rt
Rt
Rd RegDst
Extender
Mux
Mux
imm16 16 32
ALUSrc
ExtOp
Mux
MemtoReg
Clk
Data In
WrEn 32
Adr Data Memory
MemWr ALU
Instruction Fetch Unit Clk
Equal
Instruction<31:0>
Rs Rt Rd Imm
nPC_sel
Control
Datapath
Memory
Processor Input
Output
ALUctr
RegDst
ALUSrc ExtOp^ MemWr
Equal nPC_sel^ MemRd^ MemWr^ RegWr
ALUctr
RegDst ExtOp^ ALUSrc nPC_sel^ MemRd^ MemWr^ RegWr^ MemWr
nPC_sel
MemRd MemWr^ RegDst^ RegWr
ExtOp^ ALUSrc^ ALUctr
inst Logical Register Transfers
ORI R[rt] <– R[rs] OR ZExt(Im16); PC <– PC + 4
inst Physical Register Transfers IR <– MEM[pc] ORI A<– R[rs]; B <– R[rt] S <– A or ZExt(Im16) R[rt] <– S; PC <– PC + 4
inst Logical Register Transfers
LW R[rt] <– MEM[R[rs] + SExt(Im16)];
PC <– PC + 4 inst Physical Register Transfers IR <– MEM[pc] LW A<– R[rs]; B <– R[rt] S <– A + SExt(Im16) M <– MEM[S] R[rd] <– M; PC <– PC + 4
inst Logical Register Transfers
BEQ if R[rs] == R[rt]
then PC <= PC + 4+SExt(Im16) || 00
else PC <= PC + 4
inst Physical Register Transfers IR <– MEM[pc] BEQ E<– (R[rs] = R[rt]) if !E then PC <– PC + 4 else PC <– PC+4+SExt(Im16)||
Ideal Memory WrAdr Din
RAdr
32 32
32 Dout
MemWr 32
32
32
ALUOp
Control
Instruction Reg
32
IRWr
32
Reg File
Ra
Rw busW
Rb 5
5
32
busA
busB 32
RegWr
Rs
Rt
Mux^0
1
Rt
Rd
PCWr
ALUSelA
1^ Mux^ 0
RegDst
Mux^0
1
32
MemtoReg
Extend
ExtOp
Mux^0
1
32
0 1 2 3
Imm (^1632)
ALUSelB
Mux^1
0
Target 32
Zero
Zero
PCWrCond PCSrc BrWr
32
IorD
ALU Out
A <= R[rs] B <= R[rt]
S <= A fun B
R[rd] <= S PC <= PC + 4
S <= A or ZX
R[rt] <= S PC <= PC + 4
R[rt] <= M PC <= PC + 4
Next(PC,Equal)
next