|
I built the Bit, but when I try load this chip in Hardware Simulator, appear a problem. It is error: "A GateClass name is expected". This problem appear in line "CLOCKED in, load;". I have no idea what does it mean. Can someone help me?
This is Chip I wrote:
CHIP Bit {
IN in, load;
OUT out;
PARTS:
Mux(a=in, b=out1, sel=load, out=x1);
DFF(in=x1, out=out1);
And(a=out1, b=true, out=out);
CLOCKED in, load;
}
|