Scan topology discovery in target systems
Topology discovery of a target system having a plurality of components coupled with a scan topology may be performed by driving a low logic value on the data input signal and a data output signal of the scan topology. An input data value and an output data value for each of the plurality of components is sampled and recorded. A low logic value is then scanned through the scan path and recorded at each component. The scan topology may be determined based on the recorded data values and the recorded scan values.
1. A process of determining a topology of individual components in a system of components, each component having a clock lead, a control lead, a data in lead, a data out lead, and a data register of a certain length coupled between the data in lead and the data out lead, the process comprising:
A. receiving on the data in lead of each component data register scan data of one or another logic level;
B. stepping the data registers of all the components a number of times greater than the length of all the data registers; and
C. storing in a topology register of a component topology data bits indicating a topology of the component based on the logic level of the data register scan data received in that component.
2. The process of claim 1 in which the storing includes storing topology data bits indicating a series scan topology in response to receiving all 0 logic levels in a component.
3. The process of claim 1 in which the storing includes storing topology data bits 01b indicating a series scan topology in response to receiving all 0 logic levels in a component.
4. The process of claim 1 in which the storing includes storing topology data bits indicating a star 2 scan topology in response to receiving all 1 logic levels in a component.
5. The process of claim 1 in which the storing includes storing topology data bits 11b indicating a star 2 scan topology in response to receiving all 1 logic levels in a component.