GustavoB wrote
I've made the OR chip, look:
CHIP OR {
IN a,b;
OUT out;
PARTS:
NOT(in=a,out=a1);
...
But it's not working. I'm trying to run the comparison script and it gives me a comparison failure at line 3. I've built the same chip on Logisim and it works. What am I doing wrong?
There is likely to be some problem with your NOT.hdl.
You should be naming your parts and files
exactly as they are in the book including character case. Windows in particular can get confused by case differences. When you get to more complex parts in chapter 3, you
must use the built-in parts because there is not enough memory for the simulator to handle the circuit complexity. There are hundreds of thousands of Nand gates in the larger RAMs.
[Please edit your post to remove the logically correct solution.]
--Mark