This MR adds a phase scan for the SCA e-link. For each phase from 0 to 15 the SCA is reset a number of times (default 100) and the ready state is checked.
It is a bit ugly that we have to read the config-file to apply the phases, but otherwise we overwrite other values and the scan misbehaves. This can be modified once we have the possibility to read back GBT registers.
The raw results are saved in
/tmp/gemdata/scaPhaseScan/. The phases and the corresponding number of failures are printed.
Tested on the GE2/1 integration setup in B904.