Professional Documents
Culture Documents
• TEXT BOOKS:
• Jain—Modern Digital Electronics, 2/e ,TMH
• Leach & Malvino—Digital Principles & Application, 5/e, TMH
• Digital Logic Design- Morries Mano, PHI.
•
• RECOMMENDED BOOKS
• 1. Digital Integrated Electronics- H.Taub & D.Shilling, Mc Graw Hill.
• 2. Givone—Digital Principles & Design, TMH
• 3. Digital Technology- Virendra Kumar, New Age.
• 4. Digital Circuit & Design- S.Aligahanan, S.Aribazhagan, Bikas Publishing
House.
• 5. Fundamentals of Digital Electronics & Microprocessor- Anokh Singh, A.K.
Chhabra, S.Chand.
Course Objectives and Description
3. Minimization techniques
5. Sequential systems
Outline
• Method of Instruction:
• The course will include lectures, group discussions,
student presentations, , demonstrations, and student
projects
What I Expect of You
• Digital system
– The physical quantities or signals can assume only
discrete values.
X(t)
– Greater accuracy
X(t)
t t
Analog signal Digital signal
Digital Systems
Binary Hexa-
Decimal decimal
21 24
A. decimal--not so good, because there are few 10-state devices
that could be used to store information fingers. . .? 0 0000 0
1 0001 1
B. binary--excellent for hardware; lots of 2-state devices: 2 0010 2
switches, lights, magnetics--poor for communication: 3 0011 3
2-state devices require many digits to represent values with 4 0100 4
reasonable resolution--excellent for logic systems whose states 5 0101 5
are true and false. But binary is king because components
6 0110 6
are so easy (and cheap) to fabricate.
7 0111 7
01 1 00
1 001 11
0 01 0 1 010 01100001
0
0 110 01
1 10 01
0 01 1
1
00100
1 1 0 0 1 10
0
1 10 1100 1
01
001
0 11 0 1 0 011 101
01 0 1 1 01
Binary-to-Decimal 11 0010 0010
0 1 1011
01 101 110 0
Conversion 1
010111101 100101011
1
0 1
1 001
0
0 1 011 1 00
011 1
00101
0 1 01
1 011 0
00
1 0100
16
Arabic Numerals
0123456789
Arabic numerals or Hindu numerals are the ten digits
(0, 1, 2, 3, 4, 5, 6, 7, 8, 9). They are descended from
the Hindu-Arabic numeral system developed by Indian
mathematicians. The Indian numerals were adopted by
the Persian mathematicians in India, and passed on to
the Arabs further west. From there they were
transmitted to Europe in the Middle Ages. The use of
Arabic numerals spread around the world through
European trade, books and colonialism. Today they are
the most common symbolic representation of numbers
in the world.
Binary Digital Signal
• An information variable represented by physical quantity.
• For digital systems, the variable takes on discrete values.
– Two level, or binary values are the most prevalent values.
• Binary values are represented abstractly by:
– Digits 0 and 1
– Words (symbols) False (F) and True (T)
– Words (symbols) Low (L) and High (H) V(t)
– And words On and Off
Logic 1
• Binary values are represented by values
or ranges of values of physical quantities. undefine
Logic 0
t
Binary digital signal
Numbers
Natural Numbers
Zero and any number obtained by repeatedly adding one to it.
Negative Numbers
A value less than 0, with a – sign
Integers
A natural number, a negative number
Rational Numbers
An integer or the quotient of two integers The base of a number
determines the number of
Examples: -249, -1, 0, 3/7, -2/5 different digit symbols (numerals)
and the values of digit positions2
Decimal(Denary) Numeral Numbers
•It is a based on the Arabic numeral system.
•It uses positional notation
•Use same symbols for different orders of magnitude, but
in different places, e.g., ones place, tens place, hundreds
place.
• Each next-place (order) digit adds 100,101,102,103, etc.
1000+400+70+2=1472
Binary Numeral Numbers
•It is a based on the binary representation (0, 1).
•It also uses positional notation
•Use the same symbols for different orders of magnitude, but
in different places, e.g., ones place, twos place, fours place.
• Each next-place (order) digit adds 20,21,22,23, etc.
What bases can these numbers be in? 122, 198, 178, G1A4
9
Decimal Number System
• Base (also called radix) = 10
– 10 digits { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }
• Digit Position
– Integer & fraction 2 1 0 -1 -2
• Digit Weight
Position
5 1 2 7 4
– Weight = (Base)
• Magnitude 100 10 1 0.1 0.01
11000101
Octal Number System
• Octal was very useful when computers used
six-bit words.
64 8 1 1/8 1/64
• Base = 8
5 1 2 7 4
– 8 digits { 0, 1, 2, 3, 4, 5, 6, 7 }
2 1 0 -1 -2
• Weights 2 1 0 -1 -2
5 *8 +1 *8 +2 *8 +7 *8 +4 *8
– Weight = (Base) Position
=(330.9375)10
• Magnitude
– Sum of “Digit x Weight” (512.74)8
• Formal Notation
Hexadecimal Number System
• Base = 16
– 16 digits { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F }
• Weights 256 16 1 1/16 1/256
3 23=8 11 211=2048
4 24=16 12 212=4096
5 25=32 20 220=1M Mega
1 1 Carry
5 5
+ 5 5
1 1 0
= Ten ≥ Base
Subtract a
Base
Binary Addition
• Column Addition
1 1 1 1 1 1
1 1 1 1 0 1 = 61
+ 1 0 1 1 1 = 23
1 0 1 0 1 0 0 = 84
≥ (2)10
Binary Subtraction
• Borrow a “Base” when needed
1 2 = (10)2
0 2 2 0 0 2
1 0 0 1 1 0 1 = 77
− 1 0 1 1 1 = 23
0 1 1 0 1 1 0 = 54
Binary Multiplication
• Bit by bit
1 0 1 1 1
x 1 0 1 0
0 0 0 0 0
1 0 1 1 1
0 0 0 0 0
1 0 1 1 1
1 1 1 0 0 1 1 0
Binary Division
• 11001 ÷ 101 = 101 25 ÷ 5 = 5
• 00101
• 10111001
• 0
• 11
• 0
• 110
• 101
• 0010
• 0
• 00101
• 00101
CONVERSION
Decimal to Binary Conversions
Evaluate
Magnitude
Decimal Binary
(Base 10) (Base 2)
Hexadecimal
(Base 16)
Evaluate
Magnitude
Decimal (Integer) to Binary Conversion
• Divide the number by the ‘Base’ (=2)
• Take the remainder (either 0 or 1) as a coefficient
• Take the quotient and repeat the division
Example: (13)10
Quotient Remainder Coefficient
13/ 2 = 6 1 a0 = 1
6/ 2 = 3 0 a1 = 0
3/ 2 = 1 1 a2 = 1
1/ 2 = 0 1 a3 = 1
Answer: (13)10 = (a3 a2 a1 a0)2 = (1101)2
MSB LSB
Decimal to Octal Conversion
Example: (175)10
Quotient Remainder Coefficient
175 / 8 = 21 7 a0 = 7
21 / 8 = 2 5 a1 = 5
2 /8= 0 2 a2 = 2
Answer: (175)10 = (a2 a1 a0)8 = (257)8
Example: (0.3125)10
Integer Fraction Coefficient
0.3125 * 8 = 2 . 5 a-1 = 2
0.5 *8= 4 . 0 a-2 = 4
Answer: (0.3125)10 = (0.a-1 a-2 a-3)8 = (0.24)8
Binary − Octal Conversion
Octal Binary
• 8=2 3
0 000
• Each group of 3 bits represents
an octal digit 1 001
2 010
Assume Zeros
Example: 3 011
( 1 0 1 1 0 . 0 1 )2 4 100
5 101
6 110
( 2 6 . 2 )8 7 111
( 0 1 0 1 1 0 . 0 1 0 )2
(1 6 . 4 )16