Lab 08
Lab 08
8.1 Objectives
8.2 Theory
Flip Flop
A flip-flop circuit can maintain a binary state indefinitely (as long as the power is delivered to the
circuit) until directed by an input signal to switch states. The major differences among various types
of flip-flop are in the number of inputs they possess and in the manner in which the input affect the
binary state.
JK Flip-Flop
JK flip-flop is an edge triggered device. A typical JK flip flop has three input: J, K and a clock input.
The flip flop can be either positive or negative edge triggered. The output Q is available in
complemented form as well.
Besides the usual inputs and outputs, most of the flip flop IC also possess two asynchronous inputs,
namely preset and Clear. These inputs are usually active low. If used Preset and Clear inputs keep
the flip flop in set and reset state respectively, irrespective of the other inputs. Both of these inputs
cannot be used simultaneously, otherwise they will bring the flip flop in unstable state.
Digital Counters
A digital counter is a set of flip-flops whose states change in response to pulses applied at the input
to the counter.Every counter resets after a certain number of clock pulses. Thus, as it name implies,
a counter is used to count pulses.An n stage counter can count up to a maximum of 2 n states, n is
equal to the number of flip-flops required for the construction of counter.
Modulus Counters
The number of input pulses that causes a counterto reset to its initial count is called the modulus of
the counter. Thus, the modulus equals to total number of distinct states(counts), including zero that
a counter can store. A binary counter with n stages is a modulo-2 n (or MOD-2n) counter. The largest
count a mod-N counter can achieve is N-1, i.e a mod-N counter never reaches the binary number
equal to its modulus, N is always equal to or less than 2n.
D Flip Flop
SR Flip Flop
JK Flip Flop
T Flip Flop
8.4 Experiment
8.5 Exercise
Question#01: Draw the timing diagram for MOD-4 counter designed in this lab
Question#02: Simulate MOD-5 asynchronous counter using any simulation tool. The number of flip-
flops required to construct a MOD-5 counter is 3. This Counter will count 0 to 4 , a total of 5 distinct
states. Since a 3-stage counter can count up to 8 states at maximum, a NAND gate is used to reset it
after 5 clock pulses. Attached hardcopy of the simulated circuit.
Question#03: Draw the timing diagram for MOD-5 counter simulated in question#02,
Lab Evaluation Session
Tota Obtain
Assessment Comments if Any
l ed
s
Mar Marks
ks
Simulation 2
Experiment 4
Knowledge 2
Presentatio 2
n
Marks 10
Instructor Signature: _