Lab Manual ADE Final
Lab Manual ADE Final
Lab Manual ADE Final
BENJANAPADAVU – 574219
MANUAL
SEMESTER - III
Prepared by:
Mrs. Anupama V
Assistant Professor
Department of Computer Science & Engineering
Canara Engineering College
Mr. Dhananjaya B
Assistant Professor
Department of Computer Science & Engineering
Canara Engineering College
VISION
MISSION
DEPARTMENT PROFILE
The department was started in the year 2001 to offer under graduate degree programme
i.e. Bachelor of Engineering (BE) in Computer Science & Engineering (CS&E). The
department also offers post graduate programme in engineering i.e. MTech in Computer
Science Engineering (CS&E) since 2011. The department has dedicated, qualified and
experienced faculty members to guide the students in academics. The faculty members
are actively involved in teaching, product development and research. The faculty
members have published number of research and review papers/articles in referred
International journals and reputed International conferences which are archived at
IEEE/ACM/Springer and other renowned digital libraries.
The department frequently organizes training programmes for the faculty, technical
staff and students. The faculty frequently attends staff development programmes
(SDP/FDP/Seminar) to update themselves in technological advancements and
conferences to present research findings. The department aims at building the students’
career by placing special emphasis on all-round development through continuous
interaction with Industry. Interactive sessions with experts from academia, research
laboratories and industry are constantly held so as to enable students to gain knowledge
on diverse and emerging fields. The campus placement has been scaling higher and
higher peaks right from its inception with multinational companies recruiting students
in large numbers. To increase the opportunity of placements to students, the
department conducts soft skills training programmes, technical skill development
activities and initiatives on self-learning (Spoken Tutorial programmes by IIT Bombay).
The department promotes extracurricular activities under the umbrella of the students’
association & SPECS. The department brings out Annual technical magazine and
newsletter which provides an opportunity for the students and staff to publish
innovative ideas, programming tips and articles on current trends in computing and
technology. The students ’association and National Service Scheme (NSS) wing
frequently conducts various programmes to strengthen leadership skills, teamwork and
communication; and awareness on protection of environment and social responsibilities.
PROGRAMME EDUCATIONAL OBJECTIVES (PEO)
1) Design an astable multivibrator circuit for three cases of duty cycle (50%, <50% and >50%) using
NE 555 timer IC. Simulate the same for any one duty cycle.
AIM:
1) To design and implement an astable multivibrator using 555 Timer for 50%, <50%, >50% duty
cycle.
2) To simulate an astable multivibrator using 555 Timer any one duty cycle using PSpice.
EQUIPMENT REQUIRED:
THEORY: Multivibrator is a form of oscillator, which has a non-sinusoidal output. The output
waveform is rectangular.
The multivibrators are classified as: Astable or free running multivibrator: It alternates
automatically between two states (low and high for a rectangular output) and remains in each state
for a time dependent upon the circuit constants. It is just an oscillator as it requires no external
pulse for its operation.
Monostable or one shot multivibrator: It has one stable state and one quasi stable. The application
of an input pulse triggers the circuit time constants. After a period of time determined by the time
constant, the circuit returns to its initial stable state. The process is repeated upon the application
of each trigger pulse.
Bistable Multivibrators: It has both stable states. It requires the application of an external
triggering pulse to change the output from one state to other. After the output has changed its state,
it remains in that state until the application of next trigger pulse. Flip flop is an example.
DESIGN:
tL = T – tH = 0.25ms.
Let C=0.1μF and substituting in the equations (1) and (2),
0.25x10 −3
RB =
0.693x0.1x10 −6
RB = 3.6kΩ ⋍ 3.3kΩ
0.75x10 −3
RA = - 3.6x103
0.693x0.1x10 −6
RA = 7.2kΩ ⋍ 6.8kΩ
Case 2: frequency (f) = 1 KHz duty cycle D = 40% = 0.4
Therefore T=1/f=1ms= tH + tL =1ms
Duty cycle = tH / T = 0.4
tH = 0.4T = 0.4ms
tL = T – 0.4T = 0.4T = 0.6ms
Let C=0.1μF and substituting in the equations (1) and (2),
0.6x10-3 = 0.693RB x 0.1x10-6
RB = 8.66kΩ
0.4x10 −3
RB =
0.693x0.1x10 −6
RB = 5.7kΩ
0.6x10 −3
RA = - 5.7x103
0.693x0.1x10 −6
RA = 8.6kΩ
Case 3: frequency (f) = 1 KHz, duty cycle D = 50% = 0.5
Therefore T=1/f=1ms= tH + tL =1ms
Duty cycle = tH / T = 0.5
Hence tH = 0.5T = 0.5ms
tL = T – 0.5T = 0.5T = 0.5ms
Let C=0.1μF and substituting in the equations (1) and (2),
0.5x10 −3
RB =
0.693x0.1x10−6
RB = 7.2kΩ
0.5x10 −3
RA =
0.693x0.1x10 −6
RA = 7.2kΩ
PROCEDURE:
2. Make the connections as shown in figure and switch on the power supply.
3. Observe the capacitor voltage waveform at 6th pin of 555 timer on CRO.
4. Observe the output waveform at 3rd pin of 555 timer on CRO (shown below).
5. Note down the amplitude levels, time period and hence calculate duty cycle.
INPUT/OUTPUT WAVEFORMS
Case 1:
Case 2:
Case 3:
SIMULATION:
Start Orcad and create new project by clicking File → New → Project → Enter the Project Name
and select Analog or Mixed A/D
By clicking Place → Part, select the following components
SIMULATION WAVEFORM:
1) An astable multivibrator of given duty cycle and frequency is designed and implemented.
2) An astable multivibrator of given duty cycle and frequency is simulated using PSpice.
2) Using ua 741 Opamp, design a 1 kHz Relaxation Oscillator with 50% duty cycle. And simulate the
same.
AIM:
1) To design and implement an op-amp relaxation oscillator for 1 kHz frequency 50% duty cycle
2) To simulate an op-amp relaxation oscillator for 1 kHz frequency 50% duty cycle using PSpice.
EQUIPMENT REQUIRED:
THEORY: Op-Amp Relaxation Oscillator is a simple Square wave generator which is also called as a
Free running oscillator or Astable multivibrator or Relaxation oscillator. In this figure the op-amp
operates in the saturation region. Here, a fraction (R1/ (R1+R2)) of output is fed back to the non
inverting input terminal. Thus reference voltage is (R1/ (R1+R2)) Vo. And may take values as + (R1/
(R1+R2)) Vsat or - (R1/ (R1+R2)) Vsat. The output is also fed back to the inverting input terminal
after integrating by means of a low-pass RC combination. Thus whenever the voltage at inverting
input terminal just exceeds reference voltage switching takes place which resulting in a square wave
output.
DESIGN:
The period of the output rectangular wave given as
1+𝛽
T =2RC ln ----------------(1)
1−𝛽
R1
Where feedback fraction
R1 R2
If R2 = 1.16R1 then from equation (1) we have T = 2RC ---------------------(2)
1 1
Case 1: Design for a frequency of 1 kHz (implies T 3 103 1ms)
f 10
Use R2=1.16 R1, for equation (2) to be applied.
Let R1 = 10kΩ, then R2 = 11.6kΩ (use 20kΩ potentiometer as shown in circuit figure)
Let C=0.1µF
T 10 3
Then R 5K
2C 2 10 7
R1
The voltage across the capacitor has a peak voltage of Vc Vsat
R1 R2
PROCEDURE:
1. Before making the connections check all the components using multimeter.
2. Make the connections as shown in figure and switch on the power supply.
4. Also observe the output waveform on CRO. Measure its amplitude and frequency.
INPUT/OUTPUT WAVEFORMS
Case 1: f=1kHz
SIMULATION:
Start Orcad and create new project by clicking File → New → Project → Enter the Project
Name and select Analog or Mixed A/D
By clicking Place → Part, select the following components
Part Library Quantity
µA741 Eval 1
Resistors Analog 3
Capacitor Analog 1
VSIN Source 1
VDC Source 2
0/CAPSYM Place Ground 3
SIMULATION WAVEFORM:
1) An op-amp relaxation oscillator with 1 kHz frequency 50% duty cycle is designed and
implemented.
2) An op-amp relaxation oscillator with 1 kHz frequency 50% duty cycle is simulated using PSpice.
3) Using ua 741 opamap, design a window comparator for any given UTP and LTP. And simulate the
same.
1) To design and implement a window comparator for any given UTP and LTP
2) To simulate a window comparator for any given UTP and LTP using PSpice
EQUIPMENT REQUIRED:
THEORY: A Window Comparator is basically the inverting and the non-inverting comparators
above combined into a single comparator stage. The window comparator detects input voltage levels
that are within a specific band or window of voltages, instead of indicating whether a voltage is
greater or less than some preset or fixed voltage reference point.
A window comparator will have two reference voltages implemented by a pair of voltage
comparators. One which triggers an op-amp comparator on detection of some upper voltage
threshold, VREF(UPPER) and one which triggers an op-amp comparator on detection of a lower
voltage threshold level, VREF(LOWER). Then the voltage levels between these two upper and lower
reference voltages is called the ―window‖, hence its name.
In the voltage divider network, if we now use three equal value resistors so that R1 = R2 =
R3 = R we can create a very simple window comparator circuit as shown. Also as the resistive values
are all equal, the voltage drops across each resistor will also be equal at one-third the supply
voltage, 1/3Vcc. We can set the upper reference voltage to 2/3 Vcc and the lower reference voltage to
1/3 Vcc. Consider the window comparator circuit below.
DESIGN:
Supply Voltage: 5 V
Input Range: 0 V – 5V
Window Range: 1.66 V – 3.33 V Output:
0 V to 10 V (36 V maximum)
A reference voltage, V CC, is divided down by resistors R 1-R3. The two node voltages, V H and
VL, define the upper window voltage and lower window voltage, respectively. When the input
voltage is between VH and VL, the output is ‗high‘, or V P. When outside the window voltage,
the output is pulled down to 0 V.
Equations (1) and (2) define V H and VL, respectively.
Solving Equations (1) and (2) for VCC, setting them equal to each other, then simplifying
yields Equation (3)
i.e. R1 = R2
To limit the current drawn from the reference voltage source, R1 and R2 were selected as
10 KΩ
While the values of R1 and R2 are related to the ratio of the window voltages, R3 determines
the voltage value. R3 is calculated in Equation (5)
In order for the output voltage to swing close to the rail, the current should be limited to less
than~4 mA.
Given a
. If the pull up voltage is increased, RP may have to be increased in order to obtain good
output swing to the negative rail. Notice that when the input, VIN, is between VH and VL, the
output goes to the pull-up voltage,
VP. VCC = 5V, RP = 5.1 K Ω, Vp = 10V, UTP = (2/3)VCC, LTP=(1/3)VCC
PROCEDURE:
1. Before making the connections check all the components using multimeter.
2. Make the connections as shown in figure and switch on the power supply.
4. Also observe the output waveform on CRO. Measure its amplitude and frequency.
INPUT/OUTPUT WAVEFORMS:
SIMULATION:
Start Orcad and create new project by clicking File → New → Project → Enter the Project Name
and select Analog or Mixed A/D
SIMULATION WAVEFORM:
1) A window comparator is designed and implemented for any given UTP and LTP
2) A window comparator is simulated for any given UTP and LTP using PSpice
4) Design and implement Half adder, Full Adder, Half Subtractor, Full Subtractor using basic gates.
And implement the same in HDL.
AIM:
1) To design and implement half adder, full adder, half subtractor and full subtractor using basic
logic gates.
2) To simulate half adder, full adder, half subtractor and full subtractor in VHDL using Xilinx ISE
simulator.
EQUIPMENT REQUIRED:
THEORY:
Adder circuit is a combinational digital circuit that is used for adding numbers. A typical adder
circuit produces a sum bit (denoted by S) and a carry bit (denoted by C) as the output. Adders
are used in the arithmetic logic units, in other parts of the processor, where they are used to
calculate addresses, table indices, increment and decrement operators.
Half-Adder: A combinational logic circuit that adds two single binary digits A and B. It has two
outputs, sum (S) and carry (C). The carry signal represents an overflow into the next digit of a
multi-digit addition.
Full-Adder: The half-adder does not take the carry bit from its previous stage into account. This
carry bit from its previous stage is called carry-in bit (Cin). A combinational logic circuit that
adds two data bits A, B, and a carry-in bit Cin, is called a full-adder. It has two outputs, sum ( S)
and carry (C).
Subtractor circuit is a combinational digital circuit that is used for subtracting numbers. A
typical subtractor circuit produces a diffrence bit (denoted by D) and a brrow bit (denoted by B)
as the output.
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. Give supply to the trainer kit.
5. Provide input data to the circuit via switches.
6. Observe the outputs and verify the Truth Table.
OBSERVATION TABLE:
Truth Table for Half Adder: Truth Table for Half Subtractor:
Truth Table for Full Adder: Truth Table for Full Subtractor:
Borrow =∑(1, 2, 3, 7)
Carry =∑(3, 5, 6)
(after simplifying using K map)
(after simplifying using K map)
Borrow= A. C + A. B + B. C
Carry = A. B + B. C + C. A
SIMULATION:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity HalfAdder is
Port ( A, B : in STD_LOGIC;
Sum, Carry : out STD_LOGIC);
end HalfAdder;
architecture equation of HalfAdder is
begin
sum <= ((not A)and B)or(A and(not B));
carry <= A and B;
end equation;
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity HalfSub is
Port ( A,B : in STD_LOGIC;
Diff,Borrow : out STD_LOGIC);
end HalfSub;
architecture equation of HalfSub is
begin
Diff<=((not A)and B)or(A and(not B));
Borrow<=((not A)and B);
end equation;
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity FullAdder is
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity FullSubtractor is
Port ( A,B,C : in STD_LOGIC;
Diff,Borrow : out STD_LOGIC);
end FullSubtractor;
architecture equation of FullSubtractor is
begin
Diff <= (((not A)and(not b)and c)or((not A)and B and(not C))or(a and(not B)and(not C))or(A and B
and C));
Borrow <= (A and B)or(B and C)or(A and C);
end equation;
1) The truth table of half adder, half subtractor, full adder and full subtractor is verified.
2) The output waveform of half adder, half subtractor, full adder and full subtractor is simulated
and verified.
5) Given a 4-variable logic expression, simplify it using appropriate technique and realize the
simplified logic expression using 8:1 multiplexer IC. And implement the same in HDL.
AIM:
1) To simplify 4 variable logic expression using Entered Variable Map and realize the simplified
logic expression using 8:1 Multiplexer IC.
2) To simulate 8:1 Multiplexer in VHDL using Xilinx ISE simulator.
EQUIPMENT REQUIRED:
THEORY:
A digital multiplexer is a combinational circuit that selects binary information from one of the
many inputs and transmits to a single output line.
Entering variable into Karnaugh map along with 0‘s, 1‘s and don‘t care conditions is called
Entered Variable K Map or Map Entered Variable K map.
PROCEDURE:
1. Assume that the 4-variable Boolean function Y = F(A,B,C,D) = ∑ (2, 4, 5, 7, 10, 14) is to be
implemented using 8:1 multiplexer IC 74151.
2. Considering A, B, C as the control inputs and D as the data input, implantation table will be
D0 D1 D2 D3 D4 D5 D6 D7
D 0 1 1 0 0 1 0 1
0 2 4 6 8 10 12 14
D 0 0 1 1 0 0 0 0
1 3 5 7 9 11 13 15
Data Input to MUX 0 D 1 D 0 D 0 D
3. Check all the components for their working.
4. Insert the appropriate IC into the IC base.
5. Make connections as shown in the circuit diagram.
6. Give supply to the trainer kit.
7. Provide input data to the circuit via switches.
8. Observe the outputs and verify the Truth Table.
OBSERVATION TABLE:
INPUT OUTPUT
A B C D Y
0 0 0 0 0
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 0
SIMULATION:
1 1 1 0 0 0 0 0 0 0 1 1
AIM:
1) To realize a J-K Master/Slave flip flop using NAND gates and verify its truth table.
2) To simulate J-K Master/Slave flip flop in VHDL using Xilinx ISE simulator.
EQUIPMENT REQUIRED:
THEORY:
The basic 1-bit digital memory circuit is known as a flip-flop. It can have only two states, either
the 1 state or the 0 state. A flip-flop, on the other hand, is edge-triggered and only changes state
when a control signal goes from high to low or low to high.
JK Master Slave Flip Flop: A JK master flip flop is positive edge triggered, whereas slave is
negative edge triggered. Therefore master first responds to J and K inputs and then slave. If J=0
and K=1, master resets on arrival of positive clock edge. High output of the master drives the K
input of the slave. For the trailing edge of the clock pulse the slave is forced to reset. If both the
inputs are high, it changes the state or toggles on the arrival of the positive clock edge and the
slave toggles on the negative clock edge. The slave does exactly what the master does.
PROCEDURE:
1. Check all the components for their working.
2. Insert the appropriate IC into the IC base.
OBSERVATION TABLE:
SIMULATION:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity jk_ff is
port(j,k,cr,pr,clk:in std_logic;
q,qbar:out std_logic);
end jk_ff;
architecture behavioural of jk_ff is
signal input:std_logic_vector(1 downto 0);
begin
input<=j&k;
process(clk,j,k,pr,cr)
variable temp:std_logic:='0';
begin
if(cr='1' and pr='1')then
if rising_edge(clk) then
case input is
when "10"=> temp:='1';
when "01"=> temp:='0';
when "11"=> temp:=not temp;
when others=> null;
end case;
end if;
else
temp:='0';
end if;
q<=temp;
qbar<=not temp;
end process;
end behavioural;
1) J-K Master/Slave flip flop is realized using NAND gates and its truth table is verified.
2) The output waveform of J-K Master/Slave flip flop is simulated and verified.
7) Design and implement code converter: I) Binary to Gray II) Gray to Binary Code using basic
gates.
AIM:
1) To design and implement 4-bit Binary to Gray code converter using basic gates.
2) To design and implement 4-bit Gray to binary code converter using basic gates.
EQUIPMENT REQUIRED:
THEORY:
Gray code belongs to a class of code known as minimum change code/cyclic code, in which a
number changes by only one bit as it proceeds from one number to the next. Hence this code is
not useful for arithmetic operations. This code finds extensive use for shaft encoders, in some
types of analog-to-digital converters, etc. Gray code is reflected/mirror code. The Gray code is not
a weighted code.
eg: (15)10 = (1000)gray
Any binary number can be converted into equivalent Gray code by the following steps:
(i) The MSB of the Gray code is the same as the MSB of the binary number.
(ii) The second MSB (adjacent to the MSB) of the Gray code equals the Ex-OR of the MSB and
second MSB of the binary number.
(iii) The third MSB (adjacent to the second MSB) of the Gray code equals the exclusive-OR of
the second and third MSB bits of the binary number.
(iv) The process continues until we obtain the LSB of the Gray code number by the addition of
the LSB and the next higher adjacent bit of the binary number.
Any Gray code can be converted into equivalent binary number by the following steps:
(i) The MSB of the binary number is the same as the MSB of the Gray code.
(ii) The second MSB (adjacent to the MSB) of the binary number equals the Ex-OR of the MSB of
the binary number and second MSB (adjacent to the MSB) of the Gray code.
(iii) The third MSB (adjacent to the MSB) of the binary number equals the exclusive-OR of the
second MSB of the binary number and third MSB of the Gray code.
(iv) The process continues until we obtain the LSB of the binary number.
PROCEDURE:
OBSERVATION TABLE:
Truth table for Binary to Gray Code Conversion: Truth table for Gray Code to Binary Conversion:
BINARY GRAY GRAY BINARY
B 3 B2 B 1 B 0 G 3 G 2 G 1 G 0 G 3 G 2 G 1 G 0 B 3 B2 B1 B0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1 0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0 0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0 0 1 0 0 0 1 1 1
0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0
0 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0
0 1 1 1 0 1 0 0 0 1 1 1 0 1 0 1
1 0 0 0 1 1 0 0 1 0 0 0 1 1 1 1
1 0 0 1 1 1 0 1 1 0 0 1 1 1 1 0
1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0
1 0 1 1 1 1 1 0 1 0 1 1 1 1 0 1
1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 0
1 1 0 1 1 0 1 1 1 1 0 1 1 0 0 1
1 1 1 0 1 0 0 1 1 1 1 0 1 0 1 1
1 1 1 1 1 0 0 0 1 1 1 1 1 0 1 0
G3 = ∑m (8, 9, 10, 11, 12, 13, 14, 15) B3 = ∑m (8, 9, 10, 11, 12, 13, 14, 15)
G 3 = B3 B3 = G 3
G 2 = B3 B2 + B3 B2
B2 = G 3 G 2 + G 3 G 2
G 2 = B2 ⊕ B3
B2 = G 2 ⊕ G 3
B1 = G3 G2 G1 + G3 G2 G1 + G3 G2 G1 + G3 G2 G1
G1 = B1 B2 + B1 B2 B1 = G1 ⊕ G2 ⊕ G3
G1 = B1 ⊕ B2
G0 = B1 B0 + B1 B0 B0 = G3 G2 G1 G0 + G3 G2 G1 G0 + G3 G2 G1 G0 +
G0 = B0 ⊕ B1 G3 G2 G1 G0 + G3 G2 G1 G0 + G3 G2 G1 G0 +
G3 G2 G1 G0 + G3 G2 G1 G0
B0 = G0 ⊕ G1 ⊕ G2 ⊕ G3
BLOCK / CIRCUIT DIAGRAM:
IC 7404 Pin Diagram: IC 7408 Pin Diagram:
1) Binary to gray code conversion is realized using basic gates and truth table is verified.
2) Gray to binary code conversion is realized using basic gates and truth table is verified.
8) Design and implement a mod-n (n<8) synchronous up counter using J-K Flip-Flop ICs and
demonstrate its working.
AIM: To design and implement a mod-n (n<8) synchronous up counter using J-K Flip-Flop ICs and
demonstrate its working.
EQUIPMENT REQUIRED:
THEORY:
In digital logic and computing, a counter is a device which stores and displays the number of
times a particular event or process has occurred, often in relationship to a clock signal.
A synchronous counter is one whose output bits change state simultaneously. Such a counter
circuit can be built from JK flip-flop by connecting all the clock inputs together, so that each and
every flip-flop receives the exact same clock pulse at the exact same time. This results in all the
individual output bits changing state at exactly the same time in response to the common clock
signal with no ripple effect i.e. with no propagation delay.
In order to design a MOD-5, which has five distinct states (N=5), the number of flip-flops required is
3. The state diagram for MOD 5 counter is shown below.
State table of the counter is derived with the excitation table of the JK flip-flop given below.
After K-Map simplification, expressions for the flip-flop inputs are as shown below:
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. Give supply to the trainer kit.
5. Provide input data to the circuit via switches.
6. Observe the outputs and verify the Truth Table.
OBSERVATION TABLE:
Clock Outputs
Count QC QB QA
0 0 0 0
1 0 0 1
2
Clock 0 1 0
3
Count 0 1 1
4 1 0 0
5 0 0 0
RESULTS & CONCLUSIONS: A mod-5 synchronous up counter is realized using J-K Flip-Flop ICs
and its truth table is verified.
9) Design and implement asynchronous counter using decade counter IC to count up from 0 to n
(n≤9) and demonstrate on seven segment display (using IC-7447).
AIM: To design and implement asynchronous counter using decade counter IC to count up from 0 to
n (n≤9) and demonstrate on seven segment display (using IC-7447).
EQUIPMENT REQUIRED:
THEORY:
Asynchronous counter is a counter in which the clock signal is connected to the clock input of
only first stage flip flop. The clock input of the second stage flip flop is triggered by the output of
the first stage flip flop and so on. This introduces an inherent propagation delay time through a
flip flop. A transition of input clock pulse and a transition of the output of a flip flop can never
occur exactly at the same time. Therefore, the two flip flops are never simultaneously triggered,
which results in asynchronous counter operation.
A binary coded decimal (BCD) is a serial digital counter that counts ten digits .And it resets for
every new clock input. As it can go through 10 unique combinations of output, it is also called as
―Decade counter‖. A BCD counter can count 0000, 0001, 0010, 1000, 1001, 1010, 1011, 1110,
1111, 0000, and 0001 and so on.
7490 is an asynchronous decade counter.
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. Give supply to the trainer kit.
5. Provide input data to the circuit via switches.
6. Observe the outputs and verify the Truth Table.
OBSERVATION TABLE:
Truth Table for MOD10 asynchronous counter Truth Table for MOD 7 asynchronous counter
Output Output
Clock Clock
7490 7490
Count 7447 Count 7447
QD QC QB QA QC QB QA
0(by reset) 0 0 0 0 0 0(by reset) 0 0 0 0
1 0 0 0 1 1 1 0 0 1 1
2 0 0 1 0 2 2 0 1 0 2
3 0 0 1 1 3 3 0 1 1 3
4 0 1 0 0 4 4 1 0 0 4
5 0 1 0 1 5 5 1 0 1 5
6 0 1 1 0 6 6 1 1 0 6
7 0 1 1 1 7 7(repeats) 0 0 0 0
8 1 0 0 0 8
9 1 0 0 1 9
10(repeats) 0 0 0 0 0
Truth Table for MOD 6 asynchronous counter Truth Table for MOD 5 asynchronous counter
Output Output
Clock Clock
7490 7490
Count 7447 Count 7447
QC QB QA QC QB QA
0(by reset) 0 0 0 0 0(by reset) 0 0 0 0
1 0 0 1 1 1 0 0 1 1
2 0 1 0 2 2 0 1 0 2
3 0 1 1 3 3 0 1 1 3
4 1 0 0 4 4 1 0 0 4
5 1 0 1 5 5(repeats) 0 0 0 0
6(repeats) 0 0 0 0
Truth Table for MOD 4 asynchronous counter Truth Table for MOD 3 asynchronous counter
Output Output
Clock Clock
7490 7490
Count 7447 Count 7447
QB QA QB QA
0(by reset) 0 0 0 0(by reset) 0 0 0
1 0 1 1 1 0 1 1
2 1 0 2 2 1 0 2
3 1 1 3 3(repeats) 0 0 0
4(repeats) 0 0 0
RESULTS & CONCLUSIONS: Asynchronous counter to count up from 0 to n (n≤9) is realized using
decade counter IC and seven segment display IC-7447.