Digital Electronics Lab Manual
Digital Electronics Lab Manual
Digital Electronics Lab Manual
EXPERIMENT No- 1
OBJECTIVE: - Verify Truth Table of Logic Gates (AND, OR, NOT, NAND & NOR Gates).
THEORY: - There are different gates available in digital electronic filed. Which is used to
perform the different tasks they are as follow:-
AND GATE: - This gate is used for the multiplication of two binary digits.
OR GATE: - This gate is used for the addition of two binary digits.
NOT GATE: - This gate gives the compliment of given binary digit.
NAND GATE: - This gate is used for giving compliment of multiplication of two binary digits.
NOR GATE: - This gate is used for giving compliment of the addition of two binary digits
DAIGRAMS:-
A B output
0 0 1
0 1 0
1 0 0
1 1 0
PROCEDURE:-
THEORY:- NAND GATE is a universal gate. It is so called as because by using of this gate we
can make any gate like not, or , and etc. by help of this gate we can also make multiplexers and
de mux.
The table below shows the NAND gate equivalents of NOT, AND, OR and NOR gates:
Gate Equivalent in NAND gates
NOT
AND
OR
PROCEDURE:-
THEORY:- Like NAND gates, NOR gates are so-called "universal gates" that can be
combined to form any other kind of logic gate. For example, the first embedded system,
Apollo Guidance Computer, was built exclusively from NOR gates, about 5,600 in total
for the later versions. Today, integrated circuits are not constructed exclusively from a
single type of gate. Instead, EDA tools are used to convert the description of a logical
circuit to a net list of complex gates (standard cells) or transistors (full custom approach).
NOR GATE
A NOR gate is logically an inverted OR gate. By itself has the following truth table:
Truth Table
Input A Input B Output Q
0 0 1
0 1 0
1 0 0
1 1 0
NOT
Truth Table
Input Output
A Q
OR
Truth Table
Input A Input B Output Q
0 0 0
0 1 1
1 0 1
1 1 1
AND
An AND gate gives a 1 output when both inputs are 1; a NOR gate gives a 1 output only
when both inputs are 0. Therefore, an AND gate is made by inverting the inputs to a
NOR gate.
NAND
A NAND gate is made using an AND gate in series with a NOT gate:
Truth Table
Input A Input B Output Q
0 0 1
0 1 1
1 0 1
1 1 0
XOR
An XOR gate is made by connecting the output of 3 NOR gates (connected as an AND
gate) and the output of a NOR gate to the respective inputs of a NOR gate. This expresses
the logical formula (A AND B) NOR (A NOR B). This construction entails a propagation
delay three times that of a single NOR gate.
Truth Table
XNOR
An XNOR gate can be constructed from four NOR gates implementing the expression
"(A NOR N) NOR (B NOR N) where N = A NOR B".This construction has a
propagation delay three times that of a single NOR gate, and uses more gates.
PRECAUTIONS: - 1) The continuity of the connecting terminals should be checked before going
2) It should be care that the values of the components of the circuit is does not exceed
to their ratings (maximum value).
3) Before the circuit connection it should be check out working condition of all the
Component.
THEORY: - The law is named after Augustus De Morgan (1806–1871) who introduced a formal
version of the laws to classical propositional logic. De Morgan's formulation was influenced by
algebraization of logic undertaken by George Boole, which later cemented De Morgan's claim to
the find. Although a similar observation was made by Aristotle and was known to Greek and
Medieval logicians (in the 14th century William of Ockham wrote down the words that would
result by reading the laws out), De Morgan is given credit for stating the laws formally and
incorporating them in to the language of logic. De Morgan's Laws can be proved easily, and may
even seem trivial. Nonetheless, these laws are helpful in making valid inferences in proofs and
deductive arguments.
______ __ __
A. B = A + B
____ _ _
A+B=A.B
Design a logic circuit with three inputs A, B, C and one output F such that F=1
only when a majority of the inputs is equal to 1.
PRECAUTIONS: - 1) The continuity of the connecting terminals should be checked before going
2) It should be care that the values of the components of the circuit is does not exceed
to their ratings (maximum value).
3) Before the circuit connection it should be check out working condition of all the
Component.
OBJECTIVE: - Design Half Adder. (a) Using AND/OR/NOT Gates. (b) Using
NAND/NOR Gates.
EQUIPMENT REQUIRED: - All the basic gate mention in the fig., IC 7486, IC 7432, IC
7408, IC 7400, etc.
THEORY:- Half adder is a digital device by using of this device we can able to add two
bit data. By addition of this two digit we gate add & carry. n electronics, an adder or
summer is a digital circuit that performs addition of numbers. In modern computers
adders reside in the arithmetic logic unit (ALU) where other operations are performed.
Although adders can be constructed for many numerical representations, such as
Binary-coded decimal or excess-3, the most common adders operate on binary
numbers. In cases where two's complement or one's complement is being used to
represent negative numbers, it is trivial to modify an adder into an adder-subtractor.
Other signed number representations require a more complex adder.
PROCEDURE: -
1. Verify the gates.
3. Switch on V CC and apply various combinations of input according to the truth table
4. Note down the output readings for half/full adder and half/full subtractor
sum/difference and the carry/borrow bit for different combination of input.
EQUIPMENT REQUIRED: - All the basic gate mention in the fig., IC 7486, IC 7432, IC
7408, IC 7400, etc.
THEORY:- A full adder adds binary numbers and accounts for values carried in as well
as out. A one-bit full adder adds three one-bit numbers, often written as A, B, and Cin; A
and B are the operands, and Cin is a bit carried in (in theory from a past addition). The
circuit produces a two-bit output sum typically represented by the signals Cout and S,
where . The one-bit full adder's truth table is:
PROCEDURE: -
1. Verify the gates.
3. Switch on V CC and apply various combinations of input according to the truth table
4. Note down the output readings for half/full adder and half/full subtractor
sum/difference and the carry/borrow bit for different combination of input.
PROCEDURE: -
1. Verify the gates.
3. Switch on V CC and apply various combinations of input according to the truth table
4. Note down the output readings for half/full adder and half/full subtractor
sum/difference and the carry/borrow bit for different combination of input.
Half subtractor
PROCEDURE: -
1. Verify the gates.
3. Switch on V CC and apply various combinations of input according to the truth table
4. Note down the output readings for half/full adder and half/full subtractor
sum/difference and the carry/borrow bit for different combination of input.
Theory:- in electronics, a comparator is a device that compares two voltages or currents and
switches its output to indicate which is larger. It is used in Analog-to-digital converter (ADCs).
Procedure: -
1. Verify the gates.
3. Switch on Vcc.
OBJECTIVE: - Verify the Truth Table of RS Flip-flop, JK F/F, D F/F & T type F/F.
Theory:- In electronics, a flip-flop is a circuit that has two stable states and can be used to store
state information. The circuit can be made to change state by signals applied to one or more
control inputs and will have one or two outputs. A circuit incorporating flip-flops has the
attribute of state; its output depends not only on its current input, but also on its previous inputs.
Such a circuit is described as sequential logic. Where a single input is provided, the circuit
changes state every time a pulse appears on the input signal. Since the flip-flop retains the state
after the signal pulses are removed, one type of flip-flop circuit is also called a "latch". Other
types of flip-flops may have inputs that set a particular state, set the opposite state, or change
states, depending on which input is pulsed. Flip-flops are used as data storage elements, for
counting of pulses, and for synchronizing randomly-timed input signals to some reference timing
signal. Flip-flops are a fundamental building block of digital electronics systems used in
computers, communications, and many other types of systems.
CIRCUIT DIAGRAM: -
Flip-flop types:-
Flip-flops can be divided into common types: the RS ("set-reset"), D ("data" or "delay"), T
("toggle"), and JK types are the common ones. The behavior of a particular type can be
described by what is termed the characteristic equation, which derives the "next" (i.e., after the
next clock pulse) output, Qnext, in terms of the input signal(s) and/or the current output, Q.
S R Action
0 0 No Change
0 1 Q=0
1 0 Q=1
1 1 Restricted
combination
SR NAND latch:-This is an alternate model of the simple SR latch built with NAND (not AND)
logic gates. Set and reset now become active low signals, denoted S and R respectively.
Otherwise, operation is identical to that of the SR latch. Historically, SR-latches have been
predominant despite the notational inconvenience of active-low inputs. This is because NAND
gates are cheaper to produce than NOR gates in the diode-transistor logic (DTL), transistor-
transistor logic (TTL) families, and complementary metal–oxide semiconductor (CMOS) logic
families.
Gated SR latch:-
D flip-flop:-
The D flip-flop is the most common flip-flop in use today. It is better known as data or delay
flip-flop (as its output Q looks like a delay of input D). The Q output takes on the state of the D
input at the moment of a positive edge at the clock pin (or negative edge if the clock input is
active low).[23] It is called the D flip-flop for this reason, since the output takes the value of the D
Truth Table:-
Inputs Outputs
S R D > Q Q'
0 1 X X 0 1
1 0 X X 1 0
1 1 X X 1 1
T flip-flop:-
If the T input is high, the T flip-flop changes state ("toggles") whenever the clock input is
strobed. If the T input is low, the flip-flop holds the previous value. This behavior is
described by the characteristic equation:
T flip-flop operation
1 0 1 toggle 0 1 1 Complement
1 1 0 toggle 1 0 1 Complement
JK flip-flop:-
Procedure:-
1. Connections are made as per circuit diagram.
Procedure: -
2. Clock pulses are applied one by one at the clock I/P and the O/P is observed at
QA, QB & QC for IC 7476.
3. The load pin made low so that the data 0011 appears at QD, QC, QB &
QA respectively.
4. Now connect the output of the NAND gate to the load input
5. Clock pulses are applied to “count up” pin and the truth table is verified
OBJECTIVE: - Design shift Register & verify truth table. used as a serial/parallel shift. Resistor.
Procedure: -
3. Apply one clock pulse at clock 1 (Right Shift) observe this data at QA.
5. Apply one clock pulse at clock 2, observe that the data on QA will shift to QB
and the new data applied will appear at QA.
6. Repeat steps 2 and 3 till all the 4 bits data are entered one by one into the
shift register.
2. Load the shift register with 4 bits of data one by one serially.
3. At the end of 4th clock pulse the first data „d0‟ appears at QD.
4. Apply another clock pulse; the second data „d1‟ appears at QD.
4. T
he 4 bit data at A, B, C and D appears at QA, QB, QC and QD
respectively.
3. Keeping the mode control M=1 apply one clock pulse. The data applied at A, B,
C and D will appear at QA, QB, QC and QD respectively.
4. Now mode control M=0. Apply clock pulses one by one and observe the data
coming out serially at QD.
Left Shift:-
2. Apply the first data at D and apply one clock pulse. This data appears at QD.
3. Now the second data is made available at D and one clock pulse applied. The
data appears at QD to QC and the new data appears at QD.