DLD Unit-1
DLD Unit-1
DESIGN
(22PC1EC211)
BY
[Link] RAJAKUMARI
ASSISTANT PROFESSOR
Electronics and Communication Engineering
While developing the Machine/Device/Gadget known as
COMPUTER (Desktop/Laptop/smart phones), We need the
concepts of Electronics such as innovation w.r.t
Microprocessors, The other parts of CPU/motherboard ,
input/output devices etc.
Even the Networking needs electronics
All digital computers are based on a two-valued logic system—
1/0, on/off, yes/no (see binary code).
Computers perform calculations using components called
logic gates (or logic circuits), which are made up of integrated
circuits that receive an input signal, process it, and change it
into an output signal.
These data processing, manipulation, computation is being
done by electronic circuits like processors. Other electronic
processes are also being done with the hardware like
Processors, Controllers, Integrated Circuits (ICs), Application-
Specific Integrated Circuits (ASICs), Field Programmable Gate
Arrays (FPGAs) etc. All these mentioned hardware are called
examples of Digital Circuits.
ELECTRONIC DEVICES--ELECTRONIC CIRCUITS--ELECTRONIC COMPONENTS
The left most bit, which has the greatest weight is called
the Most Significant Bit (MSB). And the right most bit which
has the least weight is called Least Significant Bit (LSB).
CONVERT THE BINARY TO
DECIMAL NUMBER SYSTEM
(10011.0011)2 =(?)10
Ans:19.750
CONVERT THE BINARY TO
DECIMAL NUMBER SYSTEM
(10011.0011)2 =(?)10
Ans:19.750
DECIMAL TO BINARY CONVERSION
[Link] the decimal number ‘25’ into
CON
binary
CONVERT THE DECIMAL
NUMBER INTO BINARY WITH
FLOTING POINT:
`
Note 1: TO convert binary numbers into octal ones, you only must make
3-bit groups and convert directly each group
Note 2: TO convert binary numbers into Hexa decimal ones, you only
must make 4-bit groups and convert directly each group
Note 3: consider from LSB to MSB .
HEXA DECIMAL NUMBER SYSTEM
The hexadecimal numbering system has a base of 16. There are 16
symbols. The decimal digits 0 to 9 are used as the first ten digits
as in the decimal system, followed by the letters A, B, C, D, E and
F, which represent the values 10, 11,12,13,14 and 15 respectively.
Consider 4 bits as one group from LSB
Bit
1 (12)C 7
(11)B
HEXA to BINARY
Conversion
HEXA to BINARY
Conversion
OCTAL TO DECIMAL
CONVERSION
Octal to Decimal
Conversion
DOUBT
Octal to Decimal
Conversion
Clause
Octal to Decimal
Conversion
Clause
HEXA (WITH FRACTIONS) TO DECIMAL
CONVERSION
HEXA POINT
BINARY ARITHMETIC
In the binary number system, there are
only two digits—0 and 1 and any
number can be represented by these
two digits. The arithmetic of binary
numbers involves binary addition,
binary subtraction,
binary multiplication, or
binary division.
Binary arithmetic operation starts
from the least significant bit i.e. from
BINARY ADDITION
BINARY ADDITION
EXAMPLE
BINARY ADDITION
BINARY ADDITION
BINARY ADDITION
EXAMPLE 1 EXAMPLE2
EXAMPLE 3
EXAMPLE 1 EXAMPLE2
EXAMPLE 3
For Binary MULTIPLICATION process, let us consider
the two binary numbers 11011 and 101
For Binary
MULTIPLICATION
EXAMPLE 3
EXAMPLE 2
BINARY WEIGHTED AND
UNWEIGHTED CODES
D C B A D C B A D C B A
0 0 0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 1 1 0 0 0 1 0 0 0 0 1
0 0 1 0 1 0 0 1 0 0 0 0 1 0
0 0 1 1 0 0 0 1 1 1 0 0 1 1
0 1 0 0 1 0 1 0 0 0 0 1 0 0
0 1 0 1 0 0 1 0 1 1 0 1 0 1
0 1 1 0 0 0 1 1 0 1 0 1 1 0
0 1 1 1 1 0 1 1 1 0 0 1 1 1
1 0 0 0 1 1 0 0 0 0 1 0 0 0
1 0 0 1 0 1 0 0 1 1 1 0 0 1
ERROR POSITIONS
BCD Code with three parity bits there are seven positions.
Below table gives these error positions and the corresponding
values of the position
Error number
position Position
number
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
From the table we observe, 7 that if an error
1 occurs
1 1 in positions.
1,3,5,7-------then
2,3,6,7-------then
4,5,6,7------then
i.e, is selected so as to establish even (or odd) parity positions
1,3,5,7
is selected so as to establish even (or odd) parity positions
STEPS TO FIND OUT THE
ERROR DETECTING AND
CORRECTING
Step1: find the number of parity bits by using
Where k=1,2,3…
n=total number of bits