Bus synchronization system

Through the bus synchronization system, the synchronization problem between multiple instrument modules in automatic test equipment is solved, the sequential execution of test flow commands and the parallel operation of resources are realized, the test efficiency and accuracy are improved, and the dependence on the central controller is reduced.

CN112074747BActive Publication Date: 2024-10-25TERADYNE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980029930.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-05-10
Filing Date
2019-04-19
Publication Date
2024-10-25
Estimated Expiration
2039-04-19

AI Technical Summary

Technical Problem

In automatic test equipment (ATE), synchronization issues between multiple instrument modules cause test flow commands to be executed out of the defined order, affecting test efficiency and accuracy.

Method used

The bus synchronization system is adopted to ensure that the instrument module executes commands in the appropriate order in the test stream through synchronization commands and aggregate status bits, achieving parallel operation and independent synchronization of multiple resources, reducing dependence on the central controller.

Benefits of technology

Enables commands in the same test flow to be executed in the appropriate order, improving test efficiency and accuracy, reducing communication delays between processors and resources, and allowing finer granular synchronization, eliminating the need for a central controller to synchronize .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112074747B_ABST
    Figure CN112074747B_ABST
Patent Text Reader

Abstract

An exemplary test system includes instruments for controlling a test. Each instrument may be controlled by a processing unit. Each processing unit may be configured to operate on a portion of a test program associated with the instrument controlled by the processing unit. A synchronization mechanism operates with at least some of the processing units to generate a synchronized sequence of actions, measurements, or measurements and actions at a test instrument interface without intervention by a centralized controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification generally relates to bus synchronization systems. Background Art

[0002] Automatic test equipment (ATE) includes electronic devices for sending signals to a device under test (DUT) and for receiving signals from the device under test (DUT) to test the operation of the DUT. In some examples, testing the DUT involves multiple tests. The ATE may include multiple instrument modules, each of which may include one or more instrument module resources, which may be configured to perform one or more tests in the test. In some examples, each test may require the use of different resources to test the same DUT, and different tests may require different resource combinations. In some examples, multiple DUTs may be tested simultaneously. In some examples, multiple resources may be dedicated to testing a specific DUT. In some examples, multiple resources may be shared to perform tests on multiple DUTs. Summary of the invention

[0003] An exemplary bus synchronization system includes a computer bus, a host computer executing a test flow, and an instrument module. The instrument module includes resources and a processing device. The resources operated by the test flow define a domain. The host computer is configured to output commands including synchronization commands in the test flow to the instrument module. The synchronization command is used to cause the instrument module to provide status to the computer bus and pause the processing device. The status from the instrument modules in the domain is aggregated on the computer bus. Information is distributed to the instrument module based on the aggregated status. The processing device is configured to resume execution of commands based on the information. The exemplary system may include one or more of the following features (alone or in combination).

[0004] The information may be distributed after all instrument modules in the domain have encountered the synchronization command. The host computer may be programmed to send the command to the instrument modules via a communication bus that is different from the computer bus. Aggregating the state and distributing the information may be performed independently of the host computer. At least some of the commands may instruct resources in the domain to perform operations.

[0005] The instrument module may include a first type of endpoint device for providing status to the computer bus. The first type of endpoint device may include a contributing endpoint device. The contributing endpoint device may be configured to receive information from the computer bus and generate a signal based on the information to trigger operation of one or more of the resources.

[0006] The instrumentation module may include a second type of endpoint device.The second type of endpoint device may include a non-contributing endpoint device for receiving information from the computer bus and generating a signal based on the information to trigger operation of one or more of the resources.

[0007] The host computer may be programmed to execute a test program comprising a plurality of separate instruction streams. The plurality of separate instruction streams may include a test stream. The endpoint device may be configured to subscribe to one or more of the plurality of separate streams. The endpoint device may be configured to generate a signal to provide to a resource in the domain. The signal may be used to trigger a resource to perform an action for which the resource has been previously equipped. An offset may be added to the signal to control the timing of the signal relative to the reception of information. The endpoint device may include a transmitter for implementing output to a computer bus and a receiver for implementing reception from the computer bus.

[0008] The state may include a pass or fail state of a test performed by the processor. The state may include bits encoded onto a computer bus in a time division multiple access manner using a periodic frame comprising a plurality of bits. The periodic frame may be characterized by one or more of a header, a footer, a cyclic redundancy check, or an 8b / 10b encoding.

[0009] At least some of the bits of the information may represent a system time alignment signal for setting a system clock counter on the instrument to at least one of a specified value or a specified time in a payload on the computer bus. The computer bus may include at least one of: a wired "OR" bus; a point-to-point connection and logic gates; a contactless, wireless or optical signaling medium; or a combination of one or more of: a wired "OR" bus; a point-to-point connection and logic gates; a contactless and wireless or optical signaling medium.

[0010] The information may be received via a computer bus. The information may be received via a communication bus other than the computer bus. In a test flow, a synchronization command in the test flow may immediately precede a command requiring an action or measurement to be performed on the device under test by the test flow. At least a portion of the test flow may be controlled to be non-synchronous.

[0011] An exemplary bus synchronization system includes a computer bus and an instrument module. The instrument module includes resources and a processing device for executing commands from a queue. The processing device is configured to cause the instrument module to provide status to the computer bus and pause the processing device in response to encountering at least one synchronization command in the queue. The status from the instrument module is aggregated on the computer bus. Information is distributed to the instrument module based on the aggregated status. The processing device is configured to resume executing commands based on the information. The exemplary system may include a host computer and a communication bus. The host computer may be configured to output commands to the instrument module via communication.

[0012] An exemplary test system includes instruments for controlling a test. Each instrument may be controlled by a processing unit. Each processing unit may be configured to operate on a portion of a test program associated with the instrument controlled by the processing unit. A synchronization mechanism is configured to operate using at least some of the processing units to produce a synchronized sequence of actions, measurements, or measurements and actions at a test instrument interface without intervention by a centralized controller. The exemplary system may include one or more of the following features (alone or in combination).

[0013] The synchronization mechanism may be configured to: enable each processing unit to transmit status data indicating whether the processing unit has completed a portion of a test program; receive and aggregate status data across all processing units; and transmit one or more aggregate status bits back to all processing units. The processing units may be configured to perform operations including: when a processing unit has completed a portion of a test program, the processing unit indicating on a synchronization bus that the processing unit has completed that portion of the test program. Before advancing to the next portion of the test program, the processing unit receives one or more aggregate status bits indicating that all other processing units in the test system have completed portions of the test program.

[0014] The synchronization mechanism may have defined timing relative to a system clock such that multiple instruments may receive one or more aggregated status bits and may be triggered to perform an action, a measurement, or both an action and a measurement with predictable and repeatable timing alignment between the multiple instruments. The synchronization mechanism may be configured to support status data including multiple status bits that may be transmitted by each processing unit and may be aggregated to produce one or more aggregated status bits. The one or more aggregated status bits may be transmitted to all processing units. The one or more aggregated status bits may be used to synchronize all instruments in a test system to synchronize a sequence of actions, a sequence of measurements, or a sequence of actions and measurements.

[0015] The status data may include at least one bit to transmit a pass or fail status of the test procedure. The status data may include one or more status bits encoded onto the serial data bus in a time division multiple access manner using a periodic frame. The periodic frame may be characterized by one or more of a header, a footer, a cyclic redundancy check, or an 8b / 10b encoding. The periodic frame may be configured to transmit information other than the one or more status bits.

[0016] The one or more bits transmitted to the processing unit may represent a system time alignment signal to set a system clock counter on the instrument to a specified value. The one or more aggregate status bits may include a single status bit for synchronizing all instruments in the test system to synchronize an action sequence, a measurement sequence, or an action and measurement sequence.

[0017] The synchronization mechanism may include at least one of: a wired OR bus; a point-to-point connection and logic gates; a contactless, wireless or optical signaling medium; or a combination of one or more of: a wired OR bus; a point-to-point connection and logic gates; a contactless and wireless or optical signaling medium. At least a portion of the synchronization mechanism may be controllable to be automatically or manually disabled. At least a portion of the synchronization mechanism may be controllable to operate only on a portion of the test program.

[0018] Advantages of the exemplary system may include one or more of the following. Providing one or more processors (e.g., a single processor) for a small amount of resources may allow the group of resources to operate independently and in parallel with all other resources. In addition, providing one or more processors (e.g., a single processor) for a small amount of resources may also reduce communication delays between the processors and the resources. The synchronization system solves possible synchronization problems associated with providing one or more processors as described. The synchronization system also allows for synchronization to any other resource group in the system at a finer granularity than one set of resources per processor. The synchronization system may also eliminate the need for a central controller to achieve synchronization as described herein.

[0019] Any two or more of the features described in this specification (including this Summary) may be combined to form implementations not specifically described herein.

[0020] The systems and techniques and technologies described herein, or a portion thereof, may be implemented as or controlled by a computer program product that includes instructions stored on one or more non-transitory machine-readable storage media and that may be executed on one or more processing devices to control (e.g., coordinate) the operations described herein. The systems and techniques and technologies described herein, or a portion thereof, may be implemented as an apparatus, method, or electronic system that may include one or more processing devices and a memory storing executable instructions for implementing various operations.

[0021] The details of one or more implementations are set forth in the accompanying drawings and the following detailed description. Other features, objects, and advantages will be apparent from the detailed description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a block diagram illustrating an exemplary command sequence.

[0023] Figure 2 It shows which executable Figure 1 A block diagram of an exemplary order of command sequences.

[0024] Figure 3is a block diagram illustrating an exemplary sequence of encountering commands that include a "synchronization barrier" imposed by a bus synchronization system.

[0025] Figure 4 It shows which executable Figure 3 A block diagram of an exemplary order of command sequences.

[0026] Figure 5 is a block diagram of components that may be included in an exemplary bus synchronization system.

[0027] Like reference numbers in different drawings indicate similar elements. DETAILED DESCRIPTION

[0028] Exemplary implementations of bus synchronization systems and components thereof are described herein.In some implementations, the bus synchronization system is incorporated into a test system such as ATE; however, the bus synchronization system is not limited to use with test systems or testing in general.

[0029] An exemplary test system includes multiple instrument modules (or simply "instruments") for performing tests on a DUT. Each instrument module includes one or more resources, such as a radio frequency (RF) signal generator, a microwave signal generator, a processor, a power supply, a memory, etc. In general, instrument module resources (or simply "resources") may be or may include any appropriate type of electronic hardware device or software for receiving, transmitting, processing, storing, or otherwise acting on digital data, analog signals, or both digital data and analog signals. The resources are each controlled by one or more module embedded processors (MEPs or "processing units") on the instrument module. The use of multiple MEPs allows the exemplary test system to be split into multiple parts that execute different test flows in parallel.

[0030] The use of multiple MCPs may cause synchronization issues. In this regard, each MEP executes commands from a command queue for the test flow. While commands within a queue are executed sequentially, commands across multiple queues and across multiple resources are not executed in a defined order. Consider Figure 1 The command sequence 100 shown may be executed by different system resources A, B, and C that may reside on different instrument modules. Figure 1 and Figure 2 In this example, each box represents a time slot in which execution occurs. In the absence of synchronization, Figure 1 The commands shown can be used by resources according to Figure 2 The exemplary synchronization process described herein solves this problem and enables commands in the same test stream to be executed in the proper order (e.g., the command on line 1, then the command on line 2, then the command on line 3, then the command on line 4).

[0031] In general, in an exemplary synchronization process, a host computer on a test system executes a test flow for a DUT. The test flow may include, for example, commands or other instructions for implementing tests on all or a portion of the DUT. In this regard, an exemplary DUT (such as a semiconductor device) may include multiple components, such as digital components, analog components, wireless components, etc. In this example, the test flow will be executed concurrently on different components. However, different components may require different instrument module resources to be tested, such as analog test resources, digital test resources, wireless test resources, etc. These resources required for the test flow constitute a test domain that may need to be synchronized. For example, synchronization may be implemented so that different tests performed on different components of the DUT occur simultaneously or concurrently.

[0032] The instrument module resources that make up a test domain may reside on the same instrument module, on different instrument modules, or on a combination of the same instrument module and different instrument modules. The resources that make up a test domain may be a subset of all instrument module resources in the test system. In any given test system, there may be multiple test flows (e.g., test flows for testing different components of one or more DUTs) and therefore multiple test domains. Each of these multiple test domains may include one or more different combinations of instrument module resources. Different instrument module resources corresponding to different test domains may be independently synchronized using the processes described herein.

[0033] A test domain with synchronized instrument module resources may be mapped to a "sync / synchronized" domain and may be referred to as a "sync" domain. For the examples described herein, the two terms may be used interchangeably. As noted above, each instrument module includes at least one MEP. The MEP may be configured (e.g., programmed) to execute commands to implement a test. Each instrument module may include: an endpoint that constitutes an interface (e.g., a hardware interface) to a synchronization / sync bus; and a synchronization resource driver (SRD) that constitutes an interface (e.g., a software interface) to the synchronization bus.

[0034] In some embodiments, the synchronization bus can be implemented using one or more time division multiplexing (TDM) computer buses or other appropriate transmission media. In some embodiments, the synchronization bus is separate from and independent of the communication medium used to transmit commands for the test flow. The synchronization bus may include logic gates built into its distribution hardware, which may have a tree topology with a synchronization bus master at the root of the tree. As described herein, the synchronization bus master is configured to synchronize instrument module resources in the same synchronization domain. In some examples, the synchronization bus is primarily responsible for synchronization. The host computer does not directly participate in synchronization. Instead, the role of the host computer includes determining the command series to be executed by the instrument modules in the test domain, and placing appropriate synchronization commands (called synchronization barriers) in appropriate positions within each command series for the synchronization domain. In some examples, the location of the synchronization command can be determined by the user of the test system. In some examples, the host computer also inserts commands that inform the endpoint to subscribe the instrument module to and from the synchronization domain. In some examples, all instruments are configured to automatically subscribe to all or some synchronization domains, so the host computer does not need to insert commands that inform the endpoint to subscribe the instrument module to and from the synchronization domain.

[0035] In one example, the host computer transmits a series of commands for the test flow to each instrument module having the resources required for the test flow through a communication medium other than the synchronization bus. For each of the instrument modules, its MEP stores the series of commands in a queue in the computer memory. The queue can be dedicated to a specific synchronization domain. Therefore, these commands are not received from the host computer. These commands include synchronization barrier commands.

[0036] In some embodiments, only those commands that require action or measurement on the DUT need to be synchronized. Therefore, in some examples, in the instruction stream of the test flow, only those commands are preceded by synchronization barrier commands. An example of such a command is a device interface board (DIB)-visible command. The DIB is an interface between the test system and the DUT, such as a board with which the DUT cooperates and through which signals are transmitted between the DUT and the test system. DIB-visible is a generic name for any command whose effect may be observed on the DUT or more precisely on the DIB, and vice versa, in which the measurement result may depend on what happens on the DIB. Some setup commands may not require synchronization. For example, certain measurement parameters (such as sampling rate or the number of samples to be captured) or various parameters of the mode burst cannot be observed from the DIB and do not require synchronization. In some embodiments, synchronization is not limited to commands that require action or measurement on the DUT.

[0037] In some embodiments, the host computer places a synchronization barrier command (or simply "sync barrier") in a command series, immediately before a DIB-visible command or before any other type of command that requires synchronization. In some examples, the synchronization barrier command is placed in advance in the test flow of the instrument module, for example, by a test engineer who develops a test program. In order to execute a command, the MEP retrieves the command from the queue and executes the command or performs any other operation necessary with respect to the command. When the MEP encounters a synchronization barrier in the queue, the MEP outputs a "reach synchronization barrier" command (or simply "reach synchronization barrier") to the synchronization bus via an appropriate endpoint. The reach synchronization barrier command may include one or more status bits. At this point, the MEP suspends the execution of commands in the queue. Therefore, the MEP has completed a portion of the test program, and it indicates that it has completed that portion of the test program via the reach synchronization barrier command. Before proceeding to the next portion of the test program, the MEP waits to receive aggregate status information (e.g., aggregate status bits) indicating that all other processing units have completed their respective portions of the test program.

[0038] On the synchronous bus (independent of the host computer), the synchronous bus master combines the "reached synchronization barrier" commands from each endpoint of the instrument module in the same synchronization domain. For example, the synchronous bus master may perform a logical "AND" operation on all received "reached synchronization barrier" commands, or perform other appropriate processing. When the synchronous bus master determines that each endpoint of the instrument module in the same synchronization domain has output a "reached synchronization barrier" command, the synchronous bus master outputs a "crossed synchronization barrier" command (or simply "crossed synchronization barrier") via the synchronous bus. The "crossed synchronization barrier" command may be a single status bit or may include multiple status bits and may constitute an aggregate status of the received "reached synchronization barrier" commands.

[0039] Each synchronous bus endpoint in the synchronous domain receives the "cross synchronization barrier" command and generates a trigger signal to trigger the operation of the instrument module resources in the domain. The trigger signal triggers the operation of the instrument module resources to operate synchronously. The actual operation performed by each of the instrument module resources may be different. After receiving the "cross synchronization barrier" command, the MEP also resumes the execution of the commands in the queue.

[0040] Thus, in this example, the exemplary bus synchronization system allows all instrument module resources in the same test / synchronization domain to operate simultaneously. In addition, the exemplary bus synchronization system can be used by multiple instrument module resources that operate independently of each other. Thus, in some examples, central coordination, such as by a host computer, between multiple different resources is not necessary to perform synchronization.

[0041] In the foregoing examples, each instrument module may include more than one endpoint. The endpoints in the instrument module include contributing endpoints. The contributing endpoint includes hardware configured to receive synchronization status such as a "reaching synchronization barrier" command from the MEP of the instrument module and provide the synchronization status to the synchronization bus. In some embodiments, the status output to the synchronization bus may be or may include one or more bits representing the pass or fail status of a test performed using the MEP in the test system. In some examples, the output of data representing a pass or fail status or other types of status may be triggered at any time, independent of the synchronization barrier command. The contributing endpoint is also configured to receive information indicating when all instrument module resources in the synchronization domain are "ready" (e.g., a "crossing synchronization barrier" command) and provide the information to the instrument module resources in the same synchronization domain. The instrument module may also include zero, one or more non-contributing endpoints. The non-contributing endpoint includes hardware configured to receive information indicating when all instrument module resources in the synchronization domain are "ready" (e.g., "crossing synchronization barrier") and provide the information to the instrument module resources. However, the non-contributing endpoint does not transmit over the synchronization bus and does not provide information to the MEP.

[0042] In some embodiments, the status provided by the contributing endpoint includes bits encoded onto a serial data bus (e.g., a synchronous bus) in a time division multiple access manner using a periodic frame including a plurality of bits. In some embodiments, the frame may include an optional header, trailer, cyclic redundancy check, may use 8b / 10b encoding, and may employ any suitable mechanism that may be associated with serial data transmission. In some embodiments, the frame may be used to transmit or receive other types of information over the same physical wire, for example, using a frame type indicator in the frame header to specify which type of information is being transmitted.

[0043] See also Figure 1 and Figure 2 , Figure 3 An exemplary sequence 102 of encountering commands (including "synchronization barriers") imposed by the bus synchronization system described herein is shown. Figure 3 and Figure 4 In, as compared to Figure 1 and Figure 2 As in the case of , each box represents a time slot in which execution occurs. Using the system described herein, a "synchronization barrier" is encountered and synchronization of instrument module resources in the same synchronization domain is implemented. This results in Figure 4The commands are executed in the order 104 (e.g., the command on line 1, then the command on line 2, then the command on line 3, then the command on line 4, then the command on line 5, then the command on line 6, then the command on line 7). As shown in the figure, the "synchronization barrier" is used to control when commands are executed on different resources A, B, and C, so that commands in the same synchronization domain can be executed in the proper order across multiple independent resources. Figure 3 and Figure 4 The example shows that all resources will wait for all other resources in their test domain to finish executing commands and reach the synchronization barrier before executing additional commands.

[0044] For the instrument module 104, Figure 5 MEP 105 is shown including an I / O (input / output) engine 106, a command queue 107, an SRD 108, and a shared memory 109. The instrument module includes a synchronous bus endpoint 110 (eg, a contributing endpoint) including a transmitter (TX) 111 and a receiver (RX) 112. Figure 5 Also shown is a synchronous bus 114 which includes a TDM bus and a synchronous bus master 115 .

[0045] exist Figure 5 In an example, an endpoint may operate on commands for multiple different domains. In this example, the I / O engine of the MEP places commands received from a host computer in a command queue. MEP 105 receives test flow commands sent from the host computer via a communication bus. The communication bus is not a synchronous bus, but may be an Ethernet bus or any other appropriate communication medium, including wired and wireless media. In some examples, commands on instrument modules are pre-stored in, for example, a command queue, rather than received from a host computer. In one example, MEP 105 includes one or more processing devices that are configured (e.g., programmed) to control a single instrument module of a test system. Examples of processing devices are described herein. In one example, there is a separate command queue for each test domain in a test domain of the MEP. One or more SRDs running on the MEP retrieve commands for the synchronous domain from the command queue and process / execute the commands.

[0046] In an exemplary operation, when the next command to be executed in the queue is a "sync barrier", the SRD sets the state of the shared memory to "not crossed the sync barrier" because the previous crossing may have set the state to "crossed the sync barrier". Then, the SRD indicates that the synchronous bus endpoint has reached the "sync barrier" and begins waiting for the shared memory to indicate that the "sync barrier" has been crossed. If not ready, the synchronous bus endpoint may delay 116 transmitting the state; otherwise, the synchronous bus endpoint sets the synchronous bus endpoint transmission state to "reached the sync barrier" and transmits the command to the synchronous bus. The synchronous bus transmits the command to the synchronous bus master as described herein.

[0047] The synchronous bus master aggregates the synchronization barrier status (e.g., "reached synchronization barrier" commands) received from multiple (e.g., all) resources in a synchronization domain. When all resources in the synchronization domain report "reached synchronization barrier", the synchronous bus master provides information, such as a "crossed synchronization barrier" command to synchronize the bus receivers in the synchronization domain. As described, the synchronous bus master can aggregate (e.g., logical "AND") the status from all endpoints in the synchronization domain, and each synchronization domain produces a result. In this example, as noted, if all synchronous bus endpoints in the test domain report "reached synchronization barrier", the resulting "crossed synchronization barrier" status is true. The "crossed synchronization barrier" command is then sent from the synchronous bus master to each of the synchronous bus endpoint receivers via the synchronization bus, and the synchronous bus endpoint receivers all receive the command.

[0048] When a "cross sync barrier" command is detected by a synchronous bus endpoint receiver at an instrument module, in this example, the synchronous bus endpoint receiver performs two operations. The synchronous bus endpoint receiver sets the state of the synchronous bus endpoint transmitter to "sync barrier not reached" and writes "cross sync barrier" to the shared memory. The SRD, which has been waiting for this state change, then allows the MEP to process subsequent commands in the queue. Therefore, the MEPs of different instrument modules (all in the same synchronization domain) are able to operate synchronously.

[0049] In some implementations, after a synchronous bus endpoint transmitter reaches a synchronous barrier, the synchronous bus endpoint transmitter may maintain its "reached synchronous bus state" until the synchronous bus master acknowledges it with a "crossed synchronous barrier" command.

[0050] Each sync bus endpoint may also be configured to receive a sync bus command from the sync bus, such as "cross sync barrier state", and generate a trigger signal for a resource on the instrument module. For example, each resource may be configured to execute a specific subset of commands in response to a trigger signal. In some examples, the trigger signal triggers resources on different modules so that they perform actions simultaneously, rather than just in the correct order. The trigger signal may be used to trigger a resource to perform an action for which the resource has been previously armed.

[0051] In some embodiments, the synchronization domain creates only one trigger signal at a time, although a single trigger signal can be applied to multiple receiver outputs with different time delays. Each of these trigger signals can be applied to one of multiple (e.g., 32) instrument module resources. For example, a trigger signal for a synchronization domain can be applied to multiple instrument module resources, or a trigger signal for a synchronization domain can be applied to a single instrument module resource. Each endpoint receiver output can also introduce a unique trigger signal offset delay. Even if two endpoint receiver outputs are associated with the same synchronization domain, their offsets can be programmed in different ways to compensate for different paths in the instrument module resources.

[0052] In some embodiments, each synchronous bus frame includes a header that indicates the start of the frame and the type of message represented by the frame. The header may be followed by payload data that may represent the state of the synchronization barrier for each of the one or more available test domains. In some examples, the synchronization frame may be timed by a clock signal and directly referenced to the clock signal. The size of the payload is determined by the number of available test domains. The more test domains, the larger the payload and the longer it takes to propagate the signal through the test system.

[0053] In some examples, the sync bus supports messages other than "sync barrier reached" and "sync barrier crossed." For example, a sync bus master may send a message instructing a sync bus endpoint to update its time of day (TOD) clock, and a sync bus endpoint may request that the sync bus master send it the update. The TOD clock is a system time alignment signal used to set the system clock counter on each instrument to a specified value, so that all instruments have their clocks set to the same specified value and have accurate, repeatable timing relative to the system clock.

[0054] Thus, at any appropriate time, a synchronous bus endpoint transmitter may send a message instead of sending its status, and at any appropriate time, a synchronous bus master may send a message instead of sending "across the synchronization barrier". In some embodiments, when a synchronous bus master receives a frame without a status, the synchronous bus master responds with a frame type that also does not include a status. In some embodiments, when a synchronous bus endpoint receiver receives a frame without a status, the synchronous bus endpoint receiver retains its status from the previous frame. Thus, the status of the previous frame is retained.

[0055] In some embodiments, the test system may have multiple MEPs (one for each instrument module), or one MEP may serve multiple instrument modules. In the latter case, the MEP may configure the sync bus endpoints of one instrument module as contributing endpoints and use them to provide the sync barrier state. In this case, the MEP may configure the sync bus endpoints on other modules as non-contributing endpoints. In some embodiments, the MEP may configure all sync bus endpoints as contributing endpoints and transmit the sync barrier state independently to each sync bus endpoint. Thus, the synchronization system is configurable. This enables the same modules to be used in low-cost systems with slightly less functionality.

[0056] An exemplary test system may support two related features: concurrent test flows and per-site flows. In one example, concurrent test flows require that multiple sections of the DUT are sufficiently independent to be tested simultaneously. A user of the test system may specify which tester resources are associated with each section of the DUT. Test programs may be written with separate flows, each using only resources associated with one section of the DUT. The MEP executes commands for multiple flows in parallel, even if the host computer runs the flows serially.

[0057] Per-site flow is similar to concurrent test flow, but instead of the user writing different flows, a single flow is executed in different ways based on the test results of the DUT. The test program groups sites with the same results and executes the test flow serially, once for each group of sites. The commands executed during the flow may be different for each group. As the test program continues, the flow may split or rejoin again. Resources executing a unique flow are considered members of a test domain. These resources operate in synchronization with each other. Resources in different test domains may have limited or no synchronization with each other. The difference between the two features is that for concurrent test flow, the test domains are known before the test program is executed, while for per-site flow, they are created dynamically.

[0058] In some embodiments, the bus synchronization system can be configured to allow a test engineer to disable automatic synchronization for at least a portion of a test program. In some embodiments, the bus synchronization system is configured to automatically identify any portion of a test program that needs to be synchronized. For example, the identification can be performed without input from the test engineer.

[0059] In some embodiments, the synchronization bus may be implemented using a wired-OR bus, using point-to-point connections and logic gates, using appropriate contactless, wireless, or optical signaling, or using any suitable combination of these transmission media. In some embodiments, the synchronization bus may be implemented using any suitable data communication path that is configured to communicate status to hardware or software, aggregate the status, and transmit the aggregated status or other information to all MEPs via the same path or via different paths.

[0060] In some embodiments, bus synchronization need not be symmetrical. For example, in some embodiments, a "crossing synchronization barrier" signal or other appropriate synchronization or other signal may be sent to the instrument module via the Ethernet bus rather than via the synchronization bus as described above.

[0061] As described herein, an exemplary bus synchronization system thus enables synchronized operations across multiple distributed MEPs without the need for centralized control. This is possible even though multiple distributed MEPs may take different amounts of time to execute their portions of a test program, and it is generally not known in advance how long such processing will actually take. Thus, each MEP has flexibility in how long it will take to execute its portion of a test program - which may not be known in advance. The bus synchronization system also has relatively low latency, which may be advantageous because, for example, some test programs may include thousands of synchronization events per second.

[0062] In some embodiments, each MEP may be configured to run its own copy of the test program to determine where in the command queue the synchronization barrier should be placed, and to determine the synchronization domain to which the instrument module containing the MEP should subscribe. This distributed approach may be implemented in place of or in combination with the above approach, where a host computer runs the test program and places the synchronization barrier command at the appropriate position within the series of commands for the synchronization domain.

[0063] The exemplary systems described herein may be implemented and / or controlled using one or more computer systems including hardware or a combination of hardware and software. For example, a system similar to the system described herein may include various controllers and / or processing devices positioned at various points in the system to control the operation of the automation elements. A central computer may coordinate the operations in the various controllers or processing devices. The central computer, controllers, and processing devices may execute various software routines to achieve control and coordination of the various automation elements.

[0064] The exemplary systems described herein may be controlled at least in part using one or more computer program products, e.g., one or more computer programs tangibly embodied in one or more information carriers (such as one or more non-transitory machine-readable media) for execution by or to control the operation of one or more data processing devices, e.g., a programmable processor, a computer, multiple computers, and / or a programmable logic component.

[0065] A computer program may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program may be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a network.

[0066] The actions associated with implementing all or part of the test may be performed by one or more programmable processors that execute one or more computer programs to perform some of the functions described herein. All or part of the test may be implemented using dedicated logic circuits such as FPGAs (field programmable gate arrays) and / or ASICs (application specific integrated circuits).

[0067] Processors suitable for computer program execution include, for example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Typically, the processor will receive instructions and data from a read-only storage area or a random access storage area or both. Elements of a computer (including a server) include one or more processors for executing instructions and one or more storage area devices for storing instructions and data. Typically, a computer will also include (or be operatively coupled to receive data from it or transmit data to it or both) one or more machine-readable storage media, such as a mass storage device for storing data, for example, a magnetic disk, a magneto-optical disk, or an optical disk. Machine-readable storage media suitable for embodying computer program instructions and data include all forms of non-volatile storage areas, including, by way of example, semiconductor storage area devices, such as EPROM, EEPROM, and flash storage area devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

[0068] As used herein, any "electrical connection" may imply a direct physical connection, or a wired or wireless connection that may or may not include intermediate components but still allows electrical signals to flow between the connected components. Unless otherwise specified, any "connection" involving a circuit that allows signal flow is an electrical connection, not necessarily a direct physical connection, regardless of whether the term "connection" is modified by "electrical".

[0069] The elements of different specific implementations described herein can be combined together to form other embodiments that are not specifically illustrated above. Multiple elements can be excluded from the structure described herein without adversely affecting its operation. In addition, each individual element can be combined into one or more single elements to carry out the function described herein.

Claims

1. A testing system comprising: Computer bus; A host computer, the host computer is used to execute the test flow; and Multiple instrument modules, one instrument module includes: resources; and Processing equipment; The resource scope operated by the test flow is defined as follows; wherein the host computer is configured to output commands to the instrument module, the commands comprising synchronization commands in the test flow, the synchronization commands being used to cause the instrument module to provide status to the computer bus and to pause the processing device; wherein states from the instrument modules in the domain are aggregated on the computer bus, and wherein information associated with the states from the instrument modules is distributed to the instrument modules based on the aggregated states; and The processing device is configured to resume execution of commands based on the information. 2 . The test system of claim 1 , wherein the information is distributed after all instrument modules in the domain encounter a synchronization command.

3. The test system of claim 1, wherein the host computer is programmed to send the commands to the instrument modules via a communication bus that is different from the computer bus.

4. The test system of claim 1, wherein aggregating the status and distributing the information are performed independently of the host computer. 5 . The test system of claim 1 , wherein at least some of the commands instruct resources in the domain to perform operations.

6. The test system of claim 1, wherein the instrument module comprises an endpoint device for providing status to the computer bus; wherein the endpoint device comprises a contributing endpoint device; and Wherein the contributing endpoint device is configured to receive the information from the computer bus and generate a signal based on the information to trigger operation of one or more of the resources.

7. The test system of claim 1 , wherein the instrument module comprises an endpoint device; and Wherein the endpoint device comprises a non-contributing endpoint device for receiving the information from the computer bus and generating a signal based on the information to trigger operation of one or more of the resources.

8. The test system of claim 1, wherein the host computer is programmed to execute a test program comprising a plurality of separate instruction streams, the plurality of separate instruction streams comprising the test stream.

9. The test system of claim 8, wherein the instrument module comprises an endpoint device; and Wherein the endpoint device is configured to subscribe to one or more individual streams of the plurality of individual streams.

10. The test system of claim 1, wherein the instrument module comprises an endpoint device; and The endpoint device is configured to generate a signal to provide to a resource in the domain.

11. The test system of claim 10, wherein the signal is used to trigger the resource to perform an action for which the resource has been previously armed.

12. The test system of claim 10, wherein an offset can be added to the signal to control the timing of the signal relative to receipt of the information.

13. The test system of claim 1, wherein the instrument module comprises an endpoint device; and The endpoint device includes a transmitter for implementing output to the computer bus and a receiver for implementing reception from the computer bus.

14. The test system of claim 1, wherein the status comprises a pass or fail status of a test performed by the processing device.

15. The test system of claim 1, wherein the status comprises bits encoded onto the computer bus in a time division multiple access manner using a periodic frame comprising a plurality of bits.

16. The test system of claim 15, wherein the periodic frame is characterized by one or more of a header, a trailer, a cyclic redundancy check, or 8b / 10b encoding.

17. The test system of claim 1, wherein at least some of the bits of the information represent a system time alignment signal for setting a system clock counter on the instrument to at least one of a specified value or a specified time in a payload on the bus.

18. The test system of claim 1, wherein the computer bus comprises at least one of: a wired OR bus; point-to-point connections and logic gates; contactless, wireless or optical signaling; or a combination of one or more of: a wired OR bus; point-to-point connections and logic gates; contactless and wireless or optical signaling.

19. The test system of claim 1, wherein the information is received over the computer bus.

20. The test system of claim 1, wherein the information is received via a communication bus other than the computer bus.

21. The test system according to claim 1, wherein in the test flow, the synchronization command in the test flow immediately precedes a command that requires the test flow to perform an action or measure a device under test.

22. The test system of claim 1, wherein at least a portion of the test flow can be controlled to be non-synchronous.

23. A testing system comprising: Computer bus; Multiple instrument modules, one instrument module includes: resources; and a processing device, the processing device being used to execute commands from the queue; The resource scope operated by the test flow is defined as follows; wherein the processing device is configured to, in response to encountering at least one synchronization command in the queue, cause the instrument module to provide status to the computer bus and to pause the processing device; wherein states from the instrument modules in the domain are aggregated on the computer bus, and wherein information associated with states from the instrument modules is distributed to the instrument modules based on the aggregated states; and The processing device is configured to resume execution of commands based on the information.

24. The test system of claim 23, further comprising: Host computer; and Communication bus; Wherein the host computer is configured to output the command to the instrument module via the communication bus.