0% found this document useful (0 votes)
38 views

Esc201: Introducton To Electronics: Sequental Circuits

1) Sequential circuits have storage elements that allow the output to depend on both the current and past input values, unlike combinational circuits whose output depends only on current input values. 2) A NOR SR latch has four states - Set, Reset, Hold, and Invalid. It functions as a basic memory element by storing a 1-bit value. 3) A D latch uses an enable input to control whether the output follows the input (D) value or holds its previous value. It allows transferring data into the latch only when enabled.

Uploaded by

xdfwe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Esc201: Introducton To Electronics: Sequental Circuits

1) Sequential circuits have storage elements that allow the output to depend on both the current and past input values, unlike combinational circuits whose output depends only on current input values. 2) A NOR SR latch has four states - Set, Reset, Hold, and Invalid. It functions as a basic memory element by storing a 1-bit value. 3) A D latch uses an enable input to control whether the output follows the input (D) value or holds its previous value. It allows transferring data into the latch only when enabled.

Uploaded by

xdfwe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

ESc201 : Introducton to Electronics

Sequental Circuits

Dept. of Electrical Engineering


IIT Kanpur

1
Digital Circuits

Combinational Circuits Sequential Circuits


X Z
CC
X

CC W
Y
Storage
elements

Output is determined by current Output is determined in general


values of inputs only. by current values of inputs and
past values of inputs/outputs as
well.
NOR SR Latch (Set-Reset Latch)

R
Q

Q
S
NOR SR Latch (Set-Reset Latch)

R
0 Q

1 Q
S
NOR SR Latch (Set-Reset Latch)

R 1
0 0 Q

1 Q
S 0
NOR SR Latch (Set-Reset Latch)

R 1
0 0 Q
Q 1; Q 0 Set State

1
Q 0; Q 1 Re set State
Q
S 0
NOR SR Latch (Set-Reset Latch)

R 1
0 0 Q
Q 1; Q 0 Set State

1
Q 0; Q 1 Re set State
Q
S 0

S R Q Q State

1 0 1 0 SET
NOR SR Latch
Reset

R 0 Q
1 Q 1; Q 0 Set State

1
Q 0; Q 1 Re set State
0 Q
S 0

Set

S R Q Q State
1 0 1 0 SET

0 1 0 1 RESET
HOLD State

S R Q Q State
R 1 1
Q 1 0 1 0 SET
0
0 0 1 0 HOLD

0 1 0 1 RESET
Q
S 0 0 0 0 0 0 1 HOLD
HOLD State

S R Q Q State
R 1 1
Q 1 0 1 0 SET
0
0 0 1 0 HOLD

0 1 0 1 RESET
Q
S 0 0 0 0 0 0 1 HOLD

S R Q Q State

1 0 1 0 SET

0 1 0 1 RESET
0 0 Q Q HOLD 1 bit memory?
HOLD State

S R Q Q State
R 1 1
Q 1 0 1 0 SET
0
0 0 1 0 HOLD

0 1 0 1 RESET
Q
S 0 0 0 0 0 0 1 HOLD

S R Q Q State

1 0 1 0 SET

0 1 0 1 RESET
0 0 Q Q HOLD 1 bit memory?

1 1 0 0 INVALID
R 0 Q
1

Both the outputs are well defined and 0.


The first problem is that we do not get
0 Q complementary output.
1
S
R 0 Q
1

Both the outputs are well defined and 0.


The first problem is that we do not get
0 Q complementary output.
1
S

A more serious problem occurs when we switch the latch to the hold state by
changing RS from 11  00 . Suppose the inputs do not change
simultaneously and we get the situation 11  01*  00

1 0 1 0
R 0 Q
R
Q
R 1 Q

Q 0 Q 0 Q
S 1 S 1 S 0
0
Q=1
1 0 1 0
R 0 Q
R R 1 Q
Q

0 0 Q
1 Q 1 Q S 0
S 0 S

Q=1
1 0 1 0
R 0 Q
R R 1 Q
Q

0 0 Q
1 Q 1 Q S 0
S 0 S

Q=1

Suppose the inputs change as RS = 11  10*  00


1 0 1 0
R 0 Q
R R 1 Q
Q

0 0 Q
1 Q 1 Q S 0
S 0 S

Q=1

Suppose the inputs change as RS = 11  10*  00

1 1 0 0
R 0 Q
R
Q
R 0 Q

Q 1 Q 1 Q
S 1 S 0 S 0
0
Q=0
1 0 1 0
R 0 Q
R R 1 Q
Q

0 0 Q
1 Q 1 Q S 0
S 0 S

Q=1

Suppose the inputs change as RS = 11  10*  00

1 1 0 0
R 0 Q
R
Q
R 0 Q

Q 1 Q 1 Q
S 1 S 0 S 0
0
Q=0
So although output is well defined when we apply RS = 11, it becomes
unpredictable once we switch the latch to hold state by applying RS = 00. That
is why RS = 11 is not used as an input combination.
NAND Latch

S
Q

Q
R

S R Q Q State

0 1 1 0 SET

1 0 0 1 RESET

1 1 Q Q HOLD

0 0 1 1 INVALID
RS NAND Latch with Enable

S
1
Q

EN Hold State
0

1 Q
R

Enable S R Q Q State
S S
0 x x Q Q Hold
Q
1 1 0 1 0 Set
EN 0 1 0 1 Reset
1
1 Q 1 0 0 Q Q Hold
R 1 1 0 0 Invalid
R 1
D latch

S Q D 1 1 S Q 1
EN 1 EN
R Q R Q 0
0
D latch

S Q D 1 1 S Q 1
EN 1 EN
R Q R Q 0
0

Enable S R Q Q State
0 x x Q Q Hold D Q
1 1 0 1 0 Set

1 0 1 0 1 Reset EN Q
1 0 0 Q Q Hold

1 1 1 0 0 Invalid
D latch

S Q D 1 1 S Q 1
EN 1 EN
R Q R Q 0
0

Enable S R Q Q State
0 x x Q Q Hold D Q
1 1 0 1 0 Set

1 0 1 0 1 Reset EN Q
1 0 0 Q Q Hold

1 1 1 0 0 Invalid

If EN = 1 then Q = D otherwise the latch is in Hold state


Edge Triggered Latch or Flip-flop

D Q

clk

Clock

Positive edge triggered flipflop


Negative Edge Triggered Latch or Flip-flop

D Q

clk

Clock

D
Master-Slave D Flip-flop

D D D Q

master slave
EN EN Q

clk

Clock

Master

Slave
Major Quiz 3 Solution Discussion

You might also like