So, I have built the not, and, and or gates, and all of them pass the test, but when i go back and check my eval for any of the gates i find that when i plug in a=1, b=1 in any of the nand gates it still outputs a 1. So, going backwards as i was writing this post I realized by Not gate is not implementing correctly, it provides an inverse if the input is 0, but not if the input is 1(a=1: Not(in=a, out=nota); I still get 1 for nota). Is there something obvious i'm just missing, I've checked my code and I'm pretty sure it's right. here it is just in case but. . . .
Are you talking about failures in the test scripts, or odd behavior in the Hardware Simulator when you manually change values and hit eval? If your parts are passing the tests, don't worry about odd manual behavior.
These problems are usually caused by chip inputs that aren't connected anything, or part outputs that aren't connected to anything. For instance in your XOR you have "out=o3" which leaves the wire "o3" not connected to anything, and leaves the XOR's "out" not connected to anything.
Well, it's not that I'm changing any values, when i run the test script(on the And gate) it evaluates correctly for a=0,b=0; a=1,b=0; a=0,b=1;, but for a=1,b=1, the Nand gate I used in the file doesn't return the 0 I need, so even though it then goes through a functioning Not gate the And gate itself never returns a value of 1. So anything i use that and gate in will be wrong.