7-segment digit

Design a circuit that controls a 7-segment display to represent a BCD digit. The circuit has a BCD digit as input and 7 output functions that control the segments (the output must be 1 when the segment must be illuminated).

image

Specification

module bcd_seven_segment (digit, a, b, c, d, e, f, g);
    input [3:0] digit;
    output a, b, c, d, e, f, g;

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:18:29.785Z

© Jutge.org, 2006–2026.
https://jutge.org