Clock Alignment
Design parameters in digital synchronous circuits represent the difference in arrival times of a scan clock signal at different register clock pins. Managing scan clock skew is essential during test modes when flip-flops are chained together to shift test vectors. This metric is different from functional clock skew because the test signals route through a distinct network designed for high-volume shift operations.
It must be kept within tight bounds to prevent hold time failures in the scan chain.
Timing Effect
Hold violations during the shift phase are catastrophic because they corrupt the serial test data as it passes through the register chain. If a clock edge arrives at the receiving flip-flop before the data has been stable, the wrong value is latched. Since the scan chain cannot be run at a lower frequency to bypass hold violations, the chip becomes untestable.
Synthesis Strategy
Clock tree synthesis engines build dedicated balanced distribution networks to run the test clocks. Branch routing is optimized to ensure that the clock path lengths to adjacent scan cells are as equal as possible. Insertion of delay buffers helps balance branches that have different wire lengths or capacitive loads.
Diagnostic Resolution
Automated test equipment can sometimes isolate clock tree issues by adjusting the phase relationship of the input clocks. By varying the timing margins on the tester, developers can identify the specific scan flip-flops that are experiencing clock delivery discrepancies. This diagnostic feedback is used to update the constraints of future designs.