Color Swapping
The hardware supports color “swapping,” a feature allowing incoming data on one color to be sent out on another color. Two colors are swappable if they differ only in the low bit (i.e.x ^ y == 1).
Color swapping is set per-color East-West (horizontal) or North-South
(vertical).
Consider a color pair consisting of colors 2 and 3.
If East-West color swapping is enabled for color 3, but not color 2,
then wavelets arriving from either the East or West on color 2 will be received
on both color 2 and color 3.
If both color 2 and color 3 have East-West color swapping enabled,
then wavelets arriving from either the East or West on color 2 will
be received on color 3, and wavelets arriving from either the East or West on
color 3 will be received by color 2.
Note that the transmission is still subject to which directions are enabled
in the receive and transmit fields for the color.
The behavior described above also applies to North-South color swapping.
If both East-West color swap and North-South color swap are enabled for a
given color, color swap is also enabled for wavelets arriving from the CE
(onramp).