Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single...

37
Datapath Elements & Single Cycle Datapath Unit Chapter 11

Transcript of Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single...

Page 1: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Datapath Elements& Single Cycle Datapath Unit

Chapter 11

Page 2: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Datapath ElementsIntroduction

Page 3: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Register FilesRegister Layout

Page 4: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Register FilesWrite Decoder

Page 5: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Register FilesWrite Decoder

Page 6: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Register Files32-Bit words, 32 Registers

Page 7: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Adder/SubtractorGeneral Unit Diagram

Page 8: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Adder/SubtractorOther Unit Signals

Page 9: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Logical UnitIntroduction

Page 10: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Logical UnitGeneral Unit Diagram

Page 11: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Logical Unit4-Bit Logical Functions (LF)

Page 12: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Shift UnitIntroduction

Page 13: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Shift UnitGeneral Unit Diagram

Page 14: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle Datapath Unit (DPU)Introduction

Page 15: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUDatapath Elements

Page 16: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUAdd/Subtract Machine

Page 17: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUAdd/Subtract Machine

Page 18: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUAdd/Subtract Machine

Page 19: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUBasic Single Cycle DPU

Page 20: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUComputation Examples

Page 21: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUComputation Examples

Page 22: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUArithmetic Logic Unit

Page 23: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUSingle Cycle DPU With ALU

Page 24: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUImmediate Register

Page 25: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUImmediate Register

Page 26: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUIncluding Memory

Page 27: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUIncluding Memory

Page 28: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUReading from Memory

Page 29: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUWriting to Memory

Page 30: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUMicrocode

Page 31: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUController Signals

Page 32: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUController Signals

Page 33: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

Single Cycle DPUDPU with Controller

Page 34: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

InstructionsInstruction Format

Page 35: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

InstructionsR-Format with DPU

Page 36: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

InstructionsI-Format with DPU

Page 37: Datapath Elements & Single Cycle Datapath Unitrahimi/cs315/slides/Chapter 11-simple.pdf& Single Cycle Datapath Unit Chapter 11 Datapath Elements Introduction Register Files Register

InstructionsInstruction Register