Design a system which generates a 1 if (and only if) an odd number of buttons (ie 1 or 3) are being pressed.
Attempt (refer to attachment):
I dont understand why my attempt isnt right. I mean if you press both button 1 and 3 a '1' is produced and the unpressed button 2, produces a '1', as its '0' is inverted. As a result the AND-gate produces a logic 1.
Attempt (refer to attachment):
I dont understand why my attempt isnt right. I mean if you press both button 1 and 3 a '1' is produced and the unpressed button 2, produces a '1', as its '0' is inverted. As a result the AND-gate produces a logic 1.