Re: Mux4Way16
Posted by WBahn on May 09, 2024; 7:06am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux4Way16-tp4037818p4037832.html
Then why is it there?
It just gets in the way of discussing your logic. The person reading your code assumes that it represents your logic, but if it is littered with abandoned code fragments, it makes it very hard to discern what that logic is, because they spend time chasing deadends.
It also makes it easy for you to end up chasing deadends.
So the best thing at this point is probably for you to take a few minutes to clean up your code, something that should be done periodically, anyway, so that we have a more focused starting point for our discussion.
At the same time that you are doing that, try to replace signal names such as 'out7' with names that convey the information carried by that signal. That will make it a LOT easier for everyone, yourself included, to understand the logic behind your code.