|
I was unable to find Xor.hdl in my 00 projects file for first assignment (as described in the video). I typed in the following code on the Xor.hdl file in 01 file under projects:
CHIP Xor {
IN a, b;
OUT out;
PARTS:
// Put your code here:
Not (in=a, out=nota);
Not (in=b, out=notb);
And (a=a, b=notb, out=c);
And (a=nota, b=b, out=d);
Or (a=c, b=d, out=out);
}
After I changed one of the variables to 1 or 0, the eval button remains unavailable. But when I use the built-in Xor.hdl chip, it works properly. Can anyone help me with this? Thanks!
|