Re: Mux4Way16
Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux4Way16-tp4029424p4029452.html
To understand why the second version is correct, you need to know that hardware bits are numbered from right to left. This is so that when a bus is carrying a binary number, bus[n] is the 2^n-weighted bit of the number.
[After your problem is resolved, please edit you post to remove the working code; we want students to discover their own solutions.]
--Mark