Professional Documents
Culture Documents
THEORY:-
Circuit that takes the logical decision and the process are called logic gates. Each gate has
one or more input and only one output. OR, AND and NOT are basic gates. NAND, NOR
and X-OR are known as universal gates. Basic gates form these gates.
AND Gate:-
The AND gate performs a logical multiplication commonly known as AND function. The
output is high when both the inputs are high. The output is low level when any one of the
inputs is low.
OR Gate:-
The OR gate performs a logical addition commonly known as OR function. The output is
high when any one of the inputs is high. The output is low level when both the inputs are
low.
NOT Gate:-
The NOT gate is called an inverter. The output is high when the input is low. The output
is low when the input is high.
NAND Gate:-
The NAND gate is a contraction of AND-NOT. The output is high when both inputs are
low and any one of the input is low .The output is low level when both inputs are high.
NOR Gate:-
The NOR gate is a contraction of OR-NOT. The output is high when both inputs are low.
The output is low when one or both inputs are high.
X-OR Gate :-
The output is high when any one of the inputs is high. The output is low when both the
inputs are low and both the inputs are high
AND Gate:-
OR Gate:-
NOT Gate:-
NAND Gate:-
CONCLUSION:-
PROCEDURE:-
• Do the connections as per circuit shown below
• Apply logic inputs from INPUT SWITCHES section to the input of the
NOR gate.
• Connect output of gate under test to any of the led from OUTPUT LED
section
• Verify the truth table as per schematic and Gate which is constructed.
Realization Of All Basic Gates Using NOR Gate :-
A C=Ā
0 1
1 0
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
A B AB
0 0 0
0 1 0
1 0 0
1 1 1
A C=Ā
0 1
1 0
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
CONCLUSION:-
The truth tables for various digital gates like AND, OR, NAND, NOT, EX-OR,
NOR are verified USING Universal gates.
THEORY:-
S-R Flip-Flop :-
A flip-flop circuit can be constructed from two NAND gates or two NOR gates. These
flip- flops are shown in Figure 2 and Figure 3. Each flip-flop has two outputs, Q and Q',
and two inputs, set and reset. This type of flip-flop is referred to as an SR flip-flop or SR
latch. The flip-flop in Figure 2 has two useful states. When Q=1 and Q'=0, it is in the set
state (or 1- state). When Q=0 and Q'=1, it is in the clear state (or 0-state). The outputs Q
and Q' are complements of each other and are referred to as the normal and complement
outputs, respectively. The binary state of the flip-flop is taken to be the value of the
normal output. When a 1 is applied to both the set and reset inputs of the flip-flop in
Figure 2, both Q and Q' outputs go to 0. This BEL-DIT violates the fact that both outputs
are complements of each other. In normal operation this BEL-DIT must be avoided by
making sure that 1's are not applied to both inputs simultaneously.
Fig 7(a) shows the clocked J-K flip-flop with clear (CR) and preset (PR) inputs.
The small circle (inversion symbols) on these inputs indicates that logic ‘0’ is
required to clear or set the flip-flop. Thus the ‘0’ applied to the clear input will
reset the flip-flop to Q = ‘0’, and a ‘0’ applied to the Preset input will set the
flipflop to Q = ‘1’. These inputs override the clock & J-K input. I.e. a ‘0’ applied
to the clear input will reset the flip-flop regardless of the values of J-K, and the
clock. Under normal condition, a ‘0’ should not be applied simultaneously to clear
and present. When the clear and present inputs are both held at logic ‘1’, the J, K
and clock inputs operate in the normal manner.
Fig.8 (a)
Master-Slave JK Flip-Flops :-
If J =’1’ and K = ‘0’, the master set on positive clock edge. The high Q output of
the master drives the J input of the slave, so when the negative clock edge hits, the
slave sets, copying the action of master.
If J = ‘0’ and k = ‘1’, the master reset on leading edge of the clock. The high ‘Q’
output of the master goes to the K input of the slave. Therefore, the arrival of the
clock’s trailing edge forces the slave to reset. Again, the slave has copied the
master.
If the master’s J and K input are both High. It toggles on the positive edge and the
slave then toggles on the negative clock edge. Regardless of what the master does,
therefore, the slave copies it: if the master sets, the slave sets; if the master reset,
the slave resets.
The timing relationship is shown in Fig.8 (d) and is assumed that the flip-flop is in
the clear state prior to the occurrence of the clock pulse. The output state of the
master-slave flip-flop occurs on the negative transition of the clock pulse. Some
ANJUMAN COLEGE OF ENGINEERING AND TECHNOLOGY, SADAR, NAGPUR.
master-slave flip-flops change output state on the positive transition of the clock pulse
by having an Additional inverter between the CP terminal and the input of the master.
As seen from the truth table Fig.8 (f), the state of this flip-flop after the clock pulse
Q (t+1) is equal to the input D before the clock pulse. For example, if D = ‘1’ before
the clock pulse, Q
= ‘1’ after the clock pulse regardless of the previous value of Q. therefore, the
characteristic equation is Q (t+1) = D.
Fig. 8 (E) Block diagram of D flip-flop Fig.8 (F) truth table for D flip-flop
T Flip-Flop:-
T flip-flop a clocked Flip-Flop whose output “toggles”, i.e. changes to the
complementary logic state, on every active transition of the clock signal. The
device acts as a divide-by-two counter since two active transitions of the clock
signal generate one active transition of the output. It can be considered as being
equivalent to a J-K Flip-Flop who’s J and K inputs are held at logic 1.
This flip flop is normally set, or “loaded” with the preset and clear inputs. It can be
used to obtain an output pulse train with a frequency of half that of the clock pulse
train, as seen from the timing diagram, in this example, the T flip flop is triggered
on the falling edge of the clock pulse.
PROCEDURE:-
• Connect the logic signals from the logic input switches to S and R input of R-S
Flip-Flop.
• Observe the logic outputs on the LEDs in O/P section.
• Verify the truth table of RS flip-flops.
B. J-K Flip-Flop ;-
D. D Flip-Flop :-
E. T Flip-Flop :-
Conclusion:-
Hence we study the behaviour of S-R, J-K, MS-JK, D and T
Flip Flop.
THEORY:-
PROCEDURE:-
• Do the connection as per block diagram shown. And switch on the power
supply.
SR NO CLOCK OUTPUTS
PULSES
QD QC QB QA
1 1 0 0 0 1
2 2 0 0 1 0
3 3 0 0 1 1
4 4 0 1 0 0
5 5 0 1 0 1
6 6 0 1 1 0
7 7 0 1 1 1
8 8 1 0 0 0
9 9 1 0 0 1
10 10 1 0 1 0
ANJUMAN COLEGE OF ENGINEERING AND TECHNOLOGY, SADAR, NAGPUR.
11 11 1 0 1 1
12 12 1 1 0 0
13 13 1 1 0 1
14 14 1 1 1 0
15 15 1 1 1 1
16 16 0 0 0 0
• After 15th clock pulse TC (Max/Min) line goes high for one clock pulse
duration. And for 16th clock pulse RC goes low for half duration of clock
pulse & again goes high.
• For count down mode of counter load ABCD = 1111, U/D input to logic ‘1’
and press PRESET switch once to load the data in to counter. As you load
the data into counter led indicator will display the same data i.e. 1111.
• Now provide clock to the counter manually by pressing the clock switch and
observe the data on LEDs. It should follow the following table.
SR NO CLOCK OUTPUTS
PULSES
QD QC QB QA
1 1 1 1 1 0
2 2 1 1 0 1
3 3 1 1 0 0
4 4 1 0 1 1
5 5 1 0 1 0
6 6 1 0 0 1
7 7 1 0 0 0
8 8 0 1 1 1
9 9 0 1 1 0
10 10 0 1 0 1
11 11 0 1 0 0
12 12 0 0 1 1
13 13 0 0 1 0
14 14 0 0 0 1
15 15 0 0 0 0
16 16 1 1 1 1
• After 15th clock pulse TC (Max/Min) line goes high for one clock pulse
duration. And for 16th clock pulse RC goes low for half duration of clock
pulse & again goes high.
The 7490 monolithic counter contains four master slave flip-flops and
additional gating to provide a divide-by two counter and a three-stage binary
counter for which the count cycle length is divide-by-five.
The counter has a gated zero reset and also has gated set to nine inputs for
used in BCD nine’s complement applications.
To use the maximum count length (decade or four-bit binary), the B input is
connected to the QA output. The input count pulses are applied to input A
and the outputs are as described in the appropriate Function Table. A
symmetrical divide-by-ten count can be obtained from the counters by
connecting the QD output to the A input and applying the input count to the B
input which gives a divide by- ten square wave at output QA.
1) BCD Count Sequence when O/P QA is connected to input B for BCD count.
PROCEDURE:-
SR NO CLOCK OUTPUTS
PULSES
QD QC QB QA
1 1 0 0 0 0
2 2 0 0 0 1
3 3 0 0 1 0
4 4 0 0 1 1
5 5 0 1 0 0
6 6 0 1 0 1
7 7 0 1 1 0
8 8 0 1 1 1
9 9 1 0 0 0
10 10 1 0 0 1
SR NO CLOCK OUTPUTS
PULSES
QA QD QC QB
1 1 0 0 0 1
2 2 0 0 1 0
3 3 0 0 1 1
4 4 0 1 0 0
5 5 1 0 0 0
Conclusion: -
Hence we studied synchronous binary counter using IC 7490.
THEORY:-
The 74194 is a high speed CMOS 4BIT PIPO SHIFT REGISTER fabricated in
silicon gate C2MOS technology. It has the same high speed performance of LSTTL
combined with true CMOS low power consumption. This SHIFT REGISTER is
designed to incorporate virtually all of the features a system designer may want in
a shift register. It features parallel inputs, parallel outputs, right shift and left shift
serial inputs, clear line. The register has four distinct modes of operation:
PARALLEL (broadside) LOAD; SHIFT RIGHT (in the direction QA QD); SHIFT
LEFT; INHIBIT CLOCK (do nothing).
Synchronous parallel loading is accomplished by applying the four data bits and
taking both mode control inputs, S0 and S1 high. The data are loaded into their
respective flip-flops and appear at the outputs after the positive transition of the
CLOCK input. During loading, serial data flow is inhibited.
Shift right is accomplished synchronously with the rising edge of the clock pulse
when S0 is high and S1 is low. Serial data for this mode is entered at the SHIFT
RIGHT data input. When S0 is low and S1 is high, data shifts left synchronously
and new data is entered at the SHIFT LEFT serial input. Clocking of the flip-flops
is inhibited when both mode control inputs are low. The mode control inputs
should be changed only when the CLOCK input is high. All inputs are equipped
with protection circuits against static discharge and transient excess voltage.
PIN DIAGRAM of 74194
PROCEDURE:-
a) PIPO mode :-
• Set ABCD = 1010 using logic switches. Set S1 = S0 = ‘1’ or Logic HIGH,
connect Clear of Shift reg. to CLEAR terminal.
• Connect outputs QA to QD of reg. to LED indicators.
• Switch on the power supply. All Led indicators are in OFF positions.
• Now give clock signal to Shift register by CLOCK terminal, as soon as
clock is reached to Reg. led indicators will show 1010, which is the input
we have set for register.
• Now change the data at input side using I/P switches & press clock switch,
LED indication now displays the new data. It means this shift register works
as parallel in parallel out under clock signal control.
SR CLOCK QA QB QC QD O/P
1 0 0 0 0 0 0
2 1 1 0 0 0 8
3 2 1 1 0 0 12
4 3 1 1 1 0 14
5 4 1 1 1 1 15
• From the above function table we can conclude that this register work as
right shift register as it shifts ‘1’ towards right by one position at every
clock pulse.
• To start the counting again or to reset the register press CLEAR.
• From the above function table we can conclude that this register work as
Left shift register as it shifts ‘1’ towards left by one position at every clock
pulse.
• To start the counting again or to reset the register press CLEAR.
Conclusion:-
Hence we studied Universal shift register using IC
74194.
THEORY:-
The 7447 feature active-low outputs designed for driving common-anode LEDs or
incandescent indicators directly. All of the circuits have full ripple-blanking
input/output controls and a lamp test input. Segment identification and resultant
displays are shown on a following page. Display patterns for BCD input counts
above nine are unique symbols to authenticate input condition.
All of the circuits incorporate automatic leading and/or trailing-edge, zeroblanking
control (RBI and RBO). Lamp test (LT) of these devices may be performed at any
time when the BI/RBO node is at a high logic level. All types contain an
overriding blanking input (BI) which can be used to control the lamp intensity (by
pulsing) or to inhibit the outputs.
Connection Diagram
7 Segment Display:-
PROCEDURE:-
• Do the connection as per block diagram shown below and switch on the
power supply.
• For normal operation set LT = ‘1’ RBI = ‘1’ and BI/RBO = ‘1’. Apply
input to the IC from I/P switches as per the function table and observe the
output on seven segment display
• You can give output of on-board Decade counter (7490) as input to seven
segment decoder. Observe the output on Display. It displays from 0 to 9
digits.
• You can also give output of on-board Binary counter (74191) as input to
seven segment decoder. Observe the output on Display. It displays digits
as shown in the function table for 0 to 15.
THEORY:-
PROCEDURE:-
• Do the connection as per block diagram shown below and switch ON the
power supply.
• Give step by step inputs to A & B of comparator starting from MSB (A3 and
B3).
• Initially just observe the comparison between inputs A & B inputs and
ignore the cascading inputs.
• Once all possible combinations for A & B inputs are over then apply
cascading inputs as per function table. Observe the outputs of comparator
and verify it with function table.
• Cascading inputs are used to increase the input line capacity of comparator.
Conclusion:-
ANJUMAN COLEGE OF ENGINEERING AND TECHNOLOGY, SADAR, NAGPUR.
Hence we studied 4 Bit Comparator IC 7485
PROCEDURE:-
• Do the connections as per block diagram shown below and switch on the
power supply.
• Apply logic inputs to the block diagram from I/P switches and observe the
corresponding generated code on LEDs at O/P section.
• Verify the truth table for binary to gray code conversion.
• For Gray to Binary do the connection as shown below,
• Apply logic inputs to the block diagram from I/P switches and observe the
Corresponding generated code on LEDs at O/P section.
• Verify the truth table for BCD to EXCESS-3 code conversion.
• For EXCESS-3 to BCD do the connection as shown below,
• Apply logic inputs to the block diagram from I/P switches and observe the
corresponding generated code on LEDs at O/P section.
• Verify the truth table for EXCESS-3 to BCD code conversion.
• Do the connections as per block diagram shown below and switch on the
power supply
• Apply logic inputs to the block diagram from I/P switches and
observe the corresponding generated code on LEDs at O/P section.
ANJUMAN COLEGE OF ENGINEERING AND TECHNOLOGY, SADAR, NAGPUR.
• Verify the truth table for Binary to BCD code conversion as shown
below.
• Apply logic inputs to the block diagram from I/P switches and
observe the corresponding generated code on LEDs at O/P section.
• Verify the truth table for BCD to Binary code conversion as shown
below.
Conclusion:-
Hence we studied Binary to Gary, Gray to Binary, Binary to
BCD, BCD to Binary, BCD to Excess 3 and Excess 3 to BCD
converters
OBJECTIVE:-To study four bit Binary adder with fast carry using
IC 7483.
THEORY:-
These full adders perform the Additional of two 4-bit binary numbers. The
sum outputs are provided for each bit and the resultant carry (C4) is
obtained from the fourth bit. These adders feature full internal look ahead
across all four bits. This provides the system designer with partial look ahead
performance at the economy and reduced package count of a ripplecarry
implementation.
The adder logic, including the carry, is implemented in its true form meaning
that the end- around carry can be accomplished without the need for logic or
level inversion.
Truth table for 7483:-
PROCEDURE:-
• Mount IC 7483 on 20 pin ZIF socket. Connect +5V supply to Pin 5 and
GND to Pin 12 of IC7483. Do the connections as per block diagram
shown below and switch on the power supply.
• Apply logic inputs as per the block diagram from I/P switches and
observe the sum and carry outputs on LED.
• Verify the truth table for all possible combinations.
Conclusion:-
Hence we studied four bit Binary adder with fast carry using IC
7483.