
ICS113 Computer Architecture Overview
Presentation
•
Computers
•
University
•
Practice Problem
•
Easy
W Mao
Used 8+ times
FREE Resource
17 Slides • 4 Questions
1
Computer Architecture Overview
2
•CPU's control unit coordinates program execution
2
von Neuman Architecture
Tanenbaum and Austin, Structured Computer Organization, 6/E
3
•CPU's ALU specializes in solving math and logic instructions
3
von Neuman Architecture
Tanenbaum and Austin, Structured Computer Organization, 6/E
4
•CPU's registers are very fast memory slots (1 value/register)
4
von Neuman Architecture
Tanenbaum and Austin, Structured Computer Organization, 6/E
5
•Main memory accessed by CPU as needed; normally random
access (hence random access memory, or RAM)
5
von Neuman Architecture
Tanenbaum and Austin, Structured Computer Organization, 6/E
6
•Chips have general-purpose registers that can contain anything,
and special-purpose registers that contain only 1 type of value
•PC: Program Counter; contains the memory location of the
current instruction
•IR: Instruction Register; contains the current instruction to be
executed
•MAR: Memory Address Register; contains the memory location to
access in RAM
•MDR: Memory Data Register; contains the data retrieved from
the RAM location indicated by the MAR, or the data to be stored
in the RAM location indicated by the MAR
6
Special Registers
7
•I/O devices accessed by CPU as needed; random or sequential
access
7
von Neuman Architecture
Tanenbaum and Austin, Structured Computer Organization, 6/E
8
Draw
Match the terms to what they contain.
9
Multiple Choice
Which of the following solves math and logic instructions?
Control Unit
Arithmetic logic unit
Registers
RAM
10
•The daily life of the CPU…
•Fetch: Get an instruction from memory
•Decode: Figure out what circuitry to involve
•Execute: Carry out the instruction
8
The Fetch - Decode - Execute Cycle
11
•PC → MAR
•Fetch
•MDR → IR
•PC = PC + 1
(unless
indicated
otherwise by
instruction)
9
Fetch
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
12
•Instruction Identifier (OpCode) → Instruction Decoder
10
Decode
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
13
Multiple Choice
What is the basic operation cycle of a CPU?
Fetch
Decode
Execute
Fetch
Execute
Decode
Execute
Decode
Fetch
Decode
Fetch
Execute
14
•Load a
value from
location X in
RAM into a
general
purpose
register
(e.g., RA)
•X → MAR
•FETCH
•MDR → RA
11
Execute: LOAD(X, RA)
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
15
•Add values
in registers
RA and RB
and store
the result
in RA
•RA→ ALU
•RB→ ALU
•ADD
•ALU → RA
12
Execute: ADD(RA, RB)
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
16
•Copy a
value in a
general
purpose
register
(e.g., RA) to
location X
in RAM
•RA→ MDR
•X → MAR
•STORE
13
Execute: STORE(RA, X)
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
17
•Compare
contents
of RA and
RB and
set the
appropriate
result
indicators
in the ALU
•RA→ ALU
•RB→ ALU
•COMPARE
•Set <,=,> as appropriate
14
Execute: COMPARE(RA,RB)
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
18
•Get the
instruction
stored in
location X
in RAM
•X → PC
15
Execute: JUMP(X)
00
01
10
11
00
01
10
11
RAM
Memory
Decoder
Fetch/Store
Controller
MAR
0
1
0
0
MDR
1
0
1
1
Instruction
Register
Program
Counter
Instruction
Decoder
Control
7
14
21
+
-
x
÷
Registers
Selector
Lines
ALU
=
Multiplexor
<
=
>
Architecture in Context
I/O
Controller
Bus
CPU
Disk
Memory
Cache
•There are usually also conditional jumps, such as JUMPLT,
JUMPEQ, JUMPGT, which jump depending on what flag is set in
the ALU
19
Open Ended
Describe the following data flow using arrows (->)?
Compare the
value from
location X and RB.
20
•M. Meyers, Managing and Troubleshooting PCs, 6th Ed, McGraw-
Hill, ch. 2, ch. 3, ch. 6
16
Reading
21
•Explain the von Neuman architecture and the fetch/decode/
execute cycle
17
Key Skills
Computer Architecture Overview
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
16 questions
C++ vs Java: Which one is better to choose for your future?
Presentation
•
Professional Development
16 questions
Distance Education
Presentation
•
University
17 questions
UNIT 3 - LETTER RECOGNITION & FORMATION
Presentation
•
University
15 questions
Ageing
Presentation
•
University
15 questions
Language and Literacy Development
Presentation
•
University
14 questions
PERFECT INFINITIVES
Presentation
•
University
18 questions
Tazriah/Metzorah
Presentation
•
University
Popular Resources on Wayground
10 questions
Factors 4th grade
Quiz
•
4th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...
20 questions
Disney Trivia
Quiz
•
University
24 questions
5th Grade Math EOG Review
Quiz
•
KG - University
14 questions
Reading- SC Ready Practice
Quiz
•
5th Grade - University
25 questions
APUSH Decades Review
Quiz
•
9th Grade - University
40 questions
Famous Logos
Quiz
•
7th Grade - University
44 questions
Repaso - La Calaca Alegre (whole book) [Twist]
Quiz
•
9th Grade - University
14 questions
(5-3) 710 Mean, Median, Mode & Range Quick Check
Quiz
•
6th Grade - University