Re: Mux4way16 problem

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux4way16-problem-tp4035690p4035696.html

So now look at your code and walk it through, by hand, with sel = '100' and write down what all of the signals are.

Note that if an input to a chip is N-bits wide, then if you don't have N-bits connected to it you can get very strange behavior because the simulator doesn't know what the value of that signal is. The same, by the way, is true on a real chip, even to the extent of possibly destroying the chip.