Re: mux4way16 selector only accept 0 or 1 ?
Posted by
cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/mux4way16-selector-only-accept-0-or-1-tp4027771p4027807.html
manu wrote
I named the out puts of first two Mux16 as w1 and w2. When I enter w1 and w2 to the third Mux16 as inputs I get the following error. “Sub bus of an internal node may not be used”!
But I am sure that the internal pin has worked as inputs in previous chips I coded. What could be wrong here?
This message usually means that you tried to do something like
Not16(in=in, out=w1);
Not(in=w1[7], out=w2); // set w2 = ~(in[7])
Your error may be referring to something about the Mux16's 'sel' input instead of w1 or w2?
--Mark