Login  Register

Unable to load chip

Posted by Alexei234 on Jan 13, 2011; 3:06am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Unable-to-load-chip-tp2246020.html

 This is probably silly, but can someone like, look at this and correct whatever it is that I did wrong? I keep getting an error message that I can't read all the way. I'm a fairly low-level computer person in that I haven't taken any classes or anything. So like, explain it so a stupid person could understand.

This is what I typed out, I was just trying to copy the one in Appendix A-

/** Checks if two 3-bit input buses are equal */
CHIP EQ3 {
        IN a[3], b[3]
        OUT out;  // True iff a=b
        PARTS:
        Xor(a=a[0],b=b[0],out =c0);
        Xor(a=a[1],b=b[1],out =c1);
        Xor(a=a[2],b=b[2],out =c2);
        Or(a=c0,b=c1,out=c01);
        Or(a=c01,b=c2,out=neq);
        Not(in=neq,out=out);
}


Whenever I try to load it, it gives me some red gibberish at the bottom that I'm pretty sure is the error message.