Automatic test equipment, device under test, test equipment configuration, and method using trigger lines
The automatic test equipment synchronizes with SoC devices using parameterized messages and high-speed interfaces to manage tester resources, addressing inefficiencies in OCST testing and enhancing test case development and execution efficiency.
Patent Information
- Application Number
- JP2024502207
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-11-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing automatic test equipment (ATE) struggles to efficiently test complex system-on-chip (SoC) devices due to challenges in uploading and controlling on-chip system tests (OCST), which are time-consuming and require significant adaptation of ATE test programs, leading to inefficiencies in test development and execution.
The implementation of automatic test equipment that receives commands from devices under test to update tester resources and provides acknowledgment signals, using parameterized messages and high-speed interfaces to facilitate synchronization and resource management without requiring specific adaptations to the ATE test program, allowing for efficient and reliable test case development and execution.
This approach enables rapid and reliable testing of SoC devices by synchronizing test case execution with tester resource updates, reducing development time and eliminating the need for complex program adaptations, while maintaining high timing accuracy and resource efficiency.
Smart Images

Figure 00000000_0000
Abstract
Description
[Technical field]
[0001] SUMMARY OF THE PRESENTLY PREFERRED EMBODIMENTS The present invention relates to automatic test equipment for testing one or more devices under test.
[0002] Another embodiment of the present invention relates to a device under test.
[0003] Another embodiment of the present invention relates to a test equipment configuration.
[0004] Another embodiment of the present invention relates to a method of operating automatic test equipment.
[0005] Another embodiment of the present invention relates to a method for testing a device under test.
[0006] Another embodiment of the present invention relates to a computer program product.
[0007] Generally speaking, embodiments of the present invention relate to production tester control with on-chip system testing. [Background technology]
[0008] Automatic Test Equipment (ATE) is a platform for production test and post-silicon validation with fast automated test case execution and flexible control of external test conditions of the device under test (DUT).
[0009] Production test of digital integrated circuits has traditionally been performed by structural testing on ATE: cycle-accurate input patterns are applied to the device under test (DUT) and the resulting output patterns are compared to expected patterns to detect faulty devices.
[0010] The internal structure of the DUT is evolving into complex system-on-chip (SoC) devices that contain numerous subsystems with multi-processors, memory, and peripheral units interconnected by a network-on-chip fabric. Even if structural testing achieves 99.5% coverage, there are still millions of untested transistors in these SOCs, which has led to the introduction of On-Chip System Test (OCST).
[0011] OCST fills the test gap by checking the functional performance of critical use cases involving all subsystems of the SoC, executed as real-time scenarios by embedded software on the DUT's processor environment.
[0012] Conventional method of uploading OCST / functional tests by test pattern
[0013] In the following, we will explain the conventional method of uploading OCST / functional tests by pattern testing.
[0014] Figure 4 shows a typical approach on an ATE system to upload the software (SW) of a functional test case (TC) to the memory of a device under test (DUT). The SW is uploaded by a sequence of cycle-accurate patterns applied to the memory interface on the DUT. The drawbacks are that the conversion from SW code to pattern sequences takes time, and the download speed is limited by the maximum clock rate of the digital channel.
[0015] In conclusion, FIG. 4 illustrates uploading and control of OCST / functional tests by test patterns. For example, an automatic test equipment 410 may comprise a tester resource 420 coupled with a workstation 422 executing an ATE test program 424. For example, a digital channel that may be part of the tester resource may be used for OCST uploading based on a pattern and control via the digital channel. In other words, the digital channel may be used, for example, to upload a test program (e.g., OCST test cases 432) to a device under test 430. For this purpose, a digital channel of the ATE may be programmed to provide a pattern that controls the uploading of a program (e.g., of OCST test cases) to the device under test. Furthermore, additional tester resources, such as, for example, digital channels, and / or analog channels, and / or supply lines, may be used to provide signals for the device under test, such as, for example, input signals and / or one or more supply voltages. Furthermore, the tester resource 420 may also be used to receive one or more signals from the device under test 430 and evaluate these signals from the device under test. For example, a suitable supply voltage may be provided to the device under test, and there may be interaction between the automatic test equipment and the device under test using respective tester resources, which may also be optionally used to perform measurements to evaluate the device under test.
[0016] In conclusion, the uploading of OCST test cases may be performed by the automatic test equipment using appropriate tester resources, and there may be interaction between the automatic test equipment and the device under test using the tester resources of the automatic test equipment.
[0017] High speed IO for OCST / functional test upload and control
[0018] The following describes OCST / functional test upload and control using high-speed IO.
[0019] An advance in handling functional test cases is to use the HSIO interfaces (USB, PCIe, ETH, etc.) of the device under test (DUT) in native mode. This means that the test case software (SW) is uploaded and controlled, for example, by a fully protocol-supported high-speed interface, and no longer in a cycle-oriented deterministic pattern. To support the HSIO interface, drivers may need to be pre-installed on the device under test (DUT) and uploaded and activated, for example, by JTAG.
[0020] FIG. 5 shows a schematic diagram of functional test upload and control with high speed IO. In this concept, for example, there may be an automatic test equipment 510 with a tester resource 520 and a workstation 522. Furthermore, there is a device under test 530. For example, an ATE test program may cause an OCST-TC upload (e.g., upload of on-chip system test test cases). Furthermore, the test program may perform execution control. For example, both the OCST-TC upload and execution control may be performed using a high speed input / output (HSIO), such as a universal serial bus interface, a Peripheral Component Interconnect Express (PCIe) interface, or an Ethernet interface (ETH). In this way, a typical protocol-based high speed input / output interface may be used for uploading the test cases TC and for controlling the execution of the test cases. In this regard, it is noted that the OCST test cases 532 are typically software and are executed using (or on) the device under test 540 (e.g., using one or more processors of the device under test 530).
[0021] Further, the device under test 530 may be connected with the tester resources 520, for example, digital channels and / or analog channels and / or supply lines may be used. For example, ATE control signals for supplying, test interaction and measurement to the DUT may be used. In other words, the tester resources may include, for example, one or more device power supplies, which may, for example, supply one or more power supply voltages to the device under test. Further, the tester resources may include, for example, one or more digital channels for providing digital signals to the device under test and / or receiving digital signals from the device under test. For example, the automatic test equipment 510 may use one or more digital channels for interaction with the device under test 530, and the automatic test equipment 510 may optionally perform measurements using the digital channels. Further, the tester resources 520 may include, for example, one or more analog channels that may be used to provide one or more analog signals to the device under test 530 and / or receive one or more analog signals from the device under test 530. Additionally, one or more analog channels may optionally be used for measurements, for example to evaluate signals received from the device under test 530 .
[0022] In conclusion, OCST / functional test upload and control over high speed IO has been described with reference to FIG.
[0023] FIG. 6 shows a schematic diagram of a variant by using a separate controller for OCST / functional testing.
[0024] The configuration 600 of Fig. 6 is an automatic test equipment 610, comprising a tester resource 620 and a workstation 622. Furthermore, the test configuration 600 according to Fig. 6 also has a device under test 630 on which OCST test cases 632 can be executed.
[0025] However, in addition to the test arrangement 500 according to Fig. 5, the test arrangement 600 according to Fig. 6 comprises an on-chip system test controller 640, which may be, for example, part of the automatic test equipment 610. The on-chip system test controller 640 may be coupled to the workstation 622, for example, using a high-speed input / output interface HSIO (for example, USB, PCIe or ETH). For example, an ATE test program 624 executed on the workstation 622 may communicate with the OCST controller 640 via an interface (for example, via an HSIO interface) to initiate, support or control the OCST-TC upload and / or execution control. For example, the ATE test program may provide a representation of an OCST test case (TC) to the OCST controller 640 and command the OCST controller 640 to, for example, upload said OCST test case to the device under test 640. The OCST controller 640 may then, for example, perform the upload of the OCST test case to the device under test 630. Further, the ATE test program 624 may communicate with the OCST controller (e.g., via an HSIO interface) to control the execution of the test cases. For example, the communication between the ATE test program 624 and the OCST controller 640 may be bidirectional (e.g., as indicated by the bidirectional arrow). Further, the OCST controller 640 may be configured to communicate with the OCST test cases 632 running on the device under test 630 to control the execution of the test cases. For example, the communication between the OCST controller 640 and the OCST test cases 632 may be bidirectional (e.g., as indicated by the bidirectional arrow).
[0026] Further, the functionality of tester resources 620 may be similar to that of tester resources 520 in test configuration 500 described above. In other words, tester resources 620 may comprise, for example, one or more device power supplies and one or more digital and / or analog channels. Thus, tester resources 620 may be adapted to provide ATE control signals for supply to the DUT and for test interaction and measurement.
[0027] Thus, the device under test may be tested with the test configuration 600. In conclusion, Fig. 6 shows a variant by using a separate controller for OSCT / functional testing.
[0028] Furthermore, it should be noted that any of the features, functions and details described in this section may be optionally used in any embodiment of the present invention (unless inconsistent with the embodiment of the present invention). It should be noted that such features, functions and details may be implemented individually or in any combination in any embodiment of the present invention.
[0029] However, in view of conventional approaches, a concept for testing a device under test that provides an improved trade-off between on-chip system test functionality, on-chip system test test development effort, and implementation effort is desirable. Summary of the Invention [Means for solving the problem]
[0030] One embodiment of the present invention generates automatic test equipment for testing one or more devices under test. The automatic test equipment is configured to receive commands (e.g., in the form of messages) from the devices under test (i.e., from test cases) requesting updates to one or more tester resources. The automatic test equipment is further configured to update the one or more tester resources in response to the commands provided by the devices under test (i.e., test cases), and the automatic test equipment transmits an acknowledgement signal (e.g., an acknowledgement message) to the devices under test notifying them of completion of the tester resource updates requested by the devices under test.
[0031] This embodiment of the invention is based on the discovery that using such concepts greatly facilitates the development of test cases and the execution of test cases. For example, using such concepts, the execution of test cases can be easily synchronized with the operation of the automatic test equipment without the need for special adaptations of the ATE test program (which may be executed on the automatic test equipment). For example, a test case executed on a device under test can be programmed to provide a command requesting the update of one or more tester resources, and the test case executed on the device under test can also evaluate an acknowledge signal. However, since the acknowledge signal may be a "standardized" response to a command requesting the update of one or more tester resources, the evaluation of the command by the ATE may be a "standardized" process (e.g., may be the same for different test cases), and the provision of an acknowledge signal by the automatic test equipment may not require special adaptations of the automatic test equipment (or the ATE test program executed on the ATE) to the test case currently executed on the device under test. Therefore, no special adaptations may be required to the ATE test program when adding an instruction to issue a command requesting the update of one or more tester resources to a test case executed on the device under test. As a result, test development is greatly facilitated, since the adaptation (or updating) of one or more test resources is under the complete control of the test case (e.g., the ATE and the test programs running on it simply act as "slaves" executing commands provided by the test case).
[0032] Furthermore, by providing an acknowledge signal, the automatic test equipment allows the device under test to operate in synchronization with the updates of the tester resources. As a result, the delay between a command requesting the update of one or more test resources and the actual completion of the updates of the tester resources (which is typically unknown to the device under test and may be non-deterministic in some cases) can be easily accommodated by the device under test. In this manner, providing an acknowledge signal by the automatic test equipment to inform the completion of the updates of the tester resources requested by the device under test allows a validation engineer to design reliable test cases to be executed on the device under test without having detailed knowledge of the functionality of the automatic test equipment and without modifying the code of the test program of the automatic test equipment. As a result, the automatic test equipment described herein allows for a centralized design of test cases and also allows for reliable and rapid execution of the test cases on the device under test (e.g., without the need to add unnecessary preventative delays to wait for updates of tester resources, but instead using an acknowledge signal).
[0033] In a preferred embodiment, the automatic test equipment is configured to receive commands in the form of parameterized messages from a device under test (i.e., from a test case), where the parameters of the messages describe desired settings of tester resources (e.g., desired power supply voltages, desired clock frequencies, desired signal characteristics, etc.).
[0034] By providing the automatic test equipment with the capability to evaluate messages having a predefined syntax and comprising one or more parameters describing the desired configuration of tester resources, it may be possible to eliminate the need to specially adapt the ATE test program to test a particular device under test. Instead, it is sufficient for the ATE test program to provide the capability to handle "standardized" parameterized messages (e.g., parameterized messages following a predefined syntax, e.g., specifying the tester resources to be modified and the desired new configuration), while the validation engineer designing the test cases to be executed on the device under test need only know the syntax of the commands that can be handled by the automatic test equipment (e.g., the ATE test program of the automatic test equipment) or the syntax of the API functions that generate the commands. In this way, providing the capability to handle parameterized messages in the automatic test equipment greatly facilitates test development and eliminates the need to specially adapt the ATE test program to test a particular device under test. Moreover, the validation engineer can also quickly and efficiently adapt the test cases to be executed on the device under test to change the desired configuration of the test resources.
[0035] In a preferred embodiment, the automatic test equipment is configured to provide the acknowledgement signal in the form of a message. It has been found that the transmission of the message (e.g., a message having a predefined format including a message header, one or more bits identifying a command, one or more bits identifying a parameter, optional error correction information, and an optional message terminator) can be efficiently performed via an interface between the automatic test equipment and the device under test. For example, such a message transmission can be efficiently performed via a high-speed interface and (or HSIO interface) between the automatic test equipment and the device under test. It has further been found that the transmission of the message, e.g., in a message format suitable for a particular interface type, can be efficiently performed using an interface driver adapted to the particular interface type. Thus, a particular (e.g., high-speed) interface can be used, for example, for both the transmission of parameterized messages and the transmission of acknowledgement signals, and can also be used for other data exchanges between the automatic test equipment and the device under test. In this way, a particular interface can be shared for the transmission of different types of messages, thereby eliminating the need for a dedicated signal line (e.g., for the acknowledgement signal).
[0036] Furthermore, it should be noted that the concept of using both parameterized message-based commands and message-based acknowledgement signals relaxes the timing requirements such that it is possible to use (e.g., parameterized) messages that can be handled by interface drivers and interfaces with non-deterministic timing behavior. For example, by giving the device under test the opportunity to wait for the acknowledgement signal before proceeding with test execution, a small delay in message transmission (both command and acknowledgement signal messages) does not significantly impact the execution of the test case on the device under test, and in particular does not jeopardize synchronization between the execution of the test case and the desired update of one or more test resources.
[0037] In a preferred embodiment, the automatic test equipment is configured to receive commands from the device under test via a (preferably protocol-based) high bandwidth interface (e.g., via a high speed interface, e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface). Alternatively or additionally, the automatic test equipment is configured to provide an acknowledgement signal (e.g., an acknowledgement message) to the device under test via a (preferably protocol-based) high bandwidth interface (e.g., via a high speed interface, e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface). Such a high-bandwidth interface can be used to transmit commands from the device under test to the automatic test equipment and / or transmit acknowledgement signals from the automatic test equipment to the device under test, with a reasonably small delay. For example, the high-speed interface can be used to upload on-chip system test software to the device under test and / or download result data from the device under test to the automatic test equipment. However, it has been found that during the execution of a test case, the high-bandwidth interface may usually have sufficient bandwidth available to transmit commands from the device under test to the automatic test equipment and transmit acknowledgement signals from the automatic test equipment to the device under test.It turns out that the interface is typically most often loaded before the on-chip system test starts and after the on-chip system test is completed (e.g. for sending test results). Therefore, high-speed interfaces are typically used for other purposes in the on-chip system test and are suitable for sending commands and sending acknowledgement signals since drivers for high-speed interfaces are available on both the automatic test equipment side and the device under test side. Furthermore, some types of high-speed (or high-bandwidth) interfaces even allow reservation of time slots, so that the transfer of commands from the device under test to the automatic test equipment and / or the transfer of acknowledgement signals from the automatic test equipment to the device under test equipment can be done in near real time (or near time deterministic). Furthermore, the above-mentioned high-bandwidth interfaces typically provide near real-time transmission even in the absence of reserved time slots due to the large available bandwidth.
[0038] In a preferred embodiment, the automatic test equipment is configured to update one or more tester resources during execution of a test case on a device under test (e.g., a system on chip) in response to a command by the device under test (i.e., by the test case) (e.g., under control of the test case executing on the device under test). However, it has been found that updating one or more tester resources during execution of a test case on the device under test is possible without major problems using the techniques of the present invention. For example, a test case may issue a command requesting the update of one or more test resources and then continue execution of a test case routine that is not affected by the update of the one or more tester resources (and then check for receipt of an acknowledgement signal), or may pause to wait for receipt of an acknowledgement signal. Thus, the automatic test equipment does not need to provide additional control signals to the device under test to complete the update of the tester resources, except for providing an acknowledgement signal. For example, it is possible to avoid the automatic test equipment providing explicit signals or control signals to interrupt execution of a test case before a resource update or to start execution of a test case after a resource update. As a result, delays that would otherwise be caused by explicit control of test case execution by the ATE can be avoided by providing an acknowledgement signal from the ATE to the device under test. In particular, test case execution can continue while resources are being updated, saving valuable test time. Furthermore, waiting for the acknowledgement signal can be done under the control of the test case running on the DUT, without the need to interrupt the execution of the test case running on the DUT.
[0039] In a preferred embodiment, the automatic test equipment is configured to provide an application programming interface (API) for use by test cases executing on the device under test. The application programming interface is configured to provide one or more routines (e.g., methods or functions) for sending commands from the device under test (i.e., test cases) to the automatic test equipment requesting conformance (or updating) of one or more tester resources. Alternatively or additionally, the application programming interface is configured to provide one or more routines (e.g., methods or functions) for time synchronization between the device under test and the automatic test equipment (e.g., one or more routines for pausing program execution (e.g., of test cases executing on the device under test) until a signal indicating completion of a tester resource update is received).
[0040] By providing an application programming interface for use by the test cases, the automatic test equipment device can significantly support the development of the test cases. By providing one or more routines for sending commands requesting the adaptation (or update) of one or more tester resources from the device under test to the automatic test equipment, the validation engineer does not need to know details about the internals of the automatic test equipment or the syntax of the commands. Rather, the validation engineer only needs to add one or more routines from the application programming interface to the test program (e.g., to the test cases to be executed on the DUT), which is usually easy if the routines are well documented. The application programming interface may also be designed in such a way that test program development is substantially independent from the actual tester hardware or from the revision of the software on the automatic test equipment. As a result, the validation engineer has a very efficient tool, and the development of test cases in which one or more tester resources are updated is very simple, and does not need to deal with the details of the test programs to be executed on the automatic test equipment. The same is true when providing one or more routines for time synchronization between the device under test and the automatic test equipment. Such routines can be easily included in test cases (executed on the device under test) by the validation engineer without requiring the validation engineer to have detailed knowledge of the internals of the automatic test equipment or of the ATE test programs. In this way, by providing a suitable ATE, synchronization between test cases and updates of tester resources may occur in a simple manner, and the development of test programs can even be independent of the actual tester hardware and / or software revisions of the ATE software. This allows for efficient software development with reduced error risks and high portability.
[0041] In a preferred embodiment, the automatic test equipment comprises an on-chip system test (OCST) controller, a test program executor that executes a test program, and one or more test resources (e.g., one or more device power supplies, and / or one or more analog or digital signal generators). The on-chip system test controller is configured to receive (e.g., via a high bandwidth interface) commands (e.g., in the form of messages) from a device under test (i.e., from a test case) requesting an update of one or more tester resources, and to forward the commands (e.g., messages) to the test program executor that executes the test program. Furthermore, the test program comprises a message handler that is configured to, in response to the (forwarded) command (e.g., in the form of a forwarded message), cause (e.g., execute) the update of the one or more tester resources, for example after decoding and / or interpreting the forwarded message (e.g., depending on one or more parameters included in the forwarded message).
[0042] With such a concept, it is possible to implement basic functionality for controlling tester resources (sometimes referred to as test resources in this document) in a test program executor, while specific support for on-chip system testing is provided by an on-chip system test controller. For example, the test program executor may exercise control over tester resources in a manner defined by a test program (the test program defines, for example, how to handle commands for updating tester resources received from a device under test). Thus, the basic functionality of the automatic test equipment can be defined by an ATE test program, which allows the automatic test equipment to be configured in a manner that is well adapted to the current test scenario. On the other hand, the on-chip system test controller may provide specific functionality related to on-chip system testing in a more efficient manner than the test program executor. For example, the on-chip system test controller may efficiently implement (e.g., using dedicated hardware support) high-speed interface functionality related to on-chip system testing. For example, the on-chip system test controller may comprise a hardware implementation of a high-speed input / output interface, which may be a system-on-chip, suitable for communicating with the device under test. By having an efficient (possibly hardware-supported) implementation for communication with the device under test, the on-chip system test controller may reduce the requirements on the test program executor and may take care of, for example, handling the communication protocol for communication with the device under test. Furthermore, the on-chip system test controller may support additional functionality required for on-chip system testing, such as uploading test cases to one or more devices under test, and / or downloading test results from one or more devices under test, and / or evaluating the test results. For example, the on-chip system test controller may significantly support data exchange based on arbitrary protocols with the device under test, which is typically difficult to handle with conventional tester resources.
[0043] Furthermore, the on-chip system test controller may be suitable for receiving commands requesting the update of one or more test resources from the device under test, especially when such commands are sent using an interface technology and / or communication protocol that can be better handled by the on-chip system test controller compared to the test program executor. Thus, by utilizing the capabilities of the on-chip system test controller for receiving commands requesting the update of tester resources, high-bandwidth communication can be applied for sending such commands, avoiding the use of other tester resources that have difficulty in implementing high-speed communication based on their protocols. The on-chip system test controller may, for example, extract commands from a high-speed communication protocol and forward the commands (e.g., in their original or converted form) to the test program executor, where it is noted that the on-chip system test controller may typically be linked to the test program executor by a high-data-rate ATE internal interface. Thus, the "conventional" tester resources and test program executors do not have to take on the typically very difficult task of receiving high-speed communication from the device under test, but rely on the on-chip system test controller as a powerful intermediary. Furthermore, the test program executor can receive communication from the on-chip system test controller, usually with little effort, and the test program executing on the test program executor can evaluate the forwarded commands in a manner flexibly configurable by the ATE test program. In other words, the on-chip system test controller may act as a forwarding instance and take care of handling the protocol for communication with the device under test, and the test program executor may control the actual tester resources under the control of the ATE test program, which in turn may evaluate the commands forwarded by the on-chip system test controller and convert the commands into tester-internal (e.g., hardware-related) commands for configuring the tester resources of the automatic test equipment.As a result, highly efficient task sharing can be achieved within the automatic test equipment, allowing commands to be handled in a resource-efficient manner.
[0044] In a preferred embodiment, the message handler is configured to convert commands (e.g., messages) comprising a symbolic reference (e.g., "VCC2") to a tester resource (e.g., of a power supply voltage or of a signal) into tester resource adjustments related to the tester hardware (e.g., into instructions to set (physical) resource channels of an automatic test equipment to desired values).
[0045] By using such concepts, commands generated by test cases executed on the device under test need not be aware of the specific hardware of the automatic test equipment, nor of commands internal to the ATE for controlling test resources. Rather, test cases executed on the device under test can rely on symbolic references that are easy to understand for a validation engineer. Furthermore, the translation of these symbolic references to tester hardware-related control commands is effected by message handlers in a configurable manner, so that the association of symbolic references with physical tester resources may be defined, for example, within an ATE test program executed by a tester program executor. As a result, testers with different actual physical tester resource configurations can be adapted for use with a given test case by a one-time adaptation of the ATE test program to properly handle a given test case using specific symbolic references. As a result, test cases do not need to be rewritten or even modified when the actual physical tester hardware is changed. As a result, the ATE test programs executed by the test program executor of the ATE constitute a physical abstraction mechanism, significantly facilitating the testing of devices under test on different automatic test equipment.
[0046] In a preferred embodiment, the message handler is configured to generate an acknowledgement message and provide the generated acknowledgement message to the on-chip system test controller (e.g., after completing updates of one or more tester resources requested by the device under test), and the on-chip system test controller is further configured to forward the acknowledgement message provided by the message handler to the device under test or provide the acknowledgement message to the device under test in response to the acknowledgement message provided by the message handler.
[0047] By using such concepts, the acknowledgement message can be generated by the test program executor, which usually has very close physical access to the tester resources and can reliably determine when the update of the tester resources is completed. Thus, the message handler is best suited to generate the acknowledgement message, while the on-chip system test controller turns out to be best suited to forward the acknowledgement message, which may comprise, for example, protocol handling for communication with the device under test. As a result, the typically fast communication between the message handler and the on-chip system test controller, and the fast communication towards the device under test enabled (or best supported) by the on-chip system test controller, can be used. In this way, a fast mechanism for the transmission of the acknowledgement message can be implemented, with efficient use of the available resources.
[0048] In a preferred embodiment, the automatic test equipment is configured to execute a test program, which is configured to initialize test resources of the automatic test equipment and to enable the start of the test program execution on the device under test. Furthermore, the test program is configured to cause further updating of the test resources under the control of the device under test (e.g. under the control of one or more on-chip system test test cases executed on the device under test). Thus, a sharing of tasks between the ATE test program and the test cases executed on the device under test can be achieved. A start-up condition optimal for a reliable start-up of the device under test can be triggered by the ATE test program, e.g. at a time when no test cases are executed on the device under test. Then, various test conditions triggered by the update of the tester resources under the control of the device under test can be reached, e.g. under the supervision of the test cases. Thus, for example, difficult tests that may cause the testing of the device under test under marginal conditions can be controlled by the test cases. Such a concept has been found to make test development particularly simple and reliable.
[0049] In a preferred embodiment, the automatic test equipment comprises an on-chip system test controller. The automatic test equipment comprises one or more tester resources (e.g., one or more device power supplies and / or one or more analog or digital signal generators). The on-chip system test controller is coupled to the one or more tester resources (e.g., directly coupled, e.g., coupled in a manner that bypasses the test program executor). Additionally, the on-chip system test controller is configured to provide control signals (e.g., via a data bus and / or via one or more synchronization lines and / or via a synchronization bus) to the one or more tester resources to update the one or more tester resources in response to commands from the device under test (i.e., from a test case).
[0050] With such concepts, it is possible to very quickly update one or more tester resources in response to commands from a device under test. For example, the on-chip system test controller may be adapted to communicate with the device under test at very high speed using a high speed interface (e.g., HSIO). The on-chip system test controller may be configured to handle the protocol of the high speed interface, which allows high speed communication between the on-chip system test controller and the device under test with little effort. In this way, the on-chip system test controller is well adapted to receive commands requesting the update of one or more tester resources from the device under test. Furthermore, by providing an interface that allows direct control of one or more tester resources, the on-chip system test controller may very quickly cause the update of one or more tester resources in response to commands issued by the device under test (e.g., via the high speed interface) without involving a test program executor or a workstation that controls the automatic test equipment, for example. For example, the on-chip system test controller may provide direct access to an interface (e.g., a data bus) that allows configuration (or reconfiguration) of one or more tester resources. Thus, the latency (delay time) of updating one or more tester resources in response to a command from a device under test can be reduced compared to other solutions, for example, in which the test program executor also participates in updating one or more tester resources.
[0051] In a preferred embodiment, the on-chip system test controller is configured to translate commands (e.g., messages) comprising a symbolic reference (e.g., "VCC2") to a tester resource (e.g., a power supply voltage or signal) into tester resource adjustments related to the tester hardware (e.g., into instructions to set (physical) resource channels of an automatic test equipment to desired values).
[0052] By using such a translation from symbolic references to tester hardware related tester resource adjustments, the development of test programs becomes much easier for verification engineers. For example, a verification engineer designing a test case need only refer to the symbolic references and need not be aware of the specific physical configuration of the automatic test equipment. Furthermore, the test case may be executable (e.g., without modification) on different configurations of automatic test equipment. Thus, the concept of using command translation has great advantages for test development and test execution. Furthermore, see also the above discussion regarding command translation in a test program executor.
[0053] In a preferred embodiment, the on-chip system test controller is coupled to one or more tester resources via a data bus and via a synchronization line or a synchronization bus. The on-chip system test controller is configured to prepare (e.g. initialize) a new setting (e.g. new voltage) of a selected tester resource (e.g. device power supply whose output voltage is to be changed) (e.g. to define the future characteristics of the selected tester resource) depending on a message parameter (e.g. message parameter defining the new voltage) of a command received from the device under test (i.e. from a test case) via the data bus. Furthermore, the on-chip system test controller is configured to activate the prepared new setting of the selected tester resource via the synchronization line or via the synchronization bus (e.g. using a synchronization bus event or a synchronization bus message). Using such a concept, the on-chip system test controller can obtain very accurate information when an update of a test resource is actually prepared. While communicating the desired new settings over a data bus, depending on the message parameters of the command received from the device under test, may not determine exactly when the update of the test resources actually occurs, the timing relationship between the activation of the synchronization line or the transmission of data over the synchronization bus and the time when the tester resources are actually updated is usually quite predictable. Thus, the acknowledgement message can be reliably generated by the on-chip system test controller without the need to add unnecessary delays "just in case." Such a concept therefore enables faster test execution and helps reduce the cost of testing.
[0054] In a preferred embodiment, the on-chip system test controller is configured to provide an acknowledgement signal (e.g., in the form of an acknowledgement message) to the device under test, so that synchronization with the execution of test cases on the device under test can be ensured and communication from the on-chip system test controller to the device under test is typically particularly fast in view of the on-chip system test controller's ability to efficiently use high speed interfaces.
[0055] An embodiment of the present invention generates a device under test that is configured to provide commands (in the form of messages) to automatic test equipment requesting updates of one or more tester resources (e.g., under control of test cases executing on the device under test), and further configured to pause execution of the test cases until an acknowledgement signal (e.g., an acknowledgement message) is received by the device under test indicating completion of the tester resource updates requested by the device under test.
[0056] This device under test allows for particularly efficient test execution. The device under test (or the test cases executed on the device under test) can control the test environment of the device under test (e.g., the settings of one or more power supply voltages supplied to the device under test, and / or one or more clock frequencies of the device under test, and / or the characteristics of the input signals provided to the device under test by the automatic test equipment). Also, timing synchronization between the test cases executed on the device under test and the updates of one or more tester resources can be achieved by pausing the execution of the test cases until an acknowledgement signal indicating completion of the test resource updates requested by the device under test is received by the device under test. For example, the device under test can wait to execute a test program step that requires the update of one or more tester resources until an acknowledgement signal is received, helping to ensure that the test cases are always executed in the proper expected test environment. Also, the use of the acknowledgement signal can avoid unnecessary delays "on the safe side". As a result, the test cases can be executed at high speed and with very high reliability (e.g., by continuing the execution of the test cases immediately upon receipt of the acknowledgement signal, rather than using a precautionary large fixed delay). Moreover, developing such test cases is usually very easy for the validation engineer because changes in the test environment are triggered by each command contained in the test case executed on the device under test, and there is no need for adaptation of the test program executed on the automatic test equipment. Thus, both the development and debugging of test cases executed on the DUT are simple and robust.
[0057] In a preferred embodiment, the device under test is a system-on-chip. The device under test is configured to execute test cases (e.g., programs that execute test procedures for testing the device under test). Additionally, the device under test is configured to provide commands to test equipment that is modified under the control of the test cases. Thus, the test cases can request updates (e.g., parameter changes) of one or more tester resources, and signals indicating completion of such tester resource updates can be evaluated, allowing highly reliable control of adjustments to the test environment.
[0058] Thus, the test case itself can control the test environment (e.g., the supply voltage of the device under test, or the physical parameters of one or more signals provided to the device under test by the automatic test equipment). This allows for a highly complete test that is essentially under the (higher) control of the test case, allowing efficient test definition by the validation engineer who designs the test case.
[0059] In a preferred embodiment, the device under test is configured to provide commands in the form of parameterized messages, the parameters of the messages describing the desired settings of the tester resources (e.g., desired supply voltage, desired clock frequency, desired signal characteristics, etc.). The use of commands in the form of parameterized messages has been found to make it easier for validation engineers to communicate specific requirements to automatic test equipment. Furthermore, parameterized commands have been found to typically greatly enhance the readability of the program code underlying the test cases. Further, reference is made to the above-mentioned advantages provided by the use of commands in the form of parameterized messages.
[0060] In a preferred embodiment, the device under test is configured to receive the acknowledgement signal in the form of a message. A device under test comprising one or more high speed interfaces is usually found to be suitable for receiving messages, since it comprises a communication interface driver capable of handling messages (such a message may comprise, for example, a message header, message data, optional error correction information and an optional message terminator). Furthermore, it is found that the handling of messages is usually supported by software running on the device under test, for example by an operating system running on the device under test, or possible by using a loop waiting for the reception of a message. Furthermore, the evaluation of messages can usually be easily performed using a finite state machine, which can be implemented in the DUT with moderate effort.
[0061] In a preferred embodiment, the device under test is configured to provide commands (e.g., messages to the automatic test equipment) to the automatic test equipment via a (preferably protocol-based) high-bandwidth interface (e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface). Alternatively or additionally, the device under test is configured to receive acknowledgement signals (e.g., acknowledgement messages) (e.g., from the automatic test equipment) via a (preferably protocol-based) high-bandwidth interface (e.g., via a high-speed interface, e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface).
[0062] The use of such high-speed interfaces (or high-bandwidth interfaces) has been found to be suitable for many devices under test, which may have one or more of these interfaces on-chip and may have one or more drivers for these interfaces. For example, the interfaces may be used for multiple purposes during on-chip system testing, such as for uploading test cases from the automatic test equipment to the device under test, and / or for downloading test results from the device under test to the automatic test equipment, and / or for testing the interface itself. Thus, high-speed interfaces can be easily used for sending commands to the automatic test equipment and receiving acknowledgement signals from the automatic test equipment, and the use of such high-speed interfaces allows for low latency.
[0063] In a preferred embodiment, the device under test is configured to use one or more library routines (e.g., of a software library provided by the automatic test equipment) to provide commands and / or evaluate acknowledgement signals (which use may be possible, for example, by an application programming interface provided by the automatic test equipment). The use of the library routines by the device under test facilitates providing commands and / or evaluating acknowledgement signals, making it easier for the validation engineer to develop an appropriate test program. For example, the library routines may be provided by the manufacturer of the automatic test equipment and thus may be fully compatible with the automatic test equipment. For example, a validation engineer designing test cases need not have detailed knowledge of the internals of the automatic test equipment and / or of protocols for sending messages or for sending acknowledgement signals. Rather, a validation engineer designing test cases to be executed on the device may simply utilize, for example, an application programming interface provided by the automatic test equipment (e.g., as part of the automatic test equipment software). Thus, the validation engineer can develop test programs with confidence and comfort.
[0064] One embodiment of the present invention creates a test equipment configuration (test setup) that includes automatic test equipment as outlined above and a device under test as outlined above, the test equipment configuration being based on similar considerations as the automatic test equipment and device under test discussed above.
[0065] Another embodiment of the present invention creates a method for operating an automatic test equipment. The method comprises receiving a command (e.g. in the form of a message) from a device under test (i.e. from a test case) requesting an update of one or more tester resources. Furthermore, the method comprises updating one or more tester resources in response to the command provided by the device under test (i.e. from the test case). Furthermore, the method comprises providing an acknowledgement signal (e.g. an acknowledgement message) to the device under test notifying completion of the tester resource update requested by the device under test. The method is based on the same considerations as for the automatic test equipment described above. Moreover, the method can be optionally supplemented by any of the features, functions and details discussed herein also with respect to the automatic test equipment. The method can be optionally supplemented by such features, functions and details, individually or in combination.
[0066] Another embodiment of the present invention creates a method for testing a device under test. The method comprises providing a command (e.g., in the form of a message) from the device under test (i.e., from the test case) to an automatic test equipment under control of a test case executed on the device under test requesting an update of one or more tester resources (e.g., under control of a test case executed on the device under test). The method comprises pausing execution of the test case (e.g., under control of the test case) until an acknowledgement signal (e.g., an acknowledgement message) indicating completion of the tester resource updates requested by the device under test is received by the device under test (and detected, for example, by the test case). The method further comprises updating the one or more test resources in response to the command provided by the device under test (i.e., by the test case). The method may also comprise providing an acknowledgement signal (e.g., an acknowledgement message) to the device under test notifying completion of the tester resource updates requested by the device under test. The method further comprises continuing execution of the test case upon detection of the acknowledgement signal by the device under test.
[0067] The method implements the interaction between the automatic test equipment and the device under test discussed above. The method is therefore based on the same considerations and has the same advantages as those discussed with respect to the automatic test equipment and with respect to the device under test. Moreover, the method can be optionally supplemented, individually or in combination, by any of the features, functions and details discussed herein with respect to the automatic test equipment and with respect to the device under test.
[0068] Another embodiment of the present invention creates a computer program for carrying out the methods discussed herein.
[0069] Yet another embodiment of the present invention generates an automatic test equipment for testing one or more devices on a test. The automatic test equipment is configured to receive a command (e.g., in the form of a message) from a test case requesting an update of one or more test resources. The automatic test equipment is configured to update the one or more test resources in response to the command provided by the test case. Furthermore, the automatic test equipment is configured to provide an acknowledgement signal (e.g., an acknowledgement message) to the test case to notify completion of the tester resource update requested by the test case. This automatic test equipment is based on similar considerations as the automatic test equipment described above. However, the automatic test equipment is most often configured to receive commands from a test case, which is typically executed on the device under test (although it may also be executed in a distributed manner, e.g., distributed between the automatic test equipment and the device under test). Furthermore, it is noted that the automatic test may optionally be supplemented by any features, functions and details discussed in this document and with respect to the automatic test equipment receiving commands from the device under test. For example, receiving a command from a test case may be replaced by receiving a command from the device under test. The automated test equipment may be supplemented with such features, functions and details, either individually or in combination (in which case the test cases may replace the DUT, if desired).
[0070] Another embodiment according to the invention creates a method for operating an automatic test equipment. The method comprises receiving a command (e.g. in the form of a message) from a test case requesting an update of one or more test resources. The method comprises updating the one or more test resources in response to the command provided by the test case. Furthermore, the method comprises providing an acknowledgement signal (e.g. an acknowledgement message) to the test case to notify completion of the tester resource update requested by the test case. The method is based on the same considerations as the method for operating an automatic test equipment described above, the command being provided by the test case. The method may optionally be supplemented by any of the features, functions and details discussed herein and with respect to the corresponding automatic test equipment apparatus. The method may be supplemented by such functions individually or in combination (where the test case may replace the DUT, if necessary).
[0071] Further, embodiments of the present invention also generate respective computer programs.
[0072] One embodiment of the present invention generates automatic test equipment for testing a device under test. The automatic test equipment comprises a trigger line (e.g., a hardware trigger line, e.g., a GPO trigger line) that is controllable by the device under test (i.e., by, for example, a test case that may be executed on the device under test). The automatic test equipment is configured to update one or more tester resources (also referred to herein as test resources) (e.g., modify one or more supply voltages provided by the automatic test equipment to the device under test, or modify one or more signal characteristics of one or more analog or digital signals provided by the automatic test equipment to the device under test) in response to activation of the trigger line by the device under test (i.e., by, for example, a test case that may be executed on the device under test).
[0073] This embodiment according to the invention is based on the idea that by providing in the automatic test equipment trigger lines enabling the device under test to trigger the update of one or more tester resources, a test can be performed with high timing precision under the control of the device under test (which may for example be a system on chip). The device under test is thus able to influence the test environment with little effort but with high timing precision. For example, by providing the device under test with access to trigger lines which trigger the update of one or more tester resources, the automatic test equipment of the invention offers the device under test the possibility to change the settings of the automatic test equipment (more precisely of one or more test resources) without the device having to send commands, for example using a protocol-based interface. The device under test may thus cause (or trigger) the update of one or more tester resources by a simple activation (or deactivation) of a single output pin (for example a general-purpose output pin, or any other output pin) or a single input / output pin, which is usually possible with very little effort and with very high timing precision.
[0074] For example, using such a concept, a device under test, which may be a system-on-chip, may require only a single machine instruction (or a very small number of machine instructions) to activate or deactivate an output (or, more precisely, a single output pin or a single input / output pin) and trigger (e.g., by an edge on said output pin or input / output pin) the update of one or more test resources. Such output activation (or deactivation) may be coupled with a trigger line and may be possible within a very short time and may not require, for example, the use of complex drivers or communication protocols. Possible delays or timing non-determinisms introduced by drivers that may be necessary to operate protocol-based high-speed interfaces may be avoided (or bypassed) in this way.
[0075] Furthermore, additional delays in the automatic test equipment may also be avoided by the use of the above-mentioned trigger lines, since a simple activation of the trigger line (e.g., a rising or falling edge on the trigger line) typically does not require complex protocol processing or command translation on the part of the automatic test equipment, thus avoiding both effort and delay. Rather, the trigger line, which may be a dedicated trigger line, may act directly on the test resources, thereby minimizing both delay and configuration complexity. Thus, a simple falling or rising edge on the trigger line may cause an update of the tester resources.
[0076] In conclusion, providing the device under test with access to the above trigger lines provides a very good compromise between reaction time, implementation effort and ease of use.
[0077] In a preferred embodiment, the automatic test equipment is configured to directly trigger the update of one or more test resources by activation of the trigger line (e.g., a simple edge or transition on the trigger line), bypassing a test program executor executing the test program (e.g., a test program executor of the automatic test equipment executing an ATE test program). By bypassing the test program executor, unnecessary delays can be avoided and tester resources, such as an ATE power supply, an analog channel module, or a digital channel module, can be directly triggered by the device under test. Furthermore, since the execution of the ATE test program is also not interrupted by the activation of the trigger line, the test program executor may perform its operations (e.g., evaluating result data provided by the device under test) in an uninterrupted manner, which helps reduce test time. Also, interruption of the operation of the test program executor, which may lead to data loss (e.g., if the test program executor is responsible for obtaining result data from the device under test), is avoided.
[0078] In a preferred embodiment, the automatic test equipment comprises one or more tester resources (e.g., one or more device power supplies, and / or one or more digital signal modules or sources, and / or one or more analog signal modules or sources, and / or one or more mixed-signal modules). Furthermore, the one or more tester resources (also referred to as test resources) are coupled to a test program executor via an interface to allow programming of one or more characteristics (e.g., supply voltages, e.g., digital patterns, e.g., digital waveforms, etc.) of the one or more test resources under control of a test program (e.g., under control of an ATE test program executed by a test program executor of the automatic test equipment). Furthermore, the one or more tester resources are coupled to trigger lines that are controllable by a device under test (i.e., a test case that may be executed on the device under test, for example). Furthermore, the one or more tester resources are configured to update the signal characteristics in a preprogrammed manner (e.g., to a value) under control of the test program in response to activation of the trigger lines by the device under test (i.e., by a test case that may be executed on the device under test, for example).
[0079] In this concept, the test program executor maintains control of the actual parameters to which one or more tester resources are set. Thus, responsibilities may be shared between the test program executor and the device under test, with the test program executor being responsible for programming the characteristics of one or more test resources and also for preprogramming the settings of one or more tester resources, which it should assume in response to the activation of a trigger signal, while the device under test only needs to activate the trigger signal at the appropriate time (e.g., determined by the test cases executed on the DUT). Thus, the device under test (which is typically an intelligent device under test, such as a system-on-chip) only needs to assume a small part of the functionality (triggering the updating of the signal characteristics of one or more tester resources to values preprogrammed by the test program executor), allowing for very simple communication between the device under test and the automatic test equipment (only the activation or deactivation of a single output of the device under test that provides the trigger signal is required). On the other hand, the test program executor of the automatic test equipment will usually be equipped with knowledge of the updates of one or more test resources required for the device under test, and would preferably also make some timing coordination with the execution of the test cases on the device under test. However, such "coarse" timing synchronization between the test program executor of the automatic test equipment and the execution of the test cases on the device under test is normally done because the test program executor usually controls the uploading of the test cases to the device under test and also communicates with the device under test to receive test result information therefrom. Thus, since the test program executor is usually aware of the state of the device under test and therefore also has knowledge of which updates of one or more test resources will next be required by the device under test, the test program executor can easily pre-program one or more tester resources and which updates of one or more parameters of one or more test resources should be performed in response to the next activation of a trigger line by the bus under test.It is therefore evident that the concepts mentioned herein are very efficient as they facilitate communication between devices under test and automatic test equipment whilst providing very high timing precision.
[0080] In a preferred embodiment, the automatic test equipment comprises a test program executor configured to preprogram one or more tester resources to predefine a response (e.g., a change in a signal characteristic to a new parameter value) of the one or more tester resources to activation of a trigger line by a device under test (i.e., by a test case that may be executed on the device under test). By predefining the response of the one or more tester resources to activation of a trigger line by the device under test under control of an ATE test program, communication between the device under test and the automatic test equipment can be greatly simplified, such that mere activation of a trigger signal by the device under test is sufficient to cause a well-defined response of the one or more tester resources, which response is predefined by the test program executor (e.g., under control of an ATE test program).
[0081] In a preferred embodiment, the automatic test equipment (e.g., a test program executor of the automatic test equipment) is configured to preprogram one or more tester resources according to one or more instructions (e.g., instructions defining desired parameters for preprogramming) provided in a test program (e.g., in an ATE test program executed by a test program executor of the ATE) to predefine a response (e.g., a change in signal characteristics to a new parameter value) of one or more tester resources to an activation of a trigger line by a device under test (i.e., by a test case that may be executed on the device under test). By defining the preprogramming of one or more tester resources using instructions provided in a test program (e.g., an ATE test program), appropriate updating of one or more tester resources can be prepared in a programmable manner by appropriate development of a test program on the ATE side (which should in any case be at least roughly synchronized in time with the execution of the test case on the device under test). Meanwhile, parameter communication for tester resource updating from the device under test to the automatic test equipment is not necessary (and can be omitted).
[0082] In a preferred embodiment, the automatic test equipment (e.g., a test program executor of the automatic test equipment) is configured to receive a command (e.g., in the form of a message) from a device under test (i.e., from a test case that may be executed on the device under test) that defines one or more parameters for updating one or more tester resources (wherein the update is triggered by a (subsequent) activation of a trigger line, rather than by a command that defines the parameters). Furthermore, the automatic test equipment (e.g., a test program executor of the automatic test equipment) is configured to pre-program one or more tester resources according to a command received from the device under test (i.e., from a test case that may be executed on the device under test) (e.g., according to a command that defines one or more parameters for updating) to pre-define a response (e.g., a change in signal characteristics to a new parameter value) of the one or more tester resources to an activation of a trigger line by the device under test (i.e., from a test case that may be executed on the device under test).
[0083] With such a concept, the device under test itself may inform the automatic test equipment which update of one or more parameters of one or more tester resources is required next. However, this notification from the device under test to the automatic test equipment may be performed, for example, under relaxed time requirements, since the actual time of the update of one or more tester resources is determined by the activation of a trigger line by the device under test, which can be done in a very time-precise manner (as described above). With such a concept, the automatic test equipment (or a test program executor of the automatic test equipment) no longer needs to know which parameter update of one or more tester resources is required next by the device under test. Therefore, no synchronization is required between the execution of the test case on the device under test and the execution of the ATE test program in the test program executor of the automatic test equipment. Furthermore, the validation engineer does not have to define, in the test case executed on the device under test, the time when the update of one or more tester resources should be performed, nor does he have to define one or more parameters that should be set in the one or more tester resources when the update occurs. Therefore, the validation engineer does not have to modify both the test case executed on the device under test and the ATE test program to define the appropriate update of the tester resources. Thus, it becomes significantly easier for verification engineers to develop test cases and with less opportunity for error, since ATE test programs do not need to be adapted when using commands (e.g., in the form of messages) to transfer desired new parameters of one or more tester resources.
[0084] Thus, at least with regard to the adaptation (update) of the test environment, the development of test cases is substantially independent from the adaptation of an ATE test program using such a concept. Furthermore, by distinguishing between a command defining one or more parameters for the update of one or more tester resources and the actual activation of a trigger signal by the device under test, a separation is made between the non-time-critical part of the "command" (a command defining one or more parameters for the future update of one or more test resources) and the actual trigger execution of said update (where the latter is a very time-critical process). As a result, the command, which usually comprises more data, can be transmitted using a high-speed interface, which is for example protocol-based and may be non-real-time capable (or may not be ideally real-time capable), while the trigger signal can be generated by a simple activation of a single output of the device under test, which can be performed in a very time-precise manner.
[0085] In a preferred embodiment, one or more tester resources comprise a trigger mechanism configured to update a signal characteristic (e.g., of a signal provided by each tester resource to the device under test) (e.g., a signal voltage provided to the device under test, or a frequency of a clock signal provided to the device under test) in response to activation of a trigger line by the device under test (i.e., by a test case that may be executed on the device under test). By providing such a trigger mechanism in one or more tester resources, it is possible to achieve a very fast reaction time, and it is possible to pre-program the desired new value (to which the test resource should switch in response to the activation of the trigger signal), such that the pre-programming is not time critical. In contrast, upon activation of a trigger line (provided by the device under test or a test case), the test resource can quickly switch to using one or more new signal parameters (that have been pre-programmed), and the tester resource only needs to receive a trigger signal from the device under test (e.g., via the trigger line) for the actual execution of the update. In this way, the non-time critical pre-programming of the desired new value to be used in response to the activation of the trigger line can be separated from the time critical activation of the trigger line. Thus, very short response times can be achieved and the actual triggering of an update of one or more test resources no longer requires just-in-time transmission of desired new parameters towards one or more tester resources.
[0086] In a preferred embodiment, the automatic test equipment includes an on-chip system test controller, a test program executor, and one or more test resources, where the trigger line is a hardware line that runs from a device under test interface of the automatic test equipment directly to one or more tester resources (e.g., a device power supply, a signal generation module, a channel module, etc.), bypassing the on-chip system test controller and the test program executor.
[0087] Using such an approach, updates to the one or more tester resources can be triggered with minimal latency, and the triggering of the updates to the one or more tester resources does not impose additional processing requirements on the on-chip system test controller or the test program executor. Thus, updates to the one or more tester resources can be triggered very quickly, while interruptions to the functionality of the on-chip system test controller or the test program executor are avoided.
[0088] In a preferred embodiment, the one or more tester resources comprise one or more of a device power supply, a signal generator module, and / or a channel module. Such types of tester resources are typically suitable for rapid updating of one or more parameters, which have been found to significantly determine the test environment of the device under test. As a result, it has been found to be highly advantageous to directly trigger the updating of one or more signal parameters of such tester resources under the direct control of the device under test.
[0089] In a preferred embodiment, one or more tester resources are coupled to the test program executor via an interface. Thus, the test program executor can initialize the one or more tester resources (e.g., even before test cases are executed on the device under test). Furthermore, by providing an interface coupling one or more tester resources to the test program executor, the test program executor can further pre-program desired updates to the one or more tester resources (e.g., under the control of an ATE test program). Furthermore, by providing an interface between the tester resources and the test program executor, it is also possible to fully control the tester resources via this interface. In conclusion, it is clear that it is advantageous to have both an interface between one or more tester resources and the test program executor, and a trigger line that runs directly between one or more tester resources and an interface of the device under test.
[0090] In a preferred embodiment, one or more of the tester resources are physically separate (eg, on different printed circuit boards, or different replaceable modules) from the test program executor (and preferably also from the OCST controller).
[0091] By using such a physically separated and preferably modular concept, the automatic test equipment can flexibly respond to specific test needs. Moreover, by separating different functions into physically separated components, the distortion of signal integrity can be kept reasonably small. Furthermore, it is noted that the test program executor is typically adapted to control several significantly different tester resources (e.g., one or more device power supplies, and one or more analog channel modules, and one or more digital channel modules, etc.), the number of tester resources typically differing between different applications. Therefore, it is highly recommended to have one test program executor coupled to several different tester resources (e.g., one or more device power supplies, and one or more channel modules, e.g., analog channel modules and / or digital channel modules, etc.) in such a system configuration. Bypassing the test program executor with one or more trigger lines extending directly from the device under test interface to one or more tester resources is particularly efficient, since the test program executor may be involved in tasks related to several different tester resources at the same time and thus suffer significant delays.
[0092] An embodiment of the present invention creates a device under test. The device under test is configured to provide a trigger signal to an automatic test equipment via a dedicated trigger line to trigger an update of one or more test resources (where, for example, the device under test may be under the control of a test case). By providing the device under test with the ability to directly trigger an update of one or more tester resources using activation of the trigger line, the latency for causing the resource update can be minimized and the resource update can be caused with little effort. For example, in such a concept, the update of one or more test resources can be triggered under the control of the device under test, and the device under test only needs to change the state of a dedicated trigger line, so that the triggering of the resource update can be done with very little software and hardware effort. However, the device under test does not need to use, for example, protocol-based communication, which requires complex drivers and can often suffer from delays and lack of real-time capabilities. In this way, the test cases that can be executed on the device under test have a very high degree of control over the test environment with minimal latency and without the overhead of device drivers.
[0093] In a preferred embodiment, the device under test is configured to provide a trigger signal under control of a test case executed by the device under test (e.g., using one or more programmable processor devices and / or using one or more microprocessor cores). With such an approach, an "intelligent" device under test capable of executing test cases can trigger updates of one or more tester resources under control of the test case executed by the device under test. However, to trigger updates of one or more tester resources, the test case may only require a very simple command, such as a command to change the state of a single output pin of the device under test that is coupled to a trigger line (which outputs a trigger signal). In this way, the device under test has a very direct, low latency impact on the updates of the test resources.
[0094] In a preferred embodiment, the device under test is configured to provide commands to the automatic test equipment (e.g., via a common interface different from a dedicated trigger line) that define one or more parameters for updating one or more test resources (e.g., to initiate a predefinition of a response of one or more tester resources to activation of a trigger line). Additionally, the device under test is configured to provide a trigger signal (e.g., via a dedicated trigger line) (e.g., to the automatic test equipment, e.g., directly to a tester resource) to trigger an update of one or more tester resources using the one or more parameters.
[0095] By using such a two-stage mechanism, the device under test can use a suitable interface (e.g., a protocol-based high-speed interface) to send commands, which are typically not particularly time-critical, to the automatic test equipment, defining one or more parameters for updating one or more test resources. For example, a command defining one or more parameters for updating one or more tester resources may be sent by the device under test to the automatic test equipment well before the actual update of one or more tester resources. For example, a command defining one or more parameters for updating one or more tester resources may be sent to the automatic test equipment immediately after triggering a previous update of one or more tester resources, so that there is sufficient time both to send the command to the automatic test equipment using the protocol-based interface and to process the command by the automatic test equipment (where processing the command by the automatic test equipment may comprise, for example, parsing the command by a test program executor and pre-programming one or more tester resources of the automatic test equipment by the test program executor). Furthermore, the execution of the actual time-critical trigger that causes one or more tester resources to be updated may occur by providing (or activating) a trigger signal (e.g., via a dedicated trigger line), which helps to keep latency low and avoid (high priority) interruptions of the test program executor of the automatic test equipment. As a result, the concept of providing commands to the automatic test equipment that define one or more parameters for the update of one or more tester resources separate from the actual trigger of the update of the one or more tester resources provides a good compromise between efficiency and latency.
[0096] An embodiment according to the present invention generates a test setup, the test setup comprising the automatic test equipment as described above and the device under test as described above.
[0097] One embodiment of the present invention creates a method of operating automatic test equipment, the automatic test equipment comprising a trigger line (e.g., a hardware trigger line, e.g., a GPO trigger line) that is controllable by a device under test (i.e., by test cases that may be executed on the device under test), the method comprising updating one or more tester resources (e.g., modifying one or more supply voltages provided by the automatic test equipment to the device under test, or modifying signal characteristics of one or more analog or digital signals provided by the automatic test equipment to the device under test) in response to activation of the trigger line by the device under test (i.e., by test cases that may be executed on the device under test).
[0098] This method of operating the automatic test equipment is based on similar considerations as the automatic test equipment described above. It is further noted that the method of operating the automatic test equipment may be optionally supplemented by any of the features, functions and details described herein (with respect to the automatic test equipment), either individually or in combination.
[0099] Another embodiment of the present invention creates a method for testing a device under test comprising preprogramming (e.g., under control of automatic test equipment) one or more tester resources with a test program executor to values of one or more parameters to be assumed in response to a trigger signal, and providing a trigger signal directly from the device under test to the one or more tester resources (e.g., bypassing the test program executor) that causes the one or more tester resources to assume the preprogrammed values of the one or more parameters.
[0100] This method of testing a device under test is also based on similar considerations as the above-mentioned automatic test equipment and the above-mentioned device under test, etc. Thus, this method may optionally be supplemented by any of the features, functions and details described herein with respect to the automatic test equipment and with respect to the device under test. This method may optionally be supplemented by such features, functions and details, individually or in combination.
[0101] Yet another embodiment of the invention generates a computer program product for performing the method when the computer program product is run on one or more computers and / or on one or more microprocessors and / or on one or more microcontrollers.
[0102] Yet another embodiment of the present invention generates an automatic test equipment for testing a device under test, the automatic test equipment comprising a trigger line (e.g., a hardware trigger line, e.g., a GPO trigger line) controllable by a test case (e.g., which may be executed on the device under test, but alternatively which may be partially executed on the device under test and partially executed on the automatic test equipment), the automatic test equipment being configured to update one or more test resources (e.g., modify one or more supply voltages provided by the automatic test equipment to the device under test, or modify one or more signal characteristics of one or more analog or digital signals provided by the automatic test equipment to the device under test) in response to activation of the trigger line by the test case.
[0103] This embodiment is based on similar considerations as the automatic test equipment described above, but note that in this embodiment the trigger lines are controllable by the test cases (so that the test cases take on the role of the device under test) (e.g., independent of how the test cases are distributed between the device under test and the automatic test equipment).
[0104] It should further be noted that the automatic test equipment may be optionally supplemented with any of the features, functions and details described herein with respect to other automatic test equipment, either individually or in any combination.
[0105] Yet another embodiment of the present invention is directed to a method of operating an automatic test equipment that includes a trigger line (e.g., a hardware trigger line, e.g., a GPO trigger line) controllable by a test case (e.g., which may be executed on a device under test or distributed between the device under test and the automatic test equipment), the method comprising updating one or more test resources (e.g., modifying one or more supply voltages provided by the automatic test equipment to the device under test or modifying signal characteristics of one or more analog or digital signals provided by the automatic test equipment to the device under test) in response to activation of the trigger line by a test case (e.g., which may be executed on the device under test or distributed between the device under test and the automatic test equipment).
[0106] This method for operating automatic test equipment is based on similar considerations as the other methods of operating automatic test equipment described herein. However, it is noted that the test cases take on the functions of the device under test. Furthermore, it is noted that the method for operating automatic test equipment may be optionally supplemented by any of the features, functions and details disclosed herein with respect to the automatic test equipment and with respect to the device under test. The method may be optionally supplemented by such features, functions and details, individually or in combination.
[0107] One embodiment of the present invention creates a method of testing a device under test, the method comprising preprogramming (e.g., under control of automatic test equipment) one or more tester resources with a test program executor to values of one or more parameters to be assumed in response to a trigger signal, and providing a trigger signal from a test case directly to the one or more tester resources (e.g., bypassing the test program executor) that causes the one or more tester resources to assume the preprogrammed values of the one or more parameters.
[0108] This method of testing a device under test is similar to the method of testing a device under test described above, in which a test case takes on the role of the device under test. It is further noted that this method may optionally be supplemented by any of the features, functions and details described herein with respect to the automatic test equipment and with respect to the device under test. This method may optionally be supplemented by these features, either individually or in combination.
[0109] Another embodiment of the present invention generates a computer program product for performing the methods described herein when the computer program product is run on one or more computers and / or on one or more microprocessors and / or on one or more microcontrollers.
[0110] An embodiment according to the present invention generates an automatic test equipment for testing one or more devices under test. The automatic test equipment is configured to receive commands (e.g. in the form of messages) from the device under test requesting measurements of one or more physical quantities (e.g. of a supply voltage supplied to the device under test, of a current supplied to the device under test, of a signal characteristic of a signal supplied by the device under test, of a clock frequency of a clock signal supplied to the device under test, of an environmental parameter such as temperature, humidity, air pressure, electric or magnetic field in the environment of the device under test, etc.). Furthermore, the automatic test equipment is configured to perform or initiate measurements of the one or more physical quantities in response to a command provided by the device under test. Furthermore, the automatic test equipment is configured to provide a measurement result signal (e.g. an acknowledgement message) to the device under test to inform it of the measurement result requested by the device under test.
[0111] With such a concept, since the measurement results are provided to the device under test (i.e., the test cases) using the measurement result signals, the device under test, i.e., the test cases running on the device under test, has control over the execution of one or more measurements and may further process the measurement results. As a result, the device under test has a large degree of control over the execution of the test, including measurements performed to characterize the functionality or performance of the device under test. As a result, a validation engineer designing a test may add program instructions that cause the test cases running on the device under test to provide one or more commands requesting the measurement of one or more physical quantities by the automatic test equipment, and may place instructions in the test cases running on the device under test to evaluate one or more measurement results (provided to the device under test by the automatic test equipment using the measurement result signals). As a result, most steps of the test can be controlled by the device under test (or the test cases running on the device under test), which means that the validation engineer can focus on developing the test cases that run on the device under test and not on developing the ATE test programs that run on the automatic test equipment. For example, using the concepts disclosed herein, a validation engineer may not need to adapt a test program executed on an automatic test equipment to perform a measurement at a particular time when a test case is executed. Rather, the ATE test program may only define a standard response (e.g., a predefined format) to a command provided by the device under test, which may comprise, for example, appropriate control of physical tester resources to perform a measurement and providing a measurement result signal. As a result, the device under test (i.e., the test case executed on the device under test) may request a measurement of one or more physical quantities whenever appropriate in terms of the progress of the execution of the test case on the device under test, and the device under test (or the test case executed on the device under test) may protocol and / or evaluate the measurement results. For example, the device under test may use the measurement results for decisions regarding further execution of the test, e.g., modify the execution of the test case depending on the measurement results.
[0112] Furthermore, by providing the measurement result signal to the device under test and informing it of the measurement results requested by the device under test, the automatic test equipment can easily achieve time synchronization between the operation of the automatic test equipment and the device under test, since the device under test can be sure that the measurement is completed when it receives the measurement result signal from the automatic test equipment (and the device under test knows that no measurement has been performed before the device under test requested the measurement of one or more physical quantities). As a result, the mechanisms disclosed herein can ensure that measurements are taken "at the right time", i.e., at the right point in the execution of the test case by the device under test.
[0113] In conclusion, the concepts described herein significantly ease the verification engineer's job, since control over the measurements is transferred to the test cases, providing better timing synchronization between the device under test and the execution of the measurements, and further giving the device under test (or the test cases running on the device under test) the opportunity to use the measurement results to control the tests.
[0114] In a preferred embodiment, the automatic test equipment is arranged to receive commands in the form of parameterised messages from the device under test, the parameters of the messages describing the physical quantities to be measured (e.g. power supply voltage, clock frequency, signal characteristics, environmental characteristics, etc.). However, it has been found that the use of parameterised messages makes it particularly easy for a validation engineer to develop tests (e.g. develop test cases to be executed on the device under test). In particular, parameterised messages are usually particularly easy to read for validation engineers, and it has been found that the use of parameterised messages is well suited to applications in which different physical quantities can be measured. Thus, for example, the parameters of the message may specify which physical quantity is to be measured, and the parameters may (optionally) provide additional information characterising the measurement (e.g. define whether a filter or averaging should be used, define the measurement resolution, or any other setting of one or more parameters of the measurement resources of the automatic test equipment). As a result, by using such parameterised messages, the device under test can define its measurement requirements in more detail.
[0115] Furthermore, it is noted that messages are typically suitable for transmission from the device under test to automatic test equipment, since the device under test may, for example, comprise one or more protocol-based interfaces suitable for communication of messages (where the message may, for example, comprise a message header, a message payload, and optionally error detection or correction information and a message terminator). However, it has been found that parameterized messages may easily be transmitted over such interfaces, where the messages are, in simple cases, encoded using ASCII strings. In conclusion, it has been found that the concept of receiving commands in the form of parameterized messages from the device under test is easy to implement and allows measurements to be precisely defined.
[0116] In a preferred embodiment, the automatic test equipment is configured to provide the measurement result signals in the form of messages. Providing the measurement result signals in the form of messages typically allows easy communication of the measurement results from the automatic test equipment to the device under test. For example, the device under test often comprises one or more interfaces (e.g. high speed interfaces) capable of receiving (and interpreting) messages. In particular, the result information can typically be extracted from the messages in a computationally efficient manner, for example by using a parsing function. Thus, providing the measurement result signals in the form of messages is well suited for efficient communication of the measurement results to the device under test.
[0117] In a preferred embodiment, the automatic test equipment is configured to receive commands from the device under test (e.g., messages from the device under test) via a (preferably protocol-based) high-bandwidth interface (e.g., via a high-speed interface, such as a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface). Alternatively or additionally, the automatic test equipment is configured to provide measurement result signals (e.g., measurement result messages) to the device under test via a (preferably protocol-based) high-bandwidth interface (e.g., via a high-speed interface, such as a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface).
[0118] Such high-speed interfaces have generally a sufficiently low latency and a sufficiently high bandwidth, and therefore have proven to be particularly suitable for transmitting commands from the device under test to the automatic test equipment and for transmitting measurement result signals from the automatic test equipment to the device under test. Moreover, a typical device under test inherently comprises one or more high-bandwidth interfaces, at least one of which is typically used when testing the device under test, for example for uploading test cases to the device under test and / or for downloading test results from the device under test to the automatic test equipment. Moreover, in many situations, at least one of the high-bandwidth interfaces is also tested by the automatic test equipment. Thus, it has been found that the functionality for communicating between the automatic test equipment and the device under test, which is anyway provided in many test configurations, can be efficiently diverted for transmitting commands from the device under test to the automatic test equipment requesting the measurement of one or more physical quantities and / or for transmitting measurement result signals from the automatic test equipment to the device under test. In particular, it has been found that a typical high-bandwidth interface has sufficient data transmission capacity to transmit commands requesting measurements of one or more physical quantities and / or measurement result signals in addition to other data supporting testing of the device under test (e.g., test case data or test result data, etc.). Furthermore, the concept of sending commands requesting measurements of one or more physical quantities from the device under test to the automatic test equipment and also using measurement result signals to inform the device under test of the measurement results typically makes the timing of the measurements non-critical and allows the use of high-bandwidth interfaces that may be protocol-based and / or shared for different purposes, which may result in timing non-determinism. In conclusion, it has been found that the use of high-bandwidth interfaces for requesting measurements and / or receiving measurement result signals provides a good compromise between implementation effort and timing precision.
[0119] In a preferred embodiment, the automatic test equipment is configured to perform measurements of one or more physical quantities in response to commands provided by the device under test (e.g., a system-on-chip) during execution of a test case on the device under test (e.g., under control of the test case executed by the device under test). By having the concept that measurements of the physical quantities are requested by the device under test, the measurements can be performed in good synchronization with the execution of the test cases, for example where the execution of the test cases on the device under test may be non-deterministic. In other words, according to one aspect of the invention, the automatic test equipment (or a test program executing on the automatic test equipment) may not have detailed knowledge of when to perform a measurement until the automatic test equipment receives a command from the device under test requesting the measurement of one or more physical quantities. However, according to this concept, it is not necessary to interrupt the execution of the test cases on the device under test in order to perform the measurements. Rather, the measurements can even be performed under the control of the test cases and thus at a time when the measurements will yield the desired results in view of the current execution status of the test cases. As an example, a test case executed on a device under test may issue a command requesting measurement of one or more physical quantities just before entering a phase of the test case that requires measurement (or monitoring) of one or more physical quantities, such as current consumption or die temperature. In conclusion, by allowing the device under test to request the measurement of one or more physical quantities, the measurements can be performed synchronously with the execution of the test case on the device under test without the need to interrupt the test case, and by providing a measurement result signal to the device under test, the test case is also fully aware of when the measurement is completed and when the test case can proceed to another processing step. Thus, the above-mentioned concept allows particularly fast testing, since the execution of the test case does not need to be interrupted for timing synchronization between the automatic test equipment and the test case executed on the device under test.
[0120] In a preferred embodiment, the automatic test equipment is configured to provide an application programming interface (API) for use by test cases executed on the device under test. The application programming interface is configured to provide one or more routines (e.g., methods or functions) and / or routine headers (e.g., method headers or function headers) for sending commands requesting measurements of one or more physical quantities from the device under test to the automatic test equipment. Alternatively or additionally, the application programming interface is configured to provide one or more routines (e.g., methods or functions) or routine headers (e.g., method headers or function headers) for time synchronization between the device under test and the automatic test equipment (e.g., one or more routines or routine headers for pausing program execution (e.g., of a test case executed on the device under test) until receipt of a signal indicative of a measurement result).
[0121] Providing an application programming interface can greatly facilitate the development of test cases by verification engineers. For example, a verification engineer developing a test case may only need knowledge of the syntax of the methods or functions that the application programming interface provides (or represents), and may not need detailed knowledge of the internals of the automatic test equipment. Thus, by providing an application programming interface (e.g., in a software repository of the automatic test equipment), the manufacturer of the automatic test equipment can use its superior knowledge of the details of the automatic test equipment to provide an application programming interface that allows a verification engineer designing a test case to access the measurement functionality provided by the automatic test equipment using simple (possibly parameterized) function or method calls. Furthermore, the application programming interface may enable a verification engineer designing a test case to use one or more methods or functions that support time synchronization between the device under test and the automatic test equipment, such as a function or method that waits for a measurement result signal. Such a function may provide the measurement result as a return value to the test case, thus supporting synchronization between the measurement and the execution of the test case. Furthermore, such a function facilitates the use of the measurement result in another execution of the test case.
[0122] A method or function of the application programming interface may in this case handle the provision of commands requesting the measurement of one or more physical quantities, handle the evaluation (e.g., analysis and / or interpretation) of the measurement result signals, and provide the measurement results in a form that is easy to handle in test cases (e.g., a numerical representation).
[0123] In a preferred embodiment, the automatic test equipment comprises an on-chip system test (OSCT) controller, a test program executor for executing a test program, and one or more tester resources (e.g., one or more device power supplies, and / or one or more analog or digital signal generators, and / or one or more measurement resources). The on-chip system test controller is configured to receive commands (e.g., in the form of messages) from a device under test requesting measurements of one or more physical quantities (e.g., via a high-bandwidth interface) and to forward the commands (e.g., messages) to the test program executor for executing the test program. Furthermore, the test program comprises a message handler configured to, in response to the (forwarded) commands (e.g., in the form of the forwarded messages), cause (e.g., execute) measurements of the one or more physical quantities after, for example, decoding and / or interpreting the forwarded messages (e.g., depending on one or more parameters included in the forwarded messages).
[0124] With such a concept, the OCST controller may for example handle the communication between the device under test and the automatic test equipment, and the on-chip system test controller may for example have dedicated processing means (for example dedicated hardware) specifically adapted for high speed communication with the device under test. Furthermore, the on-chip system test controller may comprise additional functions supporting the testing of the system-on-chip, such as for example the ability to upload test programs (or test cases) to the device under test and the ability to download test results from the device under test. Furthermore, the on-chip system test controller may comprise additional functions allowing the evaluation of test results provided by the device under test. Preferably, the on-chip system test controller may be configured to efficiently handle real-time (but typically non-deterministic or protocol-based) communication with the device under test and may thus be suitable for data exchange with the on-chip system. On the other hand, the test program executor may be configured to execute an ATE test program and may be closely linked (or in direct communication) with tester resources such as one or more device power supplies, and / or one or more digital channel modules, and / or one or more analog channel modules, and / or one or more measuring instruments (where it is not necessary to include all of these components, and a measuring instrument may be, for example, part of an analog channel module or a digital channel module or a device power supply).
[0125] For example, the test program executor may comprise a test program capable of interpreting commands requesting measurements of one or more physical quantities and directing the appropriate measurement resources or instruments to perform the requested measurements. For example, the part of the ATE test program (running on the test program executor) responsible for interpreting and executing the commands may be independent of the program code of the test cases and thus remain equivalent for different test cases. Thus, by using such a concept, an efficient division of functions may be made between the on-chip system test controller and the test program executor. For example, the on-chip system test controller may be used for (possibly) non-deterministic tasks that should be executed in real-time or at high speed, while the test program executor may assume closer control over other tester resources (such as device power supplies, analog channel modules, digital channel modules, and measurement resources) and may execute, for example, typically freely configurable ATE test programs that may define the test environment of the device under test (such as one or more power supply voltages, one or more clock signals, one or more predefined input signals, etc.). Therefore, tests can be executed efficiently, and the on-chip system test controller can act as an intermediary between the device under test and the test program executor.
[0126] In a preferred embodiment, a message handler (which may be part of a test program) is configured to convert commands (e.g., messages) comprising symbolic references to test resources (e.g., supply voltages or signals) (e.g., "VCC2") into tester hardware related measurement instructions (e.g., instructions that cause measurements of voltages or temperatures or signal characteristics).
[0127] By using such command translation utilizing symbolic references, engineers can use easy-to-understand symbolic references in test programs, while the message handler can translate these commands into tester hardware-related measurement instructions. Thus, the engineer programming the test cases can use symbolic references efficiently without having to have knowledge of the internals of the automatic test equipment. Note that the use of symbolic references is typically much less error-prone than the specification of specific hardware resources of the automatic test equipment. In contrast, the message handler can be adapted (e.g., by an engineer who is familiar with the internal physical details of the automatic test equipment) to make an assignment between a symbolic reference and the physical tester hardware associated with that symbolic reference in the current tester configuration (e.g., taking into account both the physical resources of the automatic test equipment and the connections between the physical resources of the ATE and specific pins (or pads) of the device under test).
[0128] With such a concept, a test case can be used on different tester hardware because it uses commands with symbolic references, while only the message handler needs to be adapted to the specific hardware (e.g., to the available tester resources and to the connections between the ATE hardware and the pins of the device under test), thereby improving the efficiency of test case development.
[0129] In a preferred embodiment, the message handler is configured to generate a measurement result message and provide the generated measurement result message to the on-chip system test controller (e.g., after performing a measurement). Furthermore, the on-chip system test controller is configured to forward the measurement result message provided by the message handler to the device under test or provide the measurement result message to the device under test in response to the measurement result message provided by the message handler. With such a concept, the on-chip system test controller can take advantage of the ability to communicate efficiently with the device under test (e.g., using a protocol-based high-speed interface), while the measurement result message is generated (or triggered) by the message handler, which typically has more direct access to the tester resources (e.g., measurement resources). Thus, the measurement result can be communicated to the device under test (or the test cases executed on the device under test) in a very efficient manner, and the on-chip system test controller may forward the measurement result in an unaltered manner or may apply some message transformation to adapt the measurement result message (e.g., to the requirements of the particular high-speed interface used). In this way, a very resource-efficient concept can be realized.
[0130] In a preferred embodiment, the automatic test equipment (e.g., a test program executor of the automatic test equipment) is configured to execute a test program. The test program is configured to initialize tester resources of the automatic test equipment and enable initiation of program execution on the device under test. Furthermore, the test program is configured to cause further updates of the test resources under control of the device under test (e.g., under control of one or more test cases executed on the device under test). Alternatively, the test program is configured to cause one or more measurements under control of the device under test (e.g., under control of one or more OCST test cases executed on the device under test).
[0131] With such a concept, a test program (i.e., an ATE test program that may be executed, for example, on a test program executor of an automatic test equipment) can take on multiple functionalities. The test program can pre-configure the tester resources of the automatic test equipment to enable reliable start-up of the device under test, for example, by setting the power supplies to provide supply voltages that enable highly reliable operation of the device under test. Thus, the test program executed on the test program executor of the automatic test equipment can support safe uploading of test cases to the device under test by providing reliable conditions.
[0132] Furthermore, the test program may for example control (or at least support) the initialization of the device under test and, optionally, also the uploading of initial program code enabling the establishment of communication between the device under test and the on-chip system test controller, for example by means of a high-speed interface. By causing further updates of the test resources under the control of the device under test, the test environment of the device under test may for example be changed to be more "challenging" than the initial test environment, and the test cases may be executed under "stress" conditions. Thus, allowing further updates of the test resources under the control of the device under test provides a great advantage for test development, since tests can be defined in large part in terms of test cases executed on the device under test. Also, updating the test resources (and thus the test environment) under the control of the device under test allows a good coordination between the execution of the test cases on the device under test and the changes in the test environment, without the validation engineer defining the test having to change the ATE test program. Furthermore, by optionally providing the device under test (or the test cases) with the ability to control both the updates of the test environment and the measurements executed by the resources of the automatic test equipment, the test cases executed by the device under test can control a very large part of all the functionality required for the complete testing of the device under test. This makes test design particularly easy and also allows efficient sharing of functionality between the test programs on the ATE and the test cases executed on the device under test.
[0133] In a preferred embodiment, the automatic test equipment comprises an on-chip system test controller. The automatic test equipment comprises one or more tester resources, e.g., one or more device power supplies, and / or one or more analog or digital signal generators, and / or one or more measurement resources. The on-chip system test controller is coupled (e.g., directly coupled, e.g., coupled in a manner that bypasses the test program executor) to the one or more tester resources. Furthermore, the on-chip system test controller is configured to provide control signals (e.g., via a data bus, and / or via one or more synchronization lines, and / or via a synchronization bus) to the one or more tester resources to cause measurements of one or more physical quantities in response to commands from the device under test.
[0134] Such a configuration, where the on-chip system controller directly accesses the tester resources (bypassing the test program executor), allows measurements to occur at particularly high speed without interfering with the execution of the ATE test program executed by the test program executor. Using such a concept, it is possible to exploit the functionality of the on-chip system test controller to perform a fast protocol-based communication with the device under test in an efficient way (e.g. using dedicated hardware). By giving the on-chip system test controller the ability to directly control one or more tester resources, e.g. one or more measurement resources, delays that may be caused by the test program executor are avoided. Furthermore, it is also possible to avoid interfering with the test program executor by commands that require the measurement of one or more physical quantities, allowing the test program executor to handle the task of evaluating the test results more efficiently. As a result, a faster and more resource-efficient test execution can be achieved.
[0135] In a preferred embodiment, the on-chip system test controller is configured to convert commands (e.g., messages) comprising symbolic references (e.g., "VCC2") of (or to) tester resources (e.g., of power supply voltages or signals) into tester hardware-related measurement instructions (e.g., instructions that cause measurements of one or more physical quantities by measurement resources of an automatic test equipment).
[0136] Providing the on-chip system test controller with the capability to convert commands with symbolic references into tester hardware related measurement instructions allows the development of test cases to be executed on the device under test independent of the tester hardware. By using symbolic references in the commands sent from the device under test to the automatic test equipment, the test cases can be used with different hardware configurations of the automatic test equipment, and the mapping from symbolic references to the actual physical resources of the tester (ATE) only needs to be defined once for the current tester configuration and may be provided as configuration information to the on-chip system test controller. As a result, the use of automatic test equipment with different hardware configurations is easily possible without adapting the test cases.
[0137] In a preferred embodiment, the on-chip system test controller is coupled to one or more tester resources via a data bus and a synchronization line or a synchronization bus. Furthermore, the on-chip system test controller is configured to prepare (e.g. initialize) a measurement (e.g. voltage measurement or current measurement or temperature measurement) of a selected physical quantity (e.g. supply voltage or supply current or environmental temperature) via the data bus depending on a message parameter (e.g. message parameter defining a physical quantity to be measured) of a command received from a device under test (e.g. to define a selected tester resource or a future characteristic of a future measurement). Furthermore, the on-chip system test controller is configured to trigger the measurement of the physical quantity to be measured by the synchronization bus or synchronization line (e.g. using a synchronization bus event or a synchronization bus message).
[0138] With such a concept, the on-chip system test controller can perform measurements with high timing precision. By pre-configuring measurements of selected physical quantities, the settings of the measurement resources can be prepared such that they can react very quickly to triggering of measurements. Thus, the on-chip system test controller may first initialize the measurement resources according to message parameters (where the message parameters may determine, for example, which voltages should be measured and / or which filtering or averaging should be used in such measurements), and then the actual measurements may be triggered by the on-chip system test controller with high timing precision. Thus, the device under test may even request a specific measurement timing, and the on-chip system test controller may first pre-configure the measurements (e.g., by setting each measurement resource to an appropriate state or configuration) and then trigger the measurement resources at the desired timing. Thus, very precise measurements can be made that fit the requirements defined in the test case.
[0139] In a preferred embodiment, the on-chip system test controller is configured to provide measurement result signals (e.g., in the form of measurement result messages) to the device under test. By having the functionality for providing measurement result signals to the device under test implemented in the on-chip system test controller, high efficiency and low latency can be achieved.
[0140] An embodiment of the present invention generates a device under test. The device under test is configured to provide commands (e.g., in the form of messages) to an automatic test equipment requesting measurements of one or more physical quantities (e.g., under control of a test case executed on the device under test). Furthermore, the device under test is configured to wait for receipt of a measurement result signal (e.g., a measurement result message) indicating a measurement result requested by the device under test (e.g., by pausing execution of the test case until the device under test receives the measurement result requested by the device under test). Such a device under test can efficiently control the measurement of one or more physical quantities and can further synchronize execution of the test case in time with such measurements. By waiting for the measurement result signal indicating the measurement result requested by the device under test, it is possible to avoid proceeding with the execution of the test before the measurement result is actually available (e.g., potentially falsifying the test result). Even if such a procedure is not perfectly timed and synchronized between the execution of the test cases on the device under test and on the automatic test equipment, such a procedure allows reliable measurement results to be obtained under the control of the device under test. For example, the EUT may maintain a state in which a measurement should be performed until the device under test receives a measurement result signal, thereby ensuring that the measurement result is valid.
[0141] In this way, reliable measurements can be made even without perfect timing synchronization between the device under test and the automatic test equipment (which may be consistent with many systems-on-chip that do not have strict timing determinism).
[0142] In a preferred embodiment, the device under test is a system-on-chip. The device under test is configured to execute test cases (e.g., execute tests to test the device under test). Additionally, the device under test is configured to provide commands to automated test equipment under control of the test cases. The concepts disclosed herein have been found to be particularly suitable for testing systems-on-chips that may, for example, execute test cases using one or more internal processors or processor cores. In particular, the test cases have been found to be suitable for providing commands to automated test equipment, since the test cases typically have access to one or more high speed interfaces, for example using underlying interface drivers.
[0143] In a preferred embodiment, the device under test is configured to provide commands in the form of parameterized messages, the parameters of the messages describing one or more physical quantities to be measured, such as, for example, power supply voltage, power supply current, clock frequency, signal characteristics, or environmental parameters.
[0144] The above mentioned advantages can be achieved by using parameterized messages. In particular, the use of parameterized messages makes it easier for the verification engineer to write test programs, since the verification engineer can use one or more parameters that describe which physical quantities should be measured and, optionally, the measurement settings (e.g., measurement range, averaging operations, filtering operations, etc.) that should be applied when performing the measurements. Also, by using parameters that may define, for example, the quantities to be measured (e.g., a specific voltage at a specific pin of the device under test, or a specific current flowing through a specific pin of the device under test), the command set can be kept small, and the actual quantities to be measured can be described rather by parameters. This allows for very "readable" code and efficient communication between the device under test and the automatic test equipment (e.g., an on-chip system test controller or a test program executor may evaluate the commands and parameters described therein). Furthermore, it should be noted that the use of messages is particularly suited for transmission over (e.g., protocol-based) high-speed interfaces, since many high-speed interfaces are typically suited for the transmission of messages (where a message may comprise, for example, a message header, a message data payload which may comprise a message identifier and parameters, and optionally error detection or correction information, and optionally a message terminator). Such well-defined messages can usually be easily transmitted over high-speed interfaces, and each interface driver that may be present in the device under test can support message transmission. In this way, a very efficient concept is provided.
[0145] In a preferred embodiment, the device under test is configured to receive the measurement result signals in the form of messages, which, as mentioned above, are suitable for communication over a high speed interface (e.g., protocol-based), thereby allowing high speed communication over an interface that may also be shared for other functions (e.g., uploading test cases to the device under test and / or downloading test results from the device under test to automated test equipment).
[0146] By evaluating the measurement result signal in the form of a message, the message can be detected, for example, by analysis of the received information towards the device under test. Since messages are typically used that are characterized by a message header, messages informing of a measurement result can be easily distinguished, for example, from other received information. Receiving the measurement result signal in the form of a message has therefore proven to be very advantageous, since analysis of the message can be achieved with moderate effort.
[0147] In a preferred embodiment, the device under test is configured to provide commands (e.g., messages to the automatic test equipment) to the automatic test equipment via a (preferably protocol-based) high-bandwidth interface (e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface, etc.). Alternatively or additionally, the device under test is configured to receive measurement result signals (e.g., measurement result messages) (e.g., from the automatic test equipment) via a (preferably protocol-based) high-bandwidth interface (e.g., via a high-speed interface, e.g., via a USB interface, or a PCI interface, or a PCI-express interface, or a PCI-express compliant interface, or a thunderbolt interface, or an Ethernet interface, or an IEEE-1394 interface, or a SATA interface, or an IEEE-1149 interface, or an IEEE-1500 interface, or an IEEE-1687 interface).
[0148] The use of such an interface provides the advantages discussed above. In particular, providing commands to the automatic test equipment and / or receiving measurement result signals via such a high-bandwidth interface allows for very fast communication and allows for the reuse of the high-bandwidth interface that is typically used for other purposes, such as updating test cases to the device under test or providing test result data to the automatic test equipment. Moreover, a high-bandwidth interface typically has sufficient bandwidth to carry measurement-related information (e.g., commands requesting measurements and measurement result signals) in addition to other payloads. Moreover, a high-bandwidth interface often allows for mixing different types of payloads (e.g., short messages interrupting other data communication processes). As a result, available resources of the device under test can be used efficiently. Moreover, the high-bandwidth characteristics of the interface typically result in relatively low latency, which is also advantageous for triggering measurements, helping to reduce test times.
[0149] In a preferred embodiment, the device under test is configured to use one or more library routines (e.g., of a software library provided by the automatic test equipment) to provide commands and / or evaluate measurement result signals (which use may be enabled, for example, by an application programming interface provided by the automatic test equipment).
[0150] The use of one or more library routines to provide commands and / or evaluate measurement result signals provides the advantages discussed above and significantly eases the development of test cases to be executed on the device under test, while also reducing the risk of errors.
[0151] In a preferred embodiment, the device under test is configured to continue execution of the test case depending on the measurement result indicated by the measurement result signal (eg, by selectively branching depending on the measurement result).
[0152] Thus, the execution of the test cases can be made dependent on the actual measurement results, which may for example help to identify the maximum rating of the device under test. For example, if a particular test case results in excessive current consumption or heating of the device under test, subsequent tests may be performed with a reduced processing load to avoid overstressing the device under test. In this way, the device under test, i.e. the test cases executed on the device under test, can efficiently take the measurement results into account and adapt the execution of the test cases accordingly.
[0153] An embodiment according to the invention generates a test equipment configuration (test setup). The test equipment configuration comprises the automatic test equipment as described above and the device under test as described above. The test equipment configuration is based on similar considerations as the automatic test equipment as described above and the device under test as described above. The test equipment configuration may be optionally supplemented by any features, functions and details disclosed herein with respect to the automatic test equipment and with respect to the device under test. The test equipment configuration may be optionally supplemented by these features or functions or details, individually or in combination.
[0154] An embodiment according to the invention creates a method for operating an automatic test equipment. The method comprises receiving a command (e.g. in the form of a message) from a device under test requesting measurement of one or more physical quantities. The method further comprises performing or initiating measurements of the one or more physical quantities in response to the command provided by the device under test. Furthermore, the method comprises providing a measurement result signal (e.g. a measurement result message) to the device under test to inform the device under test of the measurement result requested by the device under test. The method is based on similar considerations as for the automatic test equipment described above. Moreover, the method may be optionally supplemented by any of the features, functions and details disclosed herein with respect to the automatic test equipment. The method may be supplemented by such features, functions and details individually or in combination.
[0155] One embodiment of the present invention creates a method for testing a device under test. The method comprises providing a command (e.g., in the form of a message) from the device under test to an automatic test equipment under control of a test case executed on the device under test, the command requesting measurement of one or more physical quantities. The method further comprises pausing execution of the test case (e.g., under control of the test case) until a measurement result signal (e.g., a measurement result signal or a measurement result message) indicative of a measurement result requested by the device under test is received by the device under test (and is detected, e.g., by the test case). The method further comprises performing a measurement of the one or more physical quantities in response to the command provided by the device under test. The method further comprises providing a measurement result signal (e.g., a measurement result message) to the device under test notifying the measurement result requested by the device under test. The method further comprises continuing execution of the test case in response to receipt of the measurement result signal by the device under test.
[0156] The method is based on similar considerations as the above-mentioned automatic test equipment and the above-mentioned device under test. The method may be optionally supplemented by any of the features, functions and details disclosed herein with respect to the automatic test equipment and with respect to the device under test. The method may be optionally supplemented by such features, functions and details, individually or in combination.
[0157] Another embodiment of the present invention creates a computer program for carrying out such a method.
[0158] Yet another embodiment of the present invention generates an automatic test equipment for testing one or more devices under test. The automatic test equipment is configured to receive commands (e.g. in the form of messages) from a test case requesting measurements of one or more physical quantities (e.g. of a supply voltage supplied to the device under test, e.g. of a current supplied to the device under test, e.g. of a signal characteristic of a signal supplied by the device under test, e.g. of a clock frequency of a clock signal supplied to the device under test, environmental parameters such as temperature, humidity, air pressure, electric or magnetic field in the environment of the device under test, etc.). Furthermore, the automatic test equipment is configured to perform or initiate measurements of the one or more physical quantities in response to the commands provided by the test case. Furthermore, the automatic test equipment is configured to provide a measurement result signal (e.g. an acknowledgement message) to the test case and to inform the test case of the measurement result.
[0159] This automatic test equipment is based on similar considerations as the automatic test equipment described above, with the test cases assuming the role of the automatic test equipment. It is noted, however, that the test cases may preferably be executed on the device under test, but may also be distributed between the device under test and the automatic test equipment. Furthermore, this automatic test equipment may be optionally supplemented with any of the features, functions and details disclosed herein with respect to other automatic test equipment. The automatic test equipment may be supplemented with such features, functions and details individually or in combination.
[0160] Another embodiment of the present invention creates a method of operating automatic test equipment, the method comprising receiving a command (e.g., in the form of a message) from a test case (which may be executed on a device under test, but which may be distributed between the device under test and the automatic test equipment) requesting measurement of one or more physical quantities. The method further comprises performing or initiating measurements of the one or more physical quantities in response to the command provided by the test case. Additionally, the method comprises providing a measurement result signal (e.g., a measurement result message) to the test case to inform it of the measurement results requested by the test case.
[0161] The method is based on similar considerations to the method described above, where the test cases stand in for the devices under test. The method may be optionally supplemented by any of the features, functions and details, either individually or in combination.
[0162] Yet another embodiment of the present invention generates a respective computer program. [Brief description of the drawings]
[0163] Embodiments of the present invention will now be described with reference to the accompanying drawings, in which: FIG. [Figure 1a] 1 shows a schematic diagram of an automatic test equipment according to one embodiment of the present invention; [Figure 1b] 1 shows a schematic diagram of a device under test according to one embodiment of the present invention; [Figure 2a] 1 shows a schematic diagram of an automatic test equipment according to one embodiment of the present invention; [Figure 2b] 1 shows a schematic diagram of a device under test according to one embodiment of the present invention; [Figure 2c] 1 shows a schematic diagram of an automatic test equipment according to one embodiment of the present invention; [Figure 3a] 1 shows a schematic diagram of an automatic test equipment according to one embodiment of the present invention; [Figure 3b] 1 shows a schematic diagram of a device under test according to one embodiment of the present invention; [Figure 4] Shows a schematic diagram of On-Chip System Test (OCST) / Functional Test Upload and Control with Test Patterns. [Diagram 5] Schematic diagram of On-Chip System Test (OCST) / Functional Test upload and control via high speed Input / Output (IO). [Figure 6] 13 shows a schematic diagram of a variant using a separate controller for OCST / functional testing. [Figure 7] 1 shows a schematic diagram of an On-Chip System Test (OCST) extended with tester resource control path according to one embodiment of the present invention. [Figure 8] 1 shows a schematic diagram of a variation including an OCST controller to include a tester resource control path according to one embodiment of the present invention. [Figure 9] 2 shows a schematic diagram of a message flow for tester resource control according to one embodiment of the present invention; [Figure 10] FIG. 1 shows a schematic diagram of OCST extended with a tester resource measurement path according to one embodiment of the present invention. [Figure 11] 1 shows a schematic diagram of a variation including an OCST controller to include a tester resource control path according to one embodiment of the present invention. [Figure 12] 2 shows a schematic diagram of a message flow for tester resource measurement according to one embodiment of the present invention; [Figure 13] 1 shows a schematic diagram of a production tester controlled by on-chip system testing according to one embodiment of the present invention. [Figure 14] 1 shows a schematic diagram of a production tester controlled by on-chip system testing according to one embodiment of the present invention. [Figure 15] 2 shows a schematic diagram of a scenario in which functional test cases are fully deployed on a DUT, according to one embodiment of the present invention; [Figure 16] 2 shows a schematic diagram of a scenario in which functional test cases are fully deployed on a DUT, according to one embodiment of the present invention; [Figure 17]1 shows a schematic diagram of a concept with library-supported ATE environmental control according to one embodiment of the present invention. [Figure 18] FIG. 2 shows a schematic diagram of resources controlled by a data bus and a synchronization bus according to one embodiment of the present invention. [Figure 19] FIG. 2 shows a schematic diagram of tester resources controlled by GPO triggers according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0164] 1. Automatic test equipment according to FIG. 1a
[0165] FIG. 1a shows a schematic diagram of an automatic test equipment according to an embodiment of the present invention. The automatic test equipment shown in FIG. 1a is designated 100. The automatic test equipment is generally intended to be coupled to a device under test 110. The automatic test equipment 100 is configured to receive commands 122 from the device under test 110 (i.e., from a test case) requesting the update of one or more tester resources. Furthermore, the automatic test equipment is configured to update the one or more tester resources in response to the commands 122 provided from the device under test 110. Furthermore, the automatic test equipment is configured to provide an acknowledgement signal 124 to indicate the completion of the test resource updates requested by the device under test 110.
[0166] Thus, the automatic test equipment 100 allows the device under test 110 to exercise control over one or more tester resources by providing a command 122 requesting an update of one or more tester resources. Thus, the device under test 110 can issue a command that causes the automatic test equipment to change a parameter of a tester resource, for example, to change a supply voltage of the device under test 110 or to change a characteristic of another signal provided to the device under test 110, at the request of the device under test 110. Furthermore, the automatic test equipment 100 can also provide an acknowledgement signal 124 to the device under test 110 so that the device under test 110 is fully informed about the execution of the update of one or more test resources. Thus, the device under test 110 can use the acknowledgement signal 124 to determine when to continue with a test execution that may require a requested update of one or more tester resources for proper execution. Thus, a reliable test can be performed under the control of the device under test.
[0167] Furthermore, it is noted that the device under test 200 may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0168] 2. Device under test according to FIG. 1b
[0169] Fig. 1b shows a schematic diagram of a device under test 200 according to an embodiment of the present invention. The device under test 200 may be configured to execute, for example, test cases. Thus, the device under test 200 may be configured to provide (for example, to an automatic test equipment) a command 212 (for example, in the form of a message) requesting the update of one or more tester resources. The provision of said command 212 may, for example, be under the control of a test case executed on the device under test. The generation of the command 212 may, for example, be performed in the device under test 200 using a library routine that defines functions for generating commands and may allow the generation of the commands in a user-friendly manner.
[0170] Furthermore, the device under test is configured to receive an acknowledgement signal 214 indicating completion of the tester resource update. Furthermore, the device under test is configured to pause the execution of the test case until the acknowledgement signal 214 (e.g., an acknowledgement message) indicating completion of the tester resource update requested by the device under test is received by the device under test. For this purpose, the device under test 200 may be configured to evaluate the acknowledgement message, for example, using a library routine. For example, the library routine may define a function for detecting or evaluating the acknowledgement signal 214 and may also provide in a user-friendly manner the functionality for pausing the execution of the test case until the acknowledgement signal is received (or detected).
[0171] Thus, the device under test can instruct the automatic test equipment (e.g., the automatic test equipment 100) to update one or more tester resources, and the device under test 200 can synchronize the execution of the test cases with the completion of the update of the one or more tester resources, for example, by pausing the execution of the test cases until an acknowledgement signal 214 is received. As a result, the device under test 200 (i.e., the test cases executing on the device under test) can also request an update of the test environment in which the device under test 200 operates, and ensure that the execution of the test cases continues only when the one or more test resources have been updated, by pausing the execution of the test cases until an acknowledgement signal is received. As a result, the majority of the testing can be performed under the control of the device under test, and the reliability of the testing can be increased by the evaluation of the acknowledgement signal indicating the completion of the update of the tester resources.
[0172] Furthermore, it is noted that the device under test 200 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0173] 3. Automatic test equipment according to Fig. 2
[0174] 2 shows a schematic diagram of an automatic test equipment 240 according to one embodiment of the present invention. The automatic test equipment 240 comprises a trigger line 250 (e.g., a hardware trigger line, e.g., a GPO trigger line) that is controllable by a device under test 242 (i.e., by a test case that may be executed on the device under test 242). For example, the trigger line may be controllable by a general purpose output of the device under test, e.g., sensitive to a single edge. Furthermore, the automatic test equipment is configured to update one or more tester resources (e.g., modify one or more supply voltages provided by the automatic test equipment to the device under test 242, or modify one or more signal characteristics of one or more analog or digital signals provided by the automatic test equipment to the device under test 242) in response to activation (e.g., in the sense of a single / simple toggling of states) of the trigger line 250 by the device under test 242 (i.e., by a test case that may be executed on the device under test).
[0175] Thus, the automatic test equipment 240 may enable the device under test 242 to trigger the update of one or more tester resources by (simple) activation of the trigger line 250 (e.g., in the sense of generating a single edge or a single pulse on the trigger line). Thus, the automatic test equipment 240 provides the device under test 240 with very precise time control over the update of one or more test resources, since the triggering of the update of one or more tester resources can be influenced directly by the device under test 242 and is therefore not influenced by latencies that may be present in the test program executor of the automatic test equipment and / or the on-chip system test controller of the automatic test equipment 240. Thus, the automatic test equipment 240 allows a very high timing precision that can be directly controlled by the device under test 242. Thus, the device under test 242 can trigger the update of one or more tester resources at timing that is very well controllable by the device under test. As a result, the device under test can continue test execution (e.g., test case execution) quickly after activation of the trigger line because it only needs to consider the typically low latency of the actual tester resources and not the (typically non-deterministic) latency of the automatic test equipment's test program executor and / or the latency of the automatic test equipment's on-chip test controller and / or the latency of protocol-based communication.
[0176] As a result, particularly fast testing can be achieved that is fully controllable by the device under test (and thus the test cases that are typically executed on the device under test). Also, by providing a trigger line (on the ATE side), the device under test only needs to activate (or toggle) a single pin that is coupled to the trigger line, which is typically possible with very low software effort and requires only using a single pin of the device under test. As a result, the automatic test equipment 240 provides very good support for testing of devices under test that can control their own test environment by having the automatic test equipment update one or more tester resources.
[0177] Furthermore, it should be noted that the automatic test equipment 240 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0178] 4. Device under test according to FIG. 2b
[0179] 2b shows a schematic diagram of a device under test 260 according to one embodiment of the present invention. The device under test 260 may be configured to execute, for example, a test case 262. Furthermore, the device under test 260 may be configured to provide a trigger signal 264 (e.g., to an automatic test equipment) to trigger an update of one or more tester resources via a dedicated trigger line. In this regard, it is noted that the device under test 260 may correspond, for example, to the device under test 242, and the trigger signal 264 may be provided, for example, to the trigger line 250.
[0180] It should further be noted that the device under test may be under control of, for example, the test cases 262 executed by the device under test. It should further be noted that, optionally, the device under test 260 may be configured to provide commands 266 defining one or more parameters for the update of one or more tester resources. Thus, the device under test 260 may prepare the automatic test equipment (or the tester resources of the automatic test equipment) for the update of one or more test resources, prior to the activation of the trigger signal 264, by defining which new parameters should be set for each of the one or more tester resources in response to the activation of the trigger signal. Thus, the device under test may have a very high degree of control over its test environment. Optionally, by providing commands 266 defining one or more parameters for the update of one or more tester resources, the device under test may determine details regarding the update of one or more tester resources. Furthermore, activation of the trigger signal 266 may allow the device under test to determine with a very high degree of timing precision when the update of one or more tester resources should be performed. As a result, the device under test 260 may, for example, control most of the tests with high timing accuracy and therefore perform the tests quickly with relatively little synchronization overhead for synchronizing with automatic test equipment.
[0181] Furthermore, it should be noted that the device under test 260 may be optionally supplemented with any of the features, functions and details disclosed herein, either individually or in combination.
[0182] 5. Automatic test equipment according to FIG. 2c
[0183] FIG. 2c shows a schematic diagram of an automatic test equipment 280 according to an embodiment of the present invention. The automatic test equipment 280 includes a test program executor 282 configured to execute a test program 284. Additionally, the automatic test equipment 280 also includes an on-chip system test controller 286 that may be configured to support testing of the system-on-chip. Additionally, the automatic test equipment 280 includes a number of tester resources 288a, 288b, 288c. For example, the tester resources 288a-288c may include a device power supply and / or a digital channel module (or digital signal module) and / or an analog channel module (or analog signal module) and / or a signal generator module. For example, one or more of the tester resources 288a, 288b, 288c may include a trigger mechanism 289c that may cause, for example, a change in the configuration of each tester resource, also designated as an update of each tester resource. For example, the test program executor 282 may be coupled to the tester resources 288a, 288b, 288c via an interface and may, for example, program one or more of the tester resources. For example, the test program executor may set one or more parameters of the tester resources 288a, 288b, 288c and may be configured to pre-program an operation that the one or more tester resources will exhibit in response to activation of a trigger line, which may, for example, be coupled to a trigger mechanism (e.g., to trigger mechanism 289c). Furthermore, the automatic test equipment may include a device under test interface 290, and signals 292a, 292b, 292c of the one or more tester resources may be provided to the device under test via the device under test interface 290. Additionally, the device under test interface may have a trigger input 294 (e.g., as part of the device under test interface 290) that may be configured to receive a trigger signal from the device under test and may be coupled to a trigger line 295 that may be directly coupled to a trigger mechanism of one or more tester resources 288a-288c, for example.For example, FIG. 2c shows trigger line 295 being coupled to trigger mechanism 289c of tester resource 288c, although other tester resources 288a, 288b may also include respective trigger mechanisms.
[0184] Additionally, the automatic test equipment 280 may be configured to receive, via the device under test interface 290, a command 296 that defines one or more parameters for updating one or more tester resources. The command 296 may preferably be received from the device under test, but in general, the command may be received from a test case (which may be executed on the device under test, or may be executed partially on the device under test and on the automatic test equipment). The command 296 may be received, for example, by the on-chip system test controller 286 or by the test program executor 282. In some configurations, the command 296 may be initially received by the on-chip system test controller 286 and then forwarded (in its original form or in a modified form) from the on-chip system test controller 286 to the test program executor 282. The test program executor 282 may, for example, pre-configure one or more tester resources 288a, 288b, 288c in response to the command.
[0185] Thus, one or more test resources that are pre-configured in response to a command 296 defining one or more parameters for an update of the one or more test resources may then respond to an activation of a trigger line 295 by the device under test with a change in one or more parameters, where the change (e.g., one or more new parameters to be used after the change) is defined, for example, by the pre-configuration. As a result, the one or more tester resources may react very quickly to the activation of the trigger line and may not need to provide additional information to the one or more test resources 288a-288c at the time an actual update of the one or more tester resources is desired. As a result, the device under test may exercise very fast control over the configuration of the one or more tester resources.
[0186] Further, it is noted that a command defining one or more parameters for the update of one or more test resources may alternatively be received from a test case. Such a command is specified at 298. A command from a test case may be directed to the on-chip system test controller 286 or the test program executor 282. In this regard, it is noted that a test case may, for example, be executed only on the device under test, or a test case may alternatively be executed partially on the device under test and partially on the automatic test equipment. However, while a command 298 may define a reaction of one or more tester resources to activation of a trigger line by affecting a pre-configuration of one or more tester resources, a trigger signal may still be received from the device under test, for example via input 294.
[0187] In conclusion, the automatic test equipment 280 provides the device under test with the possibility to cause (or trigger) a change in the signal characteristics of one or more signals provided to the device under test in a very simple manner by simply activating a trigger line, typically providing very little latency to the device under test.
[0188] Furthermore, it should be noted that the automatic test equipment 280 may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0189] 6. Automatic test equipment according to FIG. 3a
[0190] 3a shows a schematic diagram of an automatic test equipment 300 according to an embodiment of the present invention. The automatic test equipment 300 is configured to test a device under test 310, which may be coupled to the automatic test equipment. For example, the automatic test equipment is configured to receive commands 322 (e.g. in the form of messages) from the device under test 310 requesting measurements of one or more physical quantities (e.g. of a supply voltage provided to the device under test, of a current provided to the device under test, of a signal characteristic of a signal provided by the device under test, of a clock frequency of a clock signal provided to the device under test, of environmental parameters such as temperature, humidity, air pressure, electric or magnetic fields in the environment of the device under test, etc.). Furthermore, the automatic test equipment is configured to perform or initiate measurements of the one or more physical quantities in response to the commands provided to the device under test.
[0191] For example, the automatic test equipment may cause (or trigger) one or more internal measurement resources of the automatic test equipment to perform measurements of one or more physical quantities specified in the command. For example, the measurements may be performed using the measurement capabilities of one or more channel modules of the automatic test equipment. Alternatively, however, the automatic test equipment may control one or more external measurement resources (e.g., external precision measurement equipment or external high frequency measurement equipment, or external optical measurement equipment, etc.) to perform the requested measurements. Furthermore, the automatic test equipment is configured to provide a measurement result signal 324 (e.g., an acknowledgement message or a message comprising a measurement result) to the device under test 310 to inform it of the measurement result requested by the device under test.
[0192] Thus, the automatic test equipment 300 allows, for example, the device under test 310 to trigger measurements to be performed (or initiated) by the automatic test equipment, and allows, for example, a test case running on the device under test to define which measurements are taken at what point in the execution of the test case. As a result, since most of the activities performed by the automatic test equipment during the execution of a test case can be defined in the test case itself, measurements can be taken under the control of the device under test, greatly facilitating test development.
[0193] Furthermore, the device under test can utilize the measurement results by providing a measurement result signal that can inform the device under test of the measurement results and also indicate to the device under test that the measurement is completed. For example, the device under test can utilize the measurement results to decide on further execution of test cases that depend on the measurement results. As another example, the device under test 310 can utilize the measurement results to generate test result information. In conclusion, the automatic test equipment 300 allows the device under test to request measurements and also transfers the measurement results to the device under test. Thus, the tests or test cases can be executed to a large extent under the control of the device under test, which significantly facilitates the generation of test cases and allows the definition of very powerful and efficient test cases that can even utilize the measurement results for the control of the test case execution.
[0194] Furthermore, it is noted that the automatic test equipment 300 may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0195] 7. Device under test according to FIG. 3b
[0196] 3b shows a schematic diagram of a device under test 350 according to one embodiment of the present invention. The device under test 350 is configured to provide commands 312 (e.g., in the form of messages) to the automatic test equipment requesting measurements of one or more physical quantities (e.g., under control of test cases executed on the device under test). Furthermore, the device under test 350 is configured to wait for receipt of a measurement result signal 314 (e.g., a measurement result message) indicating a measurement result requested by the device under test (e.g., by pausing execution of the test case until the measurement result requested by the device under test is received).
[0197] Thus, the device under test 350 can either initiate the execution of a measurement by the automatic test equipment (or an external measurement equipment coupled to the automatic test equipment) or the device under test can receive the measurement result and synchronize the execution of the test cases on the device under test with the measurement. For example, the measurement result signal 314 may indicate that the measurement is completed so that the device under test 350 can continue the execution of the test cases when the measurement result signal 314 is received by the device under test. As a result, the device under test 350 can ensure that the execution of the test cases is not continued (e.g., with a new test step) before the measurement is completed, which helps to avoid falsifying the measurement results. Furthermore, the device under test (or the test cases executed on the device under test) can take the measurement results into account, for example, for deciding how to further execute the test cases. Thus, the device under test 350 has a great deal of control over the test, since the test cases executed on the device under test determine the processing operations executed on the device under test and may determine the measurements to be performed by the automatic test equipment. Here, the above-described mechanism for providing commands requesting measurement of one or more physical quantities and waiting to receive a measurement result signal from the automatic test equipment allows good time synchronization between the test cases executed on the device under test and the measurements to be performed by the automatic test equipment.
[0198] Furthermore, it should be noted that the device under test 350 may be optionally supplemented with any of the features, functions and details disclosed herein, either individually or in combination.
[0199] 8. Measurement configuration according to FIG. 7
[0200] 7 shows a schematic diagram of a measurement configuration 700 according to one embodiment of the present invention. The measurement configuration 700 comprises an automatic test equipment 710 and a device under test 730. The automatic test equipment 710 comprises a tester resource 720 and a workstation 722 that may be adapted to execute an ATE test program 724. The device under test 730 may be configured to execute an OCST test case 740.
[0201] Tester resources 720 of the automatic test equipment 710 may comprise, for example, one or more digital channels (or digital channel modules), and / or one or more analog channels (or channel modules), and / or one or more power supplies (e.g., device power supplies). Thus, the tester resources 720 may be coupled to the device under test 730. For example, one or more digital channels of the tester resources 720 may be coupled to digital pins (e.g., digital inputs or digital outputs or digital input / outputs) of the device under test 730. Alternatively or additionally, one or more analog channels of the tester resources 720 may be coupled to one or more analog pins (e.g., analog inputs or analog outputs or analog input / outputs) of the device under test 730. Alternatively or additionally, one or more supply lines, which may be coupled to one or more power supplies or device power supplies of the tester resources 720, may be coupled to the device under test 730 (e.g., coupled to supply pins or supply pads of the device under test 730). Thus, analog and / or digital signals may be provided to the device under test 730 by each tester resource. Additionally, one or more supply voltages and / or supply currents may be provided to the device under test 730 by each tester resource. In general, the coupling between the tester resources 720 and the device under test 730 may be used for ATE control signals for DUT supply, test interaction, and measurement. In particular, it is noted that the coupling between the tester resources 720 and the device under test 730 may be, for example, bidirectional. For example, one or more digital signals and / or one or more analog signals may be provided to the device under test 730 using each tester resource. Alternatively or additionally, one or more digital signals and / or one or more analog signals may be provided by the device under test 730 and received (and typically evaluated) by each tester resource 720. For example, the tester resources 720 may provide one or more digital and / or analog stimulus signals to the device under test 730 and may optionally evaluate one or more digital and / or analog response signals of the device under test.If the device under test 730 comprises a system on a chip, the tester resources 720 may be used, for example, to initialize the system on a chip, or may apply appropriate signals, for example, to enable a safe start-up of the device under test 730. Additionally, the test resources 720 may be used, for example, to upload a test program and / or an underlying operating system to the device under test (e.g., using a JTAG port of the device under test, etc.) in preparation for the execution of test cases 740 on the device under test 730.
[0202] Furthermore, the device under test 730 may be coupled to automatic test equipment, for example to enable on-chip system test test case upload (OCST-TC upload) and execution control. For example, the automatic test equipment 700 may be adapted to enable communication between the ATE test program 724 and the OCST test cases 740 (or, more generally, between the workstation 722 and the device under test 730). For example, a high speed input / output (HSIO) (e.g., a high speed interface) may be used for communication between the automatic test equipment and the device under test (e.g., for communication between the ATE test program and the OCST test cases, or for communication between the ATE test program and control software running on the device under test 730, which may have functionality, for example, to enable uploading of one or more test cases and to enable control of execution of one or more test cases). For example, the HSIO may comprise a USB interface and / or a PCIe interface, or an Ethernet interface (ETH), or any other type of high speed interface. In conclusion, in general, OCST-TC upload and execution control may be performed using a high-speed interface (or high-bandwidth interface, or high-data-rate interface) between the automatic test equipment and the device under test.
[0203] Further, the ATE and the device under test may be configured to allow the OCST test case 740 to request resource updates. For example, the OCST test case 740 may request resource updates from the ATE test program 724, for example, using parameterized messages. Furthermore, the ATE test program 724 may provide acknowledgements (for example, in the form of acknowledgement messages or in the form of acknowledgement signals) to the OCST test case 740. Thus, there may be a message exchange between the OCST test case 740 and the ATE test program 724, for example, using a resource update request message 750 (also designated as a resource update request message) and an acknowledgement message 752 (also designated as an acknowledgement message). For example, the message exchange including the resource update request message 750 and the acknowledgement message 752 may be used for tester resource control via the HSIO. In other words, the resource update request message 750 and the acknowledgement message 752 may be exchanged between the OCST test case 740 and the ATE test program 724, for example, using the HSIO. For example, the message exchange comprising the resource update request message 750 and the acknowledgement message 752 may use the same HSIO that is also used to control the upload and execution of OCST test cases.
[0204] Thus, the OCST test case 740 has the capability to execute test routines on the device under test and to request changes to the test environment of the DUT by requesting resource updates using a resource update request message 750. Additionally, the OCST test case 740 also receives an acknowledgement message 752, which can be used for timing synchronization.
[0205] For example, the resource update request message 750 may request a change (or update) of one parameter of the test resource 720. As just one example, the OCST test case 740 may request a change in the power supply voltage supplied to the device under test 730 by changing the settings of a device power supply that is part of the tester resources 720. Furthermore, the ATE test program may provide an acknowledgement message 752 to the OCST test case 740 (or the device under test 730 in general) indicating the completion of the resource update, and the OCST test case 740 may continue executing the new test step after receiving the acknowledgement message 752. Thus, the OCST test case can verify that the appropriate test conditions requested are present for the test (or new test step).
[0206] In conclusion, the test arrangement 700 according to FIG. 7 allows for very efficient testing, where control of the test execution can be exercised to a large extent by the OCST test cases.
[0207] It should further be noted that the ATE described herein itself should be considered as an embodiment of the present invention. It should further be noted that the device under test as described herein should also be considered as an embodiment of the present invention. It should further be noted that the test configuration, the automatic test equipment, and the device under test may all be optionally supplemented by any of the features, functions and details disclosed herein, individually or in combination.
[0208] 9. Test configuration according to Figure 8
[0209] FIG. 8 shows a schematic diagram of a test setup 800 according to one embodiment of the present invention.
[0210] Test configuration 800 is similar to test configuration 700. Therefore, please refer to the above description regarding test configuration 700.
[0211] The test configuration 800 comprises an automatic test equipment 810 and a device under test 830. The automatic test equipment 810 comprises tester resources 820, which are very similar to the tester resources 720, for example, as the above description also applies. The automatic test equipment 810 also comprises a workstation 822, which may be similar to the workstation 722. The workstation 822 is adapted to execute an ATE test program, which may take on various functions. For example, the ATE test program 824 may be configured to perform an initialization of the tester resources (for example, the tester resources 820). For example, the ATE test program 824 may be configured to initialize the tester resources 820 to enable the start of program execution on the device under test 830. Furthermore, the ATE test program 824 may include, for example, a message handler. The message handler may perform, for example, a transformation of the messages, including, for example, an acknowledgement message generation. Furthermore, the ATE test program may be configured to cause a further update of one or more tester resources 820 under the control of the device under test, for example in response to a message evaluated by the message handler.
[0212] However, in addition to the tester resources 820 and the workstation 822, the test equipment 810 also includes an on-chip system test controller 826, which may be coupled, for example, between the device under test 830 and the workstation 822. For example, the on-chip system test controller may be configured to receive a request for a resource update from the device under test 830 or from an OCST test case 832 executed on the device under test 830. Furthermore, the on-chip system test controller 826 may be configured to forward this request or command. Alternatively or additionally, the OSCT controller 826 may be configured to perform command conversion, for example, by converting the request for resource update 850 from a first command format to a second command format. For example, the on-chip system test controller 826 may be configured to provide the request for resource update 860 to the workstation 822 or the ATE test program 824. For example, the OCST controller 826 may forward the request (or request message) 850 without modification, such that the request (or request message) 860 is identical to the request (or request message) 850. However, the OCST controller 826 may perform a conversion to convert the request (or request message) 850 for a resource update provided by the OCST test case 832 into a different format, such that the format of the request (or request message) 860 for a resource update differs from the format of the request (or request message) 850 for a resource update. It should be noted, however, that the OCST controller 826 may handle, for example, a high-speed interface protocol, and may, for example, unwrap the request (or request message) 850 from the communication protocol and forward the unwrapped request (or request message) to the ATE test program 824. In other words, the OCST controller may, for example, extract a representation of the request (or request message) from the communication protocol and provide a "plain" format of the request to the ATE test program 824.
[0213] Additionally, the OCST controller 826 may receive acknowledgement information (or acknowledgement signal, or acknowledgement message) from the ATE test program 824 and may forward this acknowledgement information to the OCST test case 832. However, the OCST controller 826 may, for example, receive acknowledgement information from the ATE test program 824 (e.g., acknowledgement information that acknowledges updates of one or more tester resources in response to a request issued by an OCST test case) and generate an acknowledgement signal or acknowledgement message for forwarding to the OCST test case 832. For example, the acknowledgement information provided by the ATE test program to the OCST controller 826 is specified at 862, and the acknowledgement signal or acknowledgement message provided by the OCST controller 826 to the OCST test case 832 is specified at 852. For example, message exchange for tester resource control may be performed using HSIO (e.g., using a high-speed or high-bandwidth interface). For example, a high-speed or high-bandwidth interface may be used for communication between the OCST controller 826 and the OCST test cases 832, where the OCST controller 826 may, for example, provide hardware support for the use of such a high-speed interface (where the high-speed interface is typically protocol-based, and the OCST controller 826 may provide support for handling the protocol of the high-speed interface). Furthermore, the device under test 830 may typically provide support for the high-speed interface, such as, for example, dedicated hardware that gives the OCST test cases 832 access to the high-speed interface and an appropriate high-speed interface driver. Optionally, a high-speed interface may be used for communication between the OCST controller 826 and the workstation 822 or the ATE test program 824. For example, an HSIO may be used for sending resource update request messages 860 from the OCST controller 826 to the ATE test program 824, and for providing acknowledgement information 862 from the ATE test program 824 to the OCST controller 826.However, different types of interfaces may be used for communication between the ATE test program and the OCST controller, and for communication between the OCST controller and the OCST test cases.
[0214] Further, the ATE test program 824 may communicate with the OCST controller 826, for example, for uploading and / or controlling the execution of the OCST test cases. Further, there may be communication between the OCST controller 826 and the OCST test cases 832, for OCST test case uploading and / or controlling the execution. For example, the ATE test program 824 may provide the OCST test cases to be uploaded to the device under test to the OCST controller 826 using a suitable interface between the ATE test program 824 and the OCST controller 826. Further, the OCST controller 826 may upload the OCST test cases to the device under test using a suitable interface between the OCST controller 826 and the device under test 830 (or the test cases 832). Similarly, there may be communication between the ATE test program 824 and the OCST controller 826 to control the execution of the tests on the device under test. This communication may be, for example, bidirectional. Further, there may also be communication between the OCST controller 826 and the OCST test cases 832 to control the execution of the test cases. This communication may also be bidirectional.
[0215] For example, communication between the ATE test program 824 and the OCST controller for uploading and controlling execution of OCST test cases may be performed using a high-speed interface (HSIO), such as a USB interface, or a PCIe interface, or an Ethernet interface ETH. Furthermore, communication between the OCST controller 826 and the OCST test cases 832 for uploading and controlling execution of OCST test cases may also be performed using a high-speed interface (HSIO), such as a USB interface, a PCIe interface, or an Ethernet interface (ETH).
[0216] However, it should be noted that, for example, the resource update request 850 and the acknowledgement 852 may be communicated using the same high-speed interface as the OCST test case upload and / or execution control, etc. Similarly, the resource update request message (or signal, or command) 860 and the acknowledgement 862 may be communicated using the same high-speed interface as the OCST test case upload and / or execution control, etc. In other words, the high-speed interface between the OCST controller and the OCST test cases may be shared, for example, with the OCST test case upload and execution control, and may also be shared with the messages 850, 852. Similarly, the high-speed interface between the ATE test program 824 and the OCST controller 826 may be shared with the messages 860, 862, and may also be shared with the OCST test case upload and / or execution control.
[0217] In conclusion, in the test configuration 800 according to Fig. 8, the OSCT controller 826 may be used, for example, as an intermediary between the ATE test program 824 and the device under test 830 (or the OCST test cases 832). For example, the OCST controller may take care of the time-critical (and possibly non-time-deterministic) communication with the device under test 830 or with the OCST test cases 832 under the higher-level control of the ATE test program 824. In this way, the OCST controller 826 may take care of, for example, the task of uploading one or more test cases to the device under test 830 and of issuing commands (for example to a test case executor software running on the device under test 830) that control the execution of one or more test cases. Furthermore, the OCST controller may, for example, handle the download of test results from the DUT and, optionally, perform pre-processing of these test results before reporting them and communicate their pre-processed version to the ATE test program 824.
[0218] Additionally, the OCST controller 826 may act as an intermediary, for example, when an OCST test case requires a resource update. The OCST controller 826 may forward such requests for resource updates to the ATE test program 824, which may be responsible for communicating directly with the tester resources 820.
[0219] However, alternatively, the OCST controller 826 may be coupled to the test resources 820 using, for example, a data bus and / or a synchronization bus and / or one or more synchronization lines. Thus, the OCST controller 826 may optionally use a direct connection (e.g., a data bus and / or a synchronization bus and / or one or more synchronization lines) between the OCST controller 826 and the tester resources 820 to directly access the test resources 820 (e.g., bypassing the workstation 822 and the ATE test program 824) and cause updates to one or more tester resources as required by the OCST test cases 832. In this case, it is not even necessary for the OCST controller to forward the resource update request message 860 to the ATE test program 824 or to receive an acknowledgement 862 from the ATE test program 824.
[0220] In conclusion, the general concept of processing resource update request messages 850 from OCST test cases 832 in automatic test equipment may be supported by the OCST controller 826, where the OCST controller may act as an intermediary between the OCST test cases 832 and the ATE test program 824, or the OCST controller 826 may handle the requested resource updates directly (e.g., using a direct connection with the tester resources 820). Furthermore, the OCST controller, for example, as an intermediary between the ATE test program 824 and the OCST test cases, may support forwarding of acknowledgement 852 to the OCST test cases, or may provide acknowledgement messages 852 under its own control. As a result, a high degree of control over the ATE testing process is provided to the OCST test cases 832.
[0221] It should be noted that one embodiment of the present invention can be seen in an automatic test equipment 810 that includes an OCST controller 826. Additionally, another embodiment of the present invention can be seen in a device under test 830.
[0222] Furthermore, it is noted that the test configuration 800, or the automatic test equipment 810, or the device under test 830 may be optionally supplemented with any of the features, functions and details disclosed herein, individually or in combination.
[0223] 10. Message flow related to Figure 9
[0224] 9 shows a schematic diagram of a message flow for tester resource control that can be used in an embodiment according to the present invention. For example, the message flow can be used in any of the automatic test equipment disclosed herein. As an example, the message flow of FIG. 9 can be used in the test configuration 800 according to FIG. 8.
[0225] Regarding the message flows, note that there are four entities associated with the message flows: tester resources 910 may correspond, for example, to tester resources 820, ATE test programs 920 may correspond, for example, to ATE test programs 824, OCST controllers 930 may correspond, for example, to OCST controllers 826, and OCST test cases 940 may correspond, for example, to OCST test cases 832.
[0226] The message flow may start with the fact that an OCST test case, for example, indicated by reference numeral 950, is being executed. A tester resource update request may be present in the test case (for example, in the form of a program instruction), indicated by reference numeral 952. In response to the test resource update request in the test case, a message 954 may arise, which may be sent, for example, from the test case (or from the device under test) to the OCST controller 930. This message may comprise, for example, a command "set VCC1 to 5.5 volts" (for example, in coded form). This message may be coded, for example, using a predefined syntax, for example, represented by a suitable ASCII string. The message 954 may be received by the OSCT controller 930, which may forward the message to the ATE test program. The forwarding of the message is indicated by reference numeral 956, and the forwarded version of the message is indicated by reference numeral 958. The forwarded message 958 may, for example, have the same format as message 954 and may represent, for example, a command such as "Set VCC1 to 5.5 volts." However, when forwarding message 954, the OCST controller 930 may unwrap message 954 from a high-speed protocol-based communication such that message 958 may be more easily handled by, for example, an ATE test program. Optionally, the OCST controller may perform message transformation, for example in the form of syntax transformation, in providing message 958 based on message 954. However, the OCST controller 930 may also forward message 954 in an unaltered manner such that message 958 is identical to message 954.
[0227] In the ATE test program 920, a message handler may be active, indicated by reference numeral 962. The message handler may recognize receipt of the message 958, e.g., parse and / or interpret the message 958. For example, the message handler in the ATE program may "decode" the message 958 and convert the message 958 into a physical command 964 that results in a requested update of a tester resource and is forwarded to the tester resource 910. For example, the message handler 962 may receive and evaluate the message 958 and convert the message into a bus access command that represents the requested update of the tester resource. For example, the message handler may replace a symbolic reference (e.g., "VCC1") with a low-level (e.g., bus access) command that instructs the appropriate tester resource (e.g., a device power supply that provides a power supply voltage referenced by "VCC1") to assume a desired value. To this end, the message handler may convert a numeric expression in the message 958 into a numeric expression that fits the particular tester resource. Thus, the ATE test program 920 provides a message 964 that results in the desired update of the test resource. In this case, the message decryption results in the VCC1 power supply being updated, for example, to 5.5 volts. Additionally, the test resource 910 may provide an "update successful" message 966 (which may be considered optional, for example) to the ATE test program 920. Thus, the ATE test program 920 may recognize the completion of the resource update. However, the ATE test program may conclude from an evaluation of the timing that the update was successfully completed. For example, the ATE test program 920 may assume that the update of the test resource was successfully completed when a certain amount of time has elapsed since providing the update command to the tester resource 910, for example.
[0228] However, if the ATE test program determines that the tester resource update was successful (e.g., based on the update success message 966 or based on a time evaluation), it provides a confirmation message 968 to the OCST controller. Furthermore, in response to receiving the acknowledgement message 968, the OCST controller 930 provides an acknowledgement message (e.g., an acknowledgement message due to voltage update success) to the OCST test case 940. The acknowledgement message provided from the OCST controller to the OCST test case may be specified at 970. For example, the OCST controller 930 may simply forward the acknowledgement message 968 to the OCST test case, or the OCST controller 930 may generate the acknowledgement message 970 in response to receiving the acknowledgement message 968 from the ATE test program. The OCST test case then receives the acknowledgement for the tester resource update and continues execution, indicated by reference numeral 974.
[0229] However, according to one embodiment, the OCST test case 940 may be in a "waiting for acknowledgement" state between sending message 944 and receiving acknowledgement message 970. During this waiting state, the OCST test case may, for example, pause execution of the test case, or the OCST test case may execute one or more tests that do not require updates to test resources and that are preferably not sensitive to updates to tester resources. However, the OCST test case may delay execution of any tests that require updates to test resources until the acknowledgement message 970 is received. Using such a message flow, reliable execution of test cases that require updates to tester resources can be performed primarily under the control of the test case.
[0230] It should be noted that the message flows as described herein may optionally be used in any embodiment of the present invention, where message 954 may be provided by an OSCT test case and message 970 may be evaluated by an OCST test case, where message 954 may be received by automatic test equipment and 970 may be provided by automatic test equipment. Messages 958, 964, 966, and 968 may be internal messages of the ATE.
[0231] Furthermore, it is noted that the message flow according to FIG. 9 may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0232] 11. Test configuration related to Figure 10
[0233] Figure 10 shows a schematic diagram of a test setup according to one embodiment of the present invention. It should be noted that the test setup 1000 according to Figure 10 is similar to the test setup 700 according to Figure 7, and equivalent components will not be described again here. Instead, please refer to the above description.
[0234] The test configuration 1000 comprises an automatic test equipment 1010, which may be similar to the automatic test equipment 710. The automatic test equipment 1010 may comprise one or more tester resources 1020, which may be similar to the tester resources 720. However, it is noted that the one or more tester resources 1020 may comprise at least one measurement resource configured to measure a physical quantity, such as, for example, a physical characteristic of an analog or digital signal provided to or received from a device under test. However, the tester resources 1020 may comprise a measurement resource configured to measure an environmental parameter, such as temperature, pressure, humidity, etc. (e.g., in the environment of the device under test). The automatic test equipment 1010 also comprises a workstation 1022, which may be similar to the workstation 722. The workstation 1022 may be configured to execute an ATE test program 1024.
[0235] Additionally, there is a device under test 1030, which may be coupled to one or more tester resources 1020, for example, in a manner as described with reference to Figure 7. Thus, there may be one or more connections between the one or more tester resources 1022 and the device under test 1030, for example, providing ATE control signals for supplying, test interaction, and measurements to the DUT.
[0236] However, the test configuration 700 is distinguished from the test configuration 1000 in that a different type of communication is performed between the OCST test case 1040 and the ATE test program 1024. In the test configuration 1000, the OCST test case 1040 is configured to request a resource measurement from the ATE test program 1024. For this purpose, the OCST test case 1040 sends a resource measurement request message 1050 (also designated a resource measurement request message) to the ATE test program 1024, which may be, for example, a parametrics message. In response to this message 1050, the ATE test program 1024 may instruct one of the tester resources, for example a measurement resource, to perform the requested measurement and provide a measurement result. For example, the ATE test program 1024 may instruct a device power supply to perform a current measurement. Alternatively, the ATE test program 1024 may instruct the digital channel module to perform measurements on digital signals provided by the device under test, or the ATE test program 1024 may instruct the analog channel module to perform measurements on analog signals provided by the device under test, however, the ATE test program 1024 may alternatively instruct the measurement resources (which may be part of the tester resources 1020) to perform any other measurement of a physical quantity.
[0237] Once the measurements are complete, the ATE test program 1024 may provide a measurement result message to the OCST test case 1040. The measurement result message is specified at 1052.
[0238] Thus, an OCST test case 1040 may request a measurement to be performed by one of the test resources, and the ATE program 1024 responds to this request by instructing the appropriate measurement resource to perform such a measurement. The ATE test program 1024 then reports the measurement result to the OCST test case using a measurement result message 1052. The OCST test case may wait for the measurement result message 1052, for example, to ensure that the measurement result is not falsified by the execution of an inappropriate test case step. In this way, it is possible for the OCST test case to exercise a high degree of control and to be able to synchronize the measurements in time. Furthermore, the measurement result may be taken into account in further executions of the OCST test case.
[0239] It should further be noted that the test configuration 1100 may be supplemented by any of the features, functions and details described herein, either individually or in combination. It should further be noted that the automatic test equipment 1010 may be considered an embodiment of the present invention. Similarly, the device under test 1030 may be considered an embodiment of the present invention.
[0240] 12. Test configuration related to Figure 11
[0241] 11 shows a schematic diagram of a test setup 1100 according to one embodiment of the present invention. The test setup 1100 includes an automatic test equipment 1110 and a device under test 1130.
[0242] The automatic test equipment 1110 may include test resources 1120, which may correspond, for example, to the test resources 1120. Additionally, the automatic test equipment 1110 includes a workstation 1122, which may correspond, for example, to the workstation 1020 described above. The workstation 1122 is configured to execute an ATE test program 1124, which may correspond, for example, to the ATE test program 1024. However, in addition to the automatic test equipment 1010, the automatic test equipment 1110 also includes an on-chip system test controller 1150, which may be coupled, for example, to the workstation 1122 and, optionally, to the tester resources 1120. Furthermore, the on-chip system test controller 1140 is typically configured to receive resource measurement requests 1160 from the device under test 1130 or from test cases 1140 running on the device under test 1130, and to provide measurement results 1162 to the device under test 1130 or to the OCST test cases 1140 running on the device under test 1130.
[0243] For example, the OCST controller 1150 may be coupled to the device under test 1130 for message exchange for tester resource measurement via a high-speed interface (HSIO). Furthermore, the OCST controller 1150 may be coupled to the workstation 1122 for providing a resource measurement request (or a resource measurement request message) 1170 to the workstation 1122 or an ATE test program 1124 running on the workstation 1122. Furthermore, the OCST controller may be configured to receive a measurement result (or a measurement result message) 1172 from the workstation 1122 or from the ATE test program 1124. In other words, the OCST controller 1150 may be configured to perform message exchange for tester resource measurement with the workstation 1122 or the ATE test program 1124 via a high-speed interface (HSIO). However, it should be noted that the high-speed interface between the OCST controller 1150 and the workstation 1122 may of course be different from the high-speed interface between the device under test 1130 and the OCST controller 1150. Additionally, the OCST controller may be configured to communicate with the device under test 1130 (or with the OCST test cases 1140) to perform upload and / or execution control of the OCST test cases. Additionally, the OCST controller 1150 may be configured to communicate (e.g., bidirectionally) with the workstation 1122 or with the ATE test program 1124 running on the workstation 1122 to perform OCST-TC upload and / or execution control. To perform OCST-TC upload and / or execution control, communication between the OCST controller 1150 and the DUT 1130 may use, for example, a high-speed interface (e.g., USB, PCIe, ETH, or any other suitable high-speed interface).
[0244] Similarly, the communication between the OCST controller 1150 and the workstation 1122 or the ATE test program 1124 for performing or supporting or controlling the OCST-TC upload and / or execution control may be performed using, for example, a high-speed interface (e.g., USB, PCIe, ETH, or any other suitable interface). Thus, the OCST controller may support on-chip system testing. For example, by having a particularly good ability to perform high-speed communication with the device under test or the OCST test cases 1140, the OCST controller 1150 may perform the upload of the on-chip system test test cases to the device under test 1130 in a particularly fast manner, which helps to speed up the testing. Furthermore, the on-chip system test controller 1150 may provide execution control information and / or execution control commands to the device under test 1130 or the OCST test cases 1140, for example, via a high-speed interface. In this way, the OCST controller can help to perform the OCST test in a fast and time-saving manner. However, the OCST controller 1140 may receive the OCST test cases from, for example, an ATE test program, which may control the overall test flow. Furthermore, the ATE test program may also provide the OCST controller 1150 with information regarding the desired overall test flow, and the OCST controller 1150 may provide execution control information and / or execution control commands to the device under test 1130 or the OCST test cases 1140 based thereon. In this way, the OCST test controller 1150 may act as an intermediary between the workstation 1120 or the ATE test program 1124 on the one side and the DUT 1130 or the OCST test cases 1140 on the other side.
[0245] Furthermore, the OCST test controller 1150 may act as an intermediary in the resource measurement procedure described herein. For example, the OCST controller may be configured to receive a resource measurement request 1160 from the OCST test case 1140 and forward this resource measurement request (which may also be considered as a resource measurement command or a resource measurement request message) to the workstation 1120 or the ATE test program 1124 (e.g., in the form of a resource measurement request 1170). The OCST controller may forward the resource measurement request in its original form, e.g., it may only handle the communication protocol of the high-speed interface between the OCST controller 1150 and the DUT 1130. However, the OCST controller 1150 may alternately perform a translation of the resource measurement request, which may be considered as a "command translation". Thus, the OCST controller 1150 may provide the resource measurement request 1170 such that the resource measurement request 1170 is a translated version of the resource measurement request 1160. For example, the OCST controller 1150 may perform such command translation if this is appropriate in view of the particular interface or communication format between the OCST controller 1150 and the workstation 1122 .
[0246] Additionally, the OCST controller 1150 may forward measurement result information 1172 provided by the workstation 1122 or provided by the ATE test program 1124 to the DUT 1130 or OCST test cases 1140 in an unaltered manner, where the OCST controller 1150 may take care of protocol handling for a high speed interface between the OCST controller 1150 and the device under test 1130, for example. However, the OCST controller 1150 may generate the measurement results 1162 based on the measurement result information 1172 received from the workstation 1122 or from the ATE test program 1124.
[0247] In conclusion, the OCST controller may simply forward resource measurement requests 1160 from the OCST test cases 1140 to the ATE test programs 1124 without modification, and forward measurement results 1172 from the ATE test programs 1124 to the OCST test cases 1140 without modification, acting as a "simple middleman" handling only the high-speed communication protocol. However, alternatively, the OCST controller may comprise extended functions, which may comprise, for example, command translation and / or measurement result message translation or measurement result message generation (in addition to protocol processing).
[0248] Thus, an OCST test case 1140 executing on the device under test 1130 can provide commands (e.g., resource measurement requests 1160) requesting measurements of one or more physical quantities and can receive measurement result signals 1162. The OCST controller 1152 acts as an intermediary and takes care of the protocol handling for high speed communication between the automatic test equipment 1110 and the device under test 1130. The OCST controller 1150 communicates with the ATE test program 1124 and forwards the resource measurement requests 1060 to the ATE test program 1124 in the original or converted form. Additionally, the OCST controller 1150 also acts as an intermediary for the measurement result signals from the ATE test program 1124 to the OCST test case 1140. Furthermore, the OCST controller optionally also assumes functions in uploading and / or controlling the execution of OCST test cases, e.g. the same physical interface between the OCST controller 1150 and the device under test 1130 may be used on the one side for uploading and / or controlling the execution of OCST test cases and on the other side for transmitting resource measurement requests 1160 and measurement result signals 1162. Thus, the high-speed interface between the OCST controller 1150 and the device under test 1130 can be used in a particularly advantageous manner for multiple purposes.
[0249] Furthermore, it should be noted that reference is made to the description of FIG. 10 regarding the basic functioning of this concept.
[0250] In addition, it is noted that the test configuration 1100 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination. It is further noted that both the automatic test equipment 1110 and the device under test 1130 described herein are to be considered as embodiments of the present invention.
[0251] 13. Test flow related to Figure 12
[0252] 12 shows a schematic diagram of a test flow 1200 according to one embodiment of the present invention. The test flow may be executed in the test configuration 1100, for example.
[0253] 12 illustrates a communication or message flow involving tester resources 1210 (e.g., may correspond to tester resources 1120), ATE test program 1220 (e.g., may correspond to ATE test program 1124), OCST controller 1230 (e.g., may correspond to OCST controller 1150), and OCST test case 1240 (e.g., may correspond to OCST test case 1140). As illustrated, an OCST test case is running as indicated by reference numeral 1250. The OCST test case sends a message 1254 requesting measurement of a physical quantity, e.g., the message "Measure VCC1", to the OCST controller 1230. The OCST controller 1230 comprises a message forwarding function 1256. In this example, the OCST controller 1230 forwards this message to the ATE test program 1220, e.g., in the form of message 1258. For example, message 1258 still comprises the command "Measure VCC1". The ATE test program 1202 includes an active message handler 1262 that evaluates messages 1258 received from the OCST controller.
[0254] The message handler 1262 may, for example, perform message decoding of the message 1258, and as a result provide a message (or command) 1264 to the test resources 1210, which may cause a requested measurement of a physical quantity. For example, the message or command 1264 may be in the form of a (physical) hardware command that causes the test resources 1210 to perform a desired measurement. Thus, the ATE test program 1220 receives measurement result information 1266 (e.g., a measurement result message) from the test resources 1210. The measurement result information 1266 may, for example, indicate a particular value of a physical quantity (e.g., VCC1) to be measured. However, it should be noted that the ATE test program 1220 may, for example, actively read the measurement result information 1266 from the tester resources 1210. Alternatively, the measurement resources 1210 may provide the measurement result information 1266 to the ATE test program 1220 in the form of a measurement result message. The ATE test program 1220 may generate a result message 1268 indicating the value of the physical quantity to be measured and provide this measurement result message to the OCST controller 1230. The OCST controller 1230 may, for example, forward the measurement result message 1268 to the OCST test case in the form of a measurement result message 1270. It should be noted, however, that the OCST controller 1230 may optionally comprise a function for converting the message 1268 to the message 1270, for example by modifying the syntax. The OCST test case 1240 may then receive and evaluate the measurement result message 1270. For example, the OCST test case 1240 may parse the result message 1270 and extract measurement result information from the measurement result message 1270. Furthermore, optionally, the execution of the test case may continue depending on the received result (for example, depending on the measurement result). However, alternatively, the OCST test case 1240 may simply store the measurement results and later report them to the automatic test equipment (or for use by the test case in determining the test result).
[0255] In conclusion, using the message flow of Fig. 12, an OCST test case can request a measurement of a physical quantity, and the automatic test equipment can utilize the protocol handling capabilities of the OCST controller 1230 to handle this request. Thus, the measurement results can be communicated in an efficient manner to the OCST test case 1240, which can utilize the test results.
[0256] It is further noted that the message flow 1200 of FIG. 12 may be used in any embodiment of the present invention, and that the message flow 1200 of FIG. 12 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0257] 14. Test configuration related to Figure 13
[0258] FIG. 13 shows a schematic diagram of a test configuration 1300 according to an embodiment of the present invention. The test configuration 1300 comprises an automatic test equipment 1310, which may correspond to other automatic test equipment described herein. For example, the automatic test equipment 1310 may comprise tester resources 1320 and a workstation 1322, which may be configured to execute an ATE test program 1324. The automatic test equipment 1310 may comprise a so-called "FT service equipment 1350", which may be a functional test case service equipment, which may be a CPU-supported hardware instance including a DUT test controller. The test controller of the FT service equipment 1350 is designated 1352. For example, the test controller 1352 may be configured to communicate with the ATE test program 1324 using a so-called "DCCP-IF", which may be a data, control, and communication path interface. Furthermore, the test controller 1352 may be configured to communicate with the test cases 1340 executed on the device under test 1330 via a DCCP interface, which is a data, control, and communication path interface.
[0259] With regard to the functionality of the test configuration 1300, reference is made, for example, to the discussion above, and it is noted that the automatic test equipment 1310 may correspond, for example, to the automatic test equipment 810 or the automatic test equipment 1110. It is further noted that the FT service equipment 1352 may correspond, for example, to the OCST controller 826 or the OCST controller 1150. The DCCP interface 1360 may, for example, be responsible for the function of an interface between the OCST controller 826 and the ATE program 824, and the DCCP interface 1362 may, for example, be responsible for the role of an interface between the OCST controller 826 and the OCST test cases 832.
[0260] As can be seen from FIG. 13, for example, it may be sufficient to have a single DCCP interface 1362 between the test controller 1352 and the test cases 1340. The single DCCP interface 1362 may be used, for example, for uploading and / or controlling execution of OCST test cases, and may be used to send resource update requests (e.g., 850) and acknowledgement signals (e.g., 852). Similarly, a single DCCP interface 1360 may be sufficient between the test controller 1352 and the ATE test program 1324. For example, the single DCCP interface 1360 may be used for uploading and / or controlling execution of OCST test cases, and may be used to send resource update requests (e.g., 860) from the test controller 1352 to the ATE test program 1324, and to send acknowledgement signals (e.g., 862) from the ATE test program 1324 to the test controller 1352.
[0261] 13 shows a test configuration 1300 in which the functional test cases 1340 are entirely located on the device under test 1330. The DCCP interface to the test controller 1352 is realized by a physical interface such as, for example, HSIO-PCIe or USB.
[0262] However, it should be noted that the test configuration 1300 may be optionally supplemented by any of the features, functions and details disclosed herein, individually or in combination. Moreover, it should be noted that both the automatic test equipment 1310 and the device under test 1330 may be considered as embodiments of the present invention.
[0263] Test configuration according to Figure 14
[0264] 14 shows a schematic diagram of a test configuration 1400 according to one embodiment of the present invention. The test configuration 1400 includes an automatic test equipment 1410, which may be similar to the test configuration 1300 as referenced in the above discussion. The test configuration 1400 also includes a device under test 1430, which may be similar to the device under test 1330 as referenced in the above description.
[0265] The automatic test equipment 1410 comprises test resources 1420, which are similar to the test resources 1320, and a workstation 1422, which are similar to the workstation 1322. See the above description for further details. For example, an ATE test program 1424 runs on the workstation 1422, which may be similar or identical to the test program 1324 running on the workstation 1322. Furthermore, the automatic test equipment 1410 comprises a functional test case service apparatus 1450, also referred to as an FT service apparatus (FSI). The functional test case service apparatus 1450 may correspond, for example, to the functional test case service apparatus 1350 and may, for example, take on the functionality of an on-chip system test controller (e.g., the on-chip system test controller 826).
[0266] 14, however, the test cases 1440 are distributed between the device under test 1430 and the functional test case service equipment 1450. For example, some of the test cases may be executed on the functional test case service equipment 1450 and other parts of the test cases may be executed on the device under test 1430. By way of example only, the functional test case service equipment 1450 may be in close communication with the device under test 1430 and may comprise hardware components that are in place of the hardware that would be coupled to the device under test 1430 in a real environment, for example.
[0267] According to one aspect, there may be a DCCP interface 1462 between the test cases 1440 and the test controller 1452 of the functional test case service equipment 1450. Thus, the DCCP interface 1462 may enable, for example, uploading and / or execution control of OCST test cases and may handle the sending of resource update requests (e.g., 850) and the sending of acknowledgement signals (e.g., 852). Additionally, there is also a DCCP interface 1460 between the test controller 1452 and the ATE test program 1424.
[0268] In conclusion, in the test configuration 1400 according to Fig. 14, the functional test case is logically divided into a DUT part and an FSI part. The DCCP interface between the test controller and the test case is realized, for example, by software running on the FSI. The software handling the physical connection of the FSI and the DUT is located, for example, inside the test case.
[0269] Furthermore, it is noted that the test configuration 1400 according to FIG. 14 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0270] Further, it should be noted that both the ATE 1410 and the device under test 1430 may be considered embodiments of the present invention.
[0271] In conclusion, Figure 14 shows an extension to handle further interface topologies for communication with the test cases. According to one embodiment, the DUT interface control may be integrated inside the test case. However, integration of the DUT interface control inside the test case is also within the scope of the present invention.
[0272] Test configuration according to Fig. 15
[0273] 15 shows a schematic diagram of a test configuration 1500 according to one embodiment of the present invention. The test configuration 1500 comprises automatic test equipment 1510 and a device under test 1530. The automatic test equipment 1510 comprises test resources 1520 and a workstation 1522, where an ATE test program 1524 runs on the workstation 1522. Furthermore, test cases 1540 run on the device under test.
[0274] With regard to the automatic test equipment, reference is made, for example, to the test configuration 700 according to Fig. 7 with similar functions. For example, the automatic test equipment 1510 may correspond to the automatic test equipment 710, and the device under test 1530 may correspond to the device under test 730. As can be seen in Fig. 15, between the ATE test program 1524 and the test cases 1540, there is a DCCP interface 1550. For example, the DCCP interface 1550 may be used for uploading and / or controlling the execution of the OCST test cases described with reference to Fig. 7, and the DCCP interface 1550 may be used for resource update requests (e.g. 750) and acknowledgement signals (e.g. 752). Thus, for example, a single DCCP interface 1550 may be used for multiple purposes.
[0275] Furthermore, it should be noted that the functionality of test configuration 1500 may be similar to that of test configuration 700, as also referenced in the above description.
[0276] In conclusion, in the test configuration 1500 according to Fig. 15, the functional test cases are located entirely on the device under test. The DCCP interface to the ATE test program is realized by a physical interface, for example HSIO-PCIe or USB.
[0277] It is further noted that the test configuration 1500 according to Fig. 15 may be optionally supplemented by any features, functions and details disclosed herein, individually or in combination. It is further noted that both the ATE 1510 and the DUT 1530 may be considered as embodiments of the present invention.
[0278] 17. Test configuration related to Figure 16
[0279] Fig. 16 shows a schematic diagram of a test setup according to one embodiment of the present invention. The test setup 1600 according to Fig. 16 comprises an automatic test equipment 1610 and a device under test 1630. The automatic test equipment 1610 may correspond, for example, to the automatic test equipment 1510 according to Fig. 15. The automatic test equipment 1610 comprises test resources 1620 which may correspond, for example, to the test resources 1520, and the automatic test equipment 1610 also comprises a workstation 1622 which may correspond, for example, to the workstation 1522. An automatic test equipment test program 1624 runs on the workstation 1622.
[0280] However, the test cases 1640 are distributed between the workstation 1622 and the device under test 1630. Thus, the functional test may be logically divided, for example, into a DUT portion and a workstation portion (e.g., a DUT portion running on the device under test 1630 and a workstation portion running on the workstation 1622). The DCCP interface between the two portions is realized, for example, by software running on the workstation 1622. The software handling the physical connection of the workstation and the DUT is located, for example, inside the test cases 1640.
[0281] Further, it should be noted that the DCCP interface 1650 between the ATE test program 1624 and the test cases 1640 may comprise functionality equivalent to that of, for example, the DCCP interface 1550. For example, the DCCP interface 1650 may be used for uploading and / or controlling execution of OCST test cases (e.g., as described with respect to FIG. 5), and the DCCP interface 1650 may be used for sending resource update requests (e.g., 750) and acknowledgment signals (e.g., 752).
[0282] Furthermore, it should be noted that the test configuration 600 may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0283] Further, it should be noted that automatic test equipment 1610 and device under test 1630 may be considered embodiments of the present invention.
[0284] In conclusion, Figure 16 shows an extension to handle further interface topologies for communication with the test cases. According to one embodiment, the DUT interface control may be integrated inside the test case. However, integration of the DUT interface control inside the test case is also within the scope of the present invention.
[0285] 18. Test configuration related to Figure 17
[0286] FIG. 17 shows a schematic diagram of a test setup 1700 according to one embodiment of the present invention.
[0287] Test configuration 1700 includes automatic test equipment 1710, which may correspond to, for example, automatic test equipment 810. For example, automatic test equipment 1710 may include tester resources 1720, which may correspond to, for example, tester resources 820. Further, test configuration 1710 may include a workstation 1722, which may correspond to, for example, workstation 822. Further, test configuration 1710 may include a CST controller 1726, which may correspond to, for example, OCST controller 826. Further, test configuration 1700 includes a device under test 1730, which may correspond to, for example, device under test 830.
[0288] However, the test configuration 1700 also includes a library 1770, which may be, for example, part of the automatic test equipment 1710. The library may include, for example, one or more message application programming interfaces (APIs). Additionally, the library 1770 may include, for example, one or more symbolic references. Additionally, the library 1770 may optionally include signal mappings.
[0289] For example, the message API may define calls to library procedures or functions. For example, the message API may define a syntax for calling a procedure or function (e.g., in the form of a function or method header or a function or method interface) for utilization in developing OCST test cases. Additionally, the library may optionally include implementations of the functions or methods (e.g., in a precompiled or source code format). For example, a function or method defined by the API of the library 1770 may define the generation (and transmission) of a resource update request message. By way of example only, the message API may define a function or method, the invocation of which results in the generation of a message useful for requesting a resource update of a tester resource. Such a function or method may, for example, define generating a message in the appropriate syntax and transmitting such a message via a high-speed interface to the OCST controller 1726 or to the ATE test program 1724. Thus, an OCST test case developer need only include function or method calls defined in library 1770 in the source code of the OCST test case, and can then generate executable code for the OCST test case (e.g., using an appropriate representation of the implementation of that procedure or function defined in the message API).
[0290] In conclusion, one of the functions or methods defined in the library 1770 may define generating (and preferably also transmitting) a resource update request message, and another method or function defined in the library may define detecting whether an acknowledgement signal has reached the device under test, or may define waiting for receipt of an acknowledgement signal at the device under test.
[0291] Alternatively or additionally, one of the functions or methods defined in the library may define the generation (and preferably also the transmission) of a resource measurement request message, and another function or method defined in the library may define the evaluation of the measurement result signal.
[0292] Library 1770 may optionally include representations of symbolic references, which may be symbolic references for abstract test resource control and signal mappings. For example, library 1770 may include symbolic references for typically used signal names, such as, for example, VCC1, VCC2, VCC3, fCLK1, fCLK2, etc. Thus, the symbolic references in the library may be user-friendly signal names or signal characteristics that are easily understood by a verification engineer designing tests for a particular device under test.
[0293] Additionally, library 1770 may optionally include signal mappings that may define a mapping of symbolic references to actual physical signals provided by, for example, automatic test equipment 1710 .
[0294] Further, it should be noted that the library 1770 may not only comprise a message API for the test cases, but may also comprise a message API for the test cases and / or the OCST controller and / or the test programs. For example, the library 1770 may comprise a message API that may be used in the design of a program that executes on the OCST controller 1726 and may define functions or methods for, for example, evaluating a resource update request message and / or generating an acknowledgement message. Furthermore, the message API included in the library 1770 may be included in the ATE test program 1724 and may define functions or methods that may, for example, evaluate a resource update request message or generate an acknowledgement message. In this manner, the message API included in the library 1770 may support the development of OCST test cases and may also support the development of ATE test programs. Furthermore, the message API included in the library 1770 may support the development of software that executes on the OCST controller 1726.
[0295] Further, the symbolic references may define signals and / or quantities in a manner that is, for example, relevant to the device (e.g., closely related to the naming of each signal in a device specification or device data sheet), which may assist, for example, a developer of OCST test cases.
[0296] Additionally, the signal mappings may be used, for example, in generating programs to be executed on the OCST controller 1726 or in developing the ATE test programs 1724, and may be used at runtime in the OCST controller 1726 or ATE test programs 1724. For example, the signal mappings defined in the library 1726 may be used by the OCST controller 1726 or ATE test programs 1724 to translate symbolic references, such as to translate messages from OCST test cases (which may include symbolic references included in resource update request messages, for example), into commands that reference specific physical tester resources.
[0297] As just one example, the ATE test program 1725 may translate a symbolic reference "VCC1" that may be included in a resource update request message to a physical identifier (e.g., a bus address) of a particular device power supply (e.g., device power supply 1). Note that the symbolic reference may be independent of, for example, the actual physical configuration of the automatic test equipment, but rather may be related to the naming convention of the device under test. Thus, the signal mapping may define "translation rules" from, for example, DUT-related symbolic references to actual physical tester resources.
[0298] In conclusion, the library 1770 significantly facilitates the development of OCST test cases and ATE test programs. Furthermore, the use of symbolic referencing and signal mapping reduces the risk of error for the developer of OCST test cases and also enables porting of tests to ATEs with different hardware configurations with little effort.
[0299] It is further noted that the library 1770 described herein may optionally be implemented in any other test configuration and automatic test equipment disclosed herein. It is further noted that the test configuration 1700 may optionally be supplemented by any of the features, functions and details disclosed herein, either separately or in combination.
[0300] Furthermore, it should be noted that both the ATE 1710 and the device under test 1730 may be considered embodiments of the present invention.
[0301] 19. Test configuration 1800 according to FIG.
[0302] 18 shows a schematic diagram of a test configuration 1800 according to one embodiment of the present invention. The test configuration 1800 comprises an automatic test equipment 1810 and a device under test 1830. The automatic test equipment comprises test resources 1820 and a workstation 1822 on which a test program 1824 is executed. In addition, the automatic test equipment 1810 also comprises an OCST controller 1826. The device under test 1830 is typically configured to execute OCST test cases 1840.
[0303] With respect to the automatic test equipment 1810, it should be noted that the test resources 1820 may be, for example, similar to the test resources 820 described above. However, it should be noted that the tester resources 1820 are also (directionally) coupled to an OCST controller 1826, which may be, for example, similar to the OCST controller 826.
[0304] It should be noted, however, that the OCST controller 1826 is configured to receive resource update requests 1850 (e.g., in the form of a message) from the OCST test cases 1840 and provide acknowledgement signals 1852 (e.g., in the form of a message) to the OCST test cases. However, the OCST controller 1826 is directly coupled to one or more tester resources 1820, e.g., via a data bus and synchronization bus 1880. Thus, the OCST controller 1826 may generate a response to the resource update request 1850 directly (e.g., in a manner that bypasses the workstation 1822). For example, the OCST controller 1826 may access one or more test resources 1820 via a data and synchronization bus 1880 (which typically, but not necessarily, interconnects all tester resources 1820 and the OCST controller 1826) in response to a resource update request (or resource update request message) 1850. Thus, in response to a resource update request 1850, the OCST controller 1826 may directly (e.g., in a manner that bypasses the workstation 1822) instruct the particular tester resource indicated in the resource update request message 1850 to update its characteristics.
[0305] For example, the OCST controller 1826 may send instructions or commands to a particular tester resource 1820 (e.g., a device power supply or a clock signal generator, etc.) in accordance with the resource update request 1850 to cause it to change its parameters to new parameters specified by the OCST controller 1826. For example, the OCST controller 1826 may write one or more data words to a data bus directly connecting the OCST controller 1826 and one or more tester resources 1820, and the OCST controller 1826 may, for example, provide an address to the desired tester resource 1820 in such a data bus access. For example, sending one or more appropriate data words over the data bus 1880 may directly cause the designated (or addressed) tester resource to update its characteristics (e.g., the voltage provided by the device power supply, or the clock frequency of the clock signal provided by the clock signal generator). However, in some implementations, one or more data words communicated from the OCST controller 1826 to the designated tester resource via the data bus 1880 may simply define new parameters of the designated tester resource, which become active only in response to a synchronization event. For example, the OCST controller may communicate a synchronization event to the designated tester resource 1820 (or all tester resources 1820) via the synchronization bus, thereby triggering an actual update of the characteristics of the tester resource. However, as another alternative, the OCST controller may communicate such synchronization to the designated tester resource via a dedicated trigger line. For example, activation of a synchronization line (not shown in FIG. 18) may cause the designated tester resource coupled to the synchronization line to assume the new settings (which may be considered an update of the tester resource).
[0306] In conclusion, by having a direct coupling between the OCST controller 1826 and the tester resources 1820 (e.g., via the data and synchronization bus 1880, or using a synchronization mechanism such as a data connection and (optionally) one or more dedicated synchronization or trigger lines), the OCST controller 1826 can cause updates of one or more tester resources with very low latency. For example, the OCST controller 1826, which is typically configured to establish high-speed communication with the OCST test cases 1840 using a high-speed interface, can react very quickly to resource update request messages from the OCST test cases and can directly instruct one or more test resources to perform the requested resource updates. Thus, there is no need to rely on the workstation 1822 or the ATE test program 1824 to handle the resource update requests, and delay times can be avoided. Furthermore, interruptions of the ATE test program 1824 can also be avoided using the concept of giving the OCST controller direct access to one or more tester resources. Thus, fast and efficient testing of the device under test can be achieved.
[0307] Furthermore, it should be noted that the test configuration 1800 may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0308] Moreover, it should be noted that both the automatic test equipment 1810 and the device under test 1830 may be considered embodiments of the present invention.
[0309] 20. Test configuration related to Figure 19
[0310] FIG. 19 shows a schematic diagram of a test configuration 1900 according to an embodiment of the present invention. The test configuration 1900 includes an automatic test equipment 1910 and a device under test 1930. The automatic test equipment includes a tester resource 1920, which may be similar to the tester resource 820, 1820, for example. Furthermore, the automatic test equipment 1910 includes a workstation 1922, on which the ATE test program 1924 may be executed. The workstation 1922 may be similar to the workstation 822 or the workstation 1822, for example, as the above description also applies. Furthermore, the automatic test equipment 1910 includes an OCST controller 1926, which may be similar to the OCST controller 826 or the OCST controller 1826, for example.
[0311] However, one or more tester resources may be configured to receive a trigger signal from the GPO trigger line 1990. For example, the automatic test equipment 1910 may be configured to provide access to the GPO trigger line at a DUT interface. For example, the GPO trigger line may be coupled to a general purpose output 1942 of the device under test 1930 (e.g., via a load board between the DUT interface of the automatic test equipment and the device under test 1930). For example, the general purpose output terminal 1942 of the device under test 1930 may be controlled by a test case 1940 running on the device under test. Thus, the OCST test case 1940 may trigger an update of a test resource, for example, by activation of the GPO trigger line 1990. As a result, the OCST test case 1940 may cause an update of one or more tester resources 1920 in a manner that requires minimal hardware and software effort. In principle, a single pin of the device under test 1930 (e.g., a general-purpose output pin, or any other output pin, or input / output pin), which is preferably not otherwise used in the test configuration and which can be programmed with reasonable effort by an OCST test case 1940, can be used to trigger a tester resource update.
[0312] Further, it should be noted that one or more tester resources to be updated in response to activation of a GPO trigger line 1990 may be pre-programmed, for example, by the ATE test program 1924. For example, the ATE test program 1924 may provide instructions to a particular tester resource 1920 indicating a new state to be taken in response to activation of a GPO trigger line (e.g., in response to activation of an associated GPO trigger line). In other words, the ATE test program may be coarsely time-synchronized with, for example, execution of an OCST test case 1940 on the device under test 1930, and thus may be able to predict which resource updates will be required by the OCST test case 1940 with the next activation of the GPO trigger line 1990. Thus, the ATE test program may pre-configure the particular tester resource, which is the next characteristic to be updated, by providing the particular tester resource with information regarding the upcoming desired characteristics. The particular tester resource 1920 may then perform an update to use the pre-configured characteristics in response to activation of the GPO trigger line 1990 by the OCST test case. Thus, the ATE test program 1920 may, for example, define new values to be updated in particular tester resources 1920, and the OCST test cases 1940 determine the exact timing at which the update of the tester resources to the new properties (or new values) should occur, via activation of a GPO trigger line 1990. In such a scenario, the time at which the preconfiguration occurs is relatively uncritical, while the reaction to the activation on the GPO trigger line typically occurs within a well-defined period of time (e.g., with very high timing accuracy). In this way, the OCST test 1940 has a great deal of control over the timing of the update of the tester resources, while a very simple communication mechanism, i.e., a single GPO trigger line, may be sufficient to actually cause the update of the tester resources.
[0313] However, in some embodiments, the OCST test cases 1940 may be able to communicate the desired new characteristics (or desired new settings) of one or more tester resources to be updated. For example, the OCST test cases 1940 may use a protocol-based high-speed interface for this purpose, and communications may extend, for example, from the OCST test cases 1920 to the OCST controller, from the OCST controller to the ATE test program, and from the ATE test program to the tester resources. However, alternatively, such communications may extend directly from the OCST test cases 1940 to the OCST controller 1926, and from the OCST controller 1926 to the tester resources 1920, such that the OCST controller may bypass the ATE test program 1924 and directly pre-program the tester resources 1920 for the desired updates of their characteristics.
[0314] In conclusion, by providing an automatic test equipment with the capability to receive trigger signals from a device under test that trigger the update of one or more tester resources, it is possible for the device under test, which may be a system-on-chip, to have very precise timing control over the updates of the tester resources. This allows the execution of OCST test cases executed on the device under test to be very fast, with very low latency. Also, complex changes in the test environment, e.g. power supply voltage sags and power supply voltage spikes, can be defined under the control of the OCST test cases, with very precise timing relationships to the OCST test cases.
[0315] However, it should be noted that the test configuration 1900 may be optionally supplemented with any of the features, functions and details described herein. Moreover, it should be noted that both the automatic test equipment 1910 and the device under test 1930 may be considered as embodiments of the present invention.
[0316] 20. Further embodiments and aspects
[0317] Generally speaking, embodiments of the innovation described herein describe an ATE integration solution for extending on-chip system test capabilities via paths that control ATE tester resources (TRs).
[0318] 20.1. Tester Resources
[0319] Tester resources are hardware (HW) modules installed in, for example, Automatic Test Equipment (ATE) that are used to provide the electrical environment, stimulus generation, and signal evaluation of the DUT (Device Under Test) during test execution. Typical test modules cover areas such as power, digital IO, mixed signal IO, RFIO, etc., and have features for applying and measuring test-specific patterns and test signals.
[0320] 20.2. Comparison of conventional and novel TR regulatory pathways
[0321] Tester resources are conventionally controlled by, for example, an ATE test program running on an ATE workstation (see, for example, Figures 5 and 6). Any updates to the ATE environment are (for example, conventionally) initiated by the test program, and no environment updates due to OCST test cases are foreseen.
[0322] In this concept, test cases may be defined in such a way that the test cases are, for example, functional OCST test cases that run as embedded software (SW) on a device under test (DUT), and test programs are defined in such a way that they are, for example, ATE-specific programs that run on a workstation for controlling the tests.
[0323] However, the lack of interconnection of OCST test cases to control ATE environments has proven to severely limit the usability of OCST development.
[0324] According to one aspect of the invention, the solution proposed here compensates for this drawback by a novel control path from the OCST test case to the ATE test program based on a communication channel (see e.g. Fig. 7 and Fig. 8). The novel control path is realized e.g. by software techniques and uses messages that can be exchanged between the test case and the test program. The calls of the relevant messages are provided e.g. by an API and can be placed e.g. in any code line within the test case.
[0325] As mentioned above, FIG. 7 shows a schematic diagram of an OCST extended by a tester resource control path (where the tester resource control path may, for example, enable the transmission of resource update request messages 750 and confirmation messages 752).
[0326] 8 further illustrates a schematic diagram of a variation including an OCST controller including a tester resource control path. For example, the tester resource control path may enable the transmission of resource update request messages 850, 860 and acknowledgement messages 862, 852.
[0327] These features may be optionally included individually or in any combination in any embodiment disclosed herein.
[0328] 20.3. Message-Based Tester Resource Control Flow
[0329] According to one aspect of the invention, the ATE environment configuration can now be additionally controlled by the OCST test cases, for example by sending specific parameterized messages to the ATE test program. For example, a message handler in the test program interprets the message and performs a tester resource update depending on the message parameters. After the resource update is completed, an acknowledgement message is sent to the waiting DUT, which then continues executing the test case.
[0330] A schematic diagram of the message flow for tester resource control is shown in Figure 9. In the following, the tester resource update flow is briefly described.
[0331] Tester resource update flow 1. During execution, the OCST test case requests a resource update using an API message call and enters a wait loop until it receives a resource update acknowledgement message. 2. The message is propagated to the ATE test program via the OCST controller and interpreted by the message handler. 3. Tester resources are updated depending on the decoded message parameters. 4. An acknowledgement message is propagated to the OCST test case via the OCST controller upon successful tester resource update for synchronization. 5. The OCST test case continues execution after receiving the acknowledgment message.
[0332] These features may be optionally included, individually or in any combination, in any embodiment disclosed herein.
[0333] 20.4. Message-based tester resource measurement flow
[0334] According to one aspect of the invention, besides controlling tester resources, the message interface can also (alternatively or additionally) be used to trigger resource measurements by OCST test cases, which is useful for example to make the execution of OCST test cases dependent on ATE specific environmental conditions such as power supply voltage levels, environmental temperature, etc.
[0335] 10 shows a schematic diagram of an OCST extended by a tester resource measurement path. For example, the tester resource measurement path may enable the transmission of a resource measurement request message 1050 and a measurement result message 1052.
[0336] 11 further shows a schematic diagram of a variant including an OCST controller to include a tester resource control path, which may allow, for example, the forwarding of resource measurement request messages 1160, 1170 and the transmission of measurement result messages 1172, 1162.
[0337] For example, an OCST test case can trigger an ATE resource-specific measurement by sending a parameterized measurement message (e.g., message 1160) to an ATE test program (e.g., ATE test program 1124). A message handler within the test program (e.g., within ATE test program 1124) may, for example, interpret the measurement message parameter (e.g., a parameter indicating that voltage VCC1 should be measured), which triggers the identified tester resource (e.g., a tester resource capable of measuring a physical voltage specified by symbolic reference VCC1) to perform the measurement. The result of the resource measurement is then sent back, for example, to a waiting DUT 1130, which continues the test case, for example, depending on the received result value (e.g., a result value indicating that VCC1 takes a particular value, such as 5.46 V).
[0338] FIG. 12 shows a schematic diagram of the message flow for tester resource measurement.
[0339] An example of a tester resource measurement flow will be described below.
[0340] Tester resource measurement flow 1. An OCST test case requests a resource measurement during execution, for example using an API message call (eg, message 1254), and enters a wait loop until it receives, for example, a measurement result message (eg, message 1270). 2. The message (eg, message 1254) is propagated, eg, via an OCST controller, to an ATE test program (eg, ATE test program 1220) and interpreted by a message handler (eg, by a message handler that is part of the ATE test program). 3. A tester resource (eg, tester resource 1210) performs a measurement depending on the decoded message parameters (eg, depending on parameter VCC1 indicating that a particular voltage should be measured). 4. The measurements are propagated to the OCST test cases via the OCST controller (eg, using messages 1260, 1270). 5. The OCST test case (eg, OCST test case 1240) continues execution, eg, depending on the result received (eg, depending on the result described by result message 1270).
[0341] These features may optionally be included, individually or in any combination, in any embodiment disclosed herein.
[0342] 20.5. Logical development of test cases and the control and communication interfaces required for different test typologies
[0343] The following describes the logical development of the test cases and the control and communication interfaces required for different test typologies.
[0344] In the following, some definitions are provided: For example, a tester resource is a hardware (HW) module implemented in an ATE that is used to provide the electrical environment, and / or stimulus generation, and / or signal evaluation of the DUT during test execution, etc. Typically, a tester module covers areas such as power, digital IO, mixed signal IO, and / or RFIO, and has features for applying and measuring test specific patterns and test signals, for example.
[0345] The workstation typically runs the ATE test programs and controls the tester resources. The test programs, depending on the test topology, either control the test controller or directly control the test cases via the DCCP interface. For example, the workstation may be directly coupled to the device under test, or the OCST controller may act as an intermediary between the workstation and the device under test.
[0346] An FT service device (or Functional Test Case Service Device) is, for example, a CPU-supported hardware (HW) instance that contains a DUT test controller (e.g., an OCST controller).
[0347] The test controller (or OCST controller), for example, handles the upload process of DUT test cases, controls the execution of the test cases, and collects execution result information.
[0348] A test case is, for example, a functional test code that runs on the processor system of the DUT. It may include, for example, a software (SW) part to handle the physical interface part to the FT service equipment or the workstation. For example, the test case may comprise a driver software to enable communication with a workstation or an OCST controller via a high-speed interface (for example as described above). However, the driver software does not necessarily have to be part of the test case, but may, for example, be part of the operating system running on the device under test.
[0349] The DCCP Interface (DCCP-IF) is a Data, Control, and Communication Path Interface (DCCP-IF) that is used, for example, for: - Uploading and / or controlling test cases, and / or -Communication paths between test programs and test cases, e.g. for updating and / or measuring tester resources.
[0350] The DCCP interface may be, for example, one of the high-speed interfaces mentioned above.
[0351] The DUT is a device under test that includes, for example, a processor system for performing functional tests.
[0352] The DUT is a device under test that includes, for example, a processor system for performing functional tests.
[0353] 13 to 16 show different test configurations.
[0354] 13 shows a test configuration where the functional test cases 1340 are entirely located on the device under test 1330. The DCCP-IF 1362 to the test controller is realized by a physical interface such as, for example, HSIO-PCIe or USB.
[0355] 14 shows a test configuration in which a functional test case 1440 is logically divided into a DUT part and an FSI part. The DCCP interface 1462 between the test controller 1452 and the test case 1440 is realized by software (SW) running on the FSI, for example. The software handling the physical connection between the FSI and the DUT is located inside the test case, for example.
[0356] 15 shows a test configuration in which the test cases 1540 are entirely located on the device under test 1530. The DCCP-IF 1550 to the ATE test program 1524 is realized by a physical interface such as HSIO-PCIe or USB.
[0357] 16 shows a test configuration in which a functional test 1640 is logically divided into a DUT section and a workstation section. The DCCP interface between the two sections is realized, for example, by software running on the workstation. The software that handles the physical connection between the workstation 1622 and the DUT 1630 is located, for example, inside the test case 1640.
[0358] These features may optionally be included, individually or in any combination, in any embodiment disclosed herein.
[0359] 20.6. Benefits of Enabling ATE Environment Control with OCST Test Cases
[0360] 20.6.1 Resource control can be synchronized with test case execution.
[0361] According to one aspect of the present invention, tester resources can be updated during test case execution. Updates can occur, for example, at any line of code in a test case program, not just before test case execution. In contrast, conventional approaches do not allow test resources to be changed during test case execution.
[0362] 20.6.2 Tester resources can be configured by test case parameters
[0363] According to one aspect of the invention, parameters of a test case invocation can be used to initiate updates to tester resources, thereby enhancing test case variation and flexibility.
[0364] 20.6.3 Developing OCST Test Cases without the Support of ATE Experts
[0365] Use-case specific test cases are typically developed by verification engineers because they have intimate knowledge of the DUT internals, but traditionally, further ATE test program adaptations were required by test engineers to execute the OCST test cases in the specific ATE environment.
[0366] A single OCST has until now (e.g. traditionally) required the following: -Development effort to align test programs and test cases. - Validation and test engineers who generate OCST test cases and ATE test programs.
[0367] It has been found that the effort to develop OCST can be significantly reduced by the solution described herein which transfers the ATE environment control from the test programs to the OCST test cases. For example, a unique test program may be used for every OCST test case and required for setting up the ATE environment for guaranteed safe DUT start-up. Further test case specific ATE environment updates are now controlled (e.g. according to an aspect of the present invention) by the OCST test case itself. Thus, the verification engineer can be independent from the test engineer since he has control over the ATE environment and can execute the test cases himself. The development of on-chip system tests is now limited to, for example, the OCST test cases.
[0368] 20.6.4 ATE Environment Control and Unified OCST Test Case Sequence
[0369] According to one aspect of the present invention, there is no longer a dependency between the ATE test program and the OCST test cases. In some embodiments of the present invention, tester resource control and test case development are now located in a single test case source file.
[0370] However, it should be noted that, for example, initialization of tester resources may still be provided in the ATE test program, and in some cases there may be at least a rough time synchronization between the ATE test program and the test cases.
[0371] 20.6.5 Possibility of developing ATE-independent OCST test cases
[0372] According to one aspect of the invention, no knowledge of the ATE environment is required for test case development. Tester resources are accessed by (or using) a verification engineer, for example, with abstract symbolic signal references, target values and / or mode settings in the form of one or more message parameters. Interpretation of the parameters and the resulting test-specific programming sequences of the tester resources are performed, for example, by a message handler in the ATE test program.
[0373] 20.6.6 No Hardware (HW) Adaptation Required
[0374] According to one aspect of the present invention, the concept of tester resource updating is based on a purely software approach. In some cases, no hardware adaptation on the ATE is required to implement the concept according to the present invention.
[0375] However, it should be noted that one or more of the above advantages may be present in, for example, embodiments according to the present invention.
[0376] 21. Library for supporting ATE environment control
[0377] The following describes the use of libraries to support ATE environmental control, according to an (optional) aspect of the present invention.
[0378] These features may optionally be included, individually or in any combination, in any embodiment disclosed herein.
[0379] For example, FIG. 17 shows a schematic diagram of a library for supporting ATE environmental control (eg, in the context of a test configuration).
[0380] 21.1. Message API to support different DUTs
[0381] The API for ATE environment control uses predefined methods for e.g. message exchange with ATE test programs. Libraries with different versions of the message API may be prepared, for example, to accommodate DUT specific interfaces (e.g. USB and / or PCIe) and to suit different DUT processor core types (e.g. ARM, Atmel, Microchip, etc.).
[0382] For example, the library may include application programming interfaces for sending one or more types of messages (e.g., resource update request messages or resource measurement request messages) over different types of interfaces (e.g., different types of high speed interfaces) and further include implementations of those functions or methods predefined in the message API that are adapted for use with different types of DUT processor cores.
[0383] Thus, a verification engineer may, for example, generate test cases using one or more appropriate message APIs and using predefined implementations provided in the library (e.g., in the form of precompiled code that can be included in the test case using a linker) for different types of DUT processing cores and different types of (fast) interfaces used. Thus, development of OCST test cases is very easy for a verification engineer, since the verification engineer does not need to care about the specific implementation of functions or methods for resource update requests or resource measurement requests, but simply uses the predefined message APIs provided in the library 1770.
[0384] 21.2 Symbolic References for Identifying Resources and Channels
[0385] According to one aspect of the invention, tester resource properties, modes and signals are selected by parameters of a message and are represented as symbolic references. For example, a test case developer can use those references to control, for example, all kinds of signals applied to the DUT, for example to control the supply environment of the DUT. For example, a message handler in an ATE test program can use the symbolic references to identify tester resources and / or tester channels and / or operating modes and perform the actions required by predefined resource-specific sequences.
[0386] Below we provide a simple example.
[0387] In this example, the supply voltage VCC2 should be set to 5V.
[0388] An example API call may take the form: "Message("VCC2", 5V)".
[0389] The message handler identifies the parameter "VCC2" as a power module specific test resource, for example by searching for the symbolic reference "VCC2" in the mapping table. The voltage setting of "VCC2" is performed by a predefined supply module programming sequence, which includes the parameters for the target voltage "5V" and the resource channel "10103".
[0390] Mapping Table Example [Table 1]
[0391] In conclusion, a mapping table may define, for example, a "signal mapping" and may be included in, for example, a library. For example, the mapping table may map a symbolic reference of a signal or quantity to a physical resource identifier that identifies a particular tester resource. Thus, the mapping table may be changed if the hardware configuration of the automatic test equipment is changed (e.g., by removing a tester resource module or adding a tester resource module). Thus, an OCST test case may use a symbolic reference, which is then translated, for example, by an ATE test program (or, alternatively, by an OCST controller), into a reference of a physical tester resource using the mapping table.
[0392] 22. Another variation of the ATE environment controlled by OCST
[0393] In the following, another optional variation of an ATE environment controlled by OCST according to an embodiment of the present invention is described.
[0394] 22.1. Tester resource control by synchronous bus events
[0395] According to one aspect of the invention, all test resources (or at least some of the test resources) and the OCST controller are interconnected by a data synchronization bus. The bus system is used to exchange data and send synchronization events between the bus members. For example, an update of a tester resource is initiated by a message sent from an OCST test case to the OCST controller. The OCST controller initializes the selected tester resource depending on the message parameters by a data bus configuration sequence and activates the new configuration by, for example, a dedicated synchronization bus event.
[0396] FIG. 18 shows a schematic diagram of a tester resource controller with a data synchronization bus.
[0397] An example of a test resource update flow is described below. 1. An OCST test case (e.g., OCST case 1840) requests an update of a tester resource by a message (e.g., message 1850) sent to an OCST controller (e.g., OCST controller 1826), and then, for example, enters a loop to wait for a message (e.g., message 1852) acknowledging the update. 2. The OCST controller (e.g., OCST controller 1826) configures selected tester resources (e.g., among test resources 1820) depending on the message parameters (e.g., included in the resource update request message 1850) and activates the new settings, e.g., via a dedicated trigger signal on the synchronization bus (e.g., data synchronization bus 1880). 3. An acknowledgement message (e.g., acknowledgement message 1852) is sent back to the OCST test case to flag (or indicate) the successful update, e.g., the test case leaves the acknowledgement wait loop (ACK wait loop) and continues processing.
[0398] It is noted that this embodiment of the present invention may be optionally supplemented by any of the features, functions and details disclosed herein, either individually or in combination.
[0399] Additionally, any of these functionalities, individually or in any combination, may be optionally included in any embodiment disclosed herein.
[0400] 22.2. Tester resource control by GPO trigger
[0401] According to one aspect of the present invention, a GPO port (e.g., a general-purpose output port) of the DUT is interconnected with a tester resource and used as a trigger line to activate a pre-configured resource configuration. As just one example, it may be sufficient for a single general-purpose output port (or general-purpose output pin) of the DUT to be interconnected with a tester resource and used as a trigger line. However, it is also possible for multiple general-purpose output ports or general-purpose output pins of the DUT to be interconnected with a tester resource and used as trigger lines.
[0402] This allows an OCST test case to update test resources by setting the associated GPO lines (i.e., by setting the general purpose output ports or pins of the device under test to a predefined state, e.g., an active state).
[0403] A slight drawback in some cases is that the test program and test cases are not independent, since the intended configuration may need to be prepared by the ATE test program before the OCST test cases are executed. Therefore, this approach is inflexible for dynamic resource updates in some cases. Also, in some cases, it can only support one configuration per GPO line, and requires hardware changes to route the GPO lines to the tester resources.
[0404] However, it should be noted that these slight drawbacks may optionally be overcome by providing the OCST test cases with the possibility to communicate the desired resource updates to the automatic test equipment, e.g., before the activation of a trigger line, so that the automatic test equipment may prepare the intended update configuration under the control of the OCST test case. Furthermore, by dynamically changing the update configuration used in response to the activation of a particular GPO line (or trigger line), good functioning with very high timing precision can be achieved.
[0405] Additionally, the hardware changes required to route the GPO lines to the tester resources may be minimal in some cases.
[0406] As an example, FIG. 19 shows a schematic diagram of tester resource control by GPO triggers.
[0407] In the following, an example of a test resource update flow is described. 1. The ATE test program (eg, ATE test program 1924) initializes a target configuration for each tester resource (eg, from test resources 1920). 2. An OCST test case (eg, OCST test case 1940) requests a tester resource update via a GPO line activation (eg, via activation of GPO trigger line 1940). 3. A pre-configured (eg, pre-configured in step 1) tester resource setting is activated upon detection of a GPO trigger event (eg, where detection of a GPO trigger event occurs in a tester resource).
[0408] Furthermore, it is to be noted that this embodiment of the present invention may be optionally supplemented by any of the features, functions and details described herein, either individually or in combination.
[0409] 23. Alternative Examples of Working Examples
[0410] Although some aspects have been described in the context of an apparatus, it will be apparent that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or feature of a method step. Similarly, aspects described in the context of a method step also represent a description of the corresponding block or item or feature of the corresponding apparatus. Some or all of the method steps may be performed by (or using) a hardware apparatus, such as, for example, a microprocessor, a programmable computer, or electronic circuitry. In some embodiments, one or more of the most important method steps may be performed by such an apparatus.
[0411] Depending on the particular implementation requirements, embodiments of the present invention can be implemented in hardware or software. Implementation can be performed using digital storage media, such as for example floppy disks, DVDs, Blu-ray, CDs, ROMs, PROMs, EPROMs, EEPROMs or flash memories, having electronically readable control signals stored thereon and cooperating (or capable of cooperating) with a programmable computer system such that the respective methods are performed. The digital storage medium may therefore be computer readable.
[0412] Some embodiments of the present invention comprise a data carrier having electronically readable control signals, the data carrier being operable to cooperate with a programmable computer system to perform one of the methods described herein.
[0413] Generally, embodiments of the present invention can be implemented as a computer program product having program code operable to perform one of the methods when the computer program product is run on a computer. The program code may for example be stored on a machine readable carrier.
[0414] Other embodiments comprise the computer program stored on a machine readable carrier for performing one of the methods described herein.
[0415] In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.
[0416] A further embodiment of the inventive method is therefore a data carrier (or digital storage medium, or computer readable medium) comprising recorded thereon a computer program for performing one of the methods described herein. The data carrier, digital storage medium, or recording medium is typically tangible and / or non-transitory.
[0417] A further embodiment of the inventive method is therefore a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The data stream or the sequence of signals may for example be adapted to be transmitted via a data communication connection, for example the Internet.
[0418] A further embodiment comprises a processing means, for example a computer, or a programmable logic device, configured to or adapted to perform one of the methods described herein.
[0419] A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
[0420] Further embodiments according to the invention comprise an apparatus or a system configured to transfer (e.g. electronically or optically) a computer program for performing one of the methods described herein to a receiver. The receiver may for example be a computer, a mobile device, a memory device etc. The apparatus or system may for example comprise a file server for transferring the computer program to the receiver.
[0421] In some embodiments, a programmable logic device (e.g., a field programmable gate array) may be used to perform some or all of the functions of the methods described herein. In some embodiments, a field programmable gate array may cooperate with a microprocessor to perform one of the methods described herein. In general, the methods are preferably performed by any hardware apparatus.
[0422] The apparatus described herein may be implemented using a hardware apparatus, or using a computer, or using a combination of a hardware apparatus and a computer.
[0423] The apparatus described herein, or any components of the apparatus described herein, may be implemented at least in part in hardware and / or software.
[0424] The apparatus described herein may be implemented using a hardware apparatus, or using a computer, or using a combination of a hardware apparatus and a computer.
[0425] Any of the methods described herein, or components of the apparatus described herein, may be implemented at least in part by hardware and / or by software.
[0426] The above-described embodiments are merely illustrative of the principles of the present invention. It will be understood that modifications and variations of the configurations and details described herein will be apparent to those skilled in the art. It is therefore intended to be limited only by the scope of the following claims and not by the specific details presented in the description and explanation of the embodiments herein.
Claims
1. An automatic test equipment (240; 280; 1910) for testing a device under test (242; 260; 1930), comprising: the automatic test equipment includes a trigger line (250; 295; 1990) controllable by the device under test (242; 260; 1930); the automatic test equipment is configured to update one or more tester resources (288a, 288b, 288c; 1920) in response to activation of a trigger line by the device under test; Automatic test equipment.
2. the automatic test equipment is configured to directly trigger updates of one or more tester resources (288a, 288b, 288c; 1920) by activation of a trigger line (250; 295; 1990) to bypass a test program executor (282; 1922) executing a test program (284; 1924); 2. The automatic test equipment (240; 280; 1910) of claim 1.
3. The automatic test equipment includes one or more tester resources (288a, 288b, 288c; 1920); the one or more tester resources are coupled to a test program executor (282; 1922) via an interface (285) to enable programming of one or more characteristics of the one or more tester resources under control of a test program (284; 1924); the one or more tester resources are coupled to a trigger line (250; 295; 1990) controllable by the device under test (242; 260; 1930); the one or more tester resources are configured to update signal characteristics in a preprogrammed manner under control of the test program in response to activation of a trigger line by the device under test.
3. An automatic test equipment (240; 280; 1910) according to claim 1 or 2.
4. the automatic test equipment comprises a test program executor (282; 2922) configured to preprogram one or more tester resources (288a, 288b, 288c; 1920) to predefine a response of the one or more tester resources to activation of a trigger line (250; 295; 1990) by a device under test (242; 260; 1930); 4. An automatic test equipment (240; 280; 1910) according to any one of claims 1 to 3.
5. the automatic test equipment is configured to pre-program one or more tester resources (288a, 288b, 288c; 1920) according to one or more instructions provided in a test program (284; 1924) to pre-define a response of the one or more tester resources to activation of a trigger line (250; 295; 1990) by a device under test (242; 260; 1930); 5. An automatic test equipment (240; 280; 1910) according to any one of claims 1 to 4.
6. the automatic test equipment is configured to receive from the device under test (242; 260; 1930) a command (296) defining one or more parameters for updating the one or more tester resources; the automatic test equipment is configured to pre-program one or more tester resources (288a, 288b, 288c; 1920) according to commands received from the device under test to pre-define a response of one or more tester resources to activation of a trigger line (250; 295; 1990) by the device under test; 6. An automatic test equipment (240; 280; 1910) according to any one of claims 1 to 5.
7. the one or more tester resources (288a, 288b, 288c; 1920) comprising a trigger mechanism (289c) configured to update a signal characteristic in response to activation of the trigger line (250; 295; 1990) by the device under test (242; 260; 1930); 6. An automatic test equipment (240; 280; 1910) according to any one of claims 1 to 5.
8. The automatic test equipment includes an on-chip system test controller (286; 1926), a test program executor (282; 1922), and one or more tester resources (288a, 288b, 288c; 1920); 8. The automatic test equipment (240; 280; 1910) of claim 1, wherein the trigger line is a hardware line that extends directly from a device under test interface (290) of the automatic test equipment to one or more tester resources, bypassing the on-chip system test controller and the test program executor.
9. the one or more tester resources (288a, 288b, 288c; 1920) comprising one or more of a device power supply, a signal generator module, and a channel module; 9. An automatic test equipment (240; 280; 1910) according to any one of the preceding claims.
10. the one or more tester resources (288a, 288b, 288c; 1920) are coupled to a test program executor (282; 1922) via an interface (285); 10. An automatic test equipment (240; 280; 1910) according to any one of the preceding claims.
11. the one or more tester resources (288a, 288b, 288c; 1920) are physically separate from the test program executor (282; 1922); 11. An automatic test equipment (240; 280; 1910) according to any one of the preceding claims.
12. A device under test (242; 260; 1930), the device under test is configured to provide a trigger signal (262; 294; 1942) to an automatic test equipment (240; 280; 1910) to trigger updates of one or more tester resources (288a, 288b, 288c; 1920) via a dedicated trigger line (250; 295; 1990); Device under test.
13. the device under test is configured to provide the trigger signal (262; 294; 1942) under control of a test case (262; 1940) executed by the device under test; 13. A device under test (242; 260; 1930) according to claim 12.
14. the device under test is configured to provide commands (266; 296) to the automatic test equipment (240; 280; 1910) defining one or more parameters for updating the one or more tester resources (288a, 288b, 288c; 1920); the device under test is configured to provide a trigger signal (262; 294; 1942) to trigger an update of one or more tester resources using the one or more parameters; A device under test (242; 260; 1930) according to claim 12 or 13.
15. A test equipment configuration (1900), The test equipment arrangement comprises an automatic test equipment (240; 280; 1910) according to any one of claims 1 to 11 and a device under test (242; 260; 1930) according to any one of claims 12 to 14, Test equipment configuration.
16. 1. A method of operating an automatic test equipment (240; 280; 1910) having a trigger line (250; 295; 1990) controllable by a device under test (242; 260; 1930), comprising: the method includes updating one or more tester resources (288a, 288b, 288c; 1920) in response to activation of the trigger line (250; 295; 1990) by the device under test; method.
17. A method for testing a device under test (242; 260; 1930), comprising: The method comprises: using a test program executor (282; 1922) to preprogram one or more tester resources (288a, 288b, 288c; 1920) to one or more respective parameter values to be assumed in response to a trigger signal (262; 294; 1942); providing a trigger signal (262; 294; 1942) directly from the device under test (242; 260; 1930) to one or more tester resources, causing the one or more tester resources to assume the preprogrammed values of the one or more respective parameters. method.
18. A computer program for performing the method according to claim 16 or the method according to claim 17, when the computer program is run on one or more computers and / or one or more microprocessors and / or one or more microcontrollers.
19. An automatic test equipment (240; 280; 1920) for testing a device under test, comprising: the automatic test equipment having a trigger line (250; 295; 1990) controllable by a test case (262; 1940); the automatic test equipment is configured to update one or more tester resources (288a, 288b, 288c; 1920) in response to activation of a trigger line by a test case; Automatic test equipment.
20. 1. A method of operating an automatic test equipment (240; 280; 1990) having a trigger line (250; 295; 1990) controllable by a test case (262; 1940), comprising: The method includes updating one or more tester resources (288a, 288b, 288c; 1920) in response to activation of a trigger line by a test case. method.
21. A method for testing a device under test (242; 260; 1930), comprising: The method comprises: using a test program executor (282; 1922) to preprogram one or more tester resources (288a, 288b, 288c; 1920) to one or more respective parameter values to be assumed in response to a trigger signal (262; 294; 1942); providing a trigger signal directly from a test case to one or more tester resources that causes the one or more tester resources to assume the preprogrammed values of the one or more parameters. method.
22. A computer program for performing the method according to claim 20 or the method according to claim 21, when the computer program is run on one or more computers and / or one or more microprocessors and / or one or more microcontrollers.
Citation Information
Patent Citations
Semiconductor testing device
JP1996069389A
Trigger distribution device
JP2007212453A
Method for preprocessing semiconductor test program and semiconductor testing device
JP2008139131A
Method for triggering test measuring apparatus
JP2017151092A
Test measuring device, and trigger generating method
JP2017201295A
