Class 1 - Basic Concept and Computer Evolution
Class 1 - Basic Concept and Computer Evolution
3 SKS
Architectural
Computer attributes
Architecture
include:
Organizational
attributes Computer
Organization
include:
I/O Main
memory
System
Bus
CPU
CPU
Registers
Structure
ALU
Internal
Bus
Control
Unit
CONTROL
UNIT
Sequencing
Logic
Control Unit
Registers and
Decoders
Control
Memory
Processor
I/O chips chip
PROCESSOR CHIP
L3 cache L3 cache
CORE
Arithmetic
Instruction and logic Load/
logic unit (ALU) store logic
L2 instruction L2 data
cache cache
For the Glory of the Nation Figure 1.2 Simplified View of Major Elements of a Multicore Computer
Figure 1.3
For the Glory of the Nation
Motherboard with Two Intel Quad-Core Xeon Processors
zEnterprise
EC12
Core Layout
AC MQ
Input-
Arithmetic-logic output
circuits
equipment
(I, O)
MBR
Instructions
and data
Instructions
and data
M(0)
M(1)
M(2)
M(3) PC IBR
M(4) AC: Accumulator register
MQ: multiply-quotient register
MBR: memory buffer register
IBR: instruction buffer register
MAR IR PC: program counter
MAR: memory address register
Main
IR: insruction register
memory
(M)
Control
Control
circuits
signals
M(4092)
M(4093)
M(4095)
Program control unit (CC)
Addresses
0 8 20 28 39
opcode (8 bits) address (12 bits) opcode (8 bits) address (12 bits)
Memory address register • Specifies the address in memory of the word to be written from or
(MAR) read into the MBR
Instruction register (IR) • Contains the 8-bit opcode instruction being executed
Instruction buffer register • Employed to temporarily hold the right-hand instruction from a word
(IBR) in memory
Yes Is next No
instruction MAR PC
No memory in IBR?
Fetch access
cycle required
MBR M(MAR)
Left
No Yes IBR MBR (20:39)
IR IBR (0:7) IR MBR (20:27) instruction
IR MBR (0:7)
MAR IBR (8:19) MAR MBR (28:39) required?
MAR MBR (8:19)
PC PC + 1
Decode instruction in IR
Execution Yes
Is AC > 0?
cycle
AC MBR AC AC + MBR
For the Glory of the Nation Figure 1.8 Partial Flowchart of IAS Operation
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
Symbolic
Instruction Type Opcode Representation Description
00001010 LOAD MQ Transfer contents of register MQ to the
accumulator AC
00001001 LOAD MQ,M(X) Transfer contents of memory location X to
MQ
00100001 STOR M(X) Transfer contents of accumulator to memory
Data transfer location X
00000001 LOAD M(X) Transfer M(X) to the accumulator
00000010 LOAD –M(X) Transfer –M(X) to the accumulator
00000011 LOAD |M(X)| Transfer absolute value of M(X) to the
accumulator
00000100 LOAD –|M(X)| Transfer –|M(X)| to the accumulator
Unconditional 00001101 JUMP M(X,0:19) Take next instruction from left half of M(X)
Table 1.1
branch 00001110 JUMP M(X,20:39) Take next instruction from right half of M(X)
00001111 JUMP+ M(X,0:19) If number in the accumulator is nonnegative,
take next instruction from left half of M(X)
0 JU If number in the
0 MP accumulator is nonnegative,
Conditional branch 0 + take next instruction from
The IAS
1 M(X right half of M(X)
0 ,20:
0 39)
0
00000101
0
ADD M(X) Add M(X) to AC; put the result in AC Instruction Set
00000111 ADD |M(X)| Add |M(X)| to AC; put the result in AC
00000110 SUB M(X) Subtract M(X) from AC; put the result in AC
00001000 SUB |M(X)| Subtract |M(X)| from AC; put the remainder
in AC
00001011 MUL M(X) Multiply M(X) by MQ; put most significant
bits of result in AC, put least significant bits
Arithmetic
in MQ
00001100 DIV M(X) Divide AC by M(X); put the quotient in MQ
and the remainder in AC
00010100 LSH Multiply accumulator by 2; i.e., shift left one
bit position
00010101 RSH Divide accumulator by 2; i.e., shift right one
position
00010010 STOR M(X,8:19) Replace left address field at M(X) by 12
rightmost bits of AC
Address modify
For the Glory of the Nation 00010011 STOR M(X,28:39) Replace right address field at M(X) by 12
rightmost bits of AC (Table can be found on page 17 in the textbook.)
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
+
History of Computers
Second Generation: Transistors
• Smaller
• Cheaper
• It was not until the late 1950’s that fully transistorized computers
were commercially available
Mag tape
units
CPU
Card
punch
Data
channel Line
printer
Card
reader
Drum
Multi- Data
plexor channel
Disk
Data
Disk
channel
Hyper-
tapes
Read
Activate Write
signal
Chip
Gate
Packaged
chip
ed of
rc
or in
ga w
d
st rk
ci
ul l a
at n
te
g r ti o
si o
’s
an w
om re
te n
tr irst
in ve
pr oo
In
M
F
100 bn
10 bn
1 bn
100 m
10 m
100,000
10.000
1,000
100
10
1
1947 50 55 60 65 70 75 80 85 90 95 2000 05 11
• Announced in 1964
• Product line was incompatible with older IBM
machines
• Was the success of the decade and cemented
IBM as the overwhelmingly dominant
computer vendor
• The architecture remains to this day the
architecture of IBM’s mainframe computers
•
For the Glory of the Nation
Was the industry’s first planned family of
computers © 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
+
Family Characteristics
Similar or
Similar or identical
identical
operating
instruction set
system
Increasing
Increasing number of I/O
speed
ports
Increasing
memory size Increasing cost
For the Glory of the Nation
Omnibus
Later Integration
Generations
VLSI
Very Large
Scale
Integration
ULSI
Ultra Large
Semiconductor Memory Scale
Microprocessors Integration
For the Glory of the Nation
In 1974 the price per bit of semiconductor memory dropped below the price per bit of
core memory
There has been a continuing and rapid decline in Developments in memory and processor technologies
memory cost accompanied by a corresponding changed the nature of computers in less than a
increase in physical memory density decade
Each generation has provided four times the storage density of the previous generation, accompanied by
For the Glory of the Nation declining cost per bit and declining access time
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
+
Microprocessors
• The density of elements on processor chips
continued to rise
• More and more elements were placed on each chip
so that fewer and fewer chips were needed to
construct a single computer processor
• 1971 Intel developed 4004
• First chip to contain all of the components of a CPU
on a single chip
• Birth of microprocessor
• 1972 Intel developed 8008
• First 8-bit microprocessor
• 1974 Intel developed 8080
• First general purpose microprocessor
• Faster, has a richer instruction set, has a large
For the Glory of the Nation addressing capability
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
Evolution of Intel Microprocessors
4004 8008 8080 8086 8088
Introduced 1971 1972 1974 1978 1979
5 MHz, 8 MHz, 10
Clock speeds 108 kHz 108 kHz 2 MHz 5 MHz, 8 MHz
MHz
Bus width 4 bits 8 bits 8 bits 16 bits 8 bits
Number of 2,300 3,500 6,000 29,000 29,000
transistors
Feature size 10 8 6 3 6
(µm)
Addressable 640 Bytes 16 KB 64 KB 1 MB 1 MB
memory
Processor Memory
Human Diagnostic
interface port
A/D D/A
conversion Conversion
Actuators/
Sensors
indicators
For the Glory of the Nation Figure 1.14 Possible Organization of an Embedded System
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights
reserved.
+
The Internet of Things (IoT)
• Term that refers to the expanding interconnection of smart devices,
ranging from appliances to tiny sensors
• Is primarily driven by deeply embedded devices
• Generations of deployment culminating in the IoT:
• Information technology (IT)
• PCs, servers, routers, firewalls, and so on, bought as IT devices by enterprise IT people
and primarily using wired connectivity
• Operational technology (OT)
• Machines/appliances with embedded IT built by non-IT companies, such as medical
machinery, SCADA, process control, and kiosks, bought as appliances by enterprise OT
people and primarily using wired connectivity
• Personal technology
• Smartphones, tablets, and eBook readers bought as IT devices by consumers exclusively
using wireless connectivity and often multiple forms of wireless connectivity
• Sensor/actuator technology
• Single-purpose devices bought by consumers, IT, and OT people exclusively using
wireless connectivity, generally of a single form, as part of larger systems
• It is the fourth generation that is usually thought of as the IoT and it is marked by the use of billions of
embedded devices
ARM Products
Cortex-M
• Cortex-M0
Cortex-R • Cortex-M0+
• Cortex-M3
Cortex- • Cortex-M4
A/Cortex-
A50
Peripheral bus
32-bit bus
Voltage Voltage High fre- High freq Flash SRAM Debug DMA
regula- compar- quency RC crystal memory memory inter- control-
tor ator oscillator oscillator 64 kB 64 kB face ler
Microcontroller Chip
ICode SRAM &
interface peripheral I/F
Bus matrix
Debug logic
Memory
DAP protection unit
ARM
NVIC core ETM
Cortex-M3 Core
NVIC ETM Cortex-M3
interface interface
Processor
32-bit ALU
Hardware 32-bit
divider multiplier
Control Thumb
logic decode
Instruction Data
interface interface
For the Glory of the Nation Figure 1.16 Typical Microcontroller Chip Based on Cortex-M3
Cloud Storage
• Subset of cloud computing
• Consists of database storage and database applications hosted
remotely on cloud servers
• Enables small businesses and individual users to take advantage
of data storage that scales with their needs and to take
advantage of a variety of database applications without having
to buy, maintain, and manage the storage assets
For the Glory of the Nation
Managed
by client
Applications Applications Applications Applications
Managed by client
Application Application Application Application
Framework Framework Framework Framework
Managed by CSP
Managed by CSP
Databases Databases Databases Databases
Managed by CSP
Virtual Virtual Virtual Virtual
machine machine machine machine
Server Server Server Server
hardware hardware hardware hardware
IT = information technology
CSP = cloud service provider