ABSCHRIFTEnglish

Latches and Flip-Flops 1 - The SR Latch

12m 16s1,745 Wörter256 segmentsEnglish

VOLLSTÄNDIGE ABSCHRIFT

0:01

latches and flip-flops are the building

0:03

blocks of computer memory in this

0:06

particular video we'll focus on the

0:08

so-called Sr latch later we'll see how

0:12

this circuit can be

0:14

enhanced the set reset latch or Sr latch

0:17

for short can be thought of as a one bit

0:21

memory it can be put into one of two

0:23

stable output States triggered by an

0:26

input

0:27

pulse the circuit remembers the this

0:30

state until it's changed Again by

0:32

another input pulse or until the power's

0:34

removed for this reason the circuit is

0:37

known as a bable

0:42

latch before we consider the

0:44

construction of Sr latches let's remind

0:46

ourselves of some fundamental logic

0:48

gates this is an or gate and this is the

0:52

truth table that describes Its Behavior

0:55

any combination of inputs A and B

0:57

results in a one at output p except when

1:01

both inputs are zero in which case the

1:03

output is

1:05

zero this is an and gate and this is the

1:09

truth table that describes Its Behavior

1:11

any combination of inputs A and B

1:14

results in a zero at output P except

1:17

when both inputs are one in which case

1:19

the output is

1:22

one if we modify the output of a regular

1:26

or gate by inverting it with a not gate

1:30

then we can swap the zero for a one and

1:33

the ones for zeros in the output column

1:35

of the truth

1:38

table in a similar fashion we can invert

1:42

the output of a regular and gate then we

1:45

can swap the zeros for ones and the one

1:47

for a zero in the output column of this

1:50

tooth

1:53

table each of these gate combinations

1:56

has its own name and its own symbol they

1:59

are are known as the Norgate and the

2:02

nand

2:04

gate the Norgate only produces an output

2:07

of one if both of the inputs are zero

2:11

the nand gate only produces an output of

2:14

zero if both of the inputs are

2:17

one the SR latch can be built using one

2:20

of these two basic building

2:26

blocks let's start by considering an Sr

2:28

latch built from nor

2:32

gates in this Norgate version of an Sr

2:35

latch two nor gates are connected

2:37

together in such a way as the output of

2:39

each nor gate is one of the inputs of

2:42

the other this crosscoupling of two

2:45

gates results in a form of positive

2:49

feedback Sr latches like all electronic

2:52

circuits require power to work the power

2:55

connections aren't shown on this

2:57

diagram the SR lat has two inputs R and

3:02

S and the output Q the SR latch also

3:06

makes the inverse of the output

3:08

available on this diagram you can see

3:10

not q a q with a bar above

3:14

it the starting State here is that S and

3:17

R are both low that is both inputs are

3:21

zero Q is high that is the output is one

3:25

and not Q the inverse of this is

3:28

zero both of the inputs of the top n

3:31

gate are zero so the output of the top

3:35

gate is one this is exactly what you

3:38

would expect from a

3:39

Norgate the inputs of the lower Norgate

3:42

are one and zero so the output of the

3:45

Lower Gate is

3:47

zero because Q is one the latch is

3:50

currently storing

3:52

one now we apply a pulse to input R to

3:56

reset the

3:57

latch this changes the the output of the

4:00

top gate and then this is fed back into

4:02

the Lower Gate the lower Gate's output

4:05

also changes and this is fed back into

4:07

the top gate the pulse that was applied

4:10

to reset the SR latch is then removed

4:13

and R is zero

4:15

again but the output at Q is now zero so

4:19

the latch is now storing a

4:23

zero in order to store a one again a

4:26

pulse must be applied to input s which

4:28

will set the lat

4:31

again notice how the various changes are

4:34

propagated around the

4:40

circuit the set pulse is then

4:44

removed and the circuit is now latched

4:47

into a set State it's storing a one

4:50

again notice that if another set pulse

4:52

is applied it has no

4:55

effect applying a set pulse at s will

4:59

always for Force the latch into a set

5:00

State regardless of the previous state

5:02

of the latch similarly applying a reset

5:06

pulse will always Force the latch into a

5:08

reset state it should be noted that S

5:11

and R are never left high that is

5:15

neither is ever set continuously to the

5:17

value one the latch is controlled by

5:21

pulses

5:26

only this gives us an unusual looking

5:28

truth table

5:30

when both S and R are set to zero Q may

5:34

be one or it may be zero depending on

5:37

the previous state of the circuit let's

5:40

examine the truth table as this Sr latch

5:43

is reset

5:44

again the reset pulse is applied s is

5:49

zero R is one output Q is zero and its

5:53

inverse not Q is one the SR latch is

5:56

storing a

5:58

zero the reset pulse is removed both S

6:02

and R are zero again output Q remains at

6:06

zero and its inverse remains at one the

6:09

SR latch is still storing a

6:13

zero a set pulse is applied s is one and

6:17

R is zero the output Q becomes one and

6:21

its inverse becomes

6:23

zero the set pulse is removed s is zero

6:28

and R is zero output Q is still one and

6:32

not Q is of course

6:36

zero now the only circumstance we

6:39

haven't considered is when both inputs S

6:42

and R are set to one at the same

6:45

time if this were to occur we'd be

6:48

telling the SR latch to set the value of

6:50

Q to both one and zero

6:53

simultaneously in reality Q would become

6:56

zero and not Q would also become zero

7:00

this would sort itself out if one of the

7:02

inputs fell to zero before the other for

7:05

example if r fell to zero first with s

7:08

still at one then Q would become one

7:10

again if however both inputs were at one

7:14

and both fell to zero at the same time

7:17

we'd have what's known as a race

7:19

condition between the two gates they'd

7:21

be racing each other to feed back their

7:23

new output and it's impossible to know

7:25

which one would win hence if both puts

7:29

are high the next state of the latch

7:32

can't be determined this is not a state

7:36

that the latch should ever be in it's

7:38

illegal it's

7:40

invalid most of the time inputs S and R

7:43

should both be at zero and only

7:45

momentarily will one or the other input

7:48

become one and at any time while it's

7:51

operating the SR latch should either be

7:53

in a set state or a reset state with q

7:57

and not Q the opposite of each other

8:01

one final piece of terminology this type

8:04

of Sr latch is said to be an active High

8:07

Sr latch because the normal condition

8:10

for S andr is low and a high pulse at

8:13

one of these inputs is required to bring

8:15

about a

8:20

change now let's consider an Sr latch

8:23

built from nand Gates here's a reminder

8:26

of the nandate truth table only when

8:29

both inputs are high is the output

8:33

low the wiring of this SL latch is the

8:36

same but notice that input s is at the

8:38

top now and R is at the

8:41

bottom here's a truth table for this

8:43

variation of the SR latch it's a little

8:46

different from the truth table we've

8:47

just seen because this latch behaves

8:51

differently the difference is that R and

8:54

S are kept High most of the time here we

8:57

can see that output Q is zero so the

9:00

latch is storing a zero when input s is

9:03

made low momentarily that is when s

9:06

becomes zero and R is still one the

9:09

output at Q becomes one the latch is now

9:12

storing a one and S can be returned to

9:16

its normal high

9:20

State when R is set low momentarily the

9:23

output at Q is changed to

9:27

zero R can then return to its normal

9:29

high value and the latch is now storing

9:32

a zero

9:33

again an Sr latch built from nand Gates

9:37

like this is more explicitly known as an

9:40

active low Sr

9:43

latch an Sr latch based on nand Gates

9:47

also has a forbidden state that is when

9:49

both S and R are simultaneously

9:52

zero this would result in an illegal

9:55

state in which both q and its complement

MEHR FREISCHALTEN

Melden Sie sich kostenlos an, um Premium-Funktionen zu nutzen

INTERAKTIVER VIEWER

Sehen Sie sich das Video mit synchronisierten Untertiteln, anpassbarer Überlagerung und voller Wiedergabesteuerung an.

KOSTENLOS ANMELDEN ZUM FREISCHALTEN

KI-ZUSAMMENFASSUNG

Erhalten Sie eine sofortige KI-generierte Zusammenfassung des Videoinhalts, der wichtigsten Punkte und Erkenntnisse.

KOSTENLOS ANMELDEN ZUM FREISCHALTEN

ÜBERSETZEN

Übersetzen Sie das Transkript mit einem Klick in über 100 Sprachen. Download in jedem Format.

KOSTENLOS ANMELDEN ZUM FREISCHALTEN

MIND MAP

Visualisieren Sie das Transkript als interaktive Mind Map. Verstehen Sie die Struktur auf einen Blick.

KOSTENLOS ANMELDEN ZUM FREISCHALTEN

CHAT MIT TRANSKRIPT

Stellen Sie Fragen zum Videoinhalt. Erhalten Sie Antworten von der KI direkt aus dem Transkript.

KOSTENLOS ANMELDEN ZUM FREISCHALTEN

HOLEN SIE MEHR AUS IHREN TRANSKRIPTEN HERAUS

Melden Sie sich kostenlos an und schalten Sie interaktiven Viewer, KI-Zusammenfassungen, Übersetzungen, Mind Maps und mehr frei. Keine Kreditkarte erforderlich.