PXIe bus multi-module multi-channel signal synchronous generation method
By using the 100MHz system reference clock, 10MHz reference clock and the phase-locked loop PLL of FPGA in the PXIe bus test system, combined with the TTL trigger line for multi-module multi-channel signal synchronization, the low synchronization accuracy and high test cost in high-speed IC tests are solved. Problem, high-precision signal synchronization and cost savings are achieved.
Patent Information
- Application Number
- CN202410983212.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-08
AI Technical Summary
The existing PXIe bus testing system has low synchronization accuracy for multi-module multi-channel signal in high-speed IC tests, and the need for additional synchronization trigger modules leads to high testing costs.
Using a unique synchronization method of 100MHz system reference clock, 10MHz reference clock and 8 TTL trigger lines based on the PXIe chassis backplane, the clock synchronization signal and operation signal are generated through the FPGA, and the phase-locked loop PLL and frequency division are combined in each module. The device synchronizes to achieve high-precision signal synchronization and avoids the use of additional synchronization triggering hardware resources.
The synchronization accuracy of signals between different modules and channels is achieved to reach less than 500ps, reducing the testing cost.
Smart Images

Figure CN118916320A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of PXIe bus technology, and in particular to a method for synchronously generating multi-module and multi-channel signals on a PXIe bus. Background Art
[0002] With the rapid development of integrated circuit (IC) technology, the number of IC pins is increasing, and operating speeds are accelerating, placing higher demands on IC test equipment. PXIe bus test systems have a place in IC test equipment due to their standardization, versatility, and high maturity. However, due to the size limitations of PXIe bus test systems, multiple identical test modules are typically required to form more test channels to test ICs with large pin counts. When the operating speed of the IC under test is low, the synchronization requirements for the test channels are often not high. However, when the operating speed of the IC under test is high and reaches above 100MHz, the test cycle will drop below 10ns, and the synchronization accuracy of the signals between different channels must be reduced to below 1ns or even below 500ps, which requires high synchronization accuracy.
[0003] Since software is used to control the operation of multiple modules, the execution is carried out in sequence according to the different address spaces of the modules. The test time is related to the execution time of the software instructions, and the time intervals vary greatly. Therefore, software control cannot be used for synchronous control between multiple modules. In order to achieve higher synchronization accuracy, the test of multiple modules can only be started by hardware triggering. The PXIe chassis backplane provides 8 TTL trigger lines, which are combined with the 10MHz reference clock provided by the backplane for trigger signal acquisition. It can be used for trigger synchronization between peripheral modules. However, since the TTL trigger lines are not designed to be of equal length, the trigger signal skew between different slots in the chassis is large (reaching the ns level). Therefore, without special design methods, the TTL trigger lines can only be used for trigger synchronization between multiple modules in low-speed test systems. The synchronization accuracy is between a few ns and tens of ns. The backplane signal connection relationship is as follows: Figure 1 shown.
[0004] To achieve higher synchronization accuracy, the existing technology usually uses a synchronization trigger module inserted in the timing slot of the PXIe chassis system to generate a star trigger signal, which is used to synchronize signals between multiple modules and multiple channels. The backplane signal connection relationship of this method is as follows: Figure 2As shown, a star trigger line is connected from the system timing slot to each peripheral slot. Since the backplane is designed with equal length, the length of the star trigger line to each peripheral slot is very small, and the skew between different slots is less than 250ps. Each peripheral module receives the trigger signal at almost the same time, and then uses the 10MHz reference clock provided by the backplane to collect the trigger signal. After the sampling result is synchronized to the working clock domain, it can be used to synchronize the generation of multi-channel signals. The synchronization accuracy can generally reach several hundred ps.
[0005] However, the above-mentioned existing signal synchronization methods still have certain problems: the above-mentioned method of performing signal synchronization through 8 TTL trigger lines on the backplane of the PXIe chassis combined with a 10MHz reference clock has low signal synchronization accuracy between multiple channels and is only suitable for signal synchronization in low-speed test systems; the above-mentioned method of performing signal synchronization through the star trigger signal generated by the synchronization trigger module in the timing slot of the PXIe chassis system combined with a 10MHz reference clock can achieve higher synchronization accuracy, but this method requires an additional synchronization trigger module, which has a high product price and high testing cost. Summary of the Invention
[0006] To address the shortcomings of the above-mentioned prior art, the present invention provides a method for synchronously generating multi-module and multi-channel signals on a PXIe bus. Based on the 100MHz system reference clock and 10MHz reference clock of the PXIe chassis backplane, eight TTL trigger lines, and an FPGA, a unique synchronization method is designed. This method can achieve synchronization accuracy of signals between different modules and channels within 500ps without using additional synchronization trigger hardware resources, effectively saving testing costs.
[0007] The present invention provides a PXIe bus multi-module multi-channel signal synchronous generation method.
[0008] A method for synchronously generating multi-module and multi-channel signals on a PXIe bus is implemented based on a 100MHz system reference clock, a 10MHz reference clock, eight TTL trigger lines, and an FPGA on a PXIe chassis backplane. The method includes:
[0009] Set any one of the multiple peripheral modules connected to the PXIe chassis as the master module and the remaining modules as slave modules.
[0010] The main module FPGA generates clock synchronization signals and operation signals. The two signals are synchronized with the 10MHz reference clock and then sent to all module FPGAs at the same time.
[0011] In each module FPGA, the received clock synchronization signal and operation signal are synchronized with the 10MHz reference clock respectively, and then combined with the 100MHz system reference clock and the phase-locked loop (PLL) and divider in the FPGA to synchronize the operating clock and test operation signal of the functional circuit in the module respectively; based on the synchronized operating clock and test operation signal, the functional circuit outputs a multi-channel synchronization signal.
[0012] As a further technical solution, eight TTL trigger lines are connected to all peripheral slots via the backplane.
[0013] As a further technical solution, the 10MHz reference clock is connected to all peripheral slots through equal-length lines, with the skew between slots less than 1ns; the 100MHz system reference clock is connected to all peripheral slots through equal-length lines, with the skew between slots less than 100ps.
[0014] A further technical solution is that the main module FPGA generates a clock synchronization signal and an operation signal. The clock synchronization signal and the operation signal are synchronously output through the 10MHz reference clock and D trigger of the backplane respectively, and then any one of the 8 TTL trigger lines is selected through the trigger routing, and then transmitted to the corresponding backplane trigger line through the output buffer, and the clock synchronization signal and the operation signal are sent to all modules at the same time by the backplane trigger line.
[0015] A further technical solution is that in each module FPGA, the 100MHz system reference clock of the backplane enters the FPGA and passes through the phase-locked loop PLL and divider, combined with the clock synchronization signal after synchronization with the 10MHz reference clock, to generate a synchronized functional circuit working clock; the running signal is synchronized with the 10MHz reference clock and serves as the test running signal of the functional circuit; based on the synchronized working clock and test running signal, the functional circuit outputs a multi-channel synchronization signal.
[0016] Further technical solutions, for each slave module FPGA, include:
[0017] The slave module FPGA receives a clock synchronization signal through the backplane trigger line. This clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop and serves as the reset signal for the frequency divider.
[0018] The 100MHz system reference clock from the backplane enters the phase-locked loop (PLL) of the slave module FPGA to generate a high-frequency clock with the same phase.
[0019] The in-phase high-frequency clock and reset signal enter the frequency divider together, and the frequency divider outputs the working clock of the functional circuit.
[0020] Further technical solutions also include:
[0021] The slave module FPGA receives the operation signal through the backplane trigger line. The operation signal is synchronized with the 10MHz reference clock and the D flip-flop and serves as the test operation signal for the functional circuit.
[0022] The synchronized working clock and the test operation signal are input to the functional circuit together, and a multi-channel synchronous signal is output.
[0023] Further technical solutions, targeting the main module FPGA, include:
[0024] The master module FPGA outputs a clock synchronization signal and sends it to each slave module. At the same time, the signal is also transmitted to the master module FPGA through the input buffer in the master module FPGA.
[0025] The received clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop and then used as the reset signal for the frequency divider.
[0026] The 100MHz system reference clock of the backplane enters the phase-locked loop (PLL) of the FPGA in the main module to generate a high-frequency clock with the same phase.
[0027] The in-phase high-frequency clock and reset signal enter the frequency divider together, and the frequency divider outputs the working clock of the functional circuit.
[0028] Further technical solutions also include:
[0029] When the master module FPGA outputs the operation signal and sends it to each slave module, the signal is also transmitted to the master module FPGA through the input buffer in the master module FPGA;
[0030] The received operation signal is synchronized with the 10MHz reference clock and the D flip-flop and used as the test operation signal of the functional circuit;
[0031] The synchronized working clock and the test operation signal are input to the functional circuit together, and a multi-channel synchronous signal is output.
[0032] As a further technical solution, the method is applicable to the synchronous generation of signals of multiple digital, analog or other same-purpose test modules on a PXIe bus.
[0033] One or more of the above technical solutions have the following beneficial effects:
[0034] The present invention provides a method for synchronously generating multi-module and multi-channel signals on a PXIe bus. The method is based on a 100MHz system reference clock, a 10MHz reference clock, eight TTL trigger lines, and an FPGA on a PXIe chassis backplane. By presetting the peripheral modules as master and slave modules, the clock synchronization signal and the operation signal generated by the master module FPGA are respectively synchronized with the 10MHz reference clock and then sent to all module FPGAs simultaneously. In each module FPGA, the received clock synchronization signal and operation signal are respectively synchronized with the operating clock and test operation signal of the functional circuit in the module through the 10MHz reference clock, the 100MHz system reference clock, the phase-locked loop (PLL), and the frequency divider in the FPGA, thereby achieving high-precision signal synchronization for each module. In this way, the synchronization accuracy of signals between different modules and different channels can be achieved to within 500ps without using additional synchronization trigger hardware resources, effectively saving testing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0036] Figure 1 Backplane signal connection diagram designed for synchronization with existing TTL trigger lines;
[0037] Figure 2 Backplane signal connection diagram for synchronization design of existing synchronization trigger module;
[0038] Figure 3 This is a schematic diagram of the backplane signal connection used in this embodiment;
[0039] Figure 4 This is a principle block diagram of the PXIe bus multi-module multi-channel signal synchronization generation method described in this embodiment. DETAILED DESCRIPTION
[0040] It should be noted that the following detailed descriptions are exemplary only and are intended to describe specific embodiments and provide further explanation of the present invention, and are not intended to limit the exemplary embodiments according to the present invention. Unless otherwise indicated, all technical and scientific terms used herein have the same meanings as those commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.
[0041] Example 1
[0042] To solve the problems of low synchronization accuracy and high testing cost in the existing PXIe bus signal synchronization method, this embodiment provides a PXIe bus multi-module multi-channel signal synchronization method based on the 100MHz system reference clock, 10MHz reference clock, 8 TTL trigger lines and FPGA of the PXIe chassis backplane. The backplane signal connection relationship is as follows: Figure 3 As shown, eight TTL trigger lines, 0 to 7, are connected to all peripheral slots through the backplane. Furthermore, a 10 MHz reference clock is connected to all peripheral slots through equal-length lines, with inter-slot skew less than 1 ns. A 100 MHz system reference clock is connected to all peripheral slots through equal-length lines, with inter-slot skew less than 100 ps.
[0043] The method for synchronously generating multi-module and multi-channel signals on a PXIe bus proposed in this embodiment includes:
[0044] Set any one of the multiple peripheral modules connected to the PXIe chassis as the master module and the remaining modules as slave modules.
[0045] The main module FPGA generates clock synchronization signals and operation signals. The two signals are synchronized with the 10MHz reference clock and then sent to all module FPGAs at the same time.
[0046] In each module FPGA, the received clock synchronization signal and operation signal are synchronized with the 10MHz reference clock respectively, and then combined with the 100MHz system reference clock and the phase-locked loop (PLL) and divider in the FPGA to synchronize the operating clock and test operation signal of the functional circuit in the module respectively; based on the synchronized operating clock and test operation signal, the functional circuit outputs a multi-channel synchronization signal.
[0047] The following content introduces the PXIe bus multi-module multi-channel signal synchronization method proposed in this embodiment in more detail.
[0048] In order to achieve the purpose of accurate synchronization of the signals output by all modules, it is necessary to synchronize the working clock and operation signal of the functional circuit that generates the signal in each module, such as Figure 4 As shown, the working principle and steps include:
[0049] Step S1: Setting any one of the plurality of peripheral modules connected to the PXIe chassis as a master module and the remaining modules as slave modules through software settings, etc. In this embodiment, any one module can be set as a master module by software, and the remaining modules can be set as slave modules.
[0050] Step S2: The main module FPGA generates a clock synchronization signal, which is synchronized with the 10 MHz reference clock and then sent to all module FPGAs at the same time.
[0051] Specifically, the main module FPGA generates a clock synchronization signal, which is synchronously output through the backplane's 10MHz reference clock and D-type flip-flop, selects any one of the eight TTL trigger lines through the trigger routing, and then transmits it to the corresponding backplane trigger line through the output buffer. The backplane trigger line then sends the clock synchronization signal to all modules.
[0052] Step S3: In each module FPGA, the received clock synchronization signal is synchronized with the 10MHz reference clock, and then combined with the 100MHz system reference clock and the phase-locked loop PLL and frequency divider in the FPGA to synchronize the working clock of the functional circuit in the module.
[0053] Specifically, in each module FPGA, the 100MHz system reference clock of the backplane enters the FPGA and passes through the phase-locked loop PLL and divider, combined with the clock synchronization signal after synchronization with the 10MHz reference clock, to generate a synchronized functional circuit working clock.
[0054] Step S3.1: For each slave module FPGA, the slave module FPGA receives a clock synchronization signal through the backplane trigger line. The clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop and serves as the reset signal of the divider; the 100MHz system reference clock of the backplane enters the phase-locked loop PLL of the slave module FPGA to generate a common high-frequency clock; the common high-frequency clock and the reset signal enter the divider together, and the divider outputs the working clock required by the functional circuit that generates the signal, that is, the working clock of the functional circuit.
[0055] Step S3.2: For the master module FPGA, the master module FPGA outputs a clock synchronization signal and sends it to each slave module. At the same time, the signal is also transmitted to the master module FPGA through the input buffer in the master module FPGA; similarly, the received clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop, and serves as the reset signal of the divider; the 100MHz system reference clock of the backplane enters the phase-locked loop PLL of the master module FPGA to generate a common-phase high-frequency clock; the common-phase high-frequency clock and the reset signal enter the divider together, and the divider outputs the working clock of the functional circuit.
[0056] Step S4: The main module FPGA generates an operation signal, which is synchronized with the 10 MHz reference clock and then sent to all module FPGAs at the same time.
[0057] Specifically, the main module FPGA generates a run signal. This run signal is synchronized with the backplane's 10MHz reference clock and D-type flip-flops, then selected through a trigger router to select one of eight TTL trigger lines. This signal is then transmitted via an output buffer to the corresponding backplane trigger line, which then transmits the run signal to all modules. Preferably, this run signal and the clock synchronization signal from step S2 are sent to all modules simultaneously.
[0058] Step S5: In each module FPGA, the received operation signal is synchronized with the 10 MHz reference clock and used as a test operation signal for the functional circuit.
[0059] Step S5.1: The slave module FPGA receives an operation signal through the backplane trigger line. The operation signal is synchronized with the 10 MHz reference clock and the D flip-flop and serves as a test operation signal for the functional circuit.
[0060] In step S5.2, the master module FPGA outputs a run signal and sends it to each slave module. At the same time, the signal is also transmitted to the master module FPGA through the input buffer in the master module FPGA. Similarly, the received run signal is synchronized with the 10MHz reference clock and the D flip-flop and serves as the test run signal for the functional circuit.
[0061] Step S6: For each module (including master and slave modules), the functional circuit outputs a multi-channel synchronization signal based on the synchronized operating clock and test run signal. Specifically, for each module, the synchronized operating clock and test run signal are input to the functional circuit, which then outputs the multi-channel synchronization signal for that module. This output signal is synchronized for all modules. This approach achieves high synchronization accuracy of the final output signal, achieving accuracy within 500 ps.
[0062] Furthermore, the method proposed in the present embodiment is applicable to the precise synchronization of signals from multiple digital, analog or other test modules with the same purpose on a PXIe bus.
[0063] The PXIe bus multi-module, multi-channel signal synchronization method proposed in this embodiment uses a unique synchronization method based on the 100MHz system reference clock, 10MHz reference clock, eight TTL trigger lines, and an FPGA on the PXIe chassis backplane. This method can achieve synchronization accuracy of less than 500ps between signals in different modules and channels without requiring additional synchronization trigger hardware resources, effectively saving testing costs.
[0064] The above description is only a preferred embodiment of the present invention. Although the specific implementation of the present invention is described in conjunction with the accompanying drawings, it does not limit the scope of protection of the present invention. Those skilled in the art should understand that based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.
Claims
1. A method for synchronously generating multi-module and multi-channel signals on a PXIe bus, characterized in that: Based on a 100MHz system reference clock, a 10MHz reference clock, multiple TTL trigger lines and an FPGA implementation on a PXIe chassis backplane, the method includes: Set any one of the multiple peripheral modules connected to the PXIe chassis as the master module and the rest as slave modules; The main module FPGA generates clock synchronization signal and operation signal. The two signals are synchronized with the 10MHz reference clock and then sent to all module FPGAs at the same time. In each module FPGA, the received clock synchronization signal and operation signal are synchronized with the 10MHz reference clock respectively, and then combined with the 100MHz system reference clock and the phase-locked loop PLL and divider in the FPGA to synchronize the working clock and test operation signal of the functional circuit in the module respectively; based on the synchronized working clock and test operation signal, the functional circuit outputs a multi-channel synchronization signal.
2. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 1, characterized in that: Multiple TTL trigger lines are connected to all peripheral slots through the backplane.
3. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 1, characterized in that: The 10 MHz reference clock is connected to all peripheral slots through equal-length lines, and the skew between slots is less than 1 ns. The 100 MHz system reference clock is connected to all peripheral slots through equal-length lines, and the skew between slots is less than 100 ps.
4. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 1, characterized in that: The main module FPGA generates a clock synchronization signal and a run signal. After the clock synchronization signal and the run signal are synchronously output through the 10MHz reference clock and D flip-flop of the backplane respectively, any one of the multiple TTL trigger lines is selected through the trigger routing, and then transmitted to the corresponding backplane trigger line through the output Buffer. The clock synchronization signal and the run signal are sent to all modules at the same time by the backplane trigger line.
5. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 1, characterized in that: In each module FPGA, the 100MHz system reference clock of the backplane enters the FPGA and passes through the phase-locked loop PLL and divider, combined with the clock synchronization signal after synchronization with the 10MHz reference clock, to generate a synchronized functional circuit working clock; the running signal is synchronized with the 10MHz reference clock and used as the test running signal of the functional circuit; based on the synchronized working clock and test running signal, the functional circuit outputs a multi-channel synchronization signal.
6. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 5, characterized in that: For each slave module FPGA, including: The slave module FPGA receives a clock synchronization signal through the backplane trigger line. The clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop and serves as the reset signal of the frequency divider. The 100MHz system reference clock of the backplane enters the phase-locked loop PLL of the slave module FPGA to generate a high-frequency clock of the same phase; The same-phase high-frequency clock and reset signal enter the divider together, and the divider outputs the working clock of the functional circuit.
7. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 6, characterized in that: include: The slave module FPGA receives the operation signal through the backplane trigger line. The operation signal is synchronized with the 10MHz reference clock and the D flip-flop and used as the test operation signal of the functional circuit. The synchronized working clock and the test operation signal are input to the functional circuit together, and a multi-channel synchronous signal is output.
8. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 5, characterized in that: For the main module FPGA, including: When the master module FPGA outputs a clock synchronization signal and sends it to each slave module, the signal is also transmitted to the master module FPGA through the input buffer in the master module FPGA; The received clock synchronization signal is synchronized with the 10MHz reference clock and the D flip-flop and then used as the reset signal of the frequency divider; The 100MHz system reference clock of the backplane enters the phase-locked loop PLL of the main module FPGA to generate a high-frequency clock of the same phase; The same-phase high-frequency clock and reset signal enter the divider together, and the divider outputs the working clock of the functional circuit.
9. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 8, characterized in that: include: When the main module FPGA outputs the operation signal and sends it to each slave module, the signal is also transmitted to the main module FPGA through the input buffer in the main module FPGA; The received operation signal is synchronized with the 10MHz reference clock and the D flip-flop and used as the test operation signal of the functional circuit; The synchronized working clock and the test operation signal are input to the functional circuit together, and a multi-channel synchronous signal is output.
10. A PXIe bus multi-module multi-channel signal synchronization generation method as claimed in claim 1, characterized in that: The method is applicable to the synchronous generation of signals of multiple digital, analog or other same-purpose test modules on a PXIe bus.
