Signal transmission channel calibration device and method, signal generation system and test equipment

By employing a signal transmission channel calibration device in semiconductor testing equipment, and utilizing the parallel operation of the reference counting module and the delay counting module within the same reference time period, the problem of low calibration accuracy of the signal transmission channel is solved, achieving high-precision channel delay calibration and multi-channel timing alignment.

CN123136336APending Publication Date: 2026-11-20WUHAN LIANXUN INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611503849.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-11-20

Smart Images

  • Figure CN123136336A_ABST
    Figure CN123136336A_ABST
Patent Text Reader

Abstract

The application relates to a signal transmission channel calibration device, a method, a signal generation system and test equipment. The device comprises a signal generation module, a reference counting module, a delay counting module and a calibration control module. The signal generation module generates an oscillation signal. The reference counting module counts the oscillation signal in a reference time period to obtain reference counting information. The delay counting module counts a delay signal in the reference time period to obtain delay counting information. The delay signal is the signal of the oscillation signal after passing through a transmission channel to be calibrated. The calibration control module determines calibration compensation information of the transmission channel to be calibrated based on the reference counting information and the delay counting information. The application can obtain accurate channel calibration compensation information based on two sets of counting information of the reference path and the delay path in the same reference time period, thereby improving the accuracy of the channel delay calibration based on the calibration compensation information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of semiconductor testing technology, and in particular to a signal transmission channel calibration device, method, signal generation system, and testing equipment. Background Technology

[0002] Semiconductor testing equipment sends test signals to chips through signal transmission channels. Each signal transmission channel of a semiconductor testing equipment has an inherent transmission delay, and the delays between different channels naturally differ. The transmission performance of the signal transmission channels is a crucial performance indicator of semiconductor testing equipment; therefore, the transmission delay of the signal transmission channels needs to be calibrated before testing the chip.

[0003] In order to measure the transmission delay of a signal transmission channel, the existing technology usually requires the use of a time-to-digital converter (TDC) chip. However, due to the uneven scale of the delay chain inside the TDC chip, there is a non-linear error in the measurement of transmission delay. Therefore, channel calibration based on the TDC chip has the problem of low channel calibration accuracy. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention discloses a signal transmission channel calibration device, method, signal generation system, and testing equipment. Based on two sets of counting information from the reference path and the delay path within the same reference time period, accurate channel calibration compensation information can be obtained, thereby improving the accuracy of channel delay calibration based on the calibration compensation information.

[0005] To achieve the above objectives, the present invention provides a signal transmission channel calibration device, the device comprising a signal generation module, a reference counting module, a delay counting module, and a calibration control module, wherein the input terminals of the reference counting module and the delay counting module are both connected to the signal generation module, and the output terminals of the reference counting module and the delay counting module are both connected to the calibration control module. The signal generating module is used to generate an oscillation signal; The reference counting module is used to count the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module is used to count the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0006] In an optional embodiment, the signal generation module includes a self-excited oscillation unit and an oscillation control unit; The self-excited oscillation unit is used to autonomously generate the oscillation signal; The oscillation control unit is used to control the starting and stopping of the self-excited oscillation unit.

[0007] In an optional embodiment, the signal generating module further includes an isolation unit; The isolation unit is used to isolate the self-excited oscillation unit from the reference counting module and the delay counting module.

[0008] In an optional embodiment, the reference counting module includes a reference edge detection unit and a reference counter; The reference edge detection unit is used to perform edge detection processing on the oscillation signal within the reference time period and generate a reference counting pulse. The reference counter is used to count the reference counting pulses to obtain the reference counting information.

[0009] In an optional embodiment, the delay counting module includes a delay edge detection unit and a delay counter; The delay edge detection unit is used to perform edge detection processing on the delay signal within the reference time period and generate a delay counting pulse. The delay counter is used to count the delay counting pulses to obtain the delay counting information.

[0010] In an optional embodiment, the calibration control module includes a counting control unit, a register unit, and a calibration calculation unit; The counting control unit is used to control the start and stop of the reference counter and the delay counter; The register unit is used to store the reference count information and the delay count information; The calibration calculation unit is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0011] In an optional embodiment, the counting control unit is further configured to: Send a counting start signal to the reference counter and the delay counter to control the reference counter and the delay counter to start counting simultaneously; Monitor the real-time counting information of the reference counter; Determine whether the real-time counting information has reached a preset counting threshold. If so, send a counting stop signal to the reference counter and the delay counter to control the reference counter and the delay counter to stop counting simultaneously.

[0012] In an optional embodiment, the calibration calculation unit is further configured to: Based on the reference count information, the delay count information, and the reference frequency of the reference clock, data fusion processing is performed to obtain the loop delay of the transmission channel to be calibrated; The unidirectional delay of the transmission channel to be calibrated is determined based on the loop delay. The calibration compensation information of the transmission channel to be calibrated is determined based on the unidirectional delay.

[0013] In an optional embodiment, when there are multiple transmission channels to be calibrated, the calibration calculation unit is further configured to: Obtain the unidirectional delay corresponding to each of the multiple transmission channels to be calibrated; Determine the maximum delay among the unidirectional delays corresponding to each of the plurality of transmission channels to be calibrated; Based on the maximum delay and the unidirectional delay corresponding to each transmission channel to be calibrated, the calibration compensation information corresponding to each transmission channel to be calibrated is determined.

[0014] On the other hand, this application also provides a signal generation system, the system including the signal transmission channel calibration device as described above and a timing generation module, the timing generation module being used for: Generate the initial output signal corresponding to the transmission channel to be calibrated; Obtain the calibration compensation information corresponding to the transmission channel to be calibrated; The timing of the initial output signal is adjusted based on the calibration compensation information to obtain the target output signal corresponding to the transmission channel to be calibrated.

[0015] On the other hand, this application also provides a signal transmission channel calibration method, which is applied to the signal transmission channel calibration device as described above, the method comprising: The signal generation module generates an oscillation signal; The reference counting module counts the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module counts the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module determines the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0016] On the other hand, this application also provides a testing device, which includes the signal transmission channel calibration device as described above.

[0017] Implementing the embodiments of the present invention has the following beneficial effects: The signal transmission channel calibration device disclosed in this invention counts the oscillation signal through a reference counting module and counts the delayed signal after passing through the transmission channel to be calibrated through a delay counting module. The reference counting module and the delay counting module work in parallel within the same reference time period. Based on the two sets of counting information, accurate channel calibration compensation information can be obtained, thereby improving the accuracy of channel delay calibration based on calibration compensation information. Attached Figure Description

[0018] To more clearly illustrate the signal transmission channel calibration device of the present invention, the accompanying drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the structure of a signal transmission channel calibration device provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a signal transmission channel calibration device provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a self-excited oscillation unit provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a signal generation system provided in an embodiment of the present invention; Figure 5 A schematic flowchart of a signal transmission channel calibration method provided in an embodiment of the present invention; Figure 6 A schematic flowchart of a signal transmission channel calibration method provided in an embodiment of the present invention; In the diagram, 10 is the signal generation module; 20 is the reference counting module; 30 is the delay counting module; 40 is the calibration control module; 100 is the self-excited oscillation unit; 110 is the oscillation control unit; 120 is the isolation unit; 130 is the reference edge detection unit; 140 is the delay edge detection unit; 150 is the reference counter; 160 is the delay counter; 170 is the counting control unit; 180 is the register unit; 190 is the calibration calculation unit; and 50 is the timing generation module. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0022] See Figure 1 , Figure 1 This is a schematic diagram of a signal transmission channel calibration device provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the device includes a signal generation module 10, a reference counting module 20, a delay counting module 30, and a calibration control module 40. The input terminals of the reference counting module 20 and the delay counting module 30 are both connected to the signal generation module 10, and the output terminals of the reference counting module 20 and the delay counting module 30 are both connected to the calibration control module 40. The signal generating module 10 is used to generate an oscillation signal; The reference counting module 20 is used to count the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module 30 is used to count the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module 40 is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0023] In the embodiments described in this specification, the oscillation signal is a signal with periodic edges, which facilitates subsequent edge detection and counting.

[0024] In the embodiments of this specification, since there is a transmission delay in the transmission channel to be calibrated, there is also a delay between the delayed signal after the oscillation signal passes through the transmission channel and the oscillation signal. The calibration compensation information of the transmission channel to be calibrated can be obtained by measuring the delay between the delayed signal and the oscillation signal. Specifically, the oscillation signal is sent to the reference counting module 20 and the delay counting module 30 respectively. The reference counting module 20 is used to count the oscillation signal, and the delay counting module 30 is used to count the delayed signal after passing through the transmission channel to be calibrated. The reference counting module 20 and the delay counting module 30 work in parallel within the same reference time period. The reference time period is determined based on a known and stable reference clock. The calibration control module 40 can obtain the calibration compensation information of the transmission channel to be calibrated based on the reference clock related information, the reference counting information, and the delay counting information.

[0025] In the embodiments described in this specification, the signal generation module 10 includes a self-excited oscillation unit 100 and an oscillation control unit 110; The self-excited oscillation unit 100 is used to autonomously generate the oscillation signal; The oscillation control unit 110 is used to control the start-up and shutdown of the self-excited oscillation unit 100.

[0026] In the embodiments described in this specification, see Figure 2 , Figure 2 This is a schematic diagram of a signal transmission channel calibration device provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the output terminal of the self-excited oscillation unit 100 is connected to the input terminal of the oscillation control unit 110. The self-excited oscillation unit 100 is a closed-loop circuit composed of an odd-numbered stage inverter, a delay unit, or a differential delay unit. It is used to generate an oscillation signal based on loop noise or initial disturbance. The initial disturbance refers to the slight imbalance or random fluctuation of the voltage at each node of the self-excited oscillation unit 100 at the moment of power-on or enable when the oscillation control unit 110 turns on the self-excited oscillation unit 100 at the start of calibration. The oscillation control unit 110 is used to turn on the self-excited oscillation unit 100 at the start of calibration and turn off the self-excited oscillation unit 100 at the end of calibration to reduce power consumption.

[0027] In the embodiments of this specification, the oscillation signal generated autonomously by the self-excited oscillation unit 100 is a self-excited oscillation signal. A self-excited oscillation signal refers to a periodic signal generated by the circuit itself through positive feedback conditions to maintain oscillation. It does not require continuous excitation from an external signal source, that is, the generation of the oscillation signal does not depend on any other unit besides the self-excited oscillation unit 100. The self-excited oscillation signal is a periodic square wave or an approximate square wave.

[0028] In the embodiments described in this specification, see Figure 3 , Figure 3This is a schematic diagram of the structure of a self-excited oscillation unit provided in an embodiment of the present invention. Figure 3 In the diagram, 101, 102, 103, 104, and 105 are inverters, differential delay units, current-limiting inverters, or adjustable bias delay units, and 106 is an output buffer unit. The following explanation uses the example where 101, 102, 103, 104, and 105 are all inverters. Multiple inverters are connected end-to-end to form a closed loop. The number of inverter stages can be 3, 5, 7, or other odd numbers. The self-oscillating unit 100 is located within the chip under test or the semiconductor test calibration chip of the test equipment. The self-oscillating unit 100 amplifies and feeds back the noise, initial disturbance, or startup disturbance in the loop through the odd-numbered inverter chain, generating an oscillation signal osc_clk.

[0029] The signal generation module in this embodiment includes a self-excited oscillation unit and an oscillation control unit. The self-excited oscillation unit generates oscillation signals autonomously without the need for an additional signal source or time-to-digital converter chip, thus reducing system cost and design complexity. By setting the oscillation control unit, the self-excited oscillation can be started and stopped on demand, avoiding power consumption waste and signal interference caused by continuous oscillation during calibration idle periods.

[0030] In the embodiments described in this specification, the signal generation module 10 further includes an isolation unit 120; The isolation unit 120 is used to isolate the self-excited oscillation unit 100 from the reference counting module 20 and the delay counting module 30.

[0031] In this embodiment, the output of the oscillation control unit 110 is connected to the input of the isolation unit 120, and the output of the isolation unit 120 is connected to the inputs of the reference edge detection unit 130 and the delay edge detection unit 140, respectively. The isolation unit 120 isolates the self-excited oscillation unit 100 from the subsequent counting load, reducing the impact of load changes on the oscillation frequency. The subsequent counting load includes a reference counting module 20 and a delay counting module 30. The oscillation signal osc_clk is buffered and isolated by the isolation unit 120 before being sent to the reference counting module 20 and the delay counting module 30.

[0032] The embodiments in this specification effectively isolate the influence of the downstream counting load on the oscillation frequency by setting up an isolation unit, thereby improving the stability of the oscillation frequency and the accuracy of time delay measurement.

[0033] In the embodiments described in this specification, the reference counting module 20 includes a reference edge detection unit 130 and a reference counter 150; The reference edge detection unit 130 is used to perform edge detection processing on the oscillation signal within the reference time period and generate a reference counting pulse. The reference counter 150 is used to count the reference counting pulses to obtain the reference counting information.

[0034] In the embodiments described in this specification, such as Figure 2 As shown, the reference edge detection unit 130 is connected between the isolation unit 120 and the reference counter 150, and the reference counter 150 is connected between the reference edge detection unit 130 and the counting control unit 170. The reference edge detection unit 130 is used to convert the oscillation signal osc_clk into a stable counting pulse in the reference frequency domain, which refers to the logic clock domain driven by a known and stable reference clock; the reference counter 150 is used to generate reference counting information in the reference frequency domain.

[0035] In the embodiments of this specification, the reference counting module 20 uses a known reference clock as a reference to perform edge detection and counting on the oscillation signal osc_clk. Specifically, edge detection is performed on osc_clk within a reference time period, converting the continuous square wave signal osc_clk into a discrete counting pulse sequence. Each pulse represents a valid edge (rising edge or falling edge) of osc_clk. The reference counter 150 accumulates these pulses to obtain the number of valid edges that occurred in osc_clk within the reference time period, i.e., the reference counting information. The reference time period refers to a measurement window time determined by the reference clock and a preset counting threshold.

[0036] The reference counting module in the embodiments of this specification includes a reference edge detection unit and a reference counter. The reference edge detection unit detects the edge of the oscillation signal and converts the continuous oscillation signal into discrete counting pulses, so that the reference counter can accurately measure the number of edges of the oscillation signal, providing a high-precision reference for subsequent delay calculation.

[0037] In the embodiments described in this specification, the delay counting module 30 includes a delay edge detection unit 140 and a delay counter 160; The delay edge detection unit 140 is used to perform edge detection processing on the delay signal within the reference time period and generate a delay counting pulse. The delay counter 160 is used to count the delay counting pulses to obtain the delay counting information.

[0038] In the embodiments described in this specification, such as Figure 2As shown, the delay edge detection unit 140 is connected between the isolation unit 120 and the delay counter 160, and the delay counter 160 is connected between the delay edge detection unit 140 and the counting control unit 170. The delay edge detection unit 140 is used to perform edge detection on the delayed signal after passing through the transmission channel to be calibrated in the frequency domain to be measured, and generate a stable counting pulse. The frequency domain to be measured refers to the logic clock domain driven by the delayed signal after passing through the transmission channel to be calibrated. The delay counter 160 is used to generate delay counting information in the frequency domain to be measured.

[0039] In the embodiments of this specification, the delay counting module 30 uses the delayed signal after passing through the transmission channel to be calibrated as a reference to perform edge detection and counting on the delayed signal. Specifically, edge detection is performed on the delayed signal within a reference time period, converting the continuous square wave signal into a discrete counting pulse sequence. Each pulse represents a valid edge (rising edge or falling edge) of the delayed signal. The delay counter 160 accumulates these pulses to obtain the number of valid edges that occurred in the delayed signal within the reference time period, i.e., the delay count information.

[0040] The delay counting module in the embodiments of this specification includes a delay edge detection unit and a delay counter. By performing edge detection and counting on the delay signal within a reference time period, a count value carrying the delay information of the transmission channel to be calibrated can be obtained, providing a direct and accurate measurement basis for subsequent delay calculation.

[0041] In the embodiments described in this specification, the calibration control module 40 includes a counting control unit 170, a register unit 180, and a calibration calculation unit 190; The counting control unit 170 is used to control the start and stop of the reference counter 150 and the delay counter 160; The register unit 180 is used to store the reference count information and the delay count information; The calibration calculation unit 190 is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0042] In the embodiments described in this specification, such as Figure 2As shown, register unit 180 is connected between counter control unit 170 and calibration calculation unit 190. Counter control unit 170 is used to control the clearing, starting, counting, stopping, latching, setting and resetting of reference counter 150 and delay counter 160, where the valid signal (data / status valid indication) is set and reset. The valid signal is a measurement completion flag, and when it is 1, it indicates that the counting result has been latched. Register unit 180 includes registers such as cfg_counter_ceil (stores preset counting threshold), cfg_clk_mea_en (stores measurement enable control bit), ro_counter (stores real-time counting information), ro_counter_valid (stores valid flag bit), cfg_ac_cal_sel (stores calibration channel selection), ro_ref_count (stores reference counting information), ro_tst_count (stores delay counting information), and ac_cal_code (stores calibration compensation information), as shown in Table 1. Calibration calculation unit 190 is used to calculate the calibration compensation information of the transmission channel to be calibrated based on the reference counting information and the delay counting information.

[0043] Table 1 Register Table

[0044] In the embodiments of this specification, RO (Read-Only) in Table 1 is a read-only register, and RW (Read-Write) is a read-write register.

[0045] In the embodiments of this specification, the counting control unit 170 starts, stops and latches the counting result according to the configurable upper limit of counting (i.e., the preset counting threshold). When the counting is completed, the ro_counter_valid flag is set to indicate that the counting result has been latched. The calibration calculation unit 190 reads the counting result through the local bus or equivalent control bus and calculates the calibration compensation information of the transmission channel to be calibrated according to the reference counting information and the delay counting information.

[0046] The calibration control module in the embodiments of this specification includes a counting control unit, a register unit, and a calibration calculation unit. The counting control unit is responsible for accurately controlling the counting process to ensure that the counting of the reference path and the delay path is carried out within the same reference time period. The register unit centrally manages the configuration parameters and measurement results. The calibration calculation unit can obtain accurate channel calibration compensation information based on the two sets of counting information of the reference path and the delay path, thereby improving the accuracy of signal transmission channel delay calibration.

[0047] In the embodiments described in this specification, the counting control unit 170 is further configured to: Send a counting start signal to the reference counter 150 and the delay counter 160 to control the reference counter 150 and the delay counter 160 to start counting simultaneously; Monitor the real-time counting information of the reference counter 150; Determine whether the real-time counting information has reached a preset counting threshold. If so, send a counting stop signal to the reference counter 150 and the delay counter 160 to control the reference counter 150 and the delay counter 160 to stop counting simultaneously.

[0048] In the embodiments of this specification, the counting control unit 170 sends a counting start signal to the reference counter 150 and the delay counter 160, so that the reference counter 150 and the delay counter 160 start counting simultaneously. During the counting process, the real-time counting information of the reference counter 150 is monitored by the register unit 180. When the real-time counting information of the reference counter 150 reaches a preset counting threshold, a counting stop signal is sent to the reference counter 150 and the delay counter 160, so that the reference counter 150 and the delay counter 160 stop counting simultaneously. The counting control unit 170 controls the reference counter 150 and the delay counter 160 to start and stop simultaneously, so that the reference counter 150 and the delay counter 160 count within the same reference time period. Since the frequency of the reference clock is known, the reference time period can be determined based on the frequency of the reference clock and the preset counting threshold. Specifically, the reference time period = N × T_ref, where N is the preset counting threshold, T_ref is the period of the reference clock, T_ref = 1 / f_ref, and f_ref is the frequency of the reference clock. For example, if f_ref = 500MHz (T_ref = 2ns) and N = 1000, then the reference time period = 1000 × 2ns = 2000ns = 2μs.

[0049] In the embodiments of this specification, the preset counting threshold is configurable. Specifically, the preset counting threshold can be written to the register cfg_counter_ceil via localbus or equivalent bus. The preset counting threshold represents the upper bound of the count. The larger the upper bound of the count, the longer the average measurement time and the smaller the random measurement error.

[0050] The counting control unit in the embodiments of this specification ensures that the reference counter and the delay counter count within the same reference time period by simultaneously starting and stopping two counters, thus guaranteeing that the time base of the two count values ​​is consistent and improving the accuracy of delay measurement. In addition, by flexibly configuring the preset counting threshold, a trade-off can be made between measurement accuracy and calibration speed to adapt to different testing needs and scenarios.

[0051] In the embodiments described in this specification, the calibration calculation unit 190 is further configured to: Based on the reference count information, the delay count information, and the reference frequency of the reference clock, data fusion processing is performed to obtain the loop delay of the transmission channel to be calibrated; The unidirectional delay of the transmission channel to be calibrated is determined based on the loop delay. The calibration compensation information of the transmission channel to be calibrated is determined based on the unidirectional delay.

[0052] In the embodiments described in this specification, at the start of calibration, the reference counter 150 and the delay counter 160 simultaneously start counting from zero. When the count value of the reference counter 150 reaches a preset counting threshold, both counters stop counting. During normal calibration, when the real-time count value of the reference counter 150 reaches the preset counting threshold, the counting control unit 170 simultaneously stops both the reference counter 150 and the delay counter 160. At this time, the reference count information equals the preset counting threshold. Since the frequency of the reference clock is known, the frequency of the clock under test can be calculated based on the ratio of the two count values. The clock under test refers to the delayed signal after passing through the transmission channel to be calibrated. Specifically, let the reference clock... The frequency is Clock under test The frequency is Reference counter The count value, i.e., the reference count information, is Delay counter The count value, i.e., the delay count information, is Then the frequency of the clock to be measured can be calculated as follows:

[0053] In the embodiments of this specification, the period of the clock under test is 1 / The loop delay of the transmission channel to be calibrated is half the period of the clock to be tested. The one-way delay of the transmission channel to be calibrated is the time required for a signal to pass through the transmission channel to be calibrated in one direction and once.

[0054] In the embodiments described in this specification, according to the above formula, the frequency error of the clock under test depends on... The deviation between the measured value and the theoretical value. Because the accuracy of the counter is limited, Theoretical value measured value Let the actual frequency of the clock to be measured be... The measurement frequency is Therefore, the maximum frequency error of the clock under test is:

[0055] When the measurement accuracy is When the following equation is satisfied:

[0056] Based on the above two equations, we can deduce that:

[0057] Assumption The range is 400MHz~562.5MHz. and The range is 100MHz~500MHz, then The theoretical minimum value is 112500. When the counter's bit width is 17 bits, the counter's counting range can meet the following requirements. The theoretical minimum value.

[0058] In the embodiments described in this specification, calibration compensation information represents the time offset that needs to be applied to adjust the signal edge transmitted by the transmission channel to the target timing position. The calibration compensation information can be a positive or negative time offset. Specifically, calibration compensation information = reference delay. One-way delay. In applications where the transmission channel to be calibrated is a single channel, the reference delay refers to the preset target delay, that is, the expected transmission time for the signal to reach the input of the Device Under Test (DUT) during testing. In other words, the signal is emitted from the timing generation module, adjusted through calibration compensation, transmitted through the transmission channel to be calibrated, and finally reaches the input of the DUT. The purpose of calibration is to ensure that the signal edge arrives at the DUT input at the desired time. If the calibration compensation information is positive, the signal edge is delayed by the corresponding amount of time relative to its initial position; if the calibration compensation information is negative, the signal edge is advanced by the corresponding amount of time relative to its initial position, so that after the inherent delay of the channel, the signal's arrival time matches the expected arrival time.

[0059] For example, if the one-way delay of channel A is 500ps and the preset target delay is 200ps, that is, the total time for the signal to reach the input of the device under test from the output of the timing generation module is expected to be 200ps, then the calibration compensation information corresponding to channel A is 200ps - 500ps = -300ps. The calibration compensation value is negative, which means that the timing generation module should send the signal edge 300ps in advance, and after a 500ps delay in the channel, it will reach the input of the device under test at 200ps.

[0060] The embodiments in this specification accurately calculate the loop delay based on two sets of counting information from the reference path and the delay path. Then, half of the loop delay is used as the one-way delay of the transmission channel to be calibrated. Based on the one-way delay, accurate channel calibration compensation information is obtained, thereby improving the accuracy of signal transmission channel delay calibration.

[0061] In this embodiment of the specification, when there are multiple transmission channels to be calibrated, the calibration calculation unit 190 is further configured to: Obtain the unidirectional delay corresponding to each of the multiple transmission channels to be calibrated; Determine the maximum delay among the unidirectional delays corresponding to each of the plurality of transmission channels to be calibrated; Based on the maximum delay and the unidirectional delay corresponding to each transmission channel to be calibrated, the calibration compensation information corresponding to each transmission channel to be calibrated is determined.

[0062] In the embodiments of this specification, in application scenarios where there are multiple transmission channels to be calibrated, the reference delay refers to the longest one-way delay among the multiple channels, that is, the maximum delay among the one-way delays corresponding to each of the multiple transmission channels to be calibrated. For each transmission channel to be calibrated, the calibration compensation information = maximum delay. This channel has a one-way delay. That is, after each channel adjusts the edge of its initial output signal based on its own calibration compensation information, the signal edges of all channels will arrive at the target timing position simultaneously after their inherent delay, thus achieving timing alignment between channels.

[0063] For example, if the transmission channels to be calibrated include channel A, channel B, and channel C, with one-way delays of 100ps, 200ps, and 150ps respectively, and the maximum one-way delay among the multiple transmission channels to be calibrated is 200ps, then the calibration compensation information for each channel is determined as follows: Calibration compensation information for channel A = 200ps 100ps = 100ps, a positive value, indicating that the timing generation module should issue the initial output signal edge of channel A with a delay of 100ps relative to the initial position; Calibration compensation information for channel B = 200ps 200ps = 0ps, indicating that the initial output signal edge of channel B does not need to be adjusted; Calibration compensation information for channel C = 200ps 150ps = 50ps, which is a positive value, indicating that the timing generation module should issue the initial output signal edge of channel C with a delay of 50ps relative to the initial position.

[0064] After the above calibration, the signal edges of each channel arrive at the input terminal of the device under test simultaneously, thereby achieving timing alignment between multiple channels and eliminating the timing deviation between channels caused by the inherent transmission delay differences of each channel.

[0065] In this embodiment of the specification, the process for determining channel calibration compensation information is as follows: The transmission channel to be calibrated is connected to the delay counting module 30; power-on reset is performed, resetting the self-oscillation unit 100, reference counter 150, delay counter 160, valid flag, and calibration compensation register; the register cfg_ac_cal_sel is set to select the current transmission channel to be calibrated, and the register cfg_counter_ceil is set to configure a preset counting threshold, for example, not less than 112500, to meet the statistical requirements in high-precision measurement scenarios; the register cfg_clk_mea_en is set to 1, enabling the self-oscillation unit 100 to generate an oscillation signal, which is then sent to the reference counting module 20 and the delay counting module 30 respectively; the reference counting module 20 performs edge detection on the oscillation signal. The system performs edge detection and counting on the delayed signal after passing through the transmission channel to be calibrated to obtain reference count information. Simultaneously, the delay counting module 30 performs edge detection and counting on the delayed signal to obtain delay count information. When the count value of the reference counter 150 reaches a preset counting threshold, the counting control unit 170 controls the reference counter 150 and the delay counter 160 to stop counting and latch the result through a cross-clock domain handshake. The register ro_counter_valid is set to 1, indicating that the counting result has been latched. The calibration calculation unit 190 reads the reference count information and the delay count information, calculates the calibration compensation information of the transmission channel to be calibrated, and writes the calibration compensation information of the transmission channel to be calibrated into the calibration compensation register. The register cfg_clk_mea_en is set to 0 to shut down the self-excited oscillation unit 100 and clear the counter, preparing for the next calibration.

[0066] In the embodiments described in this specification, in a multi-channel calibration scenario, a shared self-excited oscillation unit can be distributed to multiple channels via a buffer tree, or a local self-excited oscillation unit can be set near each channel. The shared scheme is beneficial for reducing area and power consumption. The counting control unit can configure the register cfg_ac_cal_sel sequentially according to the channel number, and execute the above-described channel calibration compensation information determination process for each channel. The reference count information and delay count information for each channel are latched or written to the calibration table respectively.

[0067] In a multi-channel calibration scenario, this specification describes an embodiment that acquires the unidirectional delays of multiple transmission channels to be calibrated, determines the maximum delay, and determines calibration compensation information for each channel based on the difference between the maximum delay and the unidirectional delay of each channel. Finally, calibration is performed on each channel based on the calibration compensation information. By employing a compensation strategy aligned with the maximum delay, timing alignment between multiple channels is achieved, eliminating inter-channel timing deviations caused by inherent differences in transmission delays.

[0068] This application embodiment also provides a signal generation system, the system including a signal transmission channel calibration device and a timing generation module 50, the timing generation module 50 being used for: Generate the initial output signal corresponding to the transmission channel to be calibrated; Obtain the calibration compensation information corresponding to the transmission channel to be calibrated; The timing of the initial output signal is adjusted based on the calibration compensation information to obtain the target output signal corresponding to the transmission channel to be calibrated.

[0069] In the embodiments described in this specification, see Figure 4 , Figure 4 This is a schematic diagram of a signal generation system provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the input terminal of the timing generation module 50 is connected to the output terminal of the calibration control module 40 (specifically, the output terminal of the calibration calculation unit 190). The timing generation module 50 first generates the initial output signal corresponding to the transmission channel to be calibrated. The initial output signal refers to the original output signal without calibration compensation, whose edges are at an uncalibrated initial position on the time axis. After generating the initial output signal, the timing generation module 50 obtains the calibration compensation information corresponding to the transmission channel to be calibrated from the calibration control module 40. Then, based on the calibration compensation information, the timing generation module 50 adjusts the timing of the initial output signal. Specifically, the timing generation module 50 advances or lags the edges of the initial output signal by a corresponding amount of time on the time axis. For example, when the calibration compensation information is positive, the edges of the initial output signal are delayed by a corresponding amount of time; when the calibration compensation information is negative, the edges of the initial output signal are advanced by a corresponding amount of time; when the calibration compensation information is zero, the edge position remains unchanged. The adjusted signal is the target output signal corresponding to the transmission channel to be calibrated.

[0070] In the embodiments of this specification, the timing generation module 50 outputs the target output signal to the input terminal of the transmission channel to be calibrated. When the target output signal after calibration compensation is transmitted to the input terminal of the device under test through the transmission channel to be calibrated, its edge is exactly aligned with the desired target timing position, thereby realizing the timing calibration of the transmission channel to be calibrated.

[0071] In the embodiments of this specification, the signal edge used for calibration compensation can be a driving edge, a comparison edge, a sampling edge, etc.

[0072] As can be seen from the embodiments of the signal transmission channel calibration device provided by the present invention, the signal transmission channel calibration device of the present invention includes a signal generation module, a reference counting module, a delay counting module, and a calibration control module. The input terminals of the reference counting module and the delay counting module are both connected to the signal generation module, and the output terminals of the reference counting module and the delay counting module are both connected to the calibration control module. The signal generation module is used to generate an oscillation signal. The reference counting module is used to count the oscillation signal within a reference time period to obtain reference counting information. The reference time period is determined based on a reference clock. The delay counting module is used to count the delay signal within the reference time period to obtain delay counting information. The delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated. The calibration control module is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference counting information and the delay counting information. The technical solution provided in the embodiments of this specification counts the oscillation signal through a reference counting module and counts the delayed signal after passing through the transmission channel to be calibrated through a delay counting module. The reference counting module and the delay counting module work in parallel within the same reference time period. Based on the two sets of counting information, accurate channel calibration compensation information can be obtained, thereby improving the accuracy of channel delay calibration based on calibration compensation information.

[0073] This application embodiment also provides a signal transmission channel calibration method, which is applied to the above-mentioned signal transmission channel calibration device, and the method includes: The signal generation module generates an oscillation signal; The reference counting module counts the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module counts the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module determines the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

[0074] In the embodiments described in this specification, see Figure 5 , Figure 5 This is a flowchart illustrating a signal transmission channel calibration method provided in an embodiment of the present invention. Figure 5This describes an application scenario where the transmission channel to be calibrated is a single channel. Specifically, the transmission channel to be calibrated is connected to the delay counting module to form a transmission loop; upon power-on reset, the self-oscillation unit, reference counter, delay counter, valid flag, and calibration compensation register are reset; the register cfg_ac_cal_sel is set to select the current transmission channel to be calibrated, and the register cfg_counter_ceil is set to configure the preset counting threshold; the register cfg_clk_mea_en is set to 1 to enable the self-oscillation unit, generating an oscillation signal, which is then sent to both the reference counting module and the delay counting module; the reference counting module performs edge detection and counting on the oscillation signal to obtain reference counting information C_ref_path, while the delay counting module performs edge detection and counting on the delayed signal after passing through the transmission channel to be calibrated to obtain delay counting information C_tst_path; when the count value of the reference counter reaches the preset counting threshold, the counting begins. The control unit controls the reference counter and delay counter to stop counting and latch the results through cross-clock domain handshake. The register ro_counter_valid is set to 1, indicating that the counting result has been latched. The calibration calculation unit reads the reference count information C_ref_path and the delay count information C_tst_path, calculates the one-way delay t_tst_path / 2 of the transmission channel to be calibrated, and then obtains the calibration compensation information of the transmission channel to be calibrated based on the one-way delay. The calibration compensation information of the transmission channel to be calibrated is written into the calibration compensation register. The register cfg_clk_mea_en is set to 0 to turn off the self-excited oscillation unit and clear the counter. The timing generation module generates the initial output signal corresponding to the transmission channel to be calibrated, obtains the calibration compensation information corresponding to the transmission channel to be calibrated, and adjusts the timing of the initial output signal based on the calibration compensation information to obtain the target output signal corresponding to the transmission channel to be calibrated.

[0075] In the embodiments described in this specification, see Figure 6 , Figure 6 This is a flowchart illustrating a signal transmission channel calibration method provided in an embodiment of the present invention. Figure 6 This describes an application scenario where the transmission channel to be calibrated has multiple channels. Specifically, the multi-channel scan control state machine is configured with cfg_ac_cal_sel sequentially according to the channel number, and executes the command for each channel in turn. Figure 5 The single-channel calibration process shown latches or writes the C_ref_path, C_tst_path, and calibration compensation information for each channel into the calibration table.

[0076] In the embodiments of this specification, in a multi-channel calibration scenario, a shared self-excited oscillation circuit can be distributed to multiple channels via a buffer tree, or a local self-excited oscillation circuit can be set near each channel. The shared scheme is beneficial for reducing area and power consumption.

[0077] This application embodiment also provides a test device, which includes the signal transmission channel calibration device as described above. The test device refers to a semiconductor test equipment (ATE, Automatic Test Equipment) used for testing chips.

[0078] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments, while other embodiments fall within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than those in the embodiments and still achieve the desired results.

[0079] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

[0080] The above-disclosed embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, any equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.

Claims

1. A signal transmission channel calibration device, characterized in that, The device includes a signal generation module (10), a reference counting module (20), a delay counting module (30), and a calibration control module (40). The input terminals of the reference counting module (20) and the delay counting module (30) are both connected to the signal generation module (10), and the output terminals of the reference counting module (20) and the delay counting module (30) are both connected to the calibration control module (40). The signal generating module (10) is used to generate an oscillation signal; The reference counting module (20) is used to count the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module (30) is used to count the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module (40) is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

2. The signal transmission channel calibration device according to claim 1, characterized in that, The signal generation module (10) includes a self-excited oscillation unit (100) and an oscillation control unit (110). The self-excited oscillation unit (100) is used to autonomously generate the oscillation signal; The oscillation control unit (110) is used to control the start-up and shutdown of the self-excited oscillation unit (100).

3. The signal transmission channel calibration device according to claim 2, characterized in that, The signal generation module (10) also includes an isolation unit (120); The isolation unit (120) is used to isolate the self-excited oscillation unit (100) from the reference counting module (20) and the delay counting module (30).

4. The signal transmission channel calibration device according to claim 1, characterized in that, The reference counting module (20) includes a reference edge detection unit (130) and a reference counter (150); The reference edge detection unit (130) is used to perform edge detection processing on the oscillation signal within the reference time period and generate a reference counting pulse; The reference counter (150) is used to count the reference counting pulses to obtain the reference counting information.

5. The signal transmission channel calibration device according to claim 4, characterized in that, The delay counting module (30) includes a delay edge detection unit (140) and a delay counter (160). The delay edge detection unit (140) is used to perform edge detection processing on the delay signal within the reference time period and generate a delay counting pulse. The delay counter (160) is used to count the delay counting pulses to obtain the delay counting information.

6. The signal transmission channel calibration device according to claim 5, characterized in that, The calibration control module (40) includes a counting control unit (170), a register unit (180), and a calibration calculation unit (190). The counting control unit (170) is used to control the start and stop of the reference counter (150) and the delay counter (160); The register unit (180) is used to store the reference count information and the delay count information; The calibration calculation unit (190) is used to determine the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

7. The signal transmission channel calibration device according to claim 6, characterized in that, The counting control unit (170) is also used for: Send a counting start signal to the reference counter (150) and the delay counter (160) to control the reference counter (150) and the delay counter (160) to start counting simultaneously; Monitor the real-time counting information of the reference counter (150); Determine whether the real-time counting information has reached the preset counting threshold. If so, send a counting stop signal to the reference counter (150) and the delay counter (160) to control the reference counter (150) and the delay counter (160) to stop counting simultaneously.

8. The signal transmission channel calibration device according to claim 6, characterized in that, The calibration calculation unit (190) is also used for: Based on the reference count information, the delay count information, and the reference frequency of the reference clock, data fusion processing is performed to obtain the loop delay of the transmission channel to be calibrated; The unidirectional delay of the transmission channel to be calibrated is determined based on the loop delay. The calibration compensation information of the transmission channel to be calibrated is determined based on the unidirectional delay.

9. The signal transmission channel calibration device according to claim 8, characterized in that, When there are multiple transmission channels to be calibrated, the calibration calculation unit (190) is further configured to: Obtain the unidirectional delay corresponding to each of the multiple transmission channels to be calibrated; Determine the maximum delay among the unidirectional delays corresponding to each of the plurality of transmission channels to be calibrated; Based on the maximum delay and the unidirectional delay corresponding to each transmission channel to be calibrated, the calibration compensation information corresponding to each transmission channel to be calibrated is determined.

10. A signal generation system, characterized in that, The system includes a signal transmission channel calibration device as described in any one of claims 1-9 and a timing generation module (50), the timing generation module (50) being used for: Generate the initial output signal corresponding to the transmission channel to be calibrated; Obtain the calibration compensation information corresponding to the transmission channel to be calibrated; The timing of the initial output signal is adjusted based on the calibration compensation information to obtain the target output signal corresponding to the transmission channel to be calibrated.

11. A method for calibrating a signal transmission channel, characterized in that, The method is applied to the signal transmission channel calibration apparatus as described in any one of claims 1-9, and the method includes: The signal generation module generates an oscillation signal; The reference counting module counts the oscillation signal within a reference time period to obtain reference counting information; the reference time period is determined based on a reference clock. The delay counting module counts the delay signal within the reference time period to obtain delay counting information; the delay signal is the signal after the oscillation signal passes through the transmission channel to be calibrated; The calibration control module determines the calibration compensation information of the transmission channel to be calibrated based on the reference count information and the delay count information.

12. A testing device, characterized in that, The testing equipment includes a signal transmission channel calibration device as described in any one of claims 1-9.