1-Module 1-12-12-2024
1-Module 1-12-12-2024
Architecture (ECE-2002)
Evolution of computers
• First Generation: Vacuum Tubes
• Second Generation: Transistors
• Third Generation: Integrated circuits
• Later generations: LSI and VLSI
17-01-2023
Artillery firing tables for correct firing angle
Evolution of computers
• First Generation: Vacuum Tubes
Vacuum tubes
17-01-2023
First Gen: Vacuum tubes
⮚Numbers are represented in binary form, and each instruction is a binary code.
⮚Memory address register (MAR): Specifies the address in memory of the word to be written from or
read into the MBR.
⮚Instruction register (IR): Contains the 8-bit opcode instruction being executed.
⮚Instruction buffer register (IBR): Employed to hold temporarily the right hand instruction from a word
in memory.
⮚Program counter (PC): Contains the address of the next instruction-pair to be fetched from memory.
⮚Accumulator (AC) and multiplier quotient (MQ): Employed to hold temporarily operands and results
of ALU operations.
Second GEN: Transistors
⮚Invented at Bell Labs in 1947 by William Shockley, John Bardeen, and Walter Brattain.
⮚A small electronic device that acts as a switch or amplifier, replacing bulky and
inefficient vacuum tubes.
⮚Advantages of Transistors
Smaller and Compact Design:
• Transistors are much smaller than vacuum tubes, enabling more compact
computers.
Cheaper:
• Mass production of transistors significantly reduced the cost of computers.
Less Heat Dissipation:
• Unlike vacuum tubes, transistors generate far less heat, improving reliability and
efficiency.
Durability and Longevity:
• Transistors are more robust and have a longer lifespan compared to vacuum
tubes.
Third gen: Integrated circuits
• What is an Integrated Circuit (IC)?
An IC is a tiny piece of silicon (a semiconductor) that integrates multiple components like
transistors, resistors, and capacitors into a single chip.
• Advantages of ICs Over Discrete Components:
• Eliminated the need for assembling individual components.
• Allowed multiple transistors to be produced simultaneously on a single wafer of silicon.
• Simplified manufacturing, reduced costs, and improved reliability.
• What is Moore’s Law?
• Proposed by Gordon Moore (co-founder of Intel) in 1965:
• The number of transistors on an IC doubles approximately every year.
• Later revised to a doubling every 18 months (still holds true today).
Later generations
• Large-Scale Integration (LSI):Allowed 1,000+ components to be integrated into
a single chip.
• Very-Large-Scale Integration (VLSI):Increased the number of components on a
chip to over 10,000.
• Ultra-Large-Scale Integration (ULSI):Modern ULSI chips can integrate millions
of components, allowing for incredible computing power in small, portable
devices like smartphones and laptops.
• Led to the Birth of the Microprocessor, i.e. contained all components of a CPU
(arithmetic, control unit, registers) on a single chip. eg. Intel 4004, Intel 8008
(1972), Intel 8086 (1979), Intel 80386 (1985).
• Led to the advancements in Memory Technology i.e. Magnetic-Core Memory
to Semiconductor Memory
Performance Assessment
Performance is one of the key parameters to consider, along with cost, size,
security, reliability, and, in some cases power consumption.
Application performance depends not just on the raw speed of the processor, but
on the instruction set, choice of implementation language, efficiency of the
compiler, and skill of the programming.
Clock Speed
The System Clock: The speed of a processor is dictated by the clock frequency, measured
in Hertz (Hz) (cycles per second).
Clock signals are generated by a quartz crystal
The clock rate determines how many pulses the processor receives per second.
For example, a 1 GHz processor receives 1 billion clock pulses per second
Millions of instructions per second (MIPS) or MIPS rate
The System Clock: The most fundamental level, the speed of a processor
is dictated by the pulse frequency produced by the clock, measured in
cycles per second, or Hertz (Hz).
Instructions per second = CPS/ CPI = (3.2 x 109)/ 2 = 6.4 x 109 instructions per
second
Performance Assessment
A CPU executes a simple addition instruction (e.g., A = B + C) in 1 clock cycle.
In this case, the CPI is 1.
Clock Frequency (CPS): 2.5 GHz, i.e. CPS = 2.5x 109
CPU Speed (IPS) = CPS/CPI = 2.5 billion instructions per second
1. Architecture describes what the computer does. The Organization describes how it does it.
• This representation has fixed number of bits for integer part and for fractional
part.
• There are three parts of a fixed-point number representation: the sign field,
integer field, and fractional field
Fixed point numbers
Disadvantage:
• limited range of values that they can represent
• it does not allow enough numbers and accuracy
• Therefore, the smallest positive number is 2-16 ≈ 0.000015
• largest positive number is 215 ≈ 32768
IEEE Floating Point Representation
• In the decimal system, a decimal point (radix point) separates the
whole numbers from the fractional part
• Examples:
37.25 ( Integer = 37, fraction = 0.25)
1.0010101 x 25
Every binary number, except the one corresponding to the number zero, can be
normalized by choosing the exponent so that the radix point falls to the right of the
leftmost 1 bit.
37.2510 = 100101.012 = 1.0010101 x 25 => Biased exponent = 132
• Floating point numbers can be stored into 32-bits, by dividing the bits into three
parts: the sign, the biased exponent, and the mantissa.
Mantissa= 0010101
Step 1. Compute the binary equivalent of the whole part and the fractional part.
2410 => 110002,
.7510 =>.112
So: -24.7510 = -11000.112
Step 2. Normalize the number by moving the decimal point to the right
of the leftmost one.
-11000.11 = -1.100011 x 24
Ex 1: Convert the following 32-bit binary number to its decimal floating point
equivalent:
SB Exponent (8-bits) Mantissa (23 bits)
1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Step 4: Convert binary number to the FP equivalent (i.e. Add all column values
with 1s in them)
= -0.312510
Ex 2: Convert the following 32 bit binary number to its decimal floating
point equivalent:
Step 3: Denormalize the binary number from step 2 (i.e. move the decimal and
get rid of (x 2n) part:
11001.12 (positive exponent – move right)
Step 4: Convert binary number to the FP equivalent (i.e. Add all column values
with 1s in them)
11001.1 = 16 + 8 + 1 +.5
= 25.510