An apparatus for phase compensation in a differential pair of transmission lines, the apparatus comprising a computer processor, a computer memory operatively coupled to the computer processor, the computer memory having disposed within it computer program instructions that, when executed by the computer processor, cause the apparatus to carry out the steps of:
- identifying, by a phase compensation module, a plurality of direction changes in the differential pair of transmission lines;
- determining, by the phase compensation module for each direction change in the differential pair of transmission lines, a direction change angle;
- and
- determining, by the phase compensation module for each direction change in the differential pair of transmission lines, the geometry of one or more phase correction humps to include in one transmission line of the differential pair of transmission lines in dependence upon the direction change angle.