Sequential Logic and Latches

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering the fundamentals of sequential and combinational logic, NOR and NAND SR latches, state tables, and latch priority design.

21 Terms

1
New cards

Sequential logic

Logic whose output depends on the current inputs AND the history of inputs/outputs (stored state), requiring a memory element.

2
New cards

Combinational logic

Logic whose output depends ONLY on the current inputs, having no memory and no feedback.

3
New cards

General form of sequential logic

The four-part structure consisting of: external input A→A \rightarrow combinational logic →\rightarrow external output ZZ; next state YY goes into memory; memory feeds present state yy back into the logic.

4
New cards

Present state yy vs. Next state YY

yy is the internal input representing what memory holds now; YY is the internal output representing what the logic computes to store next.

5
New cards

Asynchronous sequential circuit

A sequential circuit whose output updates as soon as the inputs change without a clock, such as the SR latch.

6
New cards

Synchronous sequential circuit

A sequential circuit whose output and stored state update only when a clock enables it.

7
New cards

Cross-coupled inverters

A bistable circuit that holds DD or D′D' forever and serves as the basis of SRAM (cache), but cannot be written to because it has no inputs.

8
New cards

Three requirements of a latch / memory cell

1) Write a 1 regardless of contents; 2) write a 0 regardless of contents; 3) read the stored value without altering it (hold).

9
New cards

Q(t)Q(t) and Q(t+1)Q(t+1)

Q(t)Q(t) (or Q(old)Q(\text{old})) is the current state stored right now; Q(t+1)Q(t+1) (or Q(new)Q(\text{new})) is the next value of QQ after inputs act on it.

10
New cards

NOR rule

Output is 1 only if ALL inputs are 0; any input of 1 forces the output to 0.

11
New cards

NAND rule

Output is 0 only if ALL inputs are 1; any input of 0 forces the output to 1.

12
New cards

NOR SR latch states

S=0,R=0S=0, R=0 holds (Q(t+1)=Q(t)Q(t+1) = Q(t)), S=1,R=0S=1, R=0 sets (Q=1,Q′=0Q=1, Q'=0), S=0,R=1S=0, R=1 resets (Q=0,Q′=1Q=0, Q'=1), and S=1,R=1S=1, R=1 is invalid (XX) forcing Q=Q′=0Q=Q'=0.

13
New cards

Active-LOW inputs

Inputs, such as those on a NAND latch, where the input that is 0 is the one actively doing the work.

14
New cards

NAND SR latch states

S′=1,R′=1S'=1, R'=1 holds, S′=0,R′=1S'=0, R'=1 sets (Q=1Q=1), S′=1,R′=0S'=1, R'=0 resets (Q=0Q=0), and S′=0,R′=0S'=0, R'=0 is invalid (XX) forcing Q=Q′=1Q=Q'=1.

15
New cards

Hold input condition (NOR vs. NAND)

A NOR latch holds at S=R=0S=R=0, whereas a NAND latch holds at S′=R′=1S'=R'=1.

16
New cards

Input release rule (NOR latch)

When released from S=R=1S=R=1, the input released last wins (e.g., if RR drops first then SS drops, RR dropping sets Q=1Q=1 and SS dropping holds it, making final Q=1Q=1).

17
New cards

State table row count

Given by the formula 2number of inputs2^{\text{number of inputs}}, which counts the external inputs plus the current state if listed.

18
New cards

XNOR gate

A gate with a double curved back line and a bubble at the output, producing an output of 1 when both inputs are the same and 0 when they are different.

19
New cards

Priority gating (preventing S=R=1S=R=1)

A design method of gating one input with the inverse of the other to prevent invalid states, such as S=MS = M and R=K×M′R = K \times M' for set priority, or R=HR = H and S=L×H′S = L \times H' for reset priority.

20
New cards

Alarm circuit (set priority)

A circuit where MM wins when M=K=1M=K=1, with latch inputs S=MS = M, R=K×M′R = K \times M', and next state equation L(t+1)=M+K′×L(t)L(t+1) = M + K' \times L(t).

21
New cards

Pump circuit (reset priority)

A circuit where HH wins when L=H=1L=H=1, with latch inputs R=HR = H, S=L×H′S = L \times H', and next state equation P(t+1)=H′×(L+P(t))P(t+1) = H' \times (L + P(t)).