This application claims priority under 35 USC §119(e) (1) of Provisional Application No. 60/553,081 (TI-38117PS) filed Mar. 15, 2004.
BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates generally to data processing systems and, more particularly, to the testing of integrated circuits using the JTAG procedures.
2. Background of the Invention
As the number of components and the complexity of integrated circuits have increased, the importance of testing these integrated circuits has increased. The importance of testing has become so great that many components in an integrated circuit are now dedicated to the testing (and program debug) involving these circuits. Concurrently, integrated circuits have continually been reduced in size. One of the most important consequences of this size reduction along with the increased complexity and functionality of the integrated circuit has been the problem of providing the necessary electrical connections between the integrated circuit and external components. The testing and program debug associated with the testing of the integrated circuit requires additional terminals. For example, the common Joint Test Action Group (JTAG) boundary scan procedure requires up to five terminals to accomplish a specified test procedure.
Referring to
Specifically, the TDI (test data in) signals are signals that are applied to interface logic 11 from the emulation unit 5 that are entered in the JTAG registers. The TDO (test data out) signals are serial output signals from JTAG registers to the emulation unit 5. The TCK (test clock) signals are signals that control th3e timing of the interface independently from any system clock. The TMS (test mode select) signals are the signals that control the transitions of the states of the interface logic 11. The TRST signals are the signals that initialize and disable the interface logic.
In the implementation of the JTAG procedures, TDI signals are serially scanned (by the TDI line) into the instruction registers and into the data registers in interface logic unit. The data signals are scanned into the boundary scan registers in the processing core and transferred to the processing core itself. In this manner, an initial state of the processing core can be established. Signals shifted into the instruction register (over the TDI line) control the operation of the processing core. Data resulting from operation of the processing core resulting from the instructions in the instruction register is then transferred to the boundary scan chain and transferred to the emulation unit. The TDO signals are then serially scanned out allowing the test apparatus to identify a subsequent (i.e., as compared to the initial) state. In some modes of operation, TDI signals can be scanned in while TDO signals are being scanned out.
Referring to
Therefore, five terminals are used to provide an interface between the core processor under test and the emulation unit. The operation of the JTAG procedures includes many additional details that have not bee described here. The foregoing discussion provides only enough description to understand the present invention.
A need has therefore been felt for apparatus and an associated method having the feature of being able to reduce the number of terminals that provide for the interaction of external components with an integrated circuit. It would be a further feature of the apparatus and associated method to reduce the number of terminals needed in the JTAG test procedures. It would be yet a more particular object of the apparatus and associated method invention to reduce the number of terminals needed for a JTAG procedure by eliminating the TMS line. It would be still a more particular feature of the apparatus and associated method to combine the TMS state control information with the TDI information to control the operation of the exchange of signal groups between the emulation unit and the core processor.
SUMMARY OF THE INVENTION
The foregoing and other features are accomplished, according the present invention, by providing apparatus associated with the emulation unit side of the terminal for combining the TMS signals and the TDI signals into common serial signal stream. A series of control packets that include the TMS signals plus control information are transmitted to the interface logic unit. The control information includes the length of signal packet to be transmitted after the control packets are concluded. The interface logic unit, based on the control signals of the control packets is then prepared for the transmission of number of logic states that has been communicated by the preceding control packets. In this manner, the TMS signal, that is repetitive (i.e., typically a logic “0”) in the transfer of signal groups is not transferred.
Other features and advantages of present invention will be more clearly understood upon reading of the following description and the accompanying drawings and the claims.
BRIEF DESCRIPTION OF THE DRAWINGS
DESCRIPTION OF THE PREFERRED EMBODIMENT
1. Detailed Description of the Figures
Referring to
Referring to
At the end of the transmission of the data group, when the next TMS position in the next control packet is =0, then a data group of the same size can be transmitted over the TDI line. Or, and when a data group of a different size is to be transmitted, then the formatting unit 21 can automatically reset the state of the JTAG apparatus and start again, or the formatting unit 21 can provide a path in the JTAG state diagram (by use of TMS control signals) that reaches the SHIFT DR state again.
The reformatting unit 22 reconstructs the JTAG signals to the extent necessary to direct the TDI data signals to the proper address. The reformatting unit 22 must also transfer the TDO signals in a manner consistent with the operation of the formatting unit so that the formatting unit, upon receipt of the TDO data signals directs these data signals to the correct location in the emulation unit.
2. Operation of the Preferred Embodiment
The present invention relies on the fact that bulk of signals exchanged between the emulation unit and interface logic unit are the transfer of data to and from the data and instruction registers. The TMS signal that accompanies the transfer of groups is always the same. i.e., for the period of time of the signal group transfer. Because of the redundancy of the TMS signals during the data transfer, the combining of the TMS signals and the data signals on a single line results in the elimination of a signal stream between the emulation unit and the core processor with a relatively small increase in the time to transfer the information over a signal line.
In the foregoing discussion, the core processor has been described as the integrated circuit under test. The core processors are the target devices for the bulk of the test procedures. It will be clear that the JTAG boundary scan techniques can be applied to a wide variety of circuits.
While the invention has been described with respect to the embodiments set forth above, the invention is not necessarily limited to these embodiments. Accordingly, other embodiments, variations, and improvements not described herein are not necessarily excluded from the scope of the invention, the scope of the invention being defined by the following claims.