Design decimal to binary encoder A decimal-to-binary encoder usually consists of 10 input
lines and 4 output lines. Each input line corresponds to a decimal digit from 0 to 9, and each
output line corresponds to a bit in the BCD code.
The encoder accepts one active input at a time and produces the corresponding 4-bit BCD code
at the output.
Truth table
Applications
Decimal to binary encoders are used in various digital systems to encode keyboard inputs,
display outputs, or perform arithmetic operations.
What is 7segment display? Design 7seg decoder for cathode configuration with k map
and logic circuit.
Seven segment display is an electronic device which consists of seven Light Emitting Diodes
(LEDs) arranged in a some definite pattern (common cathode or common anode type), which is
used to display Hexadecimal numerals(in this case decimal numbers,as input is BCD i.e., 0-9).
Two types of seven segment LED display:
1. Common Cathode Type: In this type of display all cathodes of the seven
LEDs are connected together to the ground or -Vcc(hence,common cathode)
and LED displays digits when some ‘HIGH’ signal is supplied to the individual
anodes.
2. Common Anode Type: In this type of display all the anodes of the seven
LEDs are connected to battery or +Vcc and LED displays digits when some
‘LOW’ signal is supplied to the individual cathodes.
But, seven segment display does not work by directly supplying voltage to different segments of
LEDs. First, our decimal number is changed to its BCD equivalent signal then BCD to seven
segment decoder converts that signals to the form which is fed to seven segment display.
This BCD to seven segment decoder has four input lines (A, B, C and D) and 7 output lines (a,
b, c, d, e, f and g), this output is given to seven segment LED display which displays the decimal
number depending upon inputs.
Truth Table – For common cathode type BCD to seven segment decoder:
K-Maps
For a
For b
For c
For d
For e
For f
For g
Applications –
Seven-segment displays are used to display the digits in calculators, clocks, various
measuring instruments, digital watches and digital counters.
Difference Between Combinational and Sequential Circuit
Combinational
Circuit. Sequential
Circuit
In combinational circuits, In sequential circuits output depends
upon both present and previous input.
output depends only upon
present input.
Fast speed Slow speed
Combinational circuits can be Sequential circuits are difficult to design
when compared to combinational circuit.
designed easily.
doesn’t have any feedback between input These circuits have feedbacks between
and output. inputs and output.
Elementary building block : logic gate Elementary building block : flip flop
Used in arithmetic as well as Boolean Mainly used for storing data.
operation.
They nether have clock nor they require They are clock dependent and needs
triggering. triggering.
Combinational circuits don’t have memory Sequential circuit have
element
memory element.
It is difficult to handle and use
It is easy to handle and use.
Example : Example :
1. Encoder 1. Flip flop
2. Decoder 2. counter.
3. Multiplexer
4. demultiplexer
What is a flip flop?
A flip-flop is defined as a sequential digital circuit that can store one bit of binary data. A
flip-flop has two stable states, which means it can retain its output value even after the
input signal is removed. The output value depends on the previous input signals and the
current state of the flip-flop.
A flip-flop has one or more input terminals and two output terminals. The input terminals
are used to change the state of the flip-flop by applying appropriate signals.
The output terminals are used to indicate the current state of the flip-flop by providing
binary values
The combination of input signals that changes the state of the flip-flop is called
excitation.
The excitation can be applied either synchronously or asynchronously. A synchronous
excitation means that the input signals are controlled by a clock signal, which
determines when the state change occurs. A synchronous flip-flop is also called a
clocked flip-flop or an edge-triggered flip-flop. An asynchronous excitation means that
the input signals are not controlled by a clock signal, and the state change occurs as
soon as the input signals are applied. An asynchronous flip-flop is also called a latch or
a level-triggered flip-flop.
Applications
A flip-flop can be used to store state information, such as the status of a switch, the
direction of a motor, or the mode of operation. It can also be used to count pulses,
synchronize signals, or perform logic operations. Flip-flops are the basic building blocks
of sequential logic circuits, which are widely used in computers, communications, and
many other types of systems.
Difference between ZJK and SR flip flop