Save
System Architecture
CPU
Save
Share
Learn
Content
Leaderboard
Learn
Created by
yeatlover777
Visit profile
Cards (32)
Purpose of the fetch-execute cycle :
Data / Instructions are fetched from the main
memory.
Data / Instructions are translated into a series of
commands.
Data /Instructions are carried out by the
CPU.
Cycle repeats.
Purpose of the ALU (Arithmetic Logic Unit)
Performs mathematical
calculations
and
logic
operations
E.g = addition, subtraction, division
Purpose of the Control Unit (
CU
)
Sends
signals
to
direct operations
Controls the
flow
of
data
Follows the
fetch-execute cycle
Purpose of Cache
High
speed memory
in the processor
Stores
frequently
used data and instructions
Purpose of Register
Small
piece of
memory
in processor
Holds one
instruction
/ address
Registers of the CPU
Program Counter
Memory Address Register
Memory Data Register
Purpose of the Program Counter
Stores the
address
of the next instruction to be fetched from
memory.
Increments
in each fetch-execute cycle.
Purpose of
MAR
Stores the
address
of the
data
to be fetched from.
Purpose of
MDR
Stores the
address
of the
data
being currently fetched
Von Neumann
Architecture
All data and program instructions stored in the same
memory.
The CPU
Central Processing
Unit
Processes and
executes
program data and instructions, by the
fetch-decode-execute
cycle
CPU Performance : 3 Main factors
Clock
Speed
Number of
Cores
Cache
Size
What else can affect the CPU performance?
RAM
Graphics Card
Clock speed
Number of
instructions
that the CPU can carry out per
second
Measured in
GigaHertz
Greater Clock Speed
More
instructions
carried out per second
Instructions executed more
quickly
More programs able to
run
at the same time
Disadvantages of high clock speed
Overheating
of machine
Potential for errors
CPU Cores
Single
processors
The greater the number of cores :
More instructions carried out
simultaneously
(
parallel
processing).
More instructions at the
same
time
More programs can be run at the
same
time
Disadvantages of great number of cores
Some software does not support
multiple cores
Some
instructions
are required to be executed before other
instructions
, in a specific order
Effects of large cache size
More
space
for frequently used instructions
Faster
access
to the CPU
Faster
fetching
of instructions from main
memory
Embedded systems
A computer system
built
into an
another
device
3 examples of Embedded Systems
Dishwasher
Washing Machine
Microwave
Characteristics of embedded systems
Specific
hardware
required to function
Limited
functions / not
general-purpose
computer
difficult to change the
OS
Primary Storage
RAM
ROM
RAM
Random Access Memory
Stores
currently
in use program data and
instructions
Directly
accessed
by the CPU
Volatile v Non-volatile : RAM
RAM is
volatile
= data is
lost
when the computer is powered off.
Difference between RAM and ROM
RAM is
volatile
whereas ROM is
non-volatile
Contents of RAM
changed
frequently, whereas ROM is
read
only
/ never be changed.
Purpose of
ROM
Stores the
BIOS
This starts the computer +
loads
the operating system
Purpose of Virtual Memory
Used when RAM is full
Part of secondary storage used as
temporary RAM
Data from
RAM
moved to VM to free up space in
RAM
RAM
can be filled with new
data
When
data
in VM is needed, moved back to
RAM
Disadvantages of excessive use of VM
Slower
to access than directly accessing from
RAM
Moving
data between VM and RAM takes
processor
time
Decreases
performance of CPU
Importance of secondary storage
Long-term
/
non-volatile
storage of data when computer is turned off.
Larger storage space
How does more RAM improve CPU performance?
Will
speed
up access to
data
currently in use
Improves the
CPU
performance