1) The document discusses various binary codes like BCD, excess-3 code, and Gray code and how to convert between them. It also discusses weighted and non-weighted binary codes.
2) Multiplexers and demultiplexers are discussed along with different types of multiplexers defined by the number of select lines. Flip-flops, including SR, D, JK, and T flip-flops are also covered.
3) Additional topics covered include binary addition and subtraction using different number systems like 9's and 10's complement, parity generators and checkers, and half and full adders.
5. CODE CONVERSION
There is a wide variety of binary codes used in digital systems.
Some of these codes are. Many times it is required binary coded
decimal (BCD), Excess-3 code and Gray code to convert one code
to another. Binary codes are codes which are represented in
binary system with modification from the original ones.
Weighted Binary Systems
Non Weighted Codes
Weighted Binary Systems
Weighted binary codes are those which obey the positional
weighting principles, each position of the number represents a
specific weight. The binary counting sequence is an example.
7. • Non Weighted Codes
• Non weighted codes are codes that are not
positionally weighted. That is, each position
within the binary number is not assigned a fixed
value
• Gray Code:
• It is a weighted code and is a special case of unit
distance code. These codes are also called cyclic
code.
• Applications: If we use gray code to represent
disk position then error due to improper brush
alignment can be reduced.
8.
9.
10. • Excess 3 Code:
• It is a Non weighted code and is a modified form of
BCD code. The excess 3 code can be derived from the
natural BCD code by adding 3 to each coded number.
11.
12.
13.
14.
15. 2 to 1 multiplexer and 4 to 1 multiplexer with ENABLE input
30. FLIP FLOPS
• A device that exhibits two stable states is
extremely useful as a memory element in a
binary system.
• Any electrical circuit that has these
characteristics falls into the category of the
device known as Flip Flop.
• While a logic gate is the most basic building
block of combinational logic, its counterpart in
sequential logic is the flip-flop.
31. FLIP FLOPS
• SR flip-flop
• D flip-flop: Has just one input in addition to
the CLOCK input. ...
• JK flip-flop: A common variation of the SR flip-
flop. ...
• T flip-flop: This is simply a JK flip-flop whose
output alternates between HIGH and LOW
with each clock pulse.
88. MULTIPLEXER.
• A multiplexer or MUX, also called a data
selector, is a combinational circuit with more
than one input line, one output line and more
than one selection line.
MUX Types
2-to-1 (1 select line)
4-to-1 (2 select lines)
8-to-1 (3 select lines)
16-to-1 (4 select lines)
90. 4 to 1 multiplexer
Y = I0𝑆1 𝑆0 +I1𝑆1 S0+I2S1𝑆0 +I3S1S0
91.
92.
93.
94.
95.
96.
97.
98.
99. FLIP FLOPS
• A device that exhibits two stable states is
extremely useful as a memory element in a
binary system.
• Any electrical circuit that has these
characteristics falls into the category of the
device known as Flip Flop.
• While a logic gate is the most basic building
block of combinational logic, its counterpart in
sequential logic is the flip-flop.
100. FLIP FLOPS
• SR flip-flop
• D flip-flop: Has just one input in addition to
the CLOCK input. ...
• JK flip-flop: A common variation of the SR flip-
flop. ...
• T flip-flop: This is simply a JK flip-flop whose
output alternates between HIGH and LOW
with each clock pulse.