Investigation of a BCD to 7-segment decoder