dmoeller wrote
My instructor showed us how to make the Bit chip. the ouput of the DFF is connected to the load on the Mux before it. When i run this in the hardware simulator, I get cannot connect parts output pin to gates input.
HDL does not allow you to use any signal mentioned on the OUT line.
CHIP Bit {
IN in, load;
OUT out; <=======
PARTS:
// Put your code here:
}
You must have another "out=" connection on the DFF that can be used to connect to the Mux.
DFF (in=muxOut, out=out, out=dffOut);
--Mark