sequential logic - flip flops Flashcards

(28 cards)

1
Q

What is a flip‑flop?

A

An edge‑triggered memory element that stores 1 bit of data.

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

How do flip‑flops differ from latches?

A

Flip‑flops are edge‑triggered

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

What triggers a flip‑flop?

A

A clock edge (rising or falling).

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

What is the purpose of the clock input?

A

Synchronises state changes across a digital system.

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

What is the output of a flip‑flop?

A

Q and Q̅ (complementary outputs).

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

What is the basic SR flip‑flop problem?

A

S = 1 and R = 1 is an invalid state.

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

What does the D flip‑flop eliminate?

A

The invalid SR condition by ensuring S = D and R = D̅.

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

What is the characteristic equation of a D flip‑flop?

A

Q(next) = D.

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

When does a D flip‑flop update?

A

Only on the active clock edge.

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

What is the purpose of a D flip‑flop?

A

Data storage, registers, synchronisation.

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

What is the JK flip‑flop?

A

A flip‑flop that eliminates the SR invalid state and allows toggling.

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

What is the characteristic equation of a JK flip‑flop?

A

Q(next) = JQ̅ + K̅Q.

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

What happens in a JK flip‑flop when J = 0 and K = 0?

A

No change.

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

What happens when J = 1 and K = 0?

A

Q is set to 1.

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

What happens when J = 0 and K = 1?

A

Q is reset to 0.

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

What happens when J = 1 and K = 1?

A

The flip‑flop toggles.

17
Q

What is the T flip‑flop?

A

A toggle flip‑flop derived from JK with J = K = T.

18
Q

What is the characteristic equation of a T flip‑flop?

A

Q(next) = Q̅ when T = 1, else Q(next) = Q.

19
Q

What is the purpose of a T flip‑flop?

A

Frequency division and counters.

20
Q

What is edge‑triggering?

A

The flip‑flop responds only at the instant of a clock edge.

21
Q

What is a rising‑edge trigger?

A

Flip‑flop updates on the 0→1 transition.

22
Q

What is a falling‑edge trigger?

A

Flip‑flop updates on the 1→0 transition.

23
Q

What is setup time?

A

Minimum time D must be stable BEFORE the clock edge.

24
Q

What is hold time?

A

Minimum time D must remain stable AFTER the clock edge.

25
Why are setup and hold times important?
Violations cause metastability or unpredictable output.
26
What is propagation delay?
Time between the clock edge and the output changing.
27
What is metastability?
A temporary unstable state caused by violating setup/hold times.
28
What is a flip‑flop used for in digital systems?
Registers, counters, memory, synchronisation, state machines