Re: DMux4Way Error

Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/DMux4Way-Error-tp4025116p4025117.html

If you look at the difference between the compare output and your output, you will see that the test failure is when sel=01 and your c outout is true instead of the expected b output.  This suggests that your use of sel[0] and sel[1] is backwards.

Note that bus indexes go from right to left -- the reverse of what you may be used to for array indexes.

--Mark