159 M segments

159 : M segments

picture

How it works

AND gates connect to the 7 segment display

How to test

Turning on the first 4 inputs will show a 3 on the display

IO

# Input Output
0 input 1 segment a
1 input 2 segment b
2 input 3 segment c
3 input 4 segment d
4 none segment e
5 none segment f
6 none segment g
7 none dot