State Definition
Boundary-scan state machines contain a specialized controller condition that enables serial movement of test data vectors through selected internal or boundary registers between test pins. Operating as one of sixteen discrete states in the IEEE 1149.1 test access port architecture, shift-dr directs binary test patterns from the test data input pin into the active data register while simultaneously shifting previous test responses outward through the test data output pin. The controller enters this state when the test mode select input holds a logic zero on the rising edge of the test clock while traversing the data register column.
Shifting continues synchronously for as many clock cycles as the test mode select signal remains low. Every boundary-scan cell linked to the active register advances its internal contents by one position per clock cycle.
Chain Operation
Multiple boundary-scan devices wired in series form a unified shift path whose combined register length equals the sum of the individual active data registers. While lingering in shift-dr, test engineers or automatic boundary-scan tools cycle the clock hundreds of times to stream in structural stimulus values and extract previously captured pin states. The active data register can be the boundary register, a device identification register, a bypass single-bit flip-flop, or custom user data registers.
System logic isolated by boundary cells remains unaffected during shifting, as output driver pins maintain their prior states until an update state executes. Precise clock control ensures that shift operations preserve serial vector alignment without corrupting bit sequences.
Operational Boundary
Test data cannot transfer to external component pins or enter internal core logic while the controller remains in this state. Data shifting occurs entirely within internal shadow scan stages, preventing transient bit sequences from presenting unstable voltage ripples to physical printed circuit board traces. Should high-speed noise glitch the test mode select pin, the controller transitions into the exit state, truncating data loading and invalidating the entire scan vector run.
Clock skew across extensive serial chains causes setup-time degradation, which operators mitigate by buffering test clock distributions or lowering the shift clock rate. Once serial transfer concludes, traversing toward the update condition releases the shifted values into parallel operational latches.