Using 3-8 Demux and two logic gates, make a circuit that received 4 bits and returns 1 if the number of 1's is odd and else returns 0.
My try:
Using truth table, we get that the desired function is: $$f=a'b'c'd+a'b'cd'+a'bc'd'+a'bcd+ab'c'd'+ab'cd+abc'd+abcd'$$
Please any help or direction.