Login  Register

Re: ALU - Can't connect gate's output pin to part

Posted by cadet1620 on Apr 08, 2013; 11:14pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Can-t-connect-gate-s-output-pin-to-part-tp4026625p4026629.html

If you are still getting the "Can't connect gate's output pin to part" message, then you have not created the extra out= connection, or you are not using the internal wire you also connected to the output.

You must do this on the part that generates the ALU's output, i.e., the part that has the  "out=out" connection. This part will need some more "out=" connections so that you can create the status signals. One of the additional connections can directly connect to the ng output; you don't need any extra logic for ng.

[Your followup just came in]

You don't want to add "out=out" to the errant lines.  You need to change what's connected to sel from "out[0]" to an internal wire.

--Mark