Computer Organization & Articture No. 4 From APCOMS
Computer Organization & Articture No. 4 From APCOMS
Lecture 04
The First Generation: Vacuum Tubes
• ENIAC - background
– Electronic Numerical Integrator And Computer
• Trajectory tables for weapons
– Started 1943
– Finished 1946
• Too late for war effort
– Used until 1955
• A decimal not binary machine
• Memory consists of 20 “accumulators”
– each capable of holding 10 digits
– A ring of 10 vacuum tubes representing each digit
– At any one time only one vacuum tube was in ON state representing
one of the ten digits
– Hard to program by setting switches manually
ENIAC - details
• Decimal (not binary)
• 20 accumulators of 10 digits
• Programmed manually by switches
• 18,000 vacuum tubes
• 30 tons
• 15,000 square feet
• 140 kW power consumption
• 5,000 additions per second
Moore’s Law
• Increased density of components
on chip
– Gordon Moore - cofounder of Intel
• Number of transistors on a chip will
double every year
• Since 1970’s development has
slowed a little
– Number of transistors doubles
every 18 months
– Cost of a chip has remained
almost unchanged
– Higher packing density means
shorter electrical paths, giving
higher performance
• Smaller size gives increased
flexibility
• Reduced power and cooling
requirements
Growth in CPU Transistor Count
• Fewer interconnections increases
reliability
The von Neumann Model
• This is a general
depiction of a von
Neumann system:
– System passes all
I/O through ALU
(accumulator)
• Known as von
Neumann
execution cylce
– These computers
employ a fetch-
decode-execute
cycle to run
programs
The von Neumann Model (fetch-decode-execute
cycle)
1. The control unit fetches the next instruction from memory
using the program counter to determine where the instruction
is located.
The von Neumann Model (fetch-decode-execute
cycle)
• Rock’s Law
– Arthur Rock, Intel financier
– “The cost of capital equipment to build semiconductors
will double every four years.”
– In 1968, a new chip plant cost about $12,000.
• Rock’s Law
– In 2005, a chip plants under construction cost over
$2.5 billion.
$2.5 billion is more than the gross domestic
product of some small countries, including
Belize, Bhutan, and the Republic of Sierra
Leone.
Time 10 mins
Max 10 marks
Quiz
• In what ways are hardware and software different? In
what ways are they the same?
• Calculate following
– a) How many milliseconds (ms) are in 1 second?
– b) How many nanoseconds (ns) are in 1 millisecond?
– c) How many kilobytes are in 1 megabyte (MB)?
– d How many megabytes are in 1 gigabyte (GB)?
– e) How many bytes are in 20 megabytes?
Answer to Q # 1
• In what ways are hardware and software different? In
what ways are they the same?
• Ans.
• Between hardware and software, hardware provides
more speed, software provides more flexibility.
Hardware and software are related through the
Principle of Equivalence of Hardware and Software.
They can solve problems equally, although solutions
are often easier in one versus the other.
Answer to Q # 2
• a) How many milliseconds (ms) are in 1 second?
• b) How many nanoseconds (ns) are in 1 millisecond?
• c) How many kilobytes (KB) are in 1 gigabyte (GB)?
• d) How many kilobytes are in 1 megabyte (MB)?
• e How many megabytes are in 1 gigabyte (GB)?
• f) How many bytes are in 20 megabytes?
• Ans. Typically, time is measured in powers of 10, so we
have:
– a. 1,000
– b. 1,000,000
– c. 1,000,000 (or 230/210=220)
– d. 1,000 (or 220/210=210)
– e. 1,000 (or 230/220=210)
– f. 20,000,000 (or 20*220)