Lec. #1 - DLD
Lec. #1 - DLD
EE-123
Lecture # 1
1
Course Instructor
Engr. Muhammad Anique Ahmad
Lecturer (Computer Engineering)
Dept. of Electrical & Computer Engineering, Air
University
Qualification: M.Sc. Engineering in Computer Systems
E-mail: [email protected]
Phone # 0346-0866333
Course Objectives
Fundamental concepts in classical digital design
Demonstrate clearly the way in which digital circuits are
designed and analyzed today
Make students familiar with modern hierarchy of digital
hardware
Basic idea of how to design and simulate logic circuits.
3
ASSESSMENT SYSTEM
Theoretical/Instruction 100%
Assignments 10%
Quizzes 15%
CEP 5%
Total 100%
4
Text Book
5
Analog and Digital Signal
Signal
Signal is a time varying physical phenomenon which is intended
to convey information.
Analog Signal
The physical quantities or signals may vary continuously over a
specified range.
Digital Signal
The physical quantities or signals can assume only discrete values.
Greater accuracy
X(t) X(t)
t t 6
Analog signal Digital signal
Digital Systems
Systems that process and manipulate digital signals or data, typically
using binary code (0s and 1s)
These systems play a crucial role in various applications, ranging
from computers and smartphones
7
Number Systems
8
Non-positional Number Systems
Characteristics
Difficulty
Characteristics
Example
= 2000 + 500 + 80 + 6
Binary Number System
Characteristics
base = 2
The maximum value of a single digit is 1 (one less
than the value of the base)
= 16 + 0 + 4 + 0 + 1
= 2110
Bit
Characteristics
Example
= 1024 + 0 + 40 + 7
= 107110
Hexadecimal Number System
Characteristics
Example
1AF16 = (1 x 162) + (A x 161) + (F x 160)
= 1 x 256 + 10 x 16 + 15 x 1
= 256 + 160 + 15
= 43110
Converting a Number of Another Base to
a Decimal Number
Method
47068 = 4 x 83 + 7 x 82 + 0 x 81 + 6 x 80
values correspondin
= 4 x 512 + 7 x 64 + 0 + 6 x 1 g digits
multiplie
= 2048 + 448 + 0 + 6 d by the
Sum of these
products
= 250210
Converting a Decimal Number to a Number of
Another Base
Division-Remainder
Method
Step 1: Divide the decimal number to be converted by
the value of the new base
Note that the last remainder thus obtained will be the most
significant digit (MSD) of the new base number
Converting a Decimal Number to a Number of
Another Base
Example
95210 = ?8
Solution:
Remainder
8 952
0
119
14 7
6
1
0 1
Method
Step 1: Divide the digits into groups of three
starting from the right
digit 0012 = 0 x 22 + 0 x 21 + 1 x 20
=1
1012 = 1 x 22 + 0 x 21 + 1 x 20 = 5
0102 = 0 x 22 + 1 x 21 + 0 x 20 = 2
Example
1111012 = ?16
0011 1101
2AB16 = ?2
= 00102
216 = 210
A16 = 1010 = 10102
B16 = 1110 = 10112
Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
Step 2: Combine the binary groups
2AB16 = 0010 1010 1011
2 A B
Binary Point
Position 4 3 2 1 0 . -1 -2 -3 -4
Quantity 16 8 4 1 1/ 1/ 1/ 1/
2 4 8 16
Represente 2
d
Formation of Fractional Numbers in Binary
Number System (Example)
Example
Octal Point
Position 3 2 1 0 . -1 -2 -3
Quantity 512 64 8 1/ 1/ 1/
8 64 512
Represente 1
d
Formation of Fractional Numbers in Octal
Number System (Example)
127.548 = 1 x 82 + 2 x 81 + 7 x 80 + 5 x 8-1 + 4 x
8-2
= 64 + 16 + 7 + 5/8 + 4/64
= 87 + 0.625 + 0.0625
= 87.687510