Escolar Documentos
Profissional Documentos
Cultura Documentos
Dr.Debashis
De
Principles
Associate Professor
West Bengal University of Technology
13-1
13-2
13-3
13-4
13-5
13-6
13-7
13-8
13-9
Introduction
Number System
Conversion of Number System
Boolean Algebra
Logic Gates
De Morgans Theorem
Simplifi cation of Boolean Expression
Logic Gate Circuits
Applications of Digital Circuits
De Morgans theorem and logic gate circuits are also examined with
emphasis on practical applications. The chapter ends with a brief analysis of the real-life
applications of digital circuits.
The AND gate has two or more inputs. Its output is logic
high (1) only when both the inputs are at logic high (1).
The truth table of an AND gate is shown in Table 13-5 and logic
symbol is shown in Fig. 13-1
The OR gate is a two or more input logic gate. Its output is logic
high (1) if any of the inputs are high (1). The truth table of an OR gate is
shown in Table 13-6 and logic symbol is shown in Fig. 13-2.
The NAND gate is a two or more input logic gate. Its output
is logic low (0) only when both the inputs are at logic (1). The truth
table of a NAND gate is shown in Table 13-8 and logic symbol is
shown in Fig. 13-4.
The NOR gate is a two or more input logic gate. Its output
is logic high (1) both the inputs are at logic low (0). The truth table
of a NOR gate is shown in the Table 13-9 and the logic symbol is
shown in Fig. 13-5.
XOR gate is a two or more input logic gate. Its output is logic
high (1) if only one of the input is at logic high. The truth table of a
XOR gate is shown in Table 13-10 and the logic symbol is shown
in Fig. 13-6.
Propagation delay:
The time taken by an input signal to pass through
a logic gate and emerge from the output is known as
propagation delay. A typical delay time for a TTL logic gate
is 30 nsec.
Power dissipation:
The power consumed by a logic gate is known as
power dissipation.
Noise:
The unwanted input signal in a logic gate is known as noise.
Noise margin:
The maximum level of noise voltage allowed at the
input without affecting the output is the noise margin.
Half adder:
The truth table of half adder is shown in Table 13-12 and the
circuit diagram is shown in Fig. 13-12.
Full adder:
The truth table of full adder is shown in the Table 13-13 and circuit
diagram is shown in Fig. 13-13.
The full adder takes three inputs. The two inputs A and B are the
two bits to be added while the third input is the carry from the previous lower
significant position.
A full adder can be constructed from two half adders by
connecting A and B to the input of one half adder, connecting the sum from
that to an input to the second adder, connecting Cin to the other input and
OR the two carry outputs.
1.
Any n-variable logic function, in canonical sum-of-minterms form can
be implemented using a single n-to-2n decoder to generate the minterms, and an OR
gate to form the sum.
2.
The output lines of the decoder corresponding to the minterms of the
function are used as inputs to the OR gate.
3.
Any combinational circuit with n inputs and m outputs can be
implemented with an n-to-2n decoder with m OR gates.
4.
A decoder is suitable when a circuit has many outputs, and each
output function is expressed with few minterms.
For example, we can implement a full adder with sum:
S (x, y, z) = (1, 2, 4, 7)
and carry:
C y (x, y, z) = (3, 5, 6, 7)
The S-R FF has two inputsS and R. S is called set and R is called reset. The S input is
used to produce HIGH on Q, i.e., store binary 1 in flip-flop. The R input is used to produce LOW on
Q, i.e., store binary 0 in flip-flop. Q is Q complementary output.
The output of the S-R latch depends on current as well as previous stored output.
Condition I. S 0 and R 0: If we assume Q 1 and Q 0 as initial condition, then output
Q after input is applied would be Q (R Q) 1 and Q (S Q) 0. Assuming Q 0 and
Q 1 as the initial condition, then output Q after the input applied would be Q (R Q) 0 and Q (S
Q) 1. So it is clear that when both S and R inputs are LOW, the output is retained as before the
application of inputs, i.e., there is no state change.
Condition II. S 1 and R 0: If we assume Q 1 and Q 0 as, initial condition, then output
Q after input is applied would be Q (R Q) 1 and Q (S Q) 0. Assuming Q 0
and Q 1 as the initial condition, then output Q after the input applied would be Q (R Q) 1 and Q
(S Q) 0. So in simple words when S is HIGH and R is LOW, output Q is HIGH.
Condition III. S 0 and R 1: If we assume Q 1 and Q 0 as the initial condition, then
output Q after input is applied would be Q (R Q) 0 and Q (S Q) 1. Assuming Q 0
and Q 1 as the initial condition, then output Q after the input applied would be Q (R Q) 0 and Q
(S Q) 1. So in simple words, when S is LOW and R is HIGH, output Q is LOW.
Condition IV. S 1 and R 1: No matter what state Q and Q are in, application of 1 at the
input of NOR gate always results in 0 at the output which results in both Q and Q being set to LOW
(Q Q). LOW in both the outputs basically is wrong, so this case is invalid.
S-R latch in that it has 2 inputs J and K, as shown in Fig.13- 28. When
both inputs are high, output toggles and the ambiguous state is eliminated
SISO registers accept serial data from one input, and after storage
and movement, output the data in a serial mode via one output.
SISO registers shift data to the right. This register accepts data
serially and produces the stored information on its output line also in a
serial form.
2. Serial input parallel output (SIPO) shift register:
SIPO registers accept serial data from one input, and after storage
and movement, output the data in a parallel mode via several outputs.
This register consists of one serial input and outputs are taken from
all the flip-flops parallel. The clock is applied simultaneously to all the flipflops.