Basic Computer Structure
Basic Computer Structure
Syllabus
– Computer Types
– Functional units
– Basic Operational concepts
– Bus Structure
– Software
– Performance
– Multiprocessor & Multicomputer
– Computer Generations
– Von-Neumann Architecture
Data flow & Control signals flow in a computer
Memory classification
Basic Operational Concept:
Connections Between Processor & Memory
Instruction Cycle
Bus Structure
A bus is a collection of wires that connects several devices
Buses are used to send the control signals and data between the
processor and other components.
Address bus
4) The address bus is responsible for carrying the addresses of
memory locations or I/O devices where data is to be read.
5) It helps the CPU identify the location of the data in memory.
6) The address bus is unidirectional, meaning data only flows in one
direction from the CPU to memory or an I/O device.
Data Bus
1) The data bus is responsible for carrying the actual data between the CPU,
memory, and peripherals.
2) The data bus is bidirectional, meaning it can carry data in both directions
from the CPU to memory or an I/O device, and vice versa. This allows
for the transfer of both read and write operations.
Control Bus
The control bus carries control signals that synchronize the actions of all
components in the system. It acts as a coordination mechanism for different
devices, ensuring that data is transferred at the right time and that the CPU
and other components are working in harmony without conflicts.
Software
• Software is a collection of instructions, data, or computer programs
that are used to run machines and carry out particular activities.
• The software is basically a set of instructions or commands that tell
a computer what to do.
• In other words, the software is a computer program that provides a
set of instructions to execute a user’s commands and tell
the computer what to do.
• For example like MS-Word, MS-Excel, PowerPoint, etc.
• Types of Software:
• It is a collection of data that is given to the computer to complete a
particular task.
• The chart below describes the types of software:
Difference Between System Software and
Application Software
System Software Application Software
• Less interactive for the users. • More interactive for the users.
Simple Multiprocessor
• Multiprocessor is the one where multiple processors are used that share the
same memory for operating and are connected to function together.
Simple Multicomputer
• While in multicomputer, multiple computers that have different processor are
connected and each has their own different memory. They share the data to
work together
Multiprocessor Vs. Multicomputer
The basic structure of Von Neumann Architecture
• Von-Neumann computer architecture design was proposed in 1945.
It was later known as Von-Neumann architecture.
• Historically there have been 2 types of Computers:
• Fixed Program Computers – Their function is very specific and
they couldn’t be reprogrammed, e.g. Calculators.
• Stored Program Computers – These can be programmed to carry
out many different tasks, applications are stored on them, hence
the name.
• Modern computers are based on a stored-program concept
introduced by John Von Neumann.
• In this stored-program concept, programs and data are stored in the
same memory.
• This novel idea meant that a computer built with this architecture
would be much easier to reprogram.
• This architecture is very important and is used in our PCs and
even in Super Computers.
• It is also known as ISA (Instruction set architecture) computer
and is having three basic units:
• The Central Processing Unit (CPU)
• The Main Memory Unit
• The Input/output Device
1. Central Processing Unit
• The central processing unit is defined as the it is an electric circuit used for the
executing the instruction of computer program.
It has following major components:
1. Control Unit(CU)
2. Arithmetic and Logic Unit(ALU)
3. variety of Registers
2. Control Unit
A control unit (CU) handles all processor control signals. It directs all input and
output flow, fetches code for instructions, and controls how data moves around the
system.
3. Arithmetic and Logic Unit (ALU)
• The arithmetic logic unit is that part of the CPU that handles all the calculations the
CPU may need, e.g. Addition, Subtraction, Comparisons.
• It performs Logical Operations, Bit Shifting Operations, and Arithmetic operations.
• Registers –
• Registers refer to high-speed storage areas in the CPU.
• The data processed by the CPU are fetched from the registers.
• There are different types of registers used in architecture :-
• Accumulator:
• Stores the results of calculations made by ALU. It holds the intermediate
of arithmetic and logical operatoins.it act as a temporary storage location or
device.
• Program Counter (PC):
• Keeps track of the memory location of the next instructions to be deals with.
The PC then passes this next address to the Memory Address Register (MAR).
• Memory Address Register (MAR):
• It stores the memory locations of instructions that need to be fetched from memory
or stored in memory.
• Memory Data Register (MDR):
• It stores instructions fetched from memory or any data that is to be transferred to,
and stored in, memory.
• Current Instruction Register (CIR):
• It stores the most recently fetched instructions while it is waiting to be coded and
• Buses
• Data is transmitted from one part of a computer to another,
connecting all major internal components to the CPU and
memory, by the means of Buses.
• Types:
• Data Bus: It carries data among the memory unit, the I/O devices, and the
processor.
• Address Bus: It carries the address of data (not the actual data) between
memory and processor.
• Control Bus: It carries control commands from the CPU (and status signals
from other devices) in order to control and coordinate all the
activities within the computer.
• Input/output Devices
• Program or data is read into main memory from the input device or secondary
storage under the control of CPU input instruction.
• Output devices are used to output information from a computer.
• If some results are evaluated by the computer and it is stored in the computer,
then with the help of output devices, we can present them to the user.