CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Combinational Logic

Four-Variable K-Map: Reconstruct the Truth Table from a Given Minimal SOP

MediumLogic CircuitAnalyze

Hardware verification often requires working backward from an optimized netlist to prove equivalence against the original specification.

A logic synthesizer produces the minimal Sum-of-Products (SOP) expression F = A'B + BC'D + AB'CD. The inputs are A, B, C, and D, ordered from most significant bit to least significant bit.

Expand this minimal expression into its canonical minterm list. Identify which specific input combinations satisfy each product term and resolve any overlaps to reconstruct the complete truth table.

Constraints

  • Minterms are numbered 0 through 15 based on the binary value of ABCD.
  • Overlapping minterms must only be counted once in the final truth table.
  • Assume standard positive logic where an unprimed variable represents a 1 and a primed variable represents a 0.

Topics

Boolean AlgebraSOPK-MapsTruth Tables

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Hex Nibble to BinaryEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Full Adder from Half AddersEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy

Browse all problems · Learning tracks