Title: CSE 3322 Computer Architecture
1CSE 3322 Computer Architecture
Dr. John Patterson
614 NH Office Hours M , W 11 12 noon
817-272-3679
john.patterson_at_uta.edu
Grading Policy
Project 25
Exam I 25
Exam II 25
Exam III 25 Homework
5 add on Turn in start of class no late
homework
2CSE 3322 Computer Architecture
Course WEB SITE crystal.uta.edu/jpatters Read
Chapter 1 Computer Organization and Design
3If we dont succeed, we run the risk of
failure.
Bill Clinton
4CSE 3322 Computer Architecture
The Low Level knowledge needed by High Level
Programmers and Systems Designers
5Five Components of Computers
Memory
Control
Input
Datapath
Output
Processor
6Input Instructions
Memory
Control
Input
CAB
A
Datapath
Output
B
C
7Fetch Instructions
Memory
Control
Input
CAB
ADD A,B
A
Datapath
Output
B
C
8Fetch Operands
Memory
Control
Input
CAB
ADD A,B
A
Datapath
Output
B
C
A,B
9Execute Command
Memory
Control
Input
CAB
ADD A,B
A
Datapath
Output
B
C
AB
10Store Results Output
Memory
Control
Input
CAB
ADD A,B
A
Datapath
Output
B
AB
AB
11Some Architecture Considerations
Integer or Floating Point
Number of Operands
Memory
Control
Input
CAB
ADD A,B
A
Datapath
Output
B
AB
AB
12Architecture Design Criteria
13Architecture Design Criteria
- Performance
- Hardware Costs
14Architecture Design Criteria
- Performance
- Hardware Costs Performance
15Architecture Design Criteria
- Performance
- Hardware Costs Performance
16Architecture Design Criteria
- Performance
- Hardware Costs Performance
- Hardware Software Trade-Offs
17Architecture Design Criteria
- Performance
- Hardware Costs Performance
- Hardware Software Trade-Offs
- Etc., Etc., Etc.
18Evolution of Registers in Datapath
Accumulator
Ex 32 Flip-Flops
A
ADD 300 Add the contents of memory location
300 to the Accumulator A Memory300 A
19Evolution of Registers in Datapath
Accumulator
Ex 32 Flip-Flops
A
ADD 300 A Memory300 A
Special Registers were added with special
functions
20Evolution of Registers in Datapath
Accumulator
Ex 32 Flip-Flops
A
ADD 300 A Memory300 A
Models or Abstractions
Special Registers were added with special
functions
21Evolution of Registers in Datapath
- 32 General Purpose Registers
22Evolution of Registers in Datapath
- 32 General Purpose Registers
- Called a Load-Store or Register-Register machine
23Evolution of Registers in Datapath
- 32 General Purpose Registers
- Called a Load-Store or Register-Register machine
- All Registers can be used for any purpose
24Evolution 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
25Instruction Set Architecture
- Consists of All of the Instructions and How Each
Works
26Instruction Set Architecture
- Consists of All of the Instructions and How Each
Works
Models or Abstractions
27Instruction Set Architecture
- Consists of All of the Instructions and How Each
Works - Is the Interface Between Hardware and Software
28Instruction Set Architecture
- Consists of All of the Instructions and How Each
Works - Is the Interface Between Hardware and Software
- Defines the Functionality
29Instruction 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
30Instruction 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
31Software Hierarchical Layers
Machine Instruction
101110001100010000001
32Software Hierarchical Layers
Assembly Language add 2, 5,2
Assembler
Machine Instruction
101110001100010000001
33Software Hierarchical Layers
High Level Language g h A8
Compiler
Assembly Language add 2, 5,2
Assembler
Machine Instruction
101110001100010000001
34Software Hierarchical Layers
High Level Language g h A8
Models or Abstractions
Compiler
Assembly Language add 2, 5, 2
Assembler
Machine Instruction
101110001100010000001