|
Hey All,
I keep getting this error message for various lines in my code (tried commenting some out to see if it would compile / see what other errors would pop up). I have a feeling this is an HDL syntax issue but I'm stuck trying to figure out what I'm doing wrong.
I'll show you one example below, which has to do with calculating the "ng" output (so don't read ahead if you don't want to see my possibly wrong implementation of this!).
//"zr" and "ng" creation; need to conduct comparisons for out==0, out<0
//"ng" creation
Mux(a=false, b=true, sel=out[0], out=ng);
//If the left-most bit is 0 then out is positive, so ng must be 0. Else 1.
This is the first place in my code when I get the "can't connect gate's output pin to part" error. I also get it in the code I wrote to deal with constructing "zr." ng and zr are the last portions of my ALU code, so it seems as though everything above compiles correctly.
Thanks for your help!
|