DEMST
DEMST
DEMST
OR
Implementation of Full subtractor using Half Adders:
What is a Full Subtractor?
Full Subtractor also belongs to the class of a combinational circuit and is
used to perform subtraction of two binary bits. The half-subtractor can
only be used for subtraction of LSB bits, but if there occurs a case of
borrow during subtraction of LSB bits, then it can have affected over
subtraction in higher columns. Thus, we have a total of three inputs (two
original bits and third is considering the borrow (Bin) of the previous stage)
and two outputs Difference (D) and Borrow (Bout) respectively. The Truth
Table of Full Subtractor can be written as,
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
Tu krnaa
Decoder as a De-Multiplexer –
A Decoder with Enable input can function as a demultiplexer. A
demultiplexer is a circuit that receives information from a single
line and directs it to one of possible output lines.
A demultiplexer receives as input, selection lines and one
Input line. These selection lines are used to select one output line
out of possible lines. To implement a demultiplexer, we use
a decoder with Enable input. The selection lines of the
demultiplexer are the input lines that the decoder gets and the one
input line of demultiplexer is the Enable input of the Decoder.
Making 1:4 demultiplexer using 2:4 Decoder with Enable input. Let
A, B be the selection lines and EN be the input line for the
demultiplexer.
The decoder shown below functions as a 2:4 demultiplexer when
EN is taken as a data input line and A and B are taken as the
selection inputs. The single input variable E has a path to all four
outputs, but the input information is directed to only one of the
output lines, as specified by the binary combination of the two
selection lines A and B. This can be verified from the truth table of
the circuit.
Truth Table-
BCD to Decimal Decoder: Design &
A BCD to decimal decoder is a combinational logic circuit that takes
a BCD input and generates a decimal output by activating one of its
output lines corresponding to the decimal value of the input. The
decoder has four input lines for the BCD code and 10 output lines
for the decimal digits (0 to 9).
Truth Table –
D7 D6 D5 D4 D3 D2 D1 D0 X Y Z
D7 D6 D5 D4 D3 D2 D1 D0 X Y Z
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1 0 0 0 1
0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 1
X = D4 + D5 + D6 + D7
Y = D2 +D3 + D6 + D7
Z = D1 + D3 + D5 + D7
Hence, the encoder can be realised with OR gates as follows:
A decimal-to-binary encoder is a digital circuit that
converts a decimal number into its binary equivalent. It is also
known as a decimal to BCD (binary-coded decimal) encoder.
Inputs Outputs
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 A3 A2 A1 A0
0 0 0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0 0 1
0 0 0 0 0 0 0 1 0 0 0 0 1 0
0 0 0 0 0 0 1 0 0 0 0 0 1 1
Flip-Flop : Flip-flop is a basic digital memory circuit,
which stores one bit of information.Flip flops are the
fundamental blocks of most sequential circuits. It is also
known as a bistable multivibrator or a binary or one-bit
memory. Flip-flops are used as memory elements in
sequential circuit.