Seven-segment display (source code)

= Seven-segment display
{wiki}

A display whose seven separately controlled bars can form digit shapes. A <combinational logic> decoder maps an encoded digit to seven output <bits>. Active-high versus active-low control and the required behaviour for unused input codes belong to the decoder's specification.