3 ms·
That sounds incredibly expensive to route. Every flip flop? Almost all ICs nowadays already have scan chains connecting to 99+% of their internal flip flops.
by PhantomGremlin 11y ago
That sounds incredibly expensive to route. Every flip flop?
Almost all ICs nowadays already have scan chains connecting to 99+% of their internal flip flops.
This is because it literally has been decades since chips have gotten too complex to do reasonable "functional" tests on chips in production. These tests are used not to verify that a design is correct, but to verify that the chip has been fabricated as designed, that there are no defective gates or wires.
By functional I mean (e.g. in the case of a CPU) to write instructions that exercise most of the combinatorial logic and most of the flip flops on the chip. Often times it takes many millions of test vectors to achieve less than 50% coverage.
Which is where scan comes in. A few external pins are needed. All the flip flops in the chip are the wired in series in groups of scan chains. Data can be shifted in serially to the chip via these chains, then the mode switched to exercise the "normal" logic between flip flops, then flipped again and result data can be shifted out of the flip flops and verified by a tester.
It's still quite complex, especially when multiple clocks and multiple chains are involved. But it allows for 90%+ test coverage of the logic in a chip without requiring verification engineers to write functional test vectors. Instead, there are tools that automate the process of connecting flip flops in chains and in generating the patterns that exercise the logic between flip flops.
The following Wiki touches on the process: https://en.wikipedia.org/wiki/Scan_chain https://en.wikipedia.org/wiki/Scan_chain