Assembly Test 2

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/48

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

49 Terms

1
New cards

What is a Karnaugh map used for?

To simplify Boolean expressions by visually grouping adjacent 1s in a truth table.

2
New cards

What is the goal of K-map simplification?

To find the simplest Boolean expression (fewer logic gates → faster, cheaper circuit).

3
New cards

What size can K-map groups be?

Powers of 2 (1, 2, 4, 8, 16, …).

4
New cards

Can groups overlap in a K-map?

Yes, overlapping is allowed if it helps make larger groups.

5
New cards

Can groups wrap around edges of the K-map?

Yes — K-maps wrap around left–right and top–bottom

6
New cards

What does each group represent?

One simplified product term (AND term) where variables that change are eliminated.

7
New cards

What is a “don’t care” condition?

Input combinations that never happen or whose output doesn’t matter; you can include them in groups to simplify further.

8
New cards

What is “Sum of Products” (SOP)?

A Boolean expression written as an OR of AND terms (e.g., F=A′B+ACF = A'B + ACF=A′B+AC).

9
New cards

What is “Product of Sums” (POS)?

A Boolean expression written as an AND of OR terms (e.g., F=(A+B)(A′+C)F = (A+B)(A'+C)F=(A+B)(A′+C)).

10
New cards

What’s a combinational circuit?

A circuit whose outputs depend only on the current inputs (no memory).

11
New cards

Half-adder function?

Sum = A ⊕ B; Carry = A·B

12
New cards

Full-adder function?

Sum = A ⊕ B ⊕ Cin; Carry = AB + ACin + BCin

13
New cards

What does a subtractor do?

Performs binary subtraction; often implemented as A + (~B + 1).

14
New cards

What’s an adder-subtractor circuit?

Adds or subtracts depending on a control bit that inverts B and sets carry-in = 1 for subtraction.

15
New cards

What is a multiplexer (MUX)?

A circuit that selects one of many inputs to pass to the output based on select lines.

16
New cards

How many input lines does a MUX have with n select lines?

2^n input lines.

17
New cards

What is a decoder?

A circuit that converts n inputs into 2n2^n2n unique outputs, with only one output high at a time.

18
New cards

What’s the difference between half-comparator and full-comparator?

Half compares 1-bit inputs; full compares multi-bit values (greater, equal, less).

19
New cards

What makes a sequential circuit different?

It has memory; outputs depend on current inputs and previous state.

20
New cards

What provides memory in sequential circuits?

Feedback loops using latches or flip-flops.

21
New cards

What is a clock in digital circuits?

A timing signal that synchronizes state changes.

22
New cards

Rising edge vs falling edge?

Rising = low→high transition; Falling = high→low transition.

23
New cards

What is a latch?

A level-triggered storage device (transparent when enable is active)

24
New cards

What is a flip-flop?

An edge-triggered storage device that changes only on a clock edge.

25
New cards

Difference between latch and flip-flop?

Latch = level sensitive; Flip-flop = edge sensitive.

26
New cards

SR flip-flop truth table?

S=1,R=0 → Set (Q=1)
S=0,R=1 → Reset (Q=0)
S=0,R=0 → Hold
S=1,R=1 → Invalid

27
New cards

JK flip-flop modification?

Handles SR’s invalid state by toggling when J=K=1

28
New cards

JK flip-flop truth table?

J=0,K=0 → Hold
J=0,K=1 → Reset
J=1,K=0 → Set
J=1,K=1 → Toggle

29
New cards

D flip-flop behavior?

Q(next) = D (just stores input value on clock edge)

30
New cards

What does an excitation table show?

What inputs are needed to cause a desired change from current Q to next Q.

31
New cards

What is a Mod-N counter?

A counter that counts from 0 to N−1 then resets to 0.

32
New cards

How many flip-flops for a Mod-N counter?

Enough so 2^n ≥ N; n flip-flops needed.

33
New cards

What are the design steps for a JK counter?

  • Write state table (current → next).

  • Use excitation table to find required J and K for each flip-flop.

  • Simplify each J and K with K-maps.

  • Draw circuit.

34
New cards

Example: 3-bit Mod-7 counter — how many states?

7 states (000→110), reset after 111.

35
New cards

What is a register?

A group of flip-flops used to store multi-bit data.

36
New cards

What is an 8-bit register?

8 flip-flops that can store an 8-bit word

37
New cards

What control signals might a register have?

Load (store data), Clear/Reset (set to 0), Enable.

38
New cards

How is a register built with D flip-flops?

Each flip-flop’s D input connects to one data bit; all share the same clock and load control.

39
New cards

What is a bus?

A set of shared wires for transferring data, addresses, or control signals between components.

40
New cards

Advantages of buses?

Reduces wiring, easy to add devices.

41
New cards

Disadvantages of buses?

Only one device can use the bus at a time; limited bandwidth.

42
New cards

What determines bus transfer rate?

Data width × clock rate.

43
New cards

32-bit data bus at 2 GHz → transfer rate?

64 Gbit/s = 8 GB/s ≈ 7.45 GiB/s

44
New cards

What are the three main system buses?

Data Bus, Address Bus, Control Bus.

45
New cards

Data Bus function?

Carries actual data between CPU, memory, and peripherals

46
New cards

Address Bus function?

Carries memory or I/O addresses for reads/writes.

47
New cards

Control Bus function?

Carries timing and control signals (read/write, interrupt, etc)

48
New cards

What is a tri-state buffer?

Output can be 0, 1, or high-impedance (Z) so multiple devices can safely share the same bus.

49
New cards

16-bit address bus can access how much memory?

2^16 = 65,536 bytes = 64 KiB