cse 3322 computer architecture dr. john patterson 614 nh office hours: m, w 11 –12 noon...
TRANSCRIPT
![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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/1.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/2.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/3.jpg)
“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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/4.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/5.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/6.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/7.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/8.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/9.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/10.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/11.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/12.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/13.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/14.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/15.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/16.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/17.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/18.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/19.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/20.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/21.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/22.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/23.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/24.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/25.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/26.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/27.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/28.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/29.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/30.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/31.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/32.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/33.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/34.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/35.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/36.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/37.jpg)
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%](https://reader035.vdocument.in/reader035/viewer/2022070415/5697c0311a28abf838cdb1d3/html5/thumbnails/38.jpg)
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!