Re: Problem with zr and ng
Posted by cadet1620 on Mar 07, 2011; 9:45pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Problem-with-zr-and-ng-tp2647722p2648091.html
You cannot use [] on internal buses. You need to create multiple internal buses that have the data you require at their source.
Somewhere in your HDL you have
Somechip(..., out=ores);
That's where you need to break apart the output bus.
Somechip(..., out[0..7]=ores_low8, out[8..15]=ores_high8, ...);
You can hook an unlimited number of wires and buses to a part's outputs.
--Mark