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

Don't-Care Conditions in Canonical SOP

MediumLogic CircuitAnalyze

Binary-coded decimal (BCD) systems represent decimal digits using four-bit binary values, leaving six potential states unused in actual hardware.

A BCD digit detector takes a four-bit input consisting of A, B, C, and D, representing a value from decimal 0 to 15. The circuit drives an output Y high when the input is decimal 0, 1, or 2. Inputs representing decimal 10 through 15 will never occur in normal operation.

Determine the canonical Sum of Products (SOP) expression for Y using sigma minterm notation and identify how the unused states impact the final logic implementation.

Constraints

  • Inputs are labeled A, B, C, D where A is the most significant bit.
  • The output Y is strictly 1 for decimal 0, 1, and 2.
  • The output Y is strictly 0 for all other valid BCD inputs.
  • The output Y is undefined for inputs 10 through 15.

Topics

bcdsopcanonicaldont-care

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