Codiode
All tracks
Circuit Lab · Beginner

Gate-Level Logic

Master every fundamental gate and simplification technique. From truth tables to K-maps, learn to minimize any Boolean function.

PrerequisitesDigital Foundations
What you will learn

Gates are the atoms of digital design. This track covers:

  • AND, OR, NOT, NAND, NOR, XOR, XNOR
  • Universal gate circuits using only NAND or only NOR
  • Multi-level gate circuits
  • Simplification using Boolean algebra
  • Karnaugh maps up to 6 variables with don't-care conditions
  • Static and dynamic hazard identification
62 problems in 9 sections
62 problems in 9 sections
Section 1

Reading Gate Circuits (Circuit to Expression)

5
01Extract Expression from a Two-Level AND-OR Circuit with Fan-OutAnalyze10 GE02Extract Expression from a Two-Level NAND-NAND CircuitAnalyze10 GE03Extract Expression from a Three-Level Circuit with Mixed Gate TypesAnalyze15 GE04Identify the Function Computed by a Multi-Level NAND Circuit Using Bubble PushingAnalyze15 GE05Determine Whether Two Different Circuits Implement the Same FunctionAnalyze25 GE
Section 2

Building Circuits from Expressions

6
06Three-Term SOP with Single LiteralBuild10 GE07Build F = A(B + C) from Factored FormBuild10 GE08Build the Circuit for F = (A+B)(C+D)(E+F) Under a Two-Input Gate ConstraintBuild15 GE09Shared Subexpression: F1 = AB + C, F2 = AB + DBuild25 GE10Identify the Subexpression Shared Between Two Output Paths in a Multi-Output CircuitAnalyze25 GE11Two-Input OR Gate Using Only Two-Input NAND GatesBuild10 GE
Section 3

NAND-Only Universal Gate Implementation

2
12Three-Variable Majority Function Using Only NAND GatesBuild25 GE13Analyze a NAND-Only Circuit and Identify the Function Using Bubble CancellationAnalyze25 GE
Section 4

NOR-Only Universal Gate Implementation

3
14Two-Input AND Gate Using Only Two-Input NOR GatesBuild10 GE15XNOR Using Only NOR GatesBuild15 GE16Given the NAND-Only XOR Circuit, Construct the NOR-Only XNOR Circuit Using DualityAnalyze25 GE
Section 5

Multi-Level Circuit Optimization

5
17Implement ABCD Using Only Two-Input Gates with Minimum Circuit DepthBuild10 GE18Count Gate Levels and Identify the Critical Path in a Three-Level CircuitAnalyze10 GE19Implement (A+B+C)(A+B+D) by FactoringBuild15 GE20Build the Same Function in Both Minimum-Gate and Minimum-Depth Versions and CompareBuild25 GE21Three-Level Factored Logic vs Two-Level SOP DelayAnalyze25 GE
Section 6

Karnaugh Maps 2 and 3 Variables

6
22Two-Variable K-Map: Identify All Groups Including the All-Ones CaseAnalyze10 GE23Three-Variable K-Map with a Left-Right Edge Wrapping GroupAnalyze10 GE24Three-Variable K-Map: Minimal SOP vs Minimal POSAnalyze15 GE25Three-Variable K-Map: Isolated MintermsAnalyze15 GE26Three-Variable K-Map: Verify a Claimed Minimal SOPDebug15 GE27Three-Variable K-Map with Don't-CaresAnalyze15 GE
Section 7

Karnaugh Maps 4 Variables

14
28Four-Variable K-Map: Group That Wraps Across the Top-Bottom BorderAnalyze10 GE29Four-Variable K-Map: The Four-Corner GroupAnalyze15 GE30Three-Variable K-Map: Identify Prime Implicants and Essential Prime ImplicantsAnalyze15 GE31Four-Variable K-Map: Minimal SOP Has More Terms Than Minimal POSAnalyze15 GE32Four-Variable K-Map with Don't Cares: Optimal Use Reduces One Prime ImplicantAnalyze15 GE33Four-Variable K-Map: Three Overlapping Prime Implicants Where One Is RedundantAnalyze15 GE34Four-Variable K-Map: Checkerboard PatternAnalyze25 GE35Four-Variable K-Map: Reconstruct the Truth Table from a Given Minimal SOPAnalyze15 GE36Four-Variable K-Map: Multi-Output Minimization Identifying Shared Product TermsAnalyze25 GE37Four-Variable K-Map: Essential Group of 2 That Cannot Be Replaced by Any Larger GroupAnalyze25 GE38Four-Variable K-Map: Basic Grouping with a Group of 8Analyze10 GE39Four-Variable K-Map: Two Valid Minimal Covers ExistAnalyze25 GE40Four-Variable K-Map: Group of 8 in One Half Reduces to Single LiteralAnalyze10 GE41Four-Variable K-Map: Minimize F' Instead of F When F Has More 1-CellsAnalyze25 GE
Section 8

Karnaugh Maps 5 and 6 Variables

4
42Five-Variable K-Map: Cross-Fold AdjacencyAnalyze15 GE43Five-Variable K-Map: Find a Minimal SOP with Both Within-Half and Cross-Fold GroupsAnalyze25 GE44Five-Variable K-Map: Classify Cell PairsAnalyze25 GE45Six-Variable K-Map: Structure, Limits, and When to Use Algorithmic MinimizationAnalyze25 GE
Section 9

Hazard Analysis and Fixing

17
46Identify a Static-1 Hazard from a K-MapAnalyze15 GE47Trace the Glitch Through a Circuit: Which Gate Path Causes the Static-1 HazardAnalyze15 GE48Fix a Static-1 HazardBuild15 GE49Identify a Static-0 Hazard from the POS K-MapAnalyze25 GE50Determine Whether a Dynamic Hazard Is Possible in a Given CircuitAnalyze25 GE51Identify a Static Hazard GlitchTiming25 GE52Unconnected Input PortsDebug10 GE53Unknown X Literals PropagationAnalyze25 GE54Equality versus Case EqualityAnalyze25 GE55Logical Operator Short CircuitingAnalyze15 GE56The Missing Else LatchDebug10 GE57The Partial Assignment LatchDebug15 GE58Constant Folding VerificationAnalyze15 GE59Operator Precedence HardwareAnalyze15 GE60Case Equality Operator SynthesisAnalyze25 GE61Combinational Feedback LoopDebug15 GE62Multiple Driver Resolution FailureDebug15 GE