Can't fan-out an input pin
Posted by jephricon on Mar 05, 2014; 10:09am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Can-t-fan-out-an-input-pin-tp4027884.html
As part of my ALU implementation, I'm leveraging the zx flag to zero out the x bit as follows:
//invert zx bit
Not(in=zx,out=nzx);
//And zx bit to x to, possibly, zero
And16(a[0..15]=x[0..15], b[0..15]=nzx, out[0..15]=zxout[0..15]);
However, the Hardware simulator complains that the bus width of b(16) is different than nzx(1)! I thought that the input pin could be fanned-out so that, effectively the syntax I'm using would assign the value of nzx to all of the b[0..15] pins. Assigning b[0..15] to 'false' works.
Help?