Unit-1 Basics of Computer Organization and Processor Evolution
Unit-1 Basics of Computer Organization and Processor Evolution
1.2.2. Various Registers used in CPU & its applications AC, DR, AR, PC, MAR, MBR, IR
1.3.1. Types of Buses used in CPU
Common / Shared Bus v/s Dedicated Bus
Serial Bus v/s Parallel Bus
Clock Number of
Name Year of Invention Inst. per sec
speed transistors
Inst.
Clock Number of
Name Year of Invention per
speed transistors
sec
4.77 MHz,
1978 (multiply and divide instruction, 16-bit 2.5
8086 8 MHz, 10 29000
data bus and 20-bit address bus) Million
MHz
4
80286 1982 (data bus 16bit and address bus 24 bit) 8 MHz 134000
Million
64 KB of L1
2006 (other versions
INTEL 291 Million cache per core
core2 duo, core2 quad, 1.2 GHz to 3 GHz
core 2 transistors 4 MB of L2
core2 extreme)
cache
2.2GHz – 3.3GHz,
i3, i5,
2007, 2009, 2010 2.4GHz – 3.6GHz,
i7
2.93GHz – 3.33GHz
Generations of microprocessors:
1. First-generation –
From 1971 to 1972 the era of the first generation came which brought microprocessors like INTEL
4004 Rockwell international PPS-4 INTEL 8008 etc.
2. Second generation –
The second generation marked the development of 8-bit microprocessors from 1973 to 1978.
Processors like INTEL 8085 Motorola 6800 and 6801 etc came into existence.
3. Third generation –
The third generation brought forward the 16-bit processors like INTEL 8086/80186/80286
Motorola 68000 68010 etc. From 1979 to 1980 this generation used the HMOS technology.
4. Fourth generation –
The fourth-generation came into existence from 1981 to 1995. The 32-bit processors using HMOS
fabrication came into existence. INTEL 80386 and Motorola 68020 are some of the popular
processors of this generation.
5. Fifth-generation –
From 1995 till now we are in the fifth generation. 64-bit processors like PENTIUM, Celeron, dual,
quad, and octa-core processors came into existence.
Types of microprocessors:
Superscalar microprocessor:
These processors can perform many tasks at a time. They can be used for ALUs and multiplier-like
arrays. They have multiple operation units and perform tasks by executing multiple commands.
Features:
Clock speed: One of the earliest features of microprocessors was the clock speed, which refers to the
speed at which the processor can execute instructions. Over time, clock speeds have increased, with
modern processors capable of speeds in the billions of cycles per second (GHz).
Instruction set architecture: Microprocessors have evolved to support different instruction set
architectures, including CISC (complex instruction set computer) and RISC (reduced instruction set
computer), which affect the efficiency and complexity of processing.
Cache memory: Microprocessors now include a cache memory, which is a small amount of high-speed
memory that stores frequently used data for quicker access.
Multi-core processors: Modern microprocessors have multiple cores, allowing for multiple tasks to be
executed simultaneously, increasing performance and multitasking capabilities.
Virtualization: Microprocessors now support virtualization, which enables multiple operating systems
to run on the same physical hardware.
Power management: Modern processors include power management features, which reduce power
consumption and improve energy efficiency.
Graphics processing: Many modern microprocessors include integrated graphics processing units
(GPUs), which allow for faster and more efficient handling of graphics-intensive tasks.
Security features: Microprocessors now include security features, such as hardware-level encryption
and secure boot, to protect against malware and hacking.
Internet connectivity: Microprocessors now include built-in networking capabilities, such as Wi-Fi
andEthernet, which allow for seamless internet connectivity.
Machine learning capabilities: Some modern microprocessors include specialized processing units for
machine learning and artificial intelligence tasks, allowing for faster and more efficient processing of
these tasks.
Advantages of the microprocessor:
1. High processing speed
2. Compact size
3. Easy maintenance
4. Can perform complex mathematics
5. Flexible
6. Can be improved according to a requirement
Disadvantages of microprocessors:
1. Overheating occurs due to overuse
2. Performance depends on the size of the data
3. Large board size than microcontrollers
4. Most microprocessors do not support floating-point operations
○ The most commonly used input devices are keyboards, mouse, joysticks, trackballs, microphones,
etc.
● Central processing unit
○ Central processing unit commonly known as CPU can be referred to as an electronic circuitry within
a computer that carries out the instructions given by a computer program by performing the basic
arithmetic, logical, control and input/output (I/O) operations specified by the instructions.
● Memory unit
○ The Memory unit can be referred to as the storage area in which programs are kept which are
running, and that contains data needed by the running programs.
○ The Memory unit can be categorized in two ways namely, primary memory and secondary
memory.
○ It enables a processor to access running execution applications and services that are temporarily
stored in a specific memory location.
● Arithmetic & logical unit
○ Most of all the arithmetic and logical operations of a computer are executed in the ALU(Arithmetic
and Logical Unit) of the processor. It performs arithmetic operations like addition, subtraction,
multiplication, division and also the logical operations like AND, OR, NOT operations.
● Control unit
○ The control unit is a component of a computer's central processing unit that coordinates the operation
of the processor. It tells the computer's memory, arithmetic/logic unit and input and output devices
how to respond to a program's instructions.
○ The control unit is also known as the nerve center of a computer system.
● Output Unit
○ The primary function of the output unit is to send the processed results to the user. Output devices
display information in a way that the user can understand.
○ Output devices are pieces of equipment that are used to generate information or any other response
processed by the computer. These devices display information that has been held or generated within
a computer.
○ The most common example of an output device is a monitor.
Various Registers used in CPU & its applications
o In Computer Architecture, the Registers are very fast computer memory which are used to
execute programs and operations efficiently.
o The sole purpose of having register is fast retrieval of data for processing by CPU.
o Though accessing instructions from RAM is comparatively faster with hard drive, it still isn’t enough
for CPU. For even better processing, there are memories in CPU which can get data from RAM
which are about to be executed beforehand. After registers we have cache memory, which are faster
but less fast than registers.
o These are classified as given below.
Sr
Name Symbol Description
No
An accumulator is the most often utilized register and it
1 Accumulator AC
isused to store information taken from memory.
2 Data Register DR Holds memory operand
Common/Shared Bus: A common or shared bus refers to a single communication pathway that
is shared by multiple components within a computer system. It serves as a shared medium for
transferring data, addresses, and control signals between different components. This type of bus is
typically used in systems where cost, simplicity, and flexibility are important factors.
o Data Bus: It transfers the actual data between the CPU, memory, and I/O devices. The width of
the data bus determines the maximum amount of data that can be transferred in parallel.
o Control Bus: It carries control signals that coordinate and control the activities of various
components in the system. Control signals include read/write signals, interrupt signals, clock
signals and more.
Common buses are relatively simple and cost-effective since they use a single set of physical wires
communication. However, sharing the bus among multiple components can introduce limitations, s
such as limited bandwidth and potential contention if multiple components try to use the bus
simultaneously.
Dedicated Bus:
A dedicated bus, as the name suggests, is a dedicated communication pathway between specific
components within a computer system. Unlike a common bus, it provides a separate and exclusive
connection for data transfer between two specific components. Dedicated buses are commonly used
in high-performance systems or for critical communications requiring higher bandwidth and low
latency.
Dedicated buses can be designed to meet specific requirements, such as connecting the CPU and
cache CPU and graphics processing unit (GPU), or CPU and memory. These buses are optimized
for specific data transfer needs, often utilizing advanced protocols and higher bandwidths. Dedicated
buses allow for efficient and direct communication between components without the potential
contention issues found in shared buses.
o Front Side Bus (FSB): It connects the CPU with the memory and chipset components in older
computer systems.
o Peripheral Component interconnect (PCI) Bus: It provides a dedicated connection between
the CPU and peripheral devices, such as expansion cards, network cards, and sound cards.
o Advanced High-Performance Bus (AHB): It is a dedicated bus used in ARM-based systems for
communication between the CPU, memory, and peripherals.
Dedicated buses offer increased performance and efficiency in terms of data transfer and can be
tailored to the specific requirements of the connected components. However, they may require
additional design complexity and can be more costly to implement compared to shared buses.
o High Performance: Dedicated buses are often designed for high-performance systems or critical
Communications that require high bandwidth, low latency, and efficient data transfer. They can
be optimized for specific needs and offer faster and more direct communication compared to
shared buses.
o Specific Functionality: Dedicated buses can be designed to meet specific requirements,
connecting specific components in the system. For example, a dedicated bus can connect the
CPU and cache, CPU and graphics processing unit (GPU), or CPU and memory.
o Advanced Protocols: Dedicated buses often employ advanced protocols and signaling techniques
to maximize performance. These protocols can include techniques such as pipelining, data
buffering, and error correction mechanisms to ensure efficient and reliable data transfer.
o Increased Complexity and Cost: Implementing dedicated buses can require additional design
complexity and incur higher costs compared to shared buses. Dedicated buses often necessitate
extra physical connections, specialized protocols, and more advanced circuitry.
Dedicated buses provide exclusive communication, high performance, and specific functionality but
can be more complex and expensive to implement. The choice between a shared bus and a
dedicated bus depends on the specific requirements and trade-offs of the system design.
Serial Bus and Parallel Bus are two different types of data transfer methods used in computer system
Here's an explanation of each:
Serial Bus:
o Data Transfer: In a serial bus, data is transferred one bit at a time data line. The bits are sent in a
serial fashion, one after the other.
o Communication Efficiency: Serial buses are generally slower compared to parallel buses, but
they can transmit data over longer distances with fewer physical connections. They are
commonly use in situations where longer distances or simplicity in wiring are important factors.
o Simplicity and Cost: Serial buses require fewer wires and physical connections, making them
simple and more cost-effective to implement. They are commonly found in devices such as USB
(Universal Serial Bus), Ethernet, and SATA (Serial ATA) interfaces.
o Lower Bandwidth: Serial buses typically have lower bandwidth compared to parallel buses since
they transfer data one bit at a time. However, advancements in serial bus technologies, such as
high-speed USB or Thunderbolt, have significantly increased their data transfer rates.
o Serial buses are used for long-distance communication. Eg, Computer to the computer.
Parallel Bus:
o Data Transfer: In a parallel bus, multiple bits are transmitted simultaneously across multiple
data lines. Each bit is sent over a separate wire or line, allowing for parallel data transfer.
o Higher Bandwidth: Parallel buses have the potential for higher data transfer rates compared to
serial buses since multiple bits are transmitted simultaneously. This makes parallel buses well-
suite for applications requiring high-speed data transfer, such as memory buses and system
interconnects.
o Data Integrity: Parallel buses are generally more susceptible to signal integrity issues due to
the simultaneous switching of multiple data lines. Signal integrity becomes crucial when
dealing with high-speed parallel buses to ensure accurate data transmission.
o Complexity and Cost: Parallel buses require more wires and physical connections, resulting
in increased complexity and cost of implementation. They are commonly found in systems that
require high-bandwidth communication, such as internal system buses or memory interfaces.
o Shorter Distances: Parallel buses are typically limited to shorter distances due to the increased
susceptibility to signal degradation and synchronization challenges over longer distances.
o Parallel buses are used for short distance. e.g. computer to a printer.
It's worth noting that both serial and parallel buses have their own advantages and applications. The
choice between them depends on factors such as required data transfer rate, distance, complexity,
cost and specific system requirements.
Serial vs Parallel
In this type, a single communication link is In this type, multiple parallels links used to
1.
used to transfer data from one end to another transmit the data
6. Generally, Serial Transmission is used for Generally, Parallel Transmission is used for
S.NO Serial Bus Parallel Bus
The circuit used in Serial Transmission is The circuit used in Parallel Transmission is
7.
simple. relatively complex.