Seven Segment display output problem
It's not clear why you're going via BCD. Just create the combinational logic directly.







simulate this circuit &ndash; Schematic created using CircuitLab

Figure 1. Pressing a switch turns on the segments connected by small signal diodes.