←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Diagrams

Diagrams

Visual representations for Unit 2

Half Adder Logic Circuit

Half Adder Logic Circuit
Inputs (A, B) → XOR Gate → Sum (S)
Inputs (A, B) → AND Gate → Carry (C)
Explanation
  • The XOR gate produces the sum of two input bits.
  • The AND gate produces the carry when both inputs are one.
Detailed Notes →Quick Revision →

Data Routing Circuits at a Glance

Data Routing Circuits at a Glance
Multiplexer (MUX)
2ⁿ → 1 (Data Selector)
Takes many input lines and connects only one to the output line.
Demultiplexer (DEMUX)
1 → 2ⁿ (Data Distributor)
Takes one input line and routes it to one of many output lines.
Decoder
n → 2ⁿ (Code Expander)
Reads an n-bit binary code and turns ON one specific output line.
Encoder
2ⁿ → n (Code Compressor)
Takes an active input line and compresses it into a binary number.
Explanation
  • A multiplexer selects one input and a demultiplexer selects one destination.
  • An encoder produces a code and a decoder activates an output for a code.
Detailed Notes →Quick Revision →

Latch vs. Flip-Flop Distinction

Latch vs. Flip-Flop Distinction
Latch (Level-Triggered)
Output changes continuously as long as the clock signal stays HIGH. It is sensitive to electrical noise.
Flip-Flop (Edge-Triggered)
Output changes ONLY at the exact jumping instant (Rising edge ↑ or Falling edge ↓). Highly stable.
Explanation
  • A latch responds during its active enable level.
  • An edge-triggered flip-flop captures its input at a clock transition.
Detailed Notes →Quick Revision →

4-Bit Parallel Load Register Architecture

4-Bit Parallel Load Register Architecture
When LOAD = 0
A 2-to-1 MUX feeds output Q right back into input D. The register holds its current value safely (No change).
When LOAD = 1
The 2-to-1 MUX passes new data from outside into input D. All 4 bits load in parallel at the same clock tick!
Explanation
  • Each flip-flop stores one bit of the input word.
  • A common load signal and clock let the bits enter together.
Detailed Notes →Quick Revision →

The Four Shift Register Configurations

The Four Shift Register Configurations
1. SISO
Serial-In Serial-Out
Data enters bit-by-bit and leaves bit-by-bit. Slowest; used for delays.
2. SIPO
Serial-In Parallel-Out
Data enters bit-by-bit and reads out all at once. Used in serial converters.
3. PISO
Parallel-In Serial-Out
Data loads all at once and transmits one bit at a time. Used in USB/COM ports.
4. PIPO
Parallel-In Parallel-Out
Loads all at once and outputs all at once. Fastest; used inside CPU registers!
Explanation
  • Serial transfer moves one bit at a time while parallel transfer moves several together.
  • The input and output choices give SISO, SIPO, PISO and PIPO registers.
Detailed Notes →Quick Revision →

Asynchronous Ripple Cascade

Asynchronous Ripple Cascade
Clock → FF 0 (Q₀)
→ Clock of FF 1 (Q₁)
→ Clock of FF 2 (Q₂)
→ Clock of FF 3 (Q₃)
Explanation
  • The first stage receives the external clock and later stages respond to earlier outputs.
  • Their delays accumulate as the change ripples along the counter.
Detailed Notes →Quick Revision →