摘要 |
A method and mechanism for observation, testing, and diagnosis with scan chains. A device under test is configured to support scan chains. The device includes multiple blocks, each of which are configured to be individually tested with separate scan chains. Each block is configured to recirculate the scan output of its block back into its scan chain during the cycles in which it is not being directly scanned out of the chip. As the scan clock is pulsed N cycles and another block of the chip is scanned out, the recirculated state of the block will shift within the block N positions. By keeping track of the scan chain lengths of each of the blocks in the chip, and the order in which they are scanned, a determination may be made as to which element of the scan chain will be shifted out of the next block to be scanned. Further, by knowing the length N of the scan chain of a particular block and the number of cycles M it has been recirculated, the scan chain may be shifted (M % N) cycles to return the block to its originally ordered state before scanning it out.
|