Latches and Flip-Flops Flashcards

1
Q

Digital circuits can be classified in two categories. The difference between the two is the way that they produce outputs.

  1. _______ circuits produce outputs only when an input is applied. They are composed of logic gates that have no feedback from output to input. When the input is removed, the output stops. As a result, cthese circuits cannot store information.
  2. ________ circuits also produce an output when an input is applied, but these circuits will retain the output after the input is removed. Basically, they “remember” their last input condition.
A
  1. Combinational circuits
  2. Sequential circuits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The circuit below is nothing more than a single _____gate with its output tied to one input leg. The other input leg is tied to a switch. The switch is used to apply either ground or 5 volts. The line tying the output to the input is called a ______ line . The purpose of this line is to provide a path for the output of the gate to be returned to the input.

A

The circuit below is nothing more than a single OR gate with its output tied to one input leg. The other input leg is tied to a switch. The switch is used to apply either ground or 5 volts. The line tying the output to the input is called a feedback line. The purpose of the feedback line is to provide a path for the output of the gate to be returned to the input.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In a sequential circuit, the feedback line is the defining factor. It allows the gate to ________

A

In a sequential circuit, the feedback line is the defining factor. It allows the gate to “remember” its previous output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Circuits composed of logic gates that have no feedback lines are called _______.

A

combinational circuits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Feedback lines are used to tie the _______.

A

output of a gate back to an input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A _____ changes states when its inputs are changed. A _____ can only change states when the clock pulse is changed.

A

A latch changes states when its inputs are changed. A flip-flop can only change states when the clock pulse is changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The basic _____ is constructed of two gates (either NOR or NAND gates or their equivalents) with the feedback lines cross-coupled between the gates.

A

The basic latch is constructed of two gates (either NOR or NAND gates or their equivalents) with the feedback lines cross-coupled between the gates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An active-HIGH input RS latch is constructed of two _____ gates.

A

An active-HIGH input RS latch is constructed of two NOR gates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An active-LOW input RS latch (RS latch) is constructed of two _____ gates.

A

An active-LOW input RS latch (RS latch) is constructed of two NAND gates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Latches and flip-flops have two outputs, designated as Q and Q (spoken as either “_____” or “______”). Ideally, the output state of Q and Q should be opposite at all times. These opposite outputs are also known as complementary outputs.

A

Latches and flip-flops have two outputs, designated as Q and Q (spoken as either “Q NOT” or “NOT Q”). Ideally, the output state of Q and Q should be opposite at all times. These opposite outputs are also known as complementary outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When a latch’s Q output is HIGH and its Q output is LOW, the latch is considered_____. This output state is also referred to as the HIGH or 1 state.

A

When a latch’s Q output is HIGH and its Q output is LOW, the latch is considered SET. This output state is also referred to as the HIGH or 1 state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When a latch’s Q output is LOW and its Q output is HIGH, the latch is considered _____ This output state is also referred to as the LOW or 0 state.

A

When a latch’s Q output is LOW and its Q output is HIGH, the latch is considered RESET. This output state is also referred to as the LOW or 0 state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

These two output states coincide with the _____ and ______ inputs.

A

These two output states coincide with the “S” (SET) and “R” (RESET) inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

On the occasion that both outputs are the same, the terms most frequently used for the output condition are: “______________”.

A

On the occasion that both outputs are the same, the terms most frequently used for the output condition are: “ILLEGAL”, “UNDESIRED”, and “INVALID”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Schematically, latches are indicated by either a _____ of the circuit (the two cross-coupled gates) or a ______ (rectangular box).

A

Schematically, latches are indicated by either a logic diagram of the circuit (the two cross-coupled gates) or a logic symbol (rectangular box).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The ______ is constructed of two cross-coupled NOR gates. The feedback lines extend from the output of each gate to one input leg of the opposite gate.

A

RS latch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The two inputs are SET (S) and RESET (R) and the two outputs are Q and Q. Remember that when the latch is SET, Q is ___and Q is ___. When the latch is RESET, Q is ___ and Q is ____.

A

The two inputs are SET (S) and RESET (R) and the two outputs are Q and Q. Remember that when the latch is SET, Q is 1 and Q is 0. When the latch is RESET, Q is 0 and Q is 1.

18
Q

The RS latch is made from two cross-coupled _______.

A

nor gates

19
Q

The _____ flip-flop is designed to store the last input condition until the next input condition is gated through. They have two inputs and two outputs.

A

D-type flip-flop

20
Q

A HIGH applied to the___ or D input sets the output state to a ____ Q when the clock input is HIGH.

A

A HIGH applied to the DATA or D input sets the output state to a HIGH Q when the clock input is HIGH.

21
Q

A ____ applied to the D input sets the output state to a LOW Q when the clock input is HIGH.

A

A LOW applied to the D input sets the output state to a LOW Q when the clock input is HIGH.

22
Q

The RS flip-flop is designed to store the last input condition until ________.

What does RS stand for?

A

The RS (RESET-SET) flip-flop is designed to store the last input condition until the next input condition is applied.

23
Q

The RS flip-flop has two inputs and two outputs. A _____ applied to the S (SET) input sets the output Q HIGH and output Q LOW.

A

The RS flip-flop has two inputs and two outputs. A HIGH applied to the S (SET) input sets the output Q HIGH and output Q LOW

24
Q

A _____ applied to the R (RESET) input sets the output Q LOW and output Q HIGH.

A

A HIGH applied to the R (RESET) input sets the output Q LOW and output Q HIGH.

25
Q

What happens if a HIGH is applied to inputs S and R at the same time?

A

If a HIGH is applied to inputs S and R at the same time, an illegal state exists. The outputs Q and Q cannot be determined.

26
Q

An application for the RS flip-flop is as a replacement for the ________.

A

An application for the RS flip-flop is as a replacement for the mechanical switch.

Mechanical switches physically vibrate or bounce several times before a solid contact is made. Bouncing of the switch causes voltage spikes that can affect digital circuit operation. The RS flip-flop acts as an electrical switch. There is no mechanical bounce produced by the flip-flop.

27
Q

The JK flip-flop is designed to store its last input conditions until _________.

A

The JK flip-flop is designed to store its last input conditions until the next input conditions are applied.

28
Q

RS flip-flops have __ inputs and __ outputs.

JK flip-flops have __ inputs and __ outputs.

A

RS flip-flops have 2 inputs and 2 outputs.

JK flip-flops have 5 inputs and 2 outputs.

29
Q

“CLK” is a label used to denote the ____. You may also see it labeled as CK, C, or CP.

A

Clock Input

30
Q

Like a traffic light synchronizes the movement of vehicles at an intersection, the clock of a flip-flop is used to ________.

A

synchronize the transfer of data through the flip-flop.

31
Q

As with the D-type flip-flop, the ___ and _____ inputs will override any other input conditions on the JK flip-flop. Regardless of the operation taking place, this will either SET or RESET the flip-flop.

A

PRESET and CLEAR

PRESET - A condition where a flip-flop’s outputs have Q HIGH and Q LOW. This condition may be considered as: PRESET = SET.

CLEAR - A condition where a flip-flop’s outputs have Q LOW and Q HIGH. This condition may be considered as: CLEAR = RESET.

32
Q

The J and K inputs of the flip-flop are ____ dependent. That is, no data on these inputs will be processed by the flip-flop unless the____ input has been satisfied. These are called ______ inputs.

A

The J and K inputs of the flip-flop are clock dependent. That is, no data on these inputs will be processed by the flip-flop unless the clock input has been satisfied. These are called synchronous inputs.

SYNCHRONOUS - Having a fixed time relationship. The output of a device changes state only at a specified point on a triggering input, such as a clock signal.

33
Q

If J=0 and K=1 when the negative edge of the clock pulse is applied, the Q output will go ____ and the Q output will go _____. The flip-flop will be in a _____ condition.

A

If J=0 and K=1 when the negative edge of the clock pulse is applied, the Q output will go LOW and the Q output will go HIGH. The flip-flop will be in a RESET condition.

34
Q

If J=1 and K=0 when the negative edge of the clock pulse is applied, the Q output will go ___ and the Q will go _____. The flip-flop will be in the _____ condition.

A

if J=1 and K=0 when the negative edge of the clock pulse is applied, the Q output will go HIGH and the Q will go LOW. The flip-flop will be in the SET condition.

35
Q

The final input possibility to be considered is when J and K are both HIGH. It is this condition that makes the JK flip-flop so important and unique. The truth table shows that under the J=1, K=1 condition, the Q and Q outputs will _________.

A

will reverse from whatever condition they were in prior to the clock pulse

36
Q

For as long as the J and K inputs are held HIGH, every time the clock input is pulsed, the outputs will _____.

A

For as long as the J and K inputs are held HIGH, every time the clock input is pulsed, the outputs will reverse.

37
Q

Fill in the missing outputs for the JK truth table.

A

Answer:

38
Q

The “toggle” condition can be created in other flip-flops by _________.

A

The “toggle” condition can be created in other flip-flops by cross-connecting their outputs to their opposing input(s).

39
Q

The symbol next to CLK indicates what?

A

The symbol on the clock (CLK) input indicates that the flip-flop is a positive edge triggered device.

40
Q
A