Having a hard time with this one, not sure what I am doing wrongbut i know its not right.
Work Design Problem 1, except use 4-2-1-8 code instead of8-4-2-1 code. For example, in 4-2-1-8 code, 9 is represented by0011. Also, change the representations of digits 6 and 9 to theopposite form given in Problem 1. Any solution with 20 or fewergates and inverters (not counting the four inverters for theinputs) is acceptable.

Problem 1
Design an 8-4-2-1 BCD code converter to drive a seven-segmentindicator. The four
PayPal Gateway not configured
PayPal Gateway not configured