DICA Lab Manual PDF
DICA Lab Manual PDF
DICA Lab Manual PDF
OF
HOD PRINCIPAL
Digital IC Applications Lab(R16)
DEPARTMENT VISION
To be recognized as a full-fledged center for learning and research in various fields of
Electronics and Communication Engineering through industrial collaboration and provide
consultancy for solving the real time problems
DEPARTMENT MISSION
To inculcate a spirit of research and teach the students about contemporary
technologies in Electronics and Communication to meet the growing needs of the
industry.
To enhance the practical knowledge of students by implementing projects based on
real time problems through industrial collaboration
Program Outcomes(PO’s):
A graduate of the Electronics and Communication Engineering Program will demonstrate:
PO1: Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
PO2: Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
PO3: Design/development of solutions: Design solutions for complex engineering problems
and design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
PO4: Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data, and
synthesis of the information to provide valid conclusions.
PO5: Modern tool usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex
engineering activities with an understanding of the limitations.
PO6: The engineer and society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
PO7: Environment and sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and
need for sustainable development.
PO8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
PO9: Individual and team work: Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
PO10: Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and
write effective reports and design documentation, make effective presentations, and give
and receive clear instructions.
PO11: Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one‟s own work, as a member
and leader in a team, to manage projects and in multidisciplinary environments.
PO12: Life-long learning: Recognize the need for, and have the preparation and ability to engage
in independent and life-long learning in the broadest context of technological change.
With an exposure to the areas of VLSI, Embedded Systems, Signal / Image Processing,
Communications, Wave theory, and Electronic circuits in modern electronics and
communications environment.
Demonstrate the impact of Electronics and Communications Engineering on the society,
ethical, social and professional responsibilities/implications of their work.
With strong foundations in mathematical, scientific and engineering fundamentals
necessary to formulate, solve and analyze Electronics and communications. Engineering
problems.
Have strong communication inter-personal skills, multicultural adoptability and to work
effectively in multidisciplinary teams.
Engage life-long learning to become successful in their professional work.
PEO 1: To inculcate the adaptability skills into the students for design and use of analog
and digital circuits and communications and any other allied fields of Electronics.
PEO 5: Graduates will make valid judgment, synthesize information from a range of
sources and communicate them in sound ways in order to find an
economically viable solution.
PEO 6: To develop overall personality and character with team spirit, professionalism,
integrity, and moral values with the support of humanities, social sciences and
physical educational courses.
PSO 2: Professional Skills – Graduate will be able to develop efficient and effective
Communications systems using modern Electronics and Communications
engineering techniques.
PSO 4: The Engineer and Society– Ability to apply the acquired knowledge for the
advancement of society and self.
CONTENTS
S.No Name of the Experiment Page No.
1 Design a 16 x 4 priority encoder using two 8 x 3 priority encoder.
2 Design a 16 bit comparator using 4 bit Comparators.
3 Design a model to 53 counter using two decade counters.
4 Design a 450 KHz clock using NAND / NOR gates.
5 Design a 4 bit pseudo random sequence generator using 4 – bit ring
counter.
6 Design a 16 x 1 multiplexer using 8 x 1 multiplexer.
7 Design a 16 bit Adder / Subtractor using 4 – bit Adder / Subtractor IC‟s
8 Plot the transform Characteristics of 74H, LS, HS series IC‟s.
9 Design a 4 – bit Gray to Binary and Binary to Gray Converter.
10 Design a two Digit 7 segment display unit using this display the Mod
counter output of experiment 3.
11 Design an 8 bit parallel load and serial out shift register using two 4 bit
shift register.
12 Design an 8 bit Serial in and serial out shift register using two 4 bit
shift register.
13 Design a Ring counter and Twisted ring counter using a 4-bit shift
register
14 Design a 4 digit hex counter using synchronous one digit hex counters.
15 Design a 4 digit hex counter using Asynchronous one digit hex
counters
PIN DIAGRAM:
CIRCUIT DIAGRAM:
TRUTH TABLE:
Encoder Data (Active Low):
Inputs EI Outputs
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 3 2 1 0
L L L L L L L L L L L L L L L H 0 0 0 0
H L L L L L L L L L L L L L L L 0 0 0 1
H H L L L L L L L L L L L L L L 0 0 1 0
H H H L L L L L L L L L L L L L 0 0 1 1
H H H H L L L L L L L L L L L L 0 1 0 0
H H H H H L L L L L L L L L L L 0 1 0 1
H H H H H H L L L L L L L L L L 0 1 1 0
H H H H H H H L L L L L L L L L 0 1 1 1
H H H H H H H H L L L L L L L L 1 0 0 0
H H H H H H H H H L L L L L L L 1 0 0 1
H H H H H H H H H H L L L L L L 1 0 1 0
H H H H H H H H H H H L L L L L 1 0 1 1
H H H H H H H H H H H H L L L L 1 1 0 0
H H H H H H H H H H H H H L L L 1 1 0 1
H H H H H H H H H H H H H H L L 1 1 1 0
H H H H H H H H H H H H H H H L 1 1 1 1
PROCEDURE:
Viva Questions:
1. Define encoder
2. Define decoder
3. How many number of inputs and outputs for the encoder
4. How many number of inputs and outputs for the DECODER
5. Number of inputs for decimal to BCD encoder
THEORY :
PIN DIAGRAM :
TRUTH TABLE:
COMPARING CASCADING OUTPUTS
INPUTS
INPUTS
A3,B3 A2,B2 A1,B1 A0,B0 A>B A<B A=B A>B A<B A=B
A3>B3 X X X X X X H L L
A3<B3 X X X X X X L H L
A3=B3 A2>B2 X X X X X H L L
A3=B3 A2<B2 X X X X X L H L
A3=B3 A2=B2 A1>B1 X X X X H L L
A3=B3 A2=B2 A1<B1 X X X X L H L
A3=B3 A2=B2 A1=B1 A0>B0 X X X H L L
A3=B3 A2=B2 A1=B1 A0<B0 X X X L H L
A3=B3 A2=B2 A1=B1 A0=B0 H L L H L L
A3=B3 A2=B2 A1=B1 A0=B0 L H L L H L
A3=B3 A2=B2 A1=B1 A0=B0 L L H L L H
A3=B3 A2=B2 A1=B1 A0=B0 X X H L L H
A3=B3 A2=B2 A1=B1 A0=B0 H H L L L L
A3=B3 A2=B2 A1=B1 A0=B0 L L L H H L
PROCEDURE:
1. Connect Inputs ( A0,A1,A2,A3,B0,B1,B2,B3) to Input Switches
2. Connect Cascade Inputs (A<B,A>B,A=B) to Input Switches
3. Connect Outputs (A<B,A>B,A=B) to Output Switches
4. Observe the Truth Table.
THEORY:
The counters four outputs are designated by the letter symbol Q with a numeric subscript
equal to the binary weight of the corresponding bit in the BCD counter circuits code. So for
example QA, QB, QC and QD. The 74LS90 counting sequence is triggered on the negative going
edge of the clock signal, that is when the clock signal CLK goes from logic 1 (HIGH) to logic 0
(LOW).
The additional input pins R1 and R2 are counter “reset” pins while inputs S1 and S2 are
“set” pins. When connected to logic 1, the Reset inputs R1 and R2 reset the counter back to zero, 0
(0000), and when the Set inputs S1 and S2 are connected to logic 1, they Set the counter to
maximum, or 9 (1001) regardless of the actual count number or position.
As we said before, the 74LS90 counter consists of a divide-by-2 counter and a divide-by-5
counter within the same package. Then we can use either counter to produce a divide-by-2
frequency counter only, a divide-by-5 frequency counter only or the two together to produce our
desired divide-by-10 BCD counter. With the four flip-flops making up the divide-by-5 counter
section disabled, if a clock signal is applied to input pin 14 (CLKA) and the output taken from pin
12 (QA), we can produce a standard divide-by-2 binary counter for use in Pin Diagram circuits as
shown below.
Pin Diagrams of 7490 IC is as below:
TRUTH TABLE:
H H X L L L L L
X X H H H L L H
X L X L COUNT
L X L X COUNT
L X X L COUNT
X L L X COUNT
PROCEDURE:
1. Connect inputs RESET0(pin 2), RESET0(pin 3), R3, R2 to the input switches and Qa,
Qb, Qc, Qd to the output switches.
2. Connect Clock A to clock pulse.
3. Connect Clock B to Qa.
4. Feed the logic signals either H/L as shown in the truth table.
5. Monitor the outputs Qa, Qb, Qc, Qd.
6. Verify the truth table.
Viva Questions:
1. What is decade counter?
2. what is the maximum count for decade counter?
3. pin diagram of 74ls90?
THEORY:
TTL/MSI SN54/74LS151 is a high speed 8-input Digital Multiplexer.
It provides, in one package, the ability to select one bit of data from up to eight
sources. The LS151 can be used as a universal function generator to generate any logic function of
four variables. Both assertion and negation outputs are provided.
• Schottky Process for High Speed
• Multifunction Capability
• On-Chip Select Logic Decoding
• Fully Buffered Complementary Outputs
• Input Clamp Diodes Limit High Speed Termination Effects
FUNCTIONAL DESCRIPTION
The LS151 is a logical implementation of a single pole, 8-position switch with the switch position
controlled by the state of three Select inputs, S0, S1, S2. Both assertion and negation outputs are
provided. The Enable input (E) is active LOW. When it is not activated, the negation output is
HIGH and the assertion output is LOW regardless of all other inputs.
PIN DIAGRAM
PROCEDURE:
1. Connect Inputs S2,S1,S0,I0, I1,I2,I,3 I4,I5,I6, I7 and Enable (E) to Logic Input Sockets.
2. Connect Output terminal Z & ̅Z to Logic Output Sockets.
3. Verify output with given Truth Table.
Viva Questions:
1. What is Mux?
2. Define Demux?
3. Design 4:1 mux using logic gates and write the equation
-EX5: ADDER/SUBTRACTOR
AIM: To verify the Adder function.
TRUTH TABLE:
INPUTS OUTPUTS
Cin A0 A1 A2 A3 B0 B1 B2 B3 S0 S1 S2 S3 OUT
0 0 0 0 1 1 0 0 1 1 0 0 0 1
1 0 0 0 1 1 0 0 1 0 1 0 0 1
NOTE: You may add any two 4-bit binary numbers by making the cin to logic 0/1.
PROCEDURE:
1. Connect the inputs A0, A1, A2, A3, B0, B1, B2, B3 and Cin to the input switches.( A0-A3
represents 1binary input and B0-B3 represents another binary input, Cin represents carry
input)
2. Connect the Outputs S0, S1, S2, S3 and C4 (0ut on the board) to the output switches.
3. Feed the logic inputs and note down the outputs.
NOTE:
1. When the Cin is at logic 0, the output will be displaying the carry output but doesn‟t add
with the binary inputs given.
2. When the Cin is at logic 1, the Output will be displayed by adding the carry.
THEORY :
The logical circuit which converts binary code to equivalent gray code is known as binary
to gray code converter. The gray code is a non weighted code. The successive gray code differs
in one bit position only that means it is a unit distance code. It is also referred as cyclic code. It is
not suitable for arithmetic operations. It is the most popular of the unit distance codes. It is also a
reflective code. An n-bit Gray Code can be obtained by reflecting an n-1 bit code about an axis
after 2n-1 rows, and putting the MSB of 0 above the axis and the MSB of 1 below the axis.
In gray to binary code converter, input is a multiplies gray code and output is its
equivalent binary code. Let us consider a 4 bit gray to binary code converter. To design a 4 bit
gray to binary code converter, we first have to draw a conversion table.
CIRCUIT DIAGRAM:
TRUTH TABLE:
INPUTS OUTPUTS INPUTS OUTPUTS
PROCEDURE:
BINARY TO GRAY:
1. Connect Inputs (A,B,C,D) to Input Switches (Red LED)
2. Connect Outputs (G1,G2,G3,G4) to Output Switches ( Green LED)
3. Give Binary Inputs at A,B,C,D & Observe Gray Code Outputs as per Truth Table.
GRAY TO BINARY:
Viva Questions:
1. What is Binary ?
2. Decimal code?
THEORY:
The counters four outputs are designated by the letter symbol Q with a numeric subscript
equal to the binary weight of the corresponding bit in the BCD counter circuits code. So for
example, QA, QB, QC and QD. The 74LS90 counting sequence is triggered on the negative going
edge of the clock signal, that is when the clock signal CLK goes from logic 1 (HIGH) to logic 0
(LOW).
The additional input pins R1 and R2 are counter “reset” pins while inputs S1 and S2 are
“set” pins. When connected to logic 1, the Reset inputs R1 and R2 reset the counter back to zero, 0
(0000), and when the Set inputs S1 and S2 are connected to logic 1, they Set the counter to
maximum, or 9 (1001) regardless of the actual count number or position.
As we said before, the 74LS90 counter consists of a divide-by-2 counter and a divide-by-5
counter within the same package. Then we can use either counter to produce a divide-by-2
frequency counter only, a divide-by-5 frequency counter only or the two together to produce our
desired divide-by-10 BCD counter.With the four flip-flops making up the divide-by-5 counter
section disabled, if a clock signal is applied to input pin 14 (CLKA) and the output taken from pin
12 (QA), we can produce a standard divide-by-2 binary counter for use in Pin Diagram circuits as
shown below.
Pin Diagrams of 7490 IC is as below:
PROCEDURE:
1. Connect inputs RESET0(pin 2), RESET0(pin 3), R3, R2 to the input switches and Qa, Qb,
Qc, Qd to the output switches.
2. Connect Clock A to clock pulse.
H H X L L L L L
X X H H H L L H
X L X L COUNT
L X L X COUNT
L X X L COUNT
X L L X COUNT
PROCEDURE:
1. Connect BCD Outputs(Qa, Qb, Qc, Qd) to 7 Segment Display (A,B,C,D).
2. a,b,c,d,e,f,g Connections are Internally Connected.
3. Verify the Count Outputs 0,1,2,3,4,5,6,7,8,9
7 SEGMENT DISPLAY:
Dept of ECE III B.Tech I Sem 24
Digital IC Applications Lab(R16)
THEORY:
The Light Emitting Diode (LED) finds its place in many applications in these modern
electronic fields. One of them is the Seven Segment Display. Seven-segment displays contains the
arrangement of the LEDs in “Eight” (8) passion, and a Dot (.) with a common electrode, lead
(Anode or Cathode). The purpose of arranging it in that passion is that we can make any number
out of that by switching ON and OFF the particular LED‟s. Here is the block diagram of the
Seven Segment LED arrangement.
The Light Emitting Diode (LED), finds its place in many applications in this modern
electronic fields. One of them is the Seven Segment Display. Seven-segment displays contains the
arrangement of the LEDs in “Eight” (8) passion, and a Dot (.) with a common electrode, lead
(Anode or Cathode). The purpose of arranging it in that passion is that we can make any number
out of that by switching ON and OFF the particular LED‟s. Here is the block diagram of the
Seven Segment LED arrangement.
A decoder is a combinational circuit that connects the binary information from „n‟ input
lines to a maximum of 2n unique output lines. The IC7447 is a BCD to 7-segment pattern
converter. The IC7447 takes the Binary Coded Decimal (BCD) as the input and outputs the
relevant 7 segment code.
CIRCUIT DIAGRAM:
PROCEDURE:
1. Connect Inputs A,B,C,D to Input Switches (RED LED)
2. Connect 7-Segment Outputs(a,b,c,d,e,f,g) to Output Switches (GREEN LED)
3. Verify the Truth Table and observe the outputs.
Result: Hence verified the truth table of BCD to 7 Segment Display
Viva Questions:
1. What is 7 segment display
2. explain the equations for all the inputs of 7 segment
TRUTH TABLE:
INPUTS OUTPUTS
MODE
SERIAL PARALLEL
CLEAR
S1 S0 CLOCK LEFT RIGHT A B C D QA QB QC QD
H H H X X a b c d a b c d
L
H H L L X X X X X QBn QCn QDn
PROCEDURE:
Viva Questions:
1. What is shift resister
2. Explain PIPO,SIPO,SISO and SIPO
PROCEDURE:
1. Connect I/P A,B & CLR to the input switches,CLK to the pulsar switch.
2. Connect the outputs QA, QB, QC, and QD to the output switches.
3. First make the clear input high, then make both input A & B high
4. Now give the clock pulse, for every pulse the output shifts from one flip flop to another.
NOTE: When you are giving the clear input high all the outputs may not become zero and
hence count continues in the same manner.
THEORY:
A counter is a register capable of counting number of clock pulse arriving at its clock
input. Counter represents the number of clock pulses arrived. An up/down counter is one that is
capable of progressing in increasing order or decreasing order through a certain sequence. An
up/down counter is also called bidirectional counter. Usually up/down operation of the counter is
controlled by up/down signal. When this signal is high counter goes through up sequence and
when up/down signal is low counter follows reverse sequence.
CONNECTION DIAGRAM:
PROCEDURE:
1. Connect the inputs A, B, C, D, G, max/min,load and up/down to the logic input switches
and outputs Qa Qb, Qc and Qd to the output logic switches.
2. Keep load input high.
3. When up input (on the board) is fed with logic 0 then the count is “Up” count.
4. When up input (on the board) is fed with logic 1 then the count is “down” count.
5. This Count is achieved with Pulsar switch (instead of the clock, pulsar input has to be
connected and the output changes with every pulse).
OUTPUTS
COUNT
Qd Qc Qb Qa
0 L L L L
1 L L L H
2 L L H L
3 L L H H
4 L H L L
5 L H L H
6 L H H L
7 L H H H
8 H L L L
9 H L L H
10 H L H L
11 H L H H
12 H H L L
13 H H L H
14 H H H L
15 H H H H
OUTPUTS
COUNT
Qd Qc Qb Qa
0 H H H H
1 H H H L
2 H H L H
3 H H L L
4 H L H H
5 H L H L
6 H L L H
7 H L L L
8 L H H H
9 L H H L
10 L H L H
11 L H L L
12 L L H H
13 L L H L
14 L L L H
15 L L L L
NOTE:
All the inputs connected may be high or low.They
are just connected to close the circuit. For every count
pulse should be given then only the output changes.
Result: Hence verified the truth table of 4-Bit Synchronous , Binary Counter.
Viva Questions:
1. Explain up counter
2. Explain down counter
3. Synchronous counter
APPARATUS: MTS-COUNTER
PATCH CORDS
PROCEDURE:
1. Connect The Inputs MR1, MR2, To The Logic Input Switches And Outputs
Qo, Q1, Q2, And Q3 To The Logic Outputs.
2. Feed The Logic Signals 0 Or 1 As Shown In The Truth Table.
3. Monitor The Outputs Q0, Q1, Q2, Q3.
4. Verify The Truth Table.
NOTE:
1. Connect CP1 To Qo
2. Pulse Input Is Connected To Pin 14 (CP0)
3. When The Count Output Is Present Count Can Be Observed
With Every Pulse.(16 Pulses)
TRUTH TABLE:
Result: Hence Verified The Truth Table Of 4 Bit Binary Asynchronous Counter.
Viva Questions:
1. What is Asynchronous counter?