Administrator
|
If I understand what you are asking, you know that you can connect to the output of a chip more than once
SomeChip (..., out=out, out=myOut);
but it fails when you try
OtherChip (in=myOut[15], ...);
or
AnotherChip (in=myOut[0..7], ...);
The trick here is that you need to create your internal wires and buses the correct width when you connect them to out.
SomeChip (..., out=out, out[15]=myOut15, ...);
OtherChip (in=myOut15, ...);
AnotherChip (in=myOutLow, ...);
--Mark
|