AND Gate

The AND gate outputs HIGH only when ALL inputs are HIGH - like switches in series.

The AND gate outputs HIGH (1) only when all of its inputs are HIGH. If any input is LOW, the output is LOW. Think of it like a series circuit with two switches: the light only turns on when both switches are closed.

Objectives

  • Understand the AND gate truth table for 2, 3, and more inputs
  • Recognize AND gate schematic symbols
  • Write Boolean expressions using AND notation
  • Apply AND gates for enabling and gating signals
  • Use AND for bit masking operations

Key Takeaways

  • AND outputs HIGH only when ALL inputs are HIGH
  • Notation: A · B, AB, A & B, A AND B
  • Behaves like switches in series
  • Any single 0 in inputs makes output 0
  • Common IC: 74HC08 (four 2-input AND gates)
  • Used for enabling signals, address decoding, bit masking

Applications

  • Enable/Gating: Pass or block a signal based on enable input
  • Coincidence Detection: Detect when multiple events happen simultaneously
  • Address Decoding: Select memory locations when all address bits match
  • Bit Masking: Extract specific bits by ANDing with a mask

Practice Problems

Problem 1: What is 1 AND 0?

Problem 2: How many rows have output=1 for a 4-input AND?

Problem 3: Simplify A · A · A