Login  Register

How to get ng in ALU?

Posted by BLOB on Apr 29, 2012; 7:21am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/How-to-get-ng-in-ALU-tp3947873.html

This is a simple problem but having problem with syntax...

In ALU, if out[15] is equal to 0, then ng is also zero else it is 1 right?

So, To get ng output, I made And Gate like this
And (a=out[15], b=out[15], out=ng);

But, I am getting some error telling "Can't connect gates output to pin to part...... " (cant read the full error msg)

Why am i getting this error and how to fix this?