CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon...

38
CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M , W 11 – 12 noon 817-272-3679 [email protected] Grading Policy: Project 25% Exam I 25% Exam III 25% Homework 5% add on Turn in start of class – no late homework Exam II 25%

Transcript of CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon...

Page 1: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

CSE 3322 Computer Architecture

Dr. John Patterson 614 NH

Office Hours: M , W 11 –12 noon 817-272-3679 [email protected] Policy: Project 25% Exam I 25%

Exam III 25% Homework 5% add on

Turn in start of class – no late homework

Exam II 25%

Page 2: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

CSE 3322 Computer Architecture

Course WEB SITE

crystal.uta.edu/~jpatters

Page 3: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

“If we don’t succeed, we run the risk of failure.”

Bill Clinton

Page 4: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

CSE 3322 Computer Architecture

The Low Level knowledge needed byHigh Level Programmers

Page 5: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Five Components of Computers

Input

Output

MemoryControl

Datapath

Processor

Page 6: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Input Instructions

Input

Output

MemoryControl

Datapath

C=A+B

AB

C

Page 7: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Fetch Instructions

Input

Output

MemoryControl

Datapath

C=A+B

AB

C

ADD A,B

Page 8: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Fetch Operands

Input

Output

MemoryControl

Datapath

C=A+B

AB

C

ADD A,B

A,B

Page 9: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Execute Command

Input

Output

MemoryControl

Datapath

C=A+B

AB

C

ADD A,B

A+B

Page 10: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Store Results & Output

Input

Output

MemoryControl

Datapath

C=A+B

AB

A+B

ADD A,B

A+B

Page 11: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Input

Output

MemoryControl

Datapath

C=A+B

AB

A+B

ADD A,B

A+B

Some Architecture Considerations• Integer or Floating Point

• Number of Operands

Page 12: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

Page 13: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

• Hardware Costs

Page 14: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

• Hardware Costs Performance

Page 15: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

• Hardware Costs Performance

• Instruction Complexity

Page 16: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

• Hardware Costs Performance

• Instruction Complexity

• Hardware Software Trade-Offs

Page 17: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Architecture Design Criteria

• Performance

• Hardware Costs Performance

• Instruction Complexity

• Hardware Software Trade-Offs

• Etc., Etc., Etc.

Page 18: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

Accumulator

ADD 300 Add the contents of memory location 300 to the Accumulator

A + Memory[300] A

A Ex: 32 Flip-Flops

Page 19: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

Accumulator

ADD 300

A + Memory[300] A

A

Special Registers were added with special functions

Ex: 32 Flip-Flops

Page 20: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

Accumulator

ADD 300

A + Memory[300] A

A

Special Registers were added with special functions

Ex: 32 Flip-Flops

Models orAbstractions

Page 21: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

• 32 General Purpose Registers

Page 22: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

• 32 General Purpose Registers

• Called a Load-Store or Register-Register machine

Page 23: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

• 32 General Purpose Registers

• Called a Load-Store or Register-Register machine

• All Registers can be used for any purpose

Page 24: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Evolution of Registers in Datapath

• 32 General Purpose Registers

• Called a Load-Store or Register-Register machine

• All Registers can be used for any purpose

• Ex: Add any two Registers and put the result in a third Register

Page 25: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

Page 26: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

Models orAbstractions

Page 27: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

• Is the Interface Between Hardware and Software

Page 28: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

• Is the Interface Between Hardware and Software

• Defines the Functionality

Page 29: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

• Is the Interface Between Hardware and Software

• Defines the Functionality

• Determines the Inherent Performance

Page 30: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Instruction Set Architecture

• Consists of All of the Instructions and How Each Works

• Is the Interface Between Hardware and Software

• Defines the Functionality

• Determines the Inherent Performance

• Determines the Software Compatibility

Page 31: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Software Hierarchical Layers

Machine Instruction 101110001100010000001

Page 32: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Software Hierarchical Layers

Machine Instruction 101110001100010000001

Assembly Language add $2, $5,$2

Assembler

Page 33: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Software Hierarchical Layers

Machine Instruction 101110001100010000001

Assembly Language add $2, $5,$2

High Level Language g = h + A[8]

Assembler

Compiler

Page 34: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Software Hierarchical Layers

Machine Instruction 101110001100010000001

Assembly Language add $2, $5, $2

High Level Language g = h + A[8]

Assembler

Compiler Models orAbstractions

Page 35: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Why Study Computer Architecture

• Learn to Design Computers– Processors Designed by Few Semiconductor

Companies

Page 36: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Why Study Computer Architecture

• Learn to Design Computers– Processors Designed by Few Semiconductor

Companies

• Learn to Design Device Controllers

Page 37: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Why Study Computer Architecture

• Learn to Design Computers– Processors Designed by Few Semiconductor

Companies

• Learn to Design Device Controllers

• Learn to Design More Optimum Software!

Page 38: CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon 817-272-3679 john.patterson@uta.edu Grading Policy: Project 25%

Why Study Computer Architecture

• Learn to Design Computers– Processors Designed by Few Semiconductor

Companies

• Learn to Design Device Controllers

• Learn to Design More Optimum Software!

• Learn to Design More Optimum Systems!