Hellooooo Friends!
Why is the "And" outputting 0 when both input values are 1?
And why is the Eval button disabled?
Here is the script in Mux.hdl:
CHIP Mux
{
IN a, b, sel;
OUT out;
PARTS:
Not (in=sel, out=notSel);
And (a=a, b=sel, out=aAndSel);
And (a=b, b=notSel, out=aAndNotSel);
Or (a=aAndSel, b=aAndNotSel, out=out);
}