Design-for-test exists to solve one structural problem: a modern chip has orders of magnitude more internal state than it has functional pins, so most of that state is simply unreachable from the outside without dedicated test infrastructure. Scan chains solve the access problem by turning flip-flops into a shift register; ATPG solves the pattern problem by automating what patterns to shift; built-in self-test solves the parts of the chip (embedded memory, in-field self-check) that scan access alone cannot efficiently or cost-effectively cover; and boundary scan extends the same access philosophy out to the assembled printed circuit board. Together these form the standard toolkit nearly every digital chip relies on to be economically testable in volume production.