Codiode

Hexadecimal to 7-Segment Decoder

HardLogic CircuitBuild

Debug interfaces, memory monitors, and embedded displays rely on hexadecimal readouts to represent full byte values compactly. The hex to 7-segment decoder maps a 4-bit binary nibble to its corresponding alphanumeric character, driving active-high segments for digits 0-9 and letters A-F.

in3 in2 in1 in0 a b c d e f g Note
0 0 0 0 1 1 1 1 1 1 0 0
0 0 0 1 0 1 1 0 0 0 0 1
0 0 1 0 1 1 0 1 1 0 1 2
0 0 1 1 1 1 1 1 0 0 1 3
0 1 0 0 0 1 1 0 0 1 1 4
0 1 0 1 1 0 1 1 0 1 1 5
0 1 1 0 1 0 1 1 1 1 1 6
0 1 1 1 1 1 1 0 0 0 0 7
1 0 0 0 1 1 1 1 1 1 1 8
1 0 0 1 1 1 1 1 0 1 1 9
1 0 1 0 1 1 1 0 1 1 1 A
1 0 1 1 0 0 1 1 1 1 1 b
1 1 0 0 1 0 0 1 1 1 0 C
1 1 0 1 0 1 1 1 1 0 1 d
1 1 1 0 1 0 0 1 1 1 1 E
1 1 1 1 1 0 0 0 1 1 1 F

Constraints

  • Combinational logic only.
  • No sequential elements or clocks.
  • Implement all 16 input states precisely as defined in the truth table.

Topics

combinationaldecoder7-segmenthex

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.

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.

Part of Combinational Building Blocks

Problem 37 of 42 in the Combinational Building Blocks track.

Related problems

Browse all problems · Digital logic design practice problems · Learning tracks

Solve this on a laptopSend yourself the link and continue there.