1. Field of the Invention
This invention relates to data processing systems. More particularly, this invention relates to the testing of memory access signal connections between a data processing circuit and a memory coupled to that data processing circuit.
2. Description of the Prior Art
It is known to provide testing mechanisms for testing integrated circuits when they have been manufactured to ensure that they operate correctly. One known technique is to include serial scan chains into which test patterns, such as automatically generated test patterns (AGTPs), may be scanned in and result values scanned out to verify correct operation of the manufactured integrated circuits. As integrated circuits increase in complexity and have an increasing number of functional units embedded therein, the need for test in this way increases and the difficulty of gaining access to deeply embedded portions of the integrated circuit with no direct connection to the external pins of the integrated circuit also increases. These problems are further compounded in that different functional elements within the integrated circuit may be designed and produced by different suppliers who may not release full details of the design of their functional unit as this is proprietary information. This makes the design of appropriate test patterns to provide comprehensive test coverage more difficult.
In the above circumstances, one possibility is that the provider of the functional unit, such as a processor core, will also supply appropriate test patterns for testing that functional unit when it is integrated within a larger integrated circuit (system-on-chip) design. Whilst this approach works well in many cases, a difficulty arises when the particular functional unit may be connected to a variety of different forms of additional circuitry which necessitate different test patterns to be used. In this context, the functional unit provider can try to produce a suite of test patterns to cover all possible ways in which the functional unit may be used, but this is an onerous undertaking. As an example of this circumstance, a processor core may have a memory access port to which a memory of a variable size can be connected or optionally no memory at all connected. In order to test the memory access signal connections between the processor core and the memory, it would be possible to provide each of these signal connections with a scan chain cell such that test pattern data could be applied to and captured from these points. This would allow the connections to be tested without dependence upon the connected memory size. However, the memory access signal connections are often timing critical signal paths and the additional delay that may be introduced by inserting a multiplexer in these paths so as to accommodate a scan chain cell is a significant disadvantage. Furthermore, significant circuit area is consumed by scan chain cells and so it is desirable if possible to reduce these in number. It is known within test methodologies to control a data processing circuit with appropriately applied diagnostic signals such that it will exercise the memory access signal connections for a particular size of attached memory with the results of these stimulations being observed to ensure correct operation by checking the data fed back into the data processing circuit. However, such techniques are memory size specific and accordingly in order to deal with a variety of possible different memory sizes which may be attached, a disadvantageously large number of suitable test patterns need to be provided.
Viewed from one aspect the present invention provides a method of testing an apparatus for processing data having a memory operable to store data and a data processing circuit coupled to said memory via a memory access port having a plurality of memory access signal connections, said method comprising the steps of:
The invention recognizes and exploits the feature that whilst memory size will vary (or a memory may not be present at all) and accordingly make some memory access signal connections optional or changed between different memory size implementations, a large number of these memory access signal connections will remain unchanged. Thus, the system may be arranged to use scan chain cells on those memory access signal connections which are variable between different implementations to allow these to be separately tested by their own test pattern whereas the memory access signal connections which are common between different implementations may be tested by being exercised by the data processing circuit concerned and the responses therefrom observed. In this way, there is a reduced requirement for scan chain cells in the integrated circuit as a whole and on the potentially timing limiting critical paths of the memory access signal connections. Furthermore, the number of different test patterns which need to be provided is reduced to a more acceptable level.
In preferred embodiments of the invention, the subset of memory access signal connections which are provided with scan chain cells are ones from which diagnostic signal data is captured but does not need to be applied by scan chain cell mechanisms. Scan chain cells which only capture data need not utilize a multiplexer in the critical data path so reducing the timing constraints which can be introduced by scan chain cell insertion. Memory access signal connections of the type from which data is normally only required to be captured include memory address signal connections.
These are of the type which tend to be optionally used and present depending upon memory size used, which is one of the major variables in the form of the overall integrated circuit.
The provision of serial scan chain cells is not however limited to such memory address signal lines, as there are other signal lines which may optionally be present, which are not timing critical and which may be used with serial scan chain cells which apply diagnostic signals rather than merely capture diagnostic signals.
It will be appreciated that the data processing circuit coupled to the memory could take a wide variety of different forms, such as a digital signal processor, a data engine or the like. However, the present technique is particularly well suited to embodiments in which the data processing circuit is a processor core.
Similarly, it will be appreciated that the memory coupled to the data processing circuit could take a variety of forms such as a main memory, a cache memory or the like. However, the present technique is particularly well suited to situations in which the memory is a tightly coupled memory.
The testing of the remainder of the memory access connections with data driven out to and captured back from the memory is facilitated by manipulating one or more memory size signals which indicate the size of the memory that is present. The memory may have a range of optional sizes, but this type of testing, and the consequent need for an appropriate test pattern, can be restricted to the smallest non-zero memory size that is supported. The memory size signals are changed, possibly using pin signals, but preferably using serial scan chain derived signals, to specify a smaller memory than is in reality present. The non-scan cell testing can then be restricted to the smaller memory size.
Viewed from another aspect the present invention provides apparatus for processing data, said apparatus comprising:
The above, and other objects, features and advantages of this invention will be apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings.
The subset of memory access signal connections 8 which are provided with serial scan chain cells 10 typically includes the high order memory address signal lines as these are ones which tend optionally to be used depending upon the memory size of the memory 4 being employed by a particular implementation. Accordingly, taking the variability of the use or non-use of these high order memory address signal lines out of the factors controlling the need to provide different test patterns reduces the number of test patterns required. Certain control signals which form part of the memory access signal connections may also be subject to optional use depending upon the type of memory 4 being used or the size of the memory 4 being used. These control signals could also be supplied with a suitable scan chain cell for direct testing.
The high order memory address signal lines are such that it is normally only desired to test data being driven out to these lines. Indeed, in normal operation the signal flow is normally always from the processor core 2 to the memory 4 for memory address signal lines.
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5355083 | George et al. | Oct 1994 | A |
5541510 | Danielson | Jul 1996 | A |
6446230 | Chung | Sep 2002 | B1 |
6484280 | Moberly | Nov 2002 | B1 |
6556037 | Shiraishi | Apr 2003 | B1 |
6560739 | Chung | May 2003 | B1 |
6598192 | McLaurin et al. | Jul 2003 | B1 |
6678875 | Pajak et al. | Jan 2004 | B1 |
6686759 | Swamy | Feb 2004 | B1 |
6810498 | Shimizu | Oct 2004 | B1 |
6813739 | Grannis, III | Nov 2004 | B1 |
6851079 | Hergott | Feb 2005 | B1 |
20020035442 | Dervisoglu et al. | Mar 2002 | A1 |
20020040458 | Dervisoglu et al. | Apr 2002 | A1 |
20020133807 | Sluiman | Sep 2002 | A1 |
20020184582 | Pouya et al. | Dec 2002 | A1 |
20020184583 | Hikone et al. | Dec 2002 | A1 |
20030056163 | Rajsuman et al. | Mar 2003 | A1 |
20030120986 | Whetsel | Jun 2003 | A1 |
20030149949 | Price et al. | Aug 2003 | A1 |
20030191996 | Mukherjee et al. | Oct 2003 | A1 |
20040054948 | McLaurin et al. | Mar 2004 | A1 |
20040128596 | Menon et al. | Jul 2004 | A1 |
20040153915 | McLaurin | Aug 2004 | A1 |
20040187058 | Yamada et al. | Sep 2004 | A1 |
20040237015 | Abdel-Hafez et al. | Nov 2004 | A1 |
20040268181 | Wang et al. | Dec 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20050222809 A1 | Oct 2005 | US |