STLD Lab Observation
STLD Lab Observation
LABORATORY OBSERVATION
ACET-R23 Regulation
By S.Durga Prasad
CONTENTS
Exp Page Faculty
Experiment Name Date Marks
No: No signature
AND
A B Y=A.B
OR
A B Y=A+B
NOT Gate
A Y=A’
Components Required:
Theory:
In the digital circuits, two discrete voltages are recognized as two logic levels, logic ‘1’ and
logic ‘0’. These are also known as ‘high’ and ‘low’ logic levels. Circuits that process digital signal
and take logical decisions are called logic gates. Each gate has two or more inputs and one output
terminal. The output wave form at any instant depends only upon the input waveform at that
instant. Such circuits are called combinational logic circuit. The logic gates Transistor Logic
(RTL), Diode Transistor Logic (DTL), Transistor Transistor Logic (TTL) and Emitter Coupled
Logic (ECL). The last two types are in wide use and are available in IC version. The three basic
logic gates are OR gate, AND gate, and NOT gate.
AND-Gate:
AND gate has two or more inputs and only one output. If the both the inputs are 1 the
output is 1. If any one of the inputs is 0 the output is 0. Thus the output of the AND Gate is equal
to the product of the input. The output can be expressed Y=A.B.
OR-Gate:
OR gate has two or more inputs and only one output. If the both the inputs are 1 the output
is 1. When both of the inputs are 0 the output is 0. Thus the output of the Or gate is equal to the
sum of the input. The output can be expressed as Y=A
NAND gate
A B Y=
EX-OR Gate
A B Y=
EX-NOR Gate
A B Y=
NOT-Gate:
A NOT gate has only one input and one output. The NOT gate is also known as an Inverter
Gate or Complement. The output of the not gate is complement of input. The output can be
Expressed as Y=A’
NAND-Gate:
NAND gate has two or more inputs and only one output. The NAND operation also be
performed if a combination of an AND gate and a NOT gate. If any one of the input is 0 is the
output is 1. In all other cases the output is 0. The output can be expressed as Y=A.B.
NOR-Gate:
NOR gate has two or more inputs and only one output. The NOR operations can also be
Performed if a combination of an OR gate and a NOT gate. If any one of the input is 1 is the
Output is 0. In all other cases the output is 1. The output can be expressed as Y=A+B.
EX-OR Gate:
The output of an Exclusive-OR gate ONLY goes “HIGH” when its two input terminals are at
“DIFFERENT” logic levels with respect to each other.
An odd number of logic “1’s” on its inputs gives logic “1” at the output. These two inputs can
be at logic level “1” or at logic level “0” giving us the Boolean expression
of: Q = (A ⊕ B) = A.B + A.B
EX-NOR Gate:
Basically the “Exclusive-NOR” gate is a combination of the Exclusive-OR gate and the NOT
gate but has a truth table similar to the standard NOR gate in that it has an output that is normally
at logic level “1” and goes “LOW” to logic level “0” when ANY of its inputs are at logic level “1”.
However, an output “1” is only obtained if both of its inputs are at the same logic level, either
binary “1” or “0”. For example, “00” or “11”. This input combination would then give us the
Procedure:
Result:
TRUTH TABLE
A B C D Given Minimal
function function
Aim: Design and implement a simple combinational circuit with four variables and obtain
Minimal SOP expression and verify the truth table using Digital Trainer Kit.
F=BD’
Components Required:
Theory:
The minimization will result in reduction of the number of gates (resulting from less number
of terms) and the number of inputs per gate (resulting from less number of variables per term) • the
minimization will reduce cost, efficiency and power consumption.
The minimum sum of products (MSOP) of a function, f, is a SOP representation of f that contains
the fewest number of product terms and fewest number of literals of any SOP representation of f.
Ex:f= (ABCD +A`BCD+ AB`CD+ …..) is called sum of products. The + is sum operator
which is an OR gate. The product such as AB is an AND gate for the two inputs A and B.
Procedure:
Result
TRUTH TABLE:
INPUTS OUTPUTS
ENABLE SELECT
G2A G2B G1 C B A 0 1 2 3 4 5 6 7
Components Required:
1. Digital IC trainer Kit
2. Connecting Wires
3. IC 74138, IC 74139
Theory:
This decoder circuit gives 8 logic outputs for 3 inputs and has a enable pin. The circuit is
designed with AND and NAND logic gates. It takes 3 binary inputs and activates one of the eight
outputs. 3 to 8 line decoder circuit is also called as binary to an octal decoder.
Procedure:
Result:
Pin Diagram:
Aim: To design and observe the truth table of four variable logic function using 8 To 1
Multiplexer using IC74153 (MUX).
Components Required:
1. IC 74151
2. Patch Cords & Single Lead Wires
Theory:
An 8-to-1 multiplexer consists of eight data inputs D0 through D7, three input select lines S2
through S0 and a single output line Y. Depending on the select lines combinations, multiplexer
decodes the inputs. The below figure shows the block diagram of an 8-to-1 multiplexer with
enable input that enable or disable the multiplexer. Since the number data bits given to the MUX
are eight then 3 bits (23=8) are needed to select one of the eight data bits. The truth table for an 8-
to1 multiplexer is given below with eight combinations of inputs so as to generate each output
corresponds to input. For example, if S2= 0, S1=1 and S0=0 then the data output Y is equal to D2.
Similarly the data outputs D0 to D7 will be selected through the combinations of S2, S1 and S0 as
shown in below figure.
F(B,C,D,A) = Σ(1,5,7,9,10,11,12)
A B C D Decimal F Remark
equivalent
Procedure:
1. Check the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Provide the input data via the input switches and observe the output on output LEDs.
5. Tabulate the values for different input combinations.
Result:
Functional Diagram:
Truth table:
Inputs Outputs
Aim: To design full adder using logic gates and to verify the truth table.
Apparatus Required:
1. IC7486, IC7408, IC7432.
2. Digital IC Trainer Kit.
3. Patch Chords Single Lead Wires
Theory:
A full adder is a combinational circuit that forms the arithmetic sum of input; it consists of
three inputs and two outputs. A full adder is useful to add three bits at a time but a half adder
cannot do so. In full adder sum output will be taken from X-OR Gate, carry output will be taken
from OR gate.
Procedure:
Result:
Functional Diagram:
JK flip flop: JK master slave flip flop:
D flip flop:
IC Pin diagram:
Apparatus:
Theory:
JK Flip-Flop:
This simple JK flip Flop is the most widely used of all the flip-flop designs and is
considered to be a universal flip-flop circuit. The sequential operation of the JK flip flop is exactly
the same as for the previous SR flip-flop with the same “Set” and “Reset” inputs. The difference
this time is that the “JK flip flop” has no invalid or forbidden input states of the SR Latch even
when S and R are both at logic “1”.
CLK J K Q Q’ STATE
0
1 0 0
1 0 1
1 1 0
1 1 1
CLK D Q Q’ STATE
1 0
1 0
Practically, we don’t get toggling. Since, clock pulse is more than the propagation delay,
so within one clock pulse the output will keep on toggling again and again and it may become
indeterminate. This is known as race around condition. Race Around condition occurs
because of the feedback connection
D (DELAY) FLIP-FLOP:
The D (Delay) flip-flop is used for storing the information. It is basically an RS flip-
flop with an inverter in the R input. Fig. shows a clocked D flip-flop. NAND gates 1 and 2 from a
basic RS flip-flop and gates 3 and 4 modify it into a clocked RS flip-flop. The D input is to the S
input and its complement through gate 5 is applied to the R input. The D flip-flop is often called a
‘delay flip-flop’. The word ‘delay’ describes what happens to the data or information at input D. In
other words, the data, i.e. 0 or 1 at the input D is delayed by one clock pulse from getting to output
Q.
Procedure:
5. Connect the clock and check outputs for each input combinations and tabulate the values.
Result:
Functional diagram:
Four Bit Ring Counter Using D Flip – Flops
Truth Table:
CLOCK Q3 Q2 Q1 Q0
1
2
3
4
5
6
7
8
Aim: verify the truth tables of 4 bit ring counter using D flip-flops
Components Required:
1. IC 7474/7476
2. IC Trainer kit
3. patch cards
4. single lead wires
Theory:
Ring counter is a typical application of Shift resister. Ring counter is almost same as the shift
counter. The only change is that the output of the last flip-flop is connected to the input of the first
flip-flop in case of ring counter but in case of shift resister it is taken as output. Except this all the
other things are same.
Procedure:
1. Take corresponding flip flop ICs as required quantity.
2. Place the ICs on trainer kit bread board and interconnect as per circuit diagram.
4. Connect all four outputs to output LEDs and clock from clock output of the kit.
Result
Functional Diagram:
Truth Table:
CLOCK Q3 Q2 Q1 Q0
0
1
2
3
4
5
6
7
Aim: verify the truth tables of four bit Johnson’s counter using D Flip-flop/ JK Flip- flops
Components Required:
1.IC 7474/7476
2.IC Trainer kit
3.patch cards
4.single lead wires
Theory:
Procedure:
1. Take corresponding flip flop ICs as required quantity.
2. Place the ICs on trainer kit bread board and interconnect as per circuit diagram.
4. Connect all four outputs to output LEDs and clock from clock output of the kit.
Result:
Functional Diagram:
Aim: To verify the operation of 4- Bit Universal Shift Register and observe the same for
Different modes of operation.
Components Required:
1. IC 74LS194
2. Digital IC Trainer kit
3. patch chords
4. single lead wires
Theory:
A register that can store the data and /shifts the data towards the right and left along with the
parallel load capability is known as a universal shift register. It can be used to perform
input/output operations in both serial and parallel modes. Unidirectional shift registers and
bidirectional shift registers are combined together to get the design of the universal shift register.
It is also known as a parallel-in-parallel-out shift register or shift register with the parallel load.
Truth Table:
Procedure:
2. Select the mode by using S0, S1 of the IC to operate register in different modes.
3. Connect all parallel outputs to output LEDS. And parallel inputs to input switches.
4. Connect serial output to output led and serial input to the serial data generator.
5. To shift the data right or left select mode and apply required no. of clock pulses.
Result:
Functional Diagram:
Truth Table:
COUNT
Q2 Q1 Q0
STATE
1
4
5
Aim:
Draw the circuit diagram of MOD-8 ripple counter and construct a circuit using T-Flip-Flops
and test it with a low frequency clock and sketch the output waveforms.
Components Required:
1. IC 7476
2. IC Trainer kit
3. patch cards
4. single lead wires
Theory:
Ripple counter is an Asynchronous counter. It got its name because the clock pulse ripples
through the circuit. An n-MOD ripple counter contains n number of flip-flops and the circuit can
count up to 2n values before it resets itself to the initial value.
Procedure:
1. Place the two JK flip-flop ICs on IC base
2. Short the J&K to get toggle Flip flop operation .interconnect the circuit as shown in the figure.
3. Apply dc power to vcc and gnd pins of ICs ,Connect all outputs to output LEDs
4. And apply clock pulse to get next count.
5. Continue clock giving up to maximum count.
6. And tabulate the working for each clock.
Result:
Functional Diagram:
Truth Table:
COUNT STATE Q2 Q1 Q0
Aim:
Design MOD-8 synchronous counter and construct a circuit using T-Flip-Flops and verify the
result and sketch the output waveforms
Components Required:
1. IC 7476
2. IC Trainer kit
3. patch cards
4. single lead wires
Theory:
In Synchronous Counter, the external clock signal is connected to the clock input of EVERY
individual flip-flop within the counter so that all of the flip-flops are clocked together
simultaneously (in parallel) at the same time giving a fixed time relationship. In other words,
changes in the output occur in “synchronization” with the clock signal. The result of this
synchronization is that all the individual output bits changing state at exactly the same time in
response to the common clock signal with no ripple effect and therefore, no propagation delay.
The modulus of a counter is given as 2n where n is number of flip-flops. So a 3 flip-flop
counter will have a maximum count of 23=8 counting states and would be called a MOD-8 counter.
The maximum binary number that can be counted by the counter is 2 n-1 giving a maximum count
of (111) i.e 23-1=7 in binary.
Procedure:
1. Place the two JK flip-flop ICs on IC base
2. Short the J&K to get toggle Flip flop operation .interconnect the circuit as shown in the figure.
3. Apply dc power to vcc and gnd pins of ICs ,Connect all outputs to output LEDs
4. And apply clock pulse to get next count.
5. Continue clock giving up to maximum count.
6. And tabulate the working for each clock.
Result:
Functional Diagram:
Pin Diagram:
Truth table:
INPUTS OUTPUTS
A B A>B A=B A<B
Components Required:
1.IC 7485, IC 7400, IC 7410, IC 7420, IC 7432, IC 7486, IC 7402, IC 7408, IC 7404,
2.Digital IC Trainer kit
3.patch cards
4.single lead wires
. Theory:
Magnitude Comparator is a logical circuit, which compares two signals A and B and
generates three logical outputs, whether A > B, A = B, or A < B. IC 7485 is a high speed 4-bit
Magnitude comparator, which compares two 4-bit words. The A = B Input must be held high for
proper compare operation
Procedure:
1. Check all the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Apply two inputs which you want to compare to input switches and ground the all unnecessary
inputs.
5. Connect three comparison outputs A=B, A>B, A<B to output LEDs.
6. Apply different inputs. Observe outputs for different input combinations and tabulate in the
tabular form.
Result
Pin Diagram:
Functional Diagram:
Aim: Construct 7 Segment Display Circuit Using Decoder and 7 Segment LED and test it.
Components Required:
For Common Anode type seven segment LED display, we only have to interchange all ‘0s’ and
‘1s’ in the output side i.e., (for a, b, c, d, e, f, and g replace all ‘1’ by ‘0’ and vice versa) and solve
using K-map.
Output for first combination of inputs (A, B, C and D) in Truth Table corresponds to ‘0’ and last
combination corresponds to ‘9’. Similarly rest corresponds from 2 to 8 from top to bottom.
BCD numbers only range from 0 to 9, thus rest inputs from 10-F are invalid inputs.
Truth Table:
Digit A B C D a b c d e f g
0
1
2
3
4
5
6
7
8
9
Procedure:
4. Apply 4 inputs to the input switches and seven outputs to the 7 segment display.
5. Apply different possible input combinations and observe glowing of LEDS in 7 segment.
Result:
Pin Diagram:
Truth table:
A3 A2 A1 A0
B3 B2 B1 B0
S3 S2 S1 S0
Aim: Design BCD Adder Circuit and Test the Same using Relevant IC
Components Required:
Theory:
The digital system handles the decimal number in the form of binary coded decimal numbers
(BCD). A BCD Adder Circuit that adds two BCD digits and produces a sum digit also in BCD.
BCD numbers use 10 digits, 0 to 9 which are represented in the binary form 0 0 0 0 to 1 0 0 1, i.e.
each BCD digit is represented as a 4-bit binary number. When we write BCD number say 526, it
can be represented as
The addition of two BCD numbers can be best understood by considering the three cases that
occur when two BCD digits are added
Procedure:
1. Check all the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Connect the input pins to input switches and outputs to output LEDs
5. Apply two different BCD numbers which you want to add.
6. Observe output sum from output LEDs
Example:
Input: A = 0111 B = 1000
Output: Y = 1 0101
Explanation:
1. Add two BCD numbers using ordinary binary addition.
2. If four-bit sum is equal to or less than 9, no correction is needed. The sum is in proper BCD form.
3. If the four-bit sum is greater than 9 or if a carry is generated from the four-bit sum, the sum is
invalid.
4. To correct the invalid sum, add 01102 to the four-bit sum. If a carry results from this addition, add
it to the next higher-order BCD digit.
Thus to implement BCD Adder Circuit we require:
Result:
Pin Diagram:
Aim: Design an experimental model to demonstrate the operation of 74154 De-Multiplexer using
Components Required:
1. IC Trainer kit
2. patch cards
3. single lead wires
4. IC 74154
Theory:
De-multiplexers perform the opposite function of multiplexers. They transfer a small number
of information units (usually one unit) over a larger number of channels under the control of
selection signals. The general de-multiplexer circuit has 1 input signal, n control/select signals
and 2n output signals. De-multiplexer circuit can also be realized using a decoder Circuit with
enable.
Standard De-multiplexer IC packages available are the TTL 74LS138 1 to 8-output de-
multiplexer, the TTL 74LS139 Dual 1-to-4 output de-multiplexer or the CMOS CD4514 1-to-16
output de-multiplexer.
Another type of de-multiplexer is the 24-pin, 74LS154 which is a 4-bit to 16-line de-
multiplexer/decoder. Here the individual output positions are selected using a 4-bit binary coded
input. Like multiplexers, de-multiplexers can also be cascaded together to form higher order de-
multiplexers
Truth Table:
Procedure:
6. Apply input and check the output for different selection inputs and tabulate the values
Result:
Pin diagram
0 1 Complement of Read
stored data
1 * Hold
Aim:
Apparatus:
4-Bit RAM
Digital IC trainer kit
Theory:
The I.C. 74*189 is a 16*4 ram in which 16 words can be read or written. The
outputs are open collector and active low. The pin diagram and function table of the IC
are given below. CE is the chip enable and when this is at logic 0, the memory enabled
Procedure:
Write Operation
1. To write into any memory location, apply the address of the chosen memory location at
the address input terminals
3. Apply logic 0 at the R/W line, and change CE from logic 1 to 0. In this mode, all the
Read Operation
1 To read from any memory location, apply the address of the chosen memory location at the
address input terminals.
2 Apply logic 1 at the R/W line, and then change CE from logic 1 to 0.
Note: In read operation the output is complemented of stored data
Result:
Circuit Diagram:
Truth Table:
Components Required:
Logic gates (IC) trainer kit.
Connecting patch chords.
IC7400,IC7402, IC7404, IC7408, IC7432.
Theory:
De-Morgan suggested two theorems that form an important part of Boolean algebra. In the
equations form, they are
Procedure:
Result: