An output pin may only be fed once by a part's output pin error when trying to implement DMux8Way
Posted by nblackburn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/An-output-pin-may-only-be-fed-once-by-a-part-s-output-pin-error-when-trying-to-implement-DMux8Way-tp4037702.html
I am getting the error:
An output pin may only be fed once by a part's output pin error on line 23 <br>
I can semi-understand why I am getting this error since I am using both output pints from the mux gate but when I use another mux gate and then parse in the b output pin from that new mux gate, I still get the same error.
CHIP DMux8Way {
IN in, sel[3];
OUT a, b, c, d, e, f, g, h;
PARTS:
DMux(in=in, sel=sel[1], a=outA, b=outB);
DMux4Way(in=outA, sel=sel[0..1], a=a, b=b, c=c, d=d);
DMux4Way(in=outB, sel=sel[0..1], a=e, b=f, c=e, d=h); // This is line 23, where the error is occuring
}