Digital Logic Exam 2 Study Guide (ELC 2337)

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

1/38

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering combinational logic blocks, adder circuits, bistable sequential elements, finite state machines, sequence detectors, and digital timing constraints.

39 Terms

1
New cards

2:1 Multiplexer

A combinational building block that selects one of two data inputs according to the equation Y=(NOT S)D0+SD1Y = (\text{NOT } S)D_0 + SD_1, where select S=0S=0 chooses D0D_0 and S=1S=1 chooses D1D_1.

2
New cards

Shannon Decomposition

A technique used to express a boolean function by using a chosen variable as a select input: F=(NOT S)F∣S=0+SF∣S=1F = (\text{NOT } S)F|_{S=0} + S F|_{S=1}, enabling logic realization via a multiplexer.

3
New cards

2-to-4 Decoder

A combinational circuit that takes a 2-bit address input A1A0A_1A_0 and asserts exactly one output among Y0Y_0 through Y3Y_3 corresponding to that binary input code.

4
New cards

Demultiplexer

A circuit conceptually created by taking a decoder that generates minterms and enabling its outputs with an incoming data signal.

5
New cards

4-to-2 Encoder

A logic circuit that reports the binary index of an active input under the assumption that only one input asserts, defined by A1=I3+I2A_1 = I_3 + I_2, A0=I3+I1A_0 = I_3 + I_1, and valid output V=I3+I2+I1+I0V = I_3 + I_2 + I_1 + I_0.

6
New cards

Valid Output (VV)

An auxiliary encoder output that distinguishes between a scenario where no input is asserted versus when input I0I_0 is asserted, both of which output binary code 0000.

7
New cards

Priority Encoder

An encoder equipped with a masking or priority stage that resolves contention by selecting the highest-priority input when multiple inputs assert simultaneously.

8
New cards

Equality Comparator

A circuit that detects matching bits between words by XNORing corresponding bit pairs and combining match terms with an AND gate; scanning from the MSB determines greater-than or less-than results.

9
New cards

Parity Logic

Combinational logic implemented by XORing all input bits together to output 11 whenever the total count of asserted ones is odd.

10
New cards

Tri-State Buffer

A bus driver that outputs high impedance (ZZ, not logical 00) when enable EN=0EN=0, and drives the wire when EN=1EN=1 to prevent bus conflicts.

11
New cards

BCD-to-Seven-Segment Converter

A decoding circuit that maps decimal digits 00 through 99 (encoded as 4-bit BCD) to control seven display segments, treating input patterns 1010 through 1515 as don't-care codes.

12
New cards

Half Adder

A basic arithmetic circuit producing a sum output S=A⊕BS = A \oplus B and a carry output C=ABC = AB.

13
New cards

Full Adder

An adder that incorporates an input carry, generating outputs S=A⊕B⊕CinS = A \oplus B \oplus C_{in} and Cout=AB+Cin(A⊕B)C_{out} = AB + C_{in}(A \oplus B), constructible from two half adders and an OR gate.

14
New cards

Ripple Carry Adder

An adder architecture where the carry-out CoutC_{out} of each 1-bit stage chains directly into the next stage's carry-in CinC_{in}, causing cumulative delay to grow with word width.

15
New cards

Carry Lookahead Adder

A fast adder architecture that computes carries in parallel using generate (Gi=AiBiG_i = A_i B_i) and propagate (Pi=Ai⊕BiP_i = A_i \oplus B_i) terms where Ci+1=Gi+PiCiC_{i+1} = G_i + P_i C_i.

16
New cards

Shared Add/Subtract Circuit

An arithmetic network that subtracts by XORing each bit of BB with a SUBSUB signal and asserting initial carry C0=SUBC_0 = SUB, evaluating A+(B⊕SUB)+SUBA + (B \oplus SUB) + SUB to produce A+NOT B+1=A−BA + \text{NOT } B + 1 = A - B when SUB=1SUB=1.

17
New cards

Sequential Logic

Logic circuits where output values and internal state depend not only on current inputs but also on stored history.

18
New cards

Feedback (in Memory)

A topological loop that sustains one of multiple stable internal states; unstable feedback prevents circuits from settling to a valid stored value.

19
New cards

Active-High NOR S-R Latch

A basic latch where inputs S=1,R=0S=1, R=0 set Q=1Q=1; S=0,R=1S=0, R=1 reset Q=0Q=0; S=R=0S=R=0 holds current state; and S=R=1S=R=1 represents an invalid condition.

20
New cards

Active-Low NAND S'-R' Latch

A latch driven by inverted inputs where S′=0,R′=1S'=0, R'=1 sets; S′=1,R′=0S'=1, R'=0 resets; S′=R′=1S'=R'=1 holds; and S′=R′=0S'=R'=0 is an invalid condition.

21
New cards

D Latch

A level-sensitive bistable storage element that transparently follows input DD while enable is active, and holds its value when enable is inactive.

22
New cards

D Flip-Flop

An edge-triggered storage element that captures and transfers input DD to its output QQ strictly upon the arrival of an active clock transition edge.

23
New cards

Clock Inversion Bubble

A notation bubble on a flip-flop clock input indicating negative-edge triggering, meaning data DD is captured on the falling clock edge.

24
New cards

Finite State Machine (FSM)

A sequential system model composed of a current state stored in flip-flops, external inputs, next-state transitions, and outputs.

25
New cards

Moore Output

An FSM output that depends strictly and solely on the current state of the machine.

26
New cards

Mealy Output

An FSM output that depends simultaneously on both the current state and the current input conditions.

27
New cards

Binary State Assignment

A state encoding scheme requiring at least ⌈log⁡2(N)⌉\lceil \log_2(N) \rceil flip-flops to represent NN unique states.

28
New cards

Present State (QQ) vs. Next State (DD)

The state bits QQ correspond to the present state values provided by flip-flop outputs, while DD bits represent next state values fed into flip-flop data inputs.

29
New cards

One-Hot Encoding

An FSM state assignment scheme utilizing one dedicated flip-flop per state, where exactly one state variable QQ is asserted (11) at any time.

30
New cards

Hidden Loopbacks

Self-transitions added to an FSM state for input combinations not explicitly covered by outgoing transition arrows, maintaining state hold conditions according to specification.

31
New cards

Sequence Detector State

A representation within a pattern-matching FSM indicating how much of the target sequence has been matched so far, including any useful suffix that is also a prefix.

32
New cards

Overlapping Match

A sequence detection property wherein the end suffix of an already identified pattern serves as the leading prefix of the subsequent match without returning directly to the initial state.

33
New cards

Setup Time (tsut_{su})

The minimum required duration for which input data DD must remain completely stable prior to the capturing clock edge.

34
New cards

Hold Time (tht_h)

The minimum required duration for which input data DD must remain completely stable following the capturing clock edge.

35
New cards

Decision Window

The critical temporal interval bounded by [edge−tsu,edge+th][\text{edge} - t_{su}, \text{edge} + t_h]; input transitions within this region result in setup or hold violations.

36
New cards

Clock-to-Q Delay (tcot_{co})

The propagation delay that elapses between the active clock edge arrival and the subsequent update of the flip-flop output QQ.

37
New cards

Propagation Delay (tpdt_{pd})

The time needed for combinational logic signals situated between sequential flip-flop stages to settle after an input change.

38
New cards

Setup Timing Budget

The period relationship T=tco+tpd+tslack+tsuT = t_{co} + t_{pd} + t_{\text{slack}} + t_{su}, where setup margin is calculated as Slack=T−(tco+tpd+tsu)\text{Slack} = T - (t_{co} + t_{pd} + t_{su}) and negative slack denotes failure.

39
New cards

Minimum Clock Period (TminT_{min}) and Maximum Frequency (fmaxf_{max})

The smallest allowable period Tmin=tco+tpd+tsuT_{min} = t_{co} + t_{pd} + t_{su} and corresponding highest operating frequency fmax=1Tminf_{max} = \frac{1}{T_{min}}, where with nanoseconds fmax (in MHz)=1000Tmin (in ns)f_{max}\text{ (in MHz)} = \frac{1000}{T_{min}\text{ (in ns)}}.