Re: Mux gate
Posted by WBahn on Mar 16, 2021; 6:04pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux-gate-tp4035833p4035852.html
No signal can be 0 and 1 simultaneously (this isn't quantum computing!).
Your 'sel' and 'notsel' are mutually exclusive -- one of them is a 0 and the other is a 1. When you And them with their respective inputs, the one that is 0 forces the output of that channel to be 0 regardless of the value of the input. If one input to an Or or an Xor is 0, then the output is equal to the other input. Hence they become equivalent in this instance.