Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A JK flip flop can be formed by using two cross coupled NOR gates connected with two AND gates in series.The J input in addition is
connected to the Qbar output and the K input is connected to the Q output.Using the NOR gate circuitry make it active high.
It can also be formed by using two cross coupled NAND gates connected with two NAND gates in series.Again as mentioned in the
upper scenario the J input is connected to Qbar output and the K input is connected to the Q output.Using the NAND gate circuitry
make it active low.
So as we can see from the truth table when J and K input both are zero on the triggering edge of clock pulse there is no change of
state and that state is Q(0) and mostly it is the previous state.
When J input is 1 and K input is 0 on the triggering edge of clock pulse,then output is in set state.
When J input is 0 and K input is 1 on the triggering edge of clock pulse,then the output is in reset state.
When J and K input both are 1 on the triggering edge of clock pulse,then the output toggle wrt what was the state in the previous
clock cycle.
So as it can be seen from the timing diagram,on the application of the first edge of clock pulse when both J and K are 0,output is
0,on the second clock pulse when J is 1 and K is 0,output is set and it's 1,on the application of the 3rd clock pulse when both J and K
are 1,output gets toggled wrt previous state and it is 0.
SR Flip Flop:-A SR flip flop also consist of two inputs mainly as S and R called as Set and Reset and output as Q and inverted
output Qbar.A SR flip flop is constructed using two cross coupled NOR gates connected with two AND gates in series.When both S
and R input are 0,there is no change in output and it holds the previous state.When S is 0 and R is 1,output is on reset state.When
S is 1 and R is 0,output is in set state.But,
When both the inputs are 1,output is in invalid state and it goes in a metastable state where we wouldn't able to
predict the output and here lies the main difference with JK flip flop.a) When both S and R inputs are 1,output
goes to a metastable state but when both the inputs of J and K are 1 output is in toggle state wrt previous
state.b) JK flip flop often termed as Universal flip flop because all other flips like D,T and SR can be derived
from that while this is not the case wrt SR flip flops.c) SR flip flops when used as latch can be help in the bounce
elimination of the switches which is one of its major advantages while this is not the case with JK flip flops.
There are problems associated with JK flip flop too where in the case when both J and K input are 1,output can change more than
once in a single clock cycle which gives rise to race condition.
One more problem occurs with JK flip flop is that propagation delay of flip flop is less than the propagation delay of clock pulse
width.
So to avoid all these problems master slave JK flip flops has been taken into consideration.
n TTL circuits also, input transistor T1 is a multi-emitter transistor driving the phase-splitter transistor T2. As stated above, this phase-
splitter drives the push-pull output transistors T3 and T4. The output section, consisting of transistors T3 and T4, diode D, and the
100-ohm resistor, is known as a totem-pole configuration, since it looks like a totem-pole with its ups and downs. It may be noted
that a totem pole is a stick held by kings, emperors, and holy men in their hands to exhibit their authority. In another type of NAND
gate, called the open-collector NAND gate, transistor T3 and diode D are removed.ex- Now consider the condition A = B = 1. In this
case, both the diodes A and B remain reverse biased. So, current flows from +VCC through the base-collector diode of T1 into the
base of T2 turning it ON. Collector current of T2 starts flowing now, developing enough voltage (0.8 V) at its emitter E2 to turn T4 ON.
Also since T2 is ON, its collector-emitter voltage drops to the saturation value of VCES2 = 0.2 V and its collector voltage VC2= 0.8 + 0.2
= 1 V. With diode D present, T3 remains OFF. However since T4 is ON, the collector-emitter voltage of T4, VCES4 = 0.2 V, and the
output Z is at logic 0. Thus for the situation A = B = 1, we have Z = 0.
In CMOS technology, both N-type and P-type transistors are used to design logic functions. The same signal which turns ON a
transistor of one type is used to turn OFF a transistor of the other type. This characteristic allows the design of logic devices using
power supply rail (Vss or quite often ground). Instead of the load resistor of NMOS logic gates, CMOS logic gates have a collection
of p-type MOSFETs in a pull-up network between the output and the higher-voltage rail (often named Vdd).
Thus, if both a p-type and n-type transistor have their gates connected to the same input, the p-type MOSFET will be ON when the
Ing-As VA and VB both are low, both the pMOS will be ON and both the nMOS will be OFF. So the output Vout will get two paths
through two ON pMOS to get connected with V dd. The output will be charged to the Vdd level. The output line will not get any path to
the GND as both the nMOS are off. So, there is no path through which the output line can discharge. The output line will maintain
If A or B is low, the base-emitter junction of Q1 is forward biased and its base-collector junction is reverse biased.
Then there is a current from Vcc through R1 ti the base emitter junction of Q1 and into the LOW input, which
provides a path to the ground for the current. Hence there is no current into the base of Q2 and making it into cur-
off. The collector of Q2 is HIGH and turns Q3 into saturation. Since Q3 acts as a emitter follower, bu providing a
low impedance path from Vcc to the output, making the output into HIGH. At the same time, the emitter of Q2 is
at ground potential, keping Q4 OFF.When A and B are high, the two input base emitter junctions of Q1 are reverse
niased and its base collector junction is forward biased. This permits current through R1 and the base collector
junction of Q1 into the base of Q2, thus driving Q2 into saturation. As a result Q4 is turned ON by Q2, and
producing LOW ourput which is near ground potential. At the same time, the collector of Q2 is sufficiently at LOW
voltage level to keep Q3 OFF.
Transistor Q1 actually behaves as cluster of diodes placed back to back. With any of the input at logic low, corresponding emitter
base junction is forward biased and the voltage drop across the base of Q1 is around 0.9V, not enough for the transistors Q2 and
Similarly when all inputs are high, all base emitter junctions of Q1 are reverse biased and transistor Q2 and Q3 get enough base
current and are in saturation mode. Clearly output is at logic low. (For a transistor to go to saturation, collector current should be