MIPS-DataPath-2 - Datapath and Control 1 Datapath for R-format lw/sw beq instr ALU Operation 2 3 Memto Reg Mem Mem Instruction RegDst ALUSrc Reg

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Datapath and Control
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Datapath for R-format, lw/sw, beq instr. ALU Operation
Background image of page 2
3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Instruction RegDst ALUSrc Memto- Reg Reg Write Mem Read Mem Write Branch ALUOp1 ALUp0 R-format 1 0 0 1 0 0 0 1 0 lw 0 1 1 1 1 0 0 0 0 sw X 1 X 0 0 1 0 0 0 beq X 0 X 0 0 0 1 0 1
Background image of page 4
5 Main Control Unit
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 ALU Control Unit Instruction ALUop bits Function Code operation ALU control bits lw/sw 00 XXXXXX Add 0010 beq 01 XXXXXX sub 0110 add 10 100000 Add 0010 sub 10 100010 sub 0110 and 10 100100 and 0000 or 10 100101 or 0001 slt 10 101010 slt 0111
Background image of page 6
7 0x00400000 0x00400004 0x0148602 0 01010 01000 01100 100000 000000 01010 01000 01100 00000 100000 0x00000007 0x00000002 0010 0x00000009 000000 0x00000009 10 0x00400004 01100
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 lw $t1, 4($t2) # $t2 = 0x10000000 31-26 25-21 20-16 15-0 opcode rs rt offset 000000 01001 01110 01111 00000 100111 0x00400000 0x00400004 0x8d490004 01010 01001 0x0004 100011 01010 01001 0000 0000 0000 0100 0x10000000 0x00000004 0010 0x10000004 100011 0x00000009 00 01001 0x00000004 0x00000009 0x00400004
Background image of page 8
9 beq $t2, $t1, L1 # $t2 = $t1= 0x8 31-26 25-21 20-16 15-0 opcode rs rt label 000000 01001 01110 01111 00000 100111 0x00400000 0x00400004 0x11490004 01010 01001 0x0004 000100 01010 01001 0000 0000 0000 0100 0x00000008 0x00000004 0110 0x00000000 000100 01 0x00000010 0x00400014 0x00000008 0x00000008 0x00400014
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 beq $t2, $t1, L1 # $t2 = 0x9 $t1= 0x8 31-26 25-21 20-16 15-0 opcode rs rt rd shamt funct 000000 01001 01110 01111 00000 100111 0x00400000 0x00400004 0x11490004 01010 01001 0x0004 000100 01010 01001 0000 0000 0000 0100 0x00000009 0x00000004 0110 0x00000001 000100 01 0x00000010 0x00400004 0x00000008 0x00000008 0x00400014
Background image of page 10
11 Shift left 2 1 M u x 0 Jump Instr[25-0] 26 28 PC+4[31-28] 32 Add jump Instruction
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/02/2009 for the course CDA 3101 taught by Professor Small during the Spring '08 term at University of Florida.

Page1 / 15

MIPS-DataPath-2 - Datapath and Control 1 Datapath for R-format lw/sw beq instr ALU Operation 2 3 Memto Reg Mem Mem Instruction RegDst ALUSrc Reg

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online