I'm trying to design a simple circuit that would display a digit from 1-5 on a 7-segment LED display. I just need the logic gate layout (using AND, NAND, OR, NOR, XOR, XAND, etc.)

I have four logic inputs, A, B, C, & D. Output is a 7-segment LED display.

The truth table are as follows:

Format:
ABCD = Output Display [1-5]

1110 = "1"
0101 = "2"
0010 = "3"
1000 = "4"
1011 = "5"
Any other value combinations, the 7-segment display should be blank (off).

As can be seen, it needs more than just a BCD to 7-segment display decoder.

All I need is the logic gate layout. I can work on the acquisition of the parts as well as assembly. It would also help if you can refresh me on how you came up with the solution.

Thanks!