Hardware VonNeumann
Hardware VonNeumann
Below is an example of data being inputted, processed and the results being outputted
What is a microprocessor?
A microprocessor is a type of integrated circuit on a single chip.
An integrated circuit is a small electronic circuit made up of transistors, capacitors, resistors
and other electronic components.
The integrated circuit contains a central processor designed to perform arithmetic and logic
operations, which include adding, subtracting, transferring numbers from one memory
location to another, and comparing two numbers.
The single chip also contains input/output interfaces, and memory Microprocessors are a
compact way of processing data and can be used in a wide range of electronic devices,
including general-purpose computer system and Embedded system.
John Von Neumann developed the concept of the stored program computer in the 1940s
The Von Neumann computer architecture, which most modern day computers use, is based
upon this concept.
The key feature of the stored program concept, and Von Neumann architecture, is data and
instructions are stored in the same memory ( RAM ) as binary.
Another feature of Von Neumann architecture is a central processing unit (CPU) fetches
instructions from memory and executes them one at a time (serially).
The CPU then stores the results back into memory Components of the Central Processing
Unit.
3.Registers
Small, high-speed storage locations in the CPU used to store data temporarily. Registers help the
CPU run faster because they allow it to quickly access data without needing to go all the way to
memory every time.
One of the most fundamental components of Vo Neumann Architecture.
There are five of them (Special Purpose Registers)
Registers Functions
1. PC The Program Counter holds the address of the next instruction that the CPU will
execute.
Memory Address Register stores the address of the memory location currently being
2. MAR read from or written to.
Memory Data Register stores data which has just been read from memory or data
3. MDR
which is about to be written to memory.
4. CIR Control Instruction Register stores the current instruction being decoded and
executed.
5. ACC Accumulator is used when carrying out ALU calculations, it stores data temporarily
during the calculation.
Buses
Components within the CPU and wider computer system are connected by buses.
These are wires down which electronic signals and data travel. The different buses are
collectively called the system bus.
The system bus is made up of three different buses - the data bus, the control bus and
the address bus.
1. Data Bus The data bus transmits data from the CPU to memory or input/output
controllers. It is bidirectional which means data can travel in both directions.
2. Address Bus The address bus transfers addresses from the CPU to memory. It is
unidirectional which mean addresses only go from the CPU to memory.
3. Control Bus The control bus transfers control signals from the control unit to other
components in the computer system such as memory or input/output
controllers. The control bus is bidirectional.
Width of the address bus and data bus is important. The wider the bus, the larger the
word length that can be transported.
Overclocking
Overclocking is when a user increases the CPU’s clock speed beyond the
manufacturer’s recommended limit.
The goal is to make the CPU run faster and improve performance, especially in gaming
or video editing.
Dangers of Overclocking
It can overheat the CPU if not cooled properly.
May lead to system instability or shorten the lifespan of the CPU.
Requires extra cooling systems like better fans or liquid cooling.
Unsynchronized operations
3.1 PC → MAR
The address from Program Counter goes into MAR (Memory Address Register).
MAR holds the address of the instruction to be fetched from memory.
Clock speed
The clock speed is measured in Hertz (Hz)
The clock speed measures the number of fetch-decode-execute cycles that can take place
in 1 second
The faster the clock speed, the more instructions can be fetched and executed per second
Modern computers have a clock speed in Gigahertz (GHz), meaning billion
A clock speed of 3.5GHz can perform up to 3.5 billion instructions per second
Cache size
Cache is very small, very fast memory on or close to the CPU
Cache is used as temporary storage to provide quick access to a copy of frequently used
instructions and data
The larger the cache size, the more frequently used instructions or data can be stored
This results in the CPU having to complete fewer fetch cycles from memory (RAM),
speeding up the performance
Cache also has a significantly faster read/write speed than RAM, making it much quicker
to retrieve instructions from there instead of from memory (RAM)
Number of cores
A core works like it is its own CPU
Multiple core processors mean they have multiple separate processing units that can
fetch, decode and execute instructions at the same time
For example, a dual-core processor would have 2 processing units, each with their own
o Control Unit (CU)
o Arithmetic Logic Unit (ALU)
o Accumulator (ACC)
o Registers
Multi-core processors can run more powerful programs with greater ease
Multiple cores increase the performance of the CPU by working with the clock speed
o Example: A quad-core CPU (4 cores), running at a clock speed of 3Ghz
4 cores x 3GHz
4 x 3 billion instructions
12 billion instructions per second
Dual Core
Worked Example
One computer has a single core processor and the other has a dual core processor.
Explain why having a dual core processor might improve the performance of the computer.
Answer
The computer with the dual core processor has two cores/double the amount of cores
Parallel processing can take place
Each core can execute a separate instruction at the same time
Each core can process instructions independently of each other
An instruction set is a list of all the commands that can be processed by a CPU
Each command has a binary code which is called machine code
Worked Example
Using the instruction set in the table above what would be the operation if the instruction was
00100010 00000010?
Answer
Either of:
Increasing bus width (data and address bus) increases the performance and speed of a
computer
Increasing clock speed will potentially increase the speed of a computer
A computer’s performance can be changed by altering bus width, clock speed and use of
multi core
Use of cache memories can also speed up a CPU’s performance