Re: Not16 failure in building the ALU
Posted by Becca on Nov 01, 2012; 9:44pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Not16-failure-in-building-the-ALU-tp4025519p4025523.html
Hi Mark,
To try and identify the problem, I actually cut everything out of my ALU program except for the Not16 gate ( Not16(in=x, out=notx);). I am testing it by reloading the file in the Hardware Simulator and then running the test file. It evaluates notx as -1 when x is 0 (as it should), but continues to output notx as -1 even when x is changed (in the test) to 17.
If you still think it would be helpful, I would happy to send you my ALU program. I know it's very unlikely that the Not16 implementation would be failing, but am not sure what else might be going on.
Thanks again!
Becca