Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
-
Upload
elisabeth-benson -
Category
Documents
-
view
215 -
download
2
Transcript of Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
![Page 1: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/1.jpg)
Computer Systems 1Fundamentals of Computing
The CPU & Von Neumann
![Page 2: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/2.jpg)
Computer Systems 1 (2004 - 2005)
The CPU & Von-Neumann What’s in the box? – reminder CPU Overview
Control UnitALURegisters
Catching a BusTying it all together
Mr Von Neumann His legacy
![Page 3: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/3.jpg)
Computer Systems 1 (2004 - 2005)
Computer Architecture CPU
Central processing UnitSpeed measure in clock cycles
Hertz (Hz) – usually MHz or GHz How quickly the CPU can execute instructions
CPU often measured in ‘bits’32-bit Processor / 64-bit processorConfusion!!
Is this CPU memory word length?
Is this data bus width? usually the answer
![Page 4: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/4.jpg)
Computer Systems 1 (2004 - 2005)
Central Processing Unit (CPU)
CPU has three important parts: ALU (Arithmetic and Logic Unit) Control Unit Registers
High Speed Registers
ALU Control Unit
CPU
![Page 5: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/5.jpg)
Computer Systems 1 (2004 - 2005)
Central Processing Unit (CPU) Arithmetic & Logic Unit
Handles mathematical and logical functions (numerical)
Deals with non-numerical logic operations
Control UnitHandles all low-level hardware operations
Input & Output Devices and CPU
Carries out instruction handling Fetch Execute Cycle
![Page 6: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/6.jpg)
Computer Systems 1 (2004 - 2005)
CPU Registers
Storage areas within the CPU Used to temporarily store data read from memory
Accessible at High Speed Anything for processing must be kept in a register Can also hold the address of a memory location Registers are used to process instructions and data
during the Fetch Execute Cycle Two main types of register:
Instruction Register (IR) Commands to be performed
Data Registers Data upon which operations will be performed
![Page 7: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/7.jpg)
Computer Systems 1 (2004 - 2005)
CPU Registers
Common registers in the CPU:
Program Counter (PC) Holds the memory address of the next instruction
to be executedMemory Buffer Register (MBR)
Briefly holds data and instructions that travel to and from memory
Sometimes called MDR (Memory Data Register)
![Page 8: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/8.jpg)
Computer Systems 1 (2004 - 2005)
CPU Registers
Common registers in the CPU:
Memory Address Register (MAR) Holds the memory address locations of data and/or
instructions to be read / written to memoryCurrent Instruction Register (CIR)
Holds the instruction which is to be executedGeneral Purpose Registers
‘Working areas’ for data processed by the ALU
![Page 9: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/9.jpg)
Computer Systems 1 (2004 - 2005)
Buses
A collection of wires which connects together the internal components of the computer Allows transfer of data
Main types of bus: Data bus
Carries actual data bits (information) Address bus
Transfers locations where data should be sent Control bus
Carries status information
![Page 10: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/10.jpg)
Computer Systems 1 (2004 - 2005)
Buses How buses fit into the computer system:
INPUT OUTPUTCPU
MEMORY
ADDRESS BUS
DATA BUS
CONTROL BUS
![Page 11: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/11.jpg)
Computer Systems 1 (2004 - 2005)
CPU Buses
Parallel connections between low-level components of the computer Size is measured by the number of parallel connections on
the bus E.g.- 32-bit wide bus = 32 individual wires These bursts are called words A word is a set measure of bits (in this case we have a 32-bit
word) Signals on buses follow strict timing sequences Some buses are bi-directional
Allowing two way flow of information
![Page 12: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/12.jpg)
Computer Systems 1 (2004 - 2005)
Computer Architecture The Von Neumann Model
1903 - 1957 Mathematician Quantum physicist Worked on ENIAC
Electronic Numerical Integrator and Computer Major development in computer technology
Responsible for developing the Fetch Execute Cycle, and his namesake -
‘Von Neumann Model’ The original computer geek?!
![Page 13: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/13.jpg)
Computer Systems 1 (2004 - 2005)
Von Neumann Model Logically defines a complete computer system Centralised control of all processes of the computer
system Defines main parts of the machine:
Memory Storage for instructions and data
Processing unit ALU functions
Control unit Interpreting instructions Issuing commands
Input and Output For entering and retrieving data
![Page 14: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/14.jpg)
Computer Systems 1 (2004 - 2005)
Von Neumann Model Logical Structure of the computer system
Routes of data transfer during processing
![Page 15: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/15.jpg)
Computer Systems 1 (2004 - 2005)
Von Neumann Model
Problem?Von-Neumann BottleneckAll instructions must be retrieved from memory
before they are processed Memory (RAM) runs at slower speeds than the
processor is capable of The difference between the speed of the RAM and
the speed of the processor is the ‘bottleneck’ This is being remedied by faster RAM technologies
Such as SDRAM
![Page 16: Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649e4e5503460f94b44a03/html5/thumbnails/16.jpg)
Computer Systems 1 (2004 - 2005)
CS1: Week 6 What you know now:
CPU Architecture Bit size ALU Control Unit Registers
Many different types Buses
Address Control Data
Von Neumann Model Problems!