Based on the Jtag stage diagram, before Jtag shifts the bits (Shift-DR) the scan cell needs to capture the bits first (Capture-DR). Where does the bit come from? Is it from some test patterns (which has 0s and 1s) and Jtag loads them via digital pins during the capture-DR stage? How many digital pins (exclude Jtag pins) do we need to capture the bits?



