Professional Documents
Culture Documents
Chapter 3 Final
Chapter 3 Final
Chapter 3 Final
Mogare
Lecturer
MET BKC IOT Polytechnic, Nashik
9595159287
Prepared By: Prof. C. S. Mogare (9595159287)
Combinational Circuits:
Its out put is depends on present input.
Examples: Half adder, Full adder, Half Subtractor, Full Subtractor,
MUX, DEMUX.
Sequential Circuits:
Its out put is depends on present inputs and past outputs.
To store previous output memory element is required.
Examples: All flip flops, registers, counters.
Prepared By: Prof. C. S. Mogare (9595159287)
Comparison :
Combinational circuits Sequential circuits
• Its out put is depends on present input. • Its out put is depends on present inputs
as well as past outputs.
• It is Faster. • It is Slower.
SR Latch:
CASE I : S=0, R=0 CASE II : S=0, R=1 CASE III : S=1, R=0 CASE IV : S=1, R=1
Q= S+Q & Q= R+Q As R=1 o/p of gate As S=1 o/p of gate If S=R=1 then one
Insert S=R=0 1 i.e. Q=0. 2 i.e. Q=0. i/p of NOR gate 1& 2
Q= 0+Q & Q= 0+Q Hence both i/p of Hence both i/p of is logic 1. So o/p of
gate 2 are 0 gate 1 are 0 both these gates will
Q=0.Q & Q= 0.Q try to become 0.
therefore Q=1. therefore Q=1.
Q=1.Q & Q= 1.Q This case is avoided.
Q= 0 & Q= 1 Q= 1 & Q= 0
Q= Q & Q= Q
*Truth Table:
A latch is basically an unclocked flip flop. INPUTS OUTPUTS States
and
Qn+1 Qn+1
*Circuit: *Symbol: S R (Present (Next Conditio
ns
State) State)
No
0 0 Qn Qn
1 Change
Reset
0 1 0 1
state
Set
1 0 1 0
state
2 1 1 1 1
Race
Avoid
Prepared By: Prof. C. S. Mogare (9595159287)
0 0 Qn Qn No Change
Truth 0 0 Qn Qn No Change
1 0 1 0 Set state
Table 1 0 1 0 Set state
Flip
INPUT OUTPUT
INPUT OUTPUT flops Qn+1 Qn+1 States
States T (Present (Next
Qn+1 Qn+1
State) State)
D (Present (Next
State) State)
0 Qn Qn No Change
0 0 1 Reset state
1 Qn Qn Toggle
1 1 0 Set state
T Flip flop
D Flip flop Prepared By: Prof. C. S. Mogare (9595159287)
Prepared By:Prof. C. S. Mogare (9595159287)
Ckt.
Dia.
of
Flip
flops
T Flip flop
D Flip flop Prepared By: Prof. C. S. Mogare (9595159287)
Prepared By:Prof. C. S. Mogare (9595159287)
CLK
Prepared By:Prof. C. S. Mogare (9595159287)
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk S R (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
1 0 0 Qn Qn Change
*Symbol: Reset
1 0 1 0 1 state
1 1 0 1 0 Set state
CLK = 1 CLK
Race
1 1 1 1 1 Avoid
Prepared By: Prof. C. S. Mogare (9595159287)
Prepared By: Prof. C. S. Mogare (9595159287)
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk S R (Present
(Next State)
State)
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 0 Qn Qn Change
*Symbol: Reset
0 0 1 0 1 state
0 1 0 1 0 Set state
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk S R (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 Qn Qn Change
*Symbol: Reset
0 1 0 1 state
1 0 1 0 Set state
CLK = CLK Race
1 1 1 1 Avoid
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk S R (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 Qn Qn Change
*Symbol: Reset
0 1 0 1 state
1 0 1 0 Set state
CLK = CLK Race
1 1 1 1 Avoid
0 ✖ Qn Qn No Change
✖ Qn Qn No Change
✖ Qn Qn No Change
1 0 0 1 Reset state
*Symbol:
1 1 1 0 Set state
CLK = 1
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk D (Present
(Next State)
State)
No
1 ✖ Qn Qn Change
No
✖ Qn Qn Change
No
✖ Qn Qn Change
Reset
0 0 0 1 state
*Symbol:
0 1 1 0 Set state
CLK = 0
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk D (Present
(Next State)
State)
No
1 ✖ Qn Qn Change
No
0 ✖ Qn Qn Change
No
✖ Qn Qn Change
Reset
0 0 1 state
*Symbol:
1 1 0 Set state
CLK =
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk D (Present
(Next State)
State)
No
1 ✖ Qn Qn Change
No
0 ✖ Qn Qn Change
No
✖ Qn Qn Change
Reset
0 0 1 state
*Symbol:
1 1 0 Set state
CLK =
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk J K (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
1 0 0 Qn Qn Change
*Symbol: Reset
1 0 1 0 1 state
1 1 0 1 0 Set state
CLK = 1 CLK
1 1 1 Qn Qn Toggle
Qn+1 States
Qn+1
Clk J K (Present
(Next State)
State)
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 0 Qn Qn Change
*Symbol: Reset
0 0 1 0 1 state
0 1 0 1 0 Set state
CLK = 0 CLK
0 1 1 Qn Qn Toggle
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk J K (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 Qn Qn Change
*Symbol: Reset
0 1 0 1 state
1 0 1 0 Set state
CLK = CLK
1 1 Qn Qn Toggle
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk J K (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
1 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
0 0 Qn Qn Change
*Symbol: Reset
0 1 0 1 state
1 0 1 0 Set state
CLK = CLK
CLK
1 1 Qn Qn Toggle
No
0 ✖ Qn Qn Change
No
✖ Qn Qn Change
No
✖ Qn Qn Change
No
1 0 Qn Qn Change
*Symbol: 1 1 Qn Qn Toggle
Prepared By: Prof. C. S. Mogare (9595159287)
No
1 ✖ Qn Qn Change
No
✖ Qn Qn Change
No
✖ Qn Qn Change
No
0 0 Qn Qn Change
*Symbol: 0 1 Qn Qn Toggle
Prepared By: Prof. C. S. Mogare (9595159287)
No
0 ✖ Qn Qn Change
No
1 ✖ Qn Qn Change
No
✖ Qn Qn Change
No
0 Qn Qn Change
*Symbol: 1 Qn Qn Toggle
Prepared By: Prof. C. S. Mogare (9595159287)
No
0 ✖ Qn Qn Change
No
1 ✖ Qn Qn Change
No
✖ Qn Qn Change
No
0 Qn Qn Change
*Symbol: 1 Qn Qn Toggle
Prepared By: Prof. C. S. Mogare (9595159287)
INPUTS OUTPUTS
Qn+1 States
Qn+1
Clk J K (Present
(Next State)
State)
No
0 ✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
✖✖ Qn Qn Change
No
1 0 0 Qn Qn Change
*Symbol: Reset
1 0 1 0 1 state
1 1 0 1 0 Set state
CLK = 1 CLK
1 1 1 Qn Qn Toggle
Qn+1 States
Qn+1
(Present
(Next State)
State)
No
Qn Qn Change
Reset
0 1 state
Set
1 0 state
Race
1 1 Avoid
Qn Qn Toggle
Asynchronous inputs on a flip-flop have control over the outputs (Q and not-Q)
regardless of clock input status.
These inputs are called the preset (PRE) and clear (CLR).
The preset input drives the flip-flop to a set state while the clear input drives it to
a reset state.
Asynchronous inputs, just like synchronous inputs, can be engineered to be
active-high or active-low. If they’re active-low, there will be an inverting bubble
at that input lead on the block symbol, just like the negative edge-trigger clock
inputs.
Prepared By: Prof. C. S. Mogare (9595159287)
Reset
*Symbol: 1 1 0 0 1 state
1 1 1 1 0 Set state
Reset
0 1 ✖ ✖ 0 1 state
CLK = ✖ ✖
1 0 1 0 Set state
Assignment:
Draw Symbol, Circuit Dia., applications & Truth table of this flip flop
1.
i)SR ii)JK iii) D iv) T .
Q.3 c) Draw waves for positive and negative edge triggering with proper labeling. W-18
2.
Identify two situations where these triggering can be used?
3. Q.4 c) Compare 1. combinational and sequential circuits 2. D FF and T FF. W-19
Q.4 d) Describe race-around condition in JK flip flop and suggest ways to
4. S-19
overcome it.
Q.5 b) Describe the principle of working of JK FF and draw its circuit diagram and
5.
truth table.
Q.3 c) For the given circuit, identify the W-19
inputs and outputs. Name the circuit
6.
and draw its truth table.