Professional Documents
Culture Documents
Interconnections
I/O
Devices
Program Memory
Processor Program Memory Processor Data Memory
&
Data Memory
Harvard Architecture
von Neumann Architecture
Recap John von Neumann Architecture
• Consists of : CPU; Memory and I/O Devices
CPU
Control
Unit System Bus:
(Address bus; Data Bus and Control
Bus)
Arithmetic and
Control Unit
I/O Devices
• Basic Characteristics of von-Neumann Architecture are
Both Data and Instructions are stored in Read/Write (R/W) Memory
Contents of the R/W memory are accessed by Location (0 to n)
The instructions stored in memory are accessed and executed sequentially
Recap Origin
• Evolution of microprocessors is categorized into FIVE Generations:
1. First Generation (1971-1973)
4 bit and 8 bit processors- 4004 and 8008;
Number of transistors: 2300,
PMOS low cost, slow speed and low output currents ; and
serial processing
De
ro C h ow
Rig pme
Set Computer)
ve
Mic ree S
lo
Pentium 4EE, 4E, 4F
ht
b ra t s i n
Xeon
T
n
s
nc Sp
e nt i n t he
Co
hi
87 uni l IXP n
s in
ra tra on /
m Inte
µC) ies
Sys
80486
n t cial
m
ge n
el o nc h
il
D 20
(i486)
r P sm Pro 50
he
(16 Fam
ed
e
In 29
ell /7
oly itte ce
80386
57
Tre urpo
Dev ft Bra
pm
edd
te 20
Ins 720
251
-bit
tro r sso
(i386)
lC N
6
C9
e s se
pir
TM DSP ly
P
b
151
n
ele
l 80
Em
o
Le
S3
ho
MS
ro
51
l 80
fa
80286 (i286)
Inte
7
20
48
ws hips
m
l 80
i
Inte
DS
l 80
80286
...
Inte
C
rs
P
Inte
80186
8088
8086
8085
8080
8008
4004 (1971)
• A digital circuit operates with binary numbers i.e. only in two states.
• The output of the circuit is either LOW (0) or HIGH (1) in Positive Logic System while it is
reverse in Negative Logic System
• So in digital systems, the data is usually in binary states ( 0 & 1) and is processed and
stored electronically to prevent errors due to noise and interfering signals
– Telephony
– Data Processing
– Radar Navigation
– Military System
– Many Consumer Products TV, Dish Washers, Washing machine, Air Conditioners etc
Recap Learning Outcomes
• General Properties of
– Number System or Digital Number System (DNS)
– Methods of Conversion from one to another
– Arithmetic and Boolean Operation
– Weighted and Non-weighted Codes
– Error Detecting and Correcting codes
– Logic Gates
– Flip flops
– Registers and counters
are very much essential in Digital Circuits
Number Systems : Radix and their Symbols
• (0.625)10 = (0.1010)2
• (0.7)10 = (_________)2
• (0.7)10 = (0.101100110)2
A. Conversion : Decimal Number to Binary Number
• Home Work
• (68)10 = (________)2
• (125)10 = (________)2
• (58.25)10 = (________)2
B. Conversion : Binary Number to Decimal Number
• Procedure
– Integer as well as Fraction A binary number can be converted into a Decimal Number
by Multiplying the Binary Number (1 or 0) by their Weights and Adding the Products
• (101111)2 = (47)10
• (11010)2 = (____)10
• (11010)2 = (26)10
• (0.1101)2 = (____)10
• (0.1101)2 = (0.8125)10
• (0.10011)2 = (____)10
Octal Number
• Decimal Number to Octal Number
Integer Number Divide by 8 and Note Remainder Bottom to Top
Fraction Number Multiply by 8 and Note Carry Top to Bottom
• (0.456)10 = (0.35136)8
• (0.758)10 = (_________)8
D. Conversion : Octal Number to Decimal Number
• Procedure
– Multiply each significant digit of the octal number by its respective weights
and adding the product
• (237)8 = (159)10
• (120)8 = (____)10
• (120)8 = (80)10
• (540)8 = (____)10
E. Conversion : Octal Number to Binary Number
• Procedure Decimal Octal 3-bit Binary
No No Equivalent
– Each significant digit in the Octal Number is
replaced by its 3-bit binary equivalent 0 0 000
1 1 001
• (526)8 = (____)2
• (526)8 = (101 010 110)2
• Home Work
• (11011000101)2 = (____)8
• (11011000101)2 = (3305)8
• Home Work
• (11011.01)2 = (__)8
• (111001.0101)2 =(_)8
Hexadecimal Number
• Decimal Number to Hexadecimal Number
Integer Number Divide by 16 and Note Remainder Bottom to Top
Fraction Number Multiply by 16 and Note Carry Top to Bottom
• Home Work
• (115)10 = (73)16
• (909)10 = (________)16
• (235)10 = (_____)16
• (2111)10 = (________)16
• (235)10 = (EB)8
• (9713)10 = (________)16
H. Conversion : Hexadecimal Number to Decimal Number
• Procedure
– Multiply each significant digit of the Hexadecimal number by its respective
weights and adding the product
• (2F3)H = (755)10
• (A9E)H = (____)10
• (120)8 = (80)10
• (59D)H = (____)10
• (CF3D)H = (53053)10
I. Conversion : Hexadecimal Number to Binary Number
• Procedure
Sl. HDM 4-bit Binary
– Each significant digit in the Hexadecimal Number No Equivalent
is replaced by its 4-bit binary equivalent 0 0 0000
1 1 0001
• Convert the Hexadecimal Number (2D5) 2 2 0010