Sankalp.zx7
INITIALIZING LOGIC ENGINE... 0%
Sankalp.zx7 K-MAP LAB
Silicon Valley Grade Digital Logic & EDA Studio

⚡ Boolean & Minterm Engine

🧮 Interactive Karnaugh Map

Tap cell: 0 → 1 → X

📊 Live Truth Table

Click row to toggle output
Minimized SOP Expression (Hover term to cross-highlight)
Solving…

📝 Step-by-Step University Exam Solution

⚡ Live Logic Circuit & Electron Flow

🔬 Quine–McCluskey Prime Implicants & Universal Gates

📈 Static Hazard Analysis & Timing Waveforms

🎯 Exam Practice & Auto-Grader

🔥 Streak: 0

Simplify the given Boolean function into minimal SOP form, type your answer below, and verify against the Quine–McCluskey truth engine!

🔄 Flip-Flop Excitation & Conversion Lab

→

🔀 Multiplexer (4:1 & 8:1) Implementation Helper

Automatically maps your active Solver function F onto MUX data lines (I0, I1...) using MSB select lines.

1. Boolean Algebra Laws & De Morgan

LawAND formOR form
IdentityA·1 = AA+0 = A
NullA·0 = 0A+1 = 1
IdempotentA·A = AA+A = A
InverseA·A' = 0A+A' = 1
CommutativeAB = BAA+B = B+A
Associative(AB)C = A(BC)(A+B)+C = A+(B+C)
DistributiveA(B+C) = AB+ACA+BC = (A+B)(A+C)
AbsorptionA(A+B) = AA+AB = A

De Morgan: (A+B)' = A'·B' and (A·B)' = A' + B'. Break the bar, change the operator.

2. SOP vs POS

SOPPOS
FormOR of AND termsAND of OR terms
Canonical termMinterm m (output 1)Maxterm M (output 0)
NotationΣm(...)ΠM(...)
K-Map groupsAdjacent 1sAdjacent 0s
Literal ruleVariable=1 → A, 0 → A'Variable=0 → A, 1 → A'

Canonical → minimal: list minterms/maxterms, plot on the map, group, write each group, then OR (SOP) or AND (POS) the terms. Σm and ΠM of the same function use complementary index sets.

3. Gray Code & Adjacency

K-Map axes use 00, 01, 11, 10 so neighbouring cells differ in exactly one bit; that single change is what lets a group drop a variable.

  • Top row is adjacent to bottom row.
  • Left column is adjacent to right column.
  • All four corners are mutually adjacent (toroidal wrap-around).

4. Step-by-Step Solving Rules

  • Plot 1s for SOP, 0s for POS, and X for don't-cares.
  • Group sizes are powers of 2: Octet (8) eliminates 3 vars, Quad (4) eliminates 2, Pair (2) eliminates 1, Single (1) eliminates 0.
  • Make groups as large as possible; rectangles only, no diagonals.
  • Groups may overlap and may wrap around edges and corners.
  • Every 1 must be covered; drop any group whose cells are all covered by others (redundant).

5. Don't-Cares & Prime Implicants

  • Prime Implicant (PI): a group that cannot grow any larger.
  • Essential PI (EPI): the only PI covering some 1; it must appear in the answer.
  • Redundant implicant: every cell it covers is already covered by EPIs or other chosen terms.
  • X cells: treat as 1 only when that enlarges a group; never leave a group made only of Xs, and X cells need not be covered.

6. Static-1 & Static-0 Hazards

Static-1 hazard: output should stay 1 but glitches 1 → 0 → 1 when a single input change moves between two adjacent groups with unequal gate delays. Static-0 is the dual: 0 → 1 → 0 in POS circuits.

Fix: add a redundant consensus term that covers the two adjacent cells straddling the groups, so some product stays high throughout the transition. Example: AB + A'C gains + BC.

💬 Student & Faculty Feedback

⭐ 30 Verified Reviews