Multi-chip system with high-precision clock synchronization

By nesting delay phase-locked loops and transmission line delay elimination circuits, the problem of clock synchronization delay and inconsistency in multi-core systems is solved, high-precision clock synchronization is achieved, and the stability and performance of the system are improved.

CN118426541BActive Publication Date: 2024-10-01WUXI INST OF INTERCONNECT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410890113.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-01
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

There are delays and inconsistencies in clock synchronization in existing multi-core systems, leading to confusion, loss or errors in data transmission, affecting system stability and performance. Especially when synchronizing clocks between multi-core systems, phase-locked loops are difficult to meet high-precision requirements. .

Method used

A nested delay phase-locked loop and a transmission line delay elimination circuit are used to achieve inter-core clock synchronization through the nested delay phase-locked loop, and a transmission line delay elimination circuit is set up in the second type of core to eliminate the transmission line delay. Make the clock synchronization signal phase consistent.

Benefits of technology

It improves the accuracy and reliability of clock phase synchronization between cores, ensures accurate transmission and processing of clock signals, and enhances the stability and performance of multi-core systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118426541B_ABST
    Figure CN118426541B_ABST
Patent Text Reader

Abstract

The present invention relates to a multi-core system for high-precision clock synchronization. It includes at least one first-class core and several second-class cores, and a clock synchronization core unit is formed between a second-class core and the connected first-class core; for any clock synchronization core unit, a first delay phase-locked loop in the first-class core is adaptively connected with a second delay phase-locked loop in the second-class core and a clock tree to form a nested delay phase-locked loop, and through the nested delay phase-locked loop, the phases of the clock synchronization third signal and the clock tree signal corresponding to the clock source signal are consistent. The present invention can realize clock synchronization between cores through nested delay phase-locked loops, and improve the accuracy and reliability of clock phase synchronization between cores by further eliminating transmission line delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a multi-chip system, in particular to a high-precision clock synchronization multi-chip system. Background Art

[0002] In a multi-chip system, each chip may run at a different speed. If there is no clock synchronization, data transmission will be confused, lost or erroneous, affecting the stability and performance of the multi-chip system. Therefore, the clocks of multiple chips in the multi-chip system need to be synchronized. The significance of clock synchronization between multiple chips in a multi-chip system is to ensure that data transmission and communication between each chip can be carried out accurately and synchronously.

[0003] From the above description, it can be seen that through clock synchronization, each chip in the multi-chip system can operate according to a unified clock signal to ensure accurate data transmission and processing, which can avoid data conflicts and losses and improve the reliability and stability of the multi-chip system. In addition, clock synchronization is also conducive to optimizing the energy consumption and performance of the multi-chip system and improving the overall efficiency of the multi-chip system.

[0004] In general, clock synchronization between multi-chips can ensure the normal operation of the multi-chip system, improve the reliability and performance of the multi-chip system, and also facilitate the optimization and debugging of the multi-chip system. Therefore, clock synchronization is a very important link in the design and implementation of a multi-chip system.

[0005] There are two main ways to synchronize the time within the core: clock tree and phase-locked loop. The clock tree plays an important role in the multi-core system. It is responsible for distributing the master clock signal from the clock source to each clock object to ensure that all clock objects work synchronously. The clock object is the circuit or module that needs the clock to work. The clock tree can adjust the clock phase of each branch to ensure that all clock signals are consistent in time and avoid timing errors. Since the clock tree contains a large number of clock buffers, it can drive a large number of clock loads and improve the driving capability of clock distribution; at the same time, the clock tree can also provide clock frequency and phase adjustment functions to meet the clock requirements of different modules.

[0006] In addition, the clock tree also has some defects: First, the clock signal will produce different propagation delays in the tree topology, resulting in inconsistent clock phases in each branch. Second, the clock buffer and wiring parasitic parameters will introduce clock jitter and reduce the timing margin. In addition, large-scale clock trees consume a lot of dynamic power and become a bottleneck for system power consumption. Finally, the wiring of the clock tree is very complex and requires careful design to meet the timing requirements. In a multi-chip system, the clock tree is only suitable for clock synchronization within a single chip, and cannot synchronize the clocks between multiple chips.

[0007] The phase-locked loop is a widely used circuit design technology whose main function is to achieve phase synchronization of the clock signal inside the chip. It achieves clock synchronization by continuously adjusting the phase of the output signal to ensure consistency with the reference signal. However, when dealing with clock synchronization between multiple chips, the phase-locked loop encounters a major challenge, namely the inherent delay problem of the transmission line. Since it takes time for the signal to propagate in the transmission line, this causes a delay in the signal transmission from one chip to another, which in turn affects the synchronization of the clock phase between multiple chips. This inherent delay of the transmission line has a significant impact on the transmission speed and accuracy of the clock signal. Therefore, when designing a multi-chip system, in addition to the phase-locked loop technology, it is also necessary to consider the comprehensive application of other compensation technologies to improve the overall performance of clock phase synchronization.

[0008] In summary, although the phase-locked loop performs well in clock synchronization within the chip, it still has its limitations in synchronization between multiple chips and it is difficult to meet the clock synchronization requirements of the multi-chip system. Summary of the invention

[0009] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a multi-chip system with high-precision clock synchronization, which can achieve clock synchronization between chips by nesting delay phase-locked loops, and improve the accuracy and reliability of clock phase synchronization between chips by further eliminating transmission line delays.

[0010] According to the technical solution provided by the present invention, a high-precision clock synchronization multi-chip system comprises at least one first-type chip and a plurality of second-type chips, wherein:

[0011] The first type of coreparticle provides a clock source, one or more second type of coreparticles are adapted to be connected with the first type of coreparticle, and a second type of coreparticle and the connected first type of coreparticle form a clock synchronization coreparticle unit;

[0012] For any clock synchronization core unit, a first delay phase-locked loop in a first type of core is adaptively connected with a second delay phase-locked loop in a second type of core and a clock tree to form a nested delay phase-locked loop, wherein:

[0013] The first delay phase-locked loop performs phase synchronization on the clock source signal and the clock synchronization first signal to generate a clock synchronization second signal after the phase synchronization, wherein:

[0014] The clock source signal is generated by the clock source provided by the first type of core particle.

[0015] The first clock synchronization signal is a clock signal received by the first type of core particle when the second type of core particle outputs the third clock synchronization signal to the first type of core particle;

[0016] The clock synchronization third signal is a clock signal generated after the second delay phase-locked loop synchronizes the phases of the clock synchronization fourth signal and the clock tree signal.

[0017] The fourth clock synchronization signal is a clock signal received by the second type of core particle when the first type of core particle sends the second clock synchronization signal to the second type of core particle;

[0018] The clock tree signal is a clock synchronization fourth signal generated via the clock tree;

[0019] Through the nested delay phase-locked loop, the phases of the clock synchronization third signal, the clock signal corresponding to the clock tree signal and the clock source signal are consistent.

[0020] The first delay phase-locked loop and the second delay phase-locked loop both include a basic delay phase-locked loop, wherein:

[0021] The basic delay phase-locked loop includes a phase detector, a charge pump, a low-pass filter and an adjustable delay chain connected in sequence;

[0022] In the first delay phase-locked loop, the clock source signal is simultaneously loaded into the corresponding phase detector and the adjustable delay chain, and the phase detector also receives the clock synchronization first signal, and outputs the clock synchronization second signal through the adjustable delay chain;

[0023] In the second delay phase-locked loop, the clock-synchronized second signal is loaded into the corresponding adjustable delay chain, the clock tree signal is loaded into the corresponding phase detector, and the clock-synchronized third signal output by the adjustable delay chain is loaded into the phase detector.

[0024] The clock synchronization core unit also includes a clock signal transmission line unit and a transmission line delay elimination circuit for eliminating transmission line delay, wherein:

[0025] The clock signal transmission line unit comprises a first transmission line for transmitting a clock synchronization second signal, a second transmission line for transmitting a clock synchronization first signal, and a delay calibration transmission line for transmission line delay calibration;

[0026] The transmission line delay elimination circuit is located in the second type of core particle and is adaptively connected to the output end of the second delay phase-locked loop in the second type of core particle. The clock synchronization third signal generated by the second delay phase-locked loop passes through the transmission line delay elimination circuit and the second transmission line in sequence to form a clock synchronization first signal.

[0027] The clock synchronization first signal forms a delay calibration signal through the delay calibration transmission line, and the formed delay calibration signal is loaded into the transmission line delay elimination circuit;

[0028] Based on the clock synchronization third signal and the delay calibration signal, the transmission line delay elimination circuit eliminates the transmission line delay generated by the clock synchronization third signal via the second transmission line, so that the phase of the clock synchronization first signal is synchronized with the phase of the clock synchronization third signal.

[0029] The transmission line delay elimination circuit includes a reconfigurable delay line unit and a time sensing & logic operation unit adaptively connected to the reconfigurable delay line unit, wherein:

[0030] The clock synchronization third signal is loaded into the reconfigurable delay line unit, and a reconfigurable delay signal is generated through the reconfigurable delay line unit. The reconfigured delay signal is transmitted to the first type of core particle through the second transmission line to form a clock synchronization first signal;

[0031] The clock synchronization third signal, the reconstruction delay signal, and the delay calibration signal are loaded into the time sensing & logic operation unit, wherein,

[0032] Based on the time-synchronized third signal and the reconstructed delay signal, a calibration time code is generated in the time sensing & logic operation unit ;

[0033] Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay code is generated in the time sensing & logic operation unit. ;

[0034] Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, a clock cycle code T is generated in the time sensing & logic operation unit. CLK ;

[0035] Based on calibrated time code , transmission line delay code And the clock cycle code , the time sensing & logic operation unit calculates and generates a delay elimination control code RDL_C, and loads the delay elimination control code RDL_C into the reconfigurable delay line unit;

[0036] Based on the delay elimination control code RDL_C, a reconstructed delay amount of the reconstructable delay line unit is configured, wherein, based on the configured reconstructed delay amount, a phase of the reconstructed delay signal is ahead of a phase of the time synchronization third signal by a delay amount of the second transmission line;

[0037] Based on the reconstructed delay amount of the reconfigurable delay line unit, when the clock synchronization third signal forms the corresponding clock synchronization first signal through the reconfigurable delay line unit and the second transmission line, the phase of the clock synchronization first signal is the same as the phase of the clock synchronization third signal.

[0038] For the delay elimination control code RDL_C generated by calculation, we have:

[0039]

[0040] Among them, when > hour, is 1, when < hour, is -1.

[0041] The reconfigurable delay line unit includes N+1 reconfigurable delay circuits cascaded in sequence, wherein:

[0042] The first reconfigurable delay circuit receives the clock synchronization third signal and outputs a reconfigured delay signal through the reconfigurable delay circuit at the tail end;

[0043] Any reconfigurable delay circuit includes a reconfigurable delay multiplexer and a weighted delay unit adaptively connected to the second input end of the reconfigurable delay multiplexer;

[0044] When the reconfigurable delay circuits are cascaded, along the cascade direction of the reconfigurable delay circuits, the first input end of the reconfigurable delay multiplexer in the next reconfigurable delay circuit and the input end of the weighted delay unit are both connected to the output end of the reconfigurable delay multiplexer in the previous reconfigurable delay circuit;

[0045] The N+1 delay elimination control subcodes of the delay elimination control code RDL_C are respectively loaded into the selection ends of the corresponding reconstruction delay multiplexers.

[0046] Along the cascade direction of the reconfigurable delay circuit, the delay weights of the weighted delay units increase geometrically;

[0047] When the delay elimination control code RDL_C is a binary code, the reconstructed delay multiplexer is a two-to-one selector.

[0048] The time sensing & logic operation unit includes a time sensing part and an operation part adapted to be connected to the time sensing part, wherein:

[0049] The time sensing unit includes a calibration time sensing unit, a transmission line delay sensing unit and a clock cycle sensing unit.

[0050] The calibration time sensing unit, the transmission line delay sensing unit, and the clock cycle sensing unit are all adaptively connected to the computing unit;

[0051] Based on the time synchronization third signal and the reconstructed delay signal, the calibration time sensing unit generates a calibration time code ;

[0052] Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay sensing unit generates a transmission line delay code ;

[0053] Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, the clock cycle sensing unit generates a clock cycle code T CLK ;

[0054] Based on calibrated time code , transmission line delay code And the clock cycle code , the operation unit calculates and generates the delay elimination control code RDL_C.

[0055] The calibration time sensing unit includes a calibration sensing first delay unit, a calibration sensing second delay unit and a phase difference comparison unit, wherein:

[0056] The calibration sensing first delay unit, the calibration sensing second delay unit and the phase difference comparison unit are adaptively connected,

[0057] The phase difference comparison unit includes N+1 calibration sensing D flip-flops arranged in sequence;

[0058] The calibration sensing first delay unit includes N calibration sensing first delay devices cascaded in sequence, wherein, in the calibration sensing first delay unit, an input end of a first calibration sensing first delay device receives a time synchronization third signal and is connected to a D end of a first calibration sensing D flip-flop in the phase difference comparison unit, and an output end of each calibration sensing first delay device is connected to a D end of a corresponding calibration sensing D flip-flop in the phase difference comparison unit;

[0059] The calibration sensing second delay unit includes N calibration sensing second delay devices cascaded in sequence, wherein, in the calibration sensing second delay unit, an input end of a first calibration sensing second delay device receives a reconstructed delay signal and is connected to a CLK end of a first calibration sensing D flip-flop in a phase difference comparison unit, and an output end of each calibration sensing first delay device is connected to a CLK end of a corresponding calibration sensing D flip-flop in the phase difference comparison unit;

[0060] The delay amount of the calibration sensing first delay device is greater than the delay amount of the calibration sensing second delay device;

[0061] Output calibration time code through N+1 calibration sensing D flip-flops .

[0062] For the number N of calibration sensing first delay devices in the calibration sensing first delay unit, we have:

[0063]

[0064] in, To calibrate the delay amount of the first delay device, To calibrate the delay amount of the second sensing delay device, is the maximum phase difference.

[0065] The advantages of the present invention are as follows: when a second-type core particle and the connected first-type core particle form a clock synchronization core particle unit, the first delay phase-locked loop in the first-type core particle can be adaptively connected with the second delay phase-locked loop in the second-type core particle and the clock tree to form a nested delay phase-locked loop. Through the nested delay phase-locked loop, the phases of the clock synchronization third signal and the clock signal corresponding to the clock tree signal are consistent with the phases of the clock source signal, that is, the clock synchronization between the core particles can be achieved through the nested delay phase-locked loop;

[0066] For the transmission line delay between the clock synchronization third signal and the clock synchronization first signal, a transmission line delay elimination circuit can be set in the second type of core particle. The transmission line delay elimination circuit can be used to eliminate the transmission line delay, so that the phase between the clock synchronization third signal and the clock synchronization first signal is consistent, thereby further improving the accuracy and reliability of the clock phase synchronization between the core particles. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 A block diagram of an embodiment of a clock synchronization chiplet unit in a multi-chiplet system of the present invention.

[0068] Figure 2 A schematic diagram of an embodiment of a nested delay-locked loop of the present invention.

[0069] Figure 3 It is a schematic diagram of an embodiment of the transmission line delay elimination circuit and the first type of core particle of the present invention.

[0070] Figure 4 It is a schematic diagram of an embodiment of a reconfigurable delay line unit of the present invention.

[0071] Figure 5 A structural block diagram of an embodiment of the time sensing & logic operation unit of the present invention.

[0072] Figure 6 FIG. 1 is a schematic diagram of an embodiment of a calibration time sensing unit according to the present invention.

[0073] Figure 7 FIG. 1 is a schematic diagram of an embodiment of calibrating the working timing of the time sensing unit according to the present invention.

[0074] Figure 8 The figure is a schematic diagram of an embodiment of an addition and subtraction operation unit in the operation part of the present invention.

[0075] Explanation of the accompanying drawings: 1-first type of core particles, 2-second type of core particles, 10-first delay phase-locked loop, 11-second delay phase-locked loop, 12-transmission line delay elimination circuit, 13-clock tree, 14-phase detector, 15-charge pump, 16-low-pass filter, 17-adjustable delay chain, 20-reconfigurable delay line unit, 21-time sensing & logic operation unit, 22-clock signal inverter, 23-divider, 30-weighted delay unit, 31-reconstruction delay multiplexer, 32-reconfigurable delay circuit, 40-calibration sensing first delay unit, 41-phase difference comparison unit, 42-calibration sensing second delay unit, 50-1-bit full adder, 51-addition and subtraction selector, 52-addition and subtraction inverter, 110-first transmission line, 120-second transmission line, 130-delay calibration transmission line, 201-time sensing unit, 202-operation unit. DETAILED DESCRIPTION

[0076] The present invention will be further described below in conjunction with specific drawings and embodiments.

[0077] In order to achieve high-precision clock synchronization, the present invention provides a high-precision clock synchronization multi-chip system. Specifically, the multi-chip system includes at least one first-type chip 1 and a plurality of second-type chips 2, wherein:

[0078] The first type of coreparticle 1 provides a clock source, one or more second type of coreparticles 2 are adapted to be connected with the first type of coreparticle 1, and a clock synchronization coreparticle unit is formed between a second type of coreparticle 2 and the connected first type of coreparticle 1;

[0079] For any clock synchronization core unit, the first delay phase-locked loop 10 in the first type core 1 is adaptively connected with the second delay phase-locked loop 11 in the second type core 2 and the clock tree 13 to form a nested delay phase-locked loop, wherein:

[0080] The first delay phase-locked loop 10 performs phase synchronization on the clock source signal and the clock synchronization first signal to generate a clock synchronization second signal after phase synchronization, wherein:

[0081] The clock source signal is generated by the clock source provided by the first type of core particle 1.

[0082] The clock source signal is generated by the clock source provided by the first type of core particle.

[0083] The first clock synchronization signal is a clock signal received by the first type of core particle 1 when the second type of core particle 2 outputs the third clock synchronization signal to the first type of core particle 1;

[0084] The clock synchronization third signal is a clock signal generated after the second delay phase-locked loop 11 synchronizes the phases of the clock synchronization fourth signal and the clock tree signal.

[0085] The fourth clock synchronization signal is a clock signal received by the second type of core particle 2 when the first type of core particle 1 sends the second clock synchronization signal to the second type of core particle 2;

[0086] The clock tree signal is a clock synchronization fourth signal generated via the clock tree 13;

[0087] Through the nested delay phase-locked loop, the phases of the clock synchronization third signal, the clock signal corresponding to the clock tree signal and the clock source signal are consistent.

[0088] The multi-core system for clock synchronization of the present invention generally includes at least one first-class core 1 and several second-class cores 2, wherein the first-class core 1 is generally a core that can provide a clock source, and the second-class core 2 is generally a core that needs to work under the clock source in the first-class core 1. In the multi-core system, the number of first-class cores 1 and second-class cores 2 can be selected according to actual needs, so as to meet the actual working scene requirements. In order to meet the clock synchronization, the second-class core 2 needs to be adapted and connected with the first-class core 1, that is, one first-class core 1 can be adapted and connected with one or more second-class cores 2. At this time, the first-class core 1 can be clock-synchronized with the second-class core 2 connected to the first-class core 1. In specific implementation, one first-class core 1 and one correspondingly connected second-class core 2 form a clock synchronization core unit. It can be seen that when the first-class core 1 is connected with multiple second-class cores 2, multiple clock synchronization core units can be formed at the same time.

[0089] In one embodiment of the present invention, each clock synchronization core unit may adopt the same clock synchronization method. Figure 1 An embodiment of a clock synchronization core unit is shown in FIG. Figure 1 Taking the clock synchronization core particle unit shown in FIG. 1 as an example, the clock synchronization method and process of the multi-core particle system of the present invention are explained.

[0090] Figure 1 In addition to the clock source, the first type of core particle 1 also needs to have a first delay phase-locked loop 10, and the second type of core particle 2 generally has a second delay phase-locked loop 11 and a clock tree 13. The corresponding functions of the first delay phase-locked loop 10, the second delay phase-locked loop 11, and the clock tree 13 are consistent with the existing ones. In order to achieve clock synchronization between the clock source signals in the second type of core particle 2 and the first type of core particle 1, in one embodiment of the present invention, the first delay phase-locked loop 10 in the first type of core particle 1 is adapted and connected with the second delay phase-locked loop 11 and the clock tree 13 in the second type of core particle 2 to form a nested delay phase-locked loop. Figure 2 An embodiment of forming a nested delay locked loop is shown in FIG.

[0091] In one embodiment of the present invention, the first delay phase-locked loop 10 performs phase synchronization on the clock source signal and the clock synchronization first signal to generate a clock synchronization second signal after phase synchronization. The generated clock synchronization second signal is transmitted to the second type of core particle 2, and a corresponding clock synchronization fourth signal is formed in the second type of core particle 2.

[0092] In the second type of core particle 2, the clock synchronization fourth signal is directly loaded into the second delay phase-locked loop 11, and the clock synchronization fourth signal can generate a clock tree signal through the clock tree 13. The clock tree signal and the clock synchronization fourth signal are simultaneously loaded into the second delay phase-locked loop 11, so that the second delay phase-locked loop 11 performs phase synchronization on the clock synchronization fourth signal and the clock tree signal, and generates a clock synchronization third signal. When the clock synchronization third signal is transmitted to the first delay phase-locked loop 10 in the first type of core particle 1, the corresponding clock synchronization first signal is formed.

[0093] Since the nested delay phase-locked loop includes a first delay phase-locked loop 10 and a second delay phase-locked loop 11, the nested delay phase-locked loop uses the first delay phase-locked loop 10 and the second delay phase-locked loop 11 to perform clock phase synchronization processing. It can be seen that the clock phase synchronization between the second-type core particle 2 and the first-type core particle 1 can be achieved through the nested delay phase-locked loop, and after the clock phase synchronization, at least the clock synchronization third signal and the clock signal corresponding to the clock tree signal can be made consistent in phase with the clock source signal. Therefore, the phase synchronization of the clock tree signal and the clock source signal on any branch of the clock tree 13 in the second-type core particle 2 is achieved, that is, the clock synchronization between the second-type core particle 2 and the first-type core particle 1 is achieved.

[0094] In one embodiment of the present invention, the first delay phase locked loop 10 and the second delay phase locked loop 11 both include a basic delay phase locked loop, wherein:

[0095] The basic delay phase-locked loop includes a phase detector 14, a charge pump 15, a low-pass filter 16 and an adjustable delay chain 17 connected in sequence;

[0096] In the first delay phase-locked loop 10, the clock source signal is simultaneously loaded into the corresponding phase detector 14 and the adjustable delay chain 17, and the phase detector 14 also receives the clock synchronization first signal, and outputs the clock synchronization second signal through the adjustable delay chain 17;

[0097] In the second delay phase-locked loop 11 , the clock synchronization second signal is loaded into the corresponding adjustable delay chain 17 , the clock tree signal is loaded into the corresponding phase detector 14 , and the clock synchronization third signal output by the adjustable delay chain 17 is loaded into the phase detector 14 .

[0098] It can be seen from the above description that the first delay phase-locked loop 10 and the second delay phase-locked loop 11 can adopt the existing commonly used structural forms. Figure 2FIG. 1 shows an embodiment in which the first delay phase-locked loop 10 and the second delay phase-locked loop 11 adopt the same structure, that is, the first delay phase-locked loop 10 and the second delay phase-locked loop 11 can be formed by the same basic delay phase-locked loop. Figure 2 In the embodiment, a basic delay phase-locked loop includes a phase detector 14, a charge pump 15, a low-pass filter 16 and an adjustable delay chain 17 connected in sequence, wherein:

[0099] The phase detector 14 converts the phase difference of the input signal into voltage or current, usually with two clock signals as input signals, and the size of the output signal is proportional to the phase difference between the rising edges of the two signals. The main function of the charge pump 15 is to convert the output signal of the phase detector 14 into electric charge, and transmit the converted charge to the low-pass filter 16. The function of the low-pass filter 16 is to filter out the high-frequency components and noise components in the output charge from the charge pump 15, and obtain a clean control voltage to control the frequency and phase of the adjustable delay chain 17; the adjustable delay chain 17 outputs the clock signal after the delay is adjusted, specifically, the clean control voltage obtained by the output of the low-pass filter 16, specifically refers to the control voltage obtained after filtering by the low-pass filter 16 does not contain high-frequency components and noise components.

[0100] It can be understood that the function of the basic delay phase-locked loop is to ensure the phase synchronization of the two clocks input to the phase detector 14. The phase detector 14, charge pump 15, low-pass filter 16 and adjustable delay chain 17 in the basic delay phase-locked loop can all adopt commonly used circuit forms to meet the working conditions of the delay phase-locked loop.

[0101] Figure 2 In the example, clk_tree is the clock tree signal, fb is the third clock synchronization signal, fb' is the first clock synchronization signal, clk_ref is the clock source signal, This is the fourth clock synchronization signal. This is the second clock synchronization signal.

[0102] Figure 2 In the embodiment, for the phase detector 14 in the first delay phase-locked loop 10, the two input signals of the phase detector 14 are the clock source signal and the first clock synchronization signal; for the phase detector 14 in the second delay phase-locked loop 11, the two input signals of the phase detector 14 are the clock tree signal and the third clock synchronization signal. When the transmission delay between the third clock synchronization signal and the first clock synchronization signal is ignored, based on Figure 2 It can be seen from the nested delay phase-locked loop and the working principle of the delay phase-locked loop that the phases of the clock synchronization third signal, the clock signal corresponding to the clock tree signal and the clock source signal are consistent through the nested delay phase-locked loop.

[0103] In one embodiment of the present invention, the clock synchronization core unit further includes a clock signal transmission line unit and a transmission line delay elimination circuit 12 for eliminating transmission line delay, wherein:

[0104] The clock signal transmission line unit comprises a first transmission line 110 for transmitting a clock synchronization second signal, a second transmission line 120 for transmitting a clock synchronization first signal, and a delay calibration transmission line 130 for transmission line delay calibration;

[0105] The transmission line delay elimination circuit 12 is located in the second type of core particle 2 and is adaptively connected to the output end of the second delay phase-locked loop 11 in the second type of core particle 2. The clock synchronization third signal generated by the second delay phase-locked loop 11 passes through the transmission line delay elimination circuit 12 and the second transmission line 120 in sequence to form a clock synchronization first signal.

[0106] The clock synchronization first signal forms a corresponding delay calibration signal through the delay calibration transmission line 130, and the formed delay calibration signal is loaded into the transmission line delay elimination circuit 12;

[0107] Based on the clock synchronization third signal and the delay calibration signal, the transmission line delay elimination circuit 12 eliminates the transmission line delay generated by the clock synchronization third signal transmitted via the second transmission line 120, so that the phase of the clock synchronization first signal is consistent with the phase of the clock synchronization third signal.

[0108] It can be understood that when the clock synchronization is performed between the first type of core particle 1 and the second type of core particle 2, the clock signal needs to be transmitted between the first type of core particle 1 and the second type of core particle 2 through the corresponding transmission line. Figure 1 and Figure 2 FIG. 1 shows an embodiment of clock signal transmission between the first type core particle 1 and the second type core particle 2 through the clock signal transmission line unit. Figure 1 In the figure, the clock signal transmission line unit includes a first transmission line 110, a second transmission line 120 and a delay calibration transmission line 130. It can be seen that when the clocks between the first type core particle 1 and the second type core particle 2 are synchronized, at least the first transmission line 110 and the second transmission line 120 are required, wherein the clock synchronization second signal can be transmitted to the second type core particle 2 through the first transmission line 110, and the corresponding clock synchronization fourth signal can be obtained in the second type core particle 2; the clock synchronization third signal can be transmitted to the first type core particle 1 through the second transmission line 120, and the corresponding clock synchronization first signal can be obtained in the first type core particle 1.

[0109] Since there is a transmission line delay when the clock synchronization third signal is transmitted to the first type of core particle 1 via the second transmission line 120, it is known to those skilled in the art that the phase between the clock synchronization third signal and the clock synchronization first signal is different. In order to eliminate the transmission line delay and further improve the accuracy of clock synchronization between the first type of core particle 1 and the second type of core particle 2, in one embodiment of the present invention, a transmission line delay elimination circuit 12 can be used to eliminate the transmission delay generated by the second transmission line 120. Figure 1 In the figure, the transmission line delay elimination circuit 12 is located in the second type of core particle 2, and the transmission line delay elimination circuit 12 is located between the output end of the second delay phase-locked loop 11 and the second transmission line 120. In the figure, the transmission line delay elimination circuit 12 is adaptively connected to the output end of the second delay phase-locked loop 11, and the clock synchronization third signal generated by the second delay phase-locked loop 11 is sequentially generated through the transmission line delay elimination circuit 12 and the second transmission line 120 to generate the corresponding clock synchronization first signal.

[0110] In order to eliminate the transmission line delay, the clock synchronization first signal needs to be transmitted to the transmission line delay elimination circuit 12 via the delay calibration transmission line 130, wherein the clock synchronization first signal can form a corresponding delay calibration signal after being transmitted via the delay calibration transmission line 130. In specific implementation, based on the clock synchronization third signal and the delay calibration signal, the transmission line delay elimination circuit 12 can eliminate the transmission line delay generated by the second transmission line 120. After eliminating the delay generated by the second transmission line 120, the phase of the clock synchronization first signal is consistent with the phase of the clock synchronization third signal. It can be seen that the clock phase synchronization of the clock synchronization first signal and the clock synchronization third signal is achieved.

[0111] In specific implementation, the first transmission line 110, the second transmission line 120 and the delay calibration transmission line 130 can adopt existing commonly used transmission line forms, and the form of the transmission line can be selected according to needs to meet the transmission of the corresponding clock signal.

[0112] In one embodiment of the present invention, the transmission line delay elimination circuit 12 includes a reconfigurable delay line unit 20 and a time sensing & logic operation unit 21 adaptively connected to the reconfigurable delay line unit 20, wherein:

[0113] The clock synchronization third signal is loaded into the reconfigurable delay line unit 20, and a reconfigurable delay signal is generated through the reconfigurable delay line unit 20, and the reconfigured delay signal is transmitted to the first type of core particle 1 through the second transmission line 120 to form a clock synchronization first signal;

[0114] The clock synchronization third signal, the reconstruction delay signal, and the delay calibration signal are loaded into the time sensing & logic operation unit 21, wherein,

[0115] Based on the time synchronization third signal and the reconstructed delay signal, a calibration time code is generated in the time sensing & logic operation unit 21 ;

[0116] Based on the reconstructed delay signal and the delay calibration signal, a transmission line delay code is generated in the time sensing & logic operation unit 21 ;

[0117] Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, a clock cycle code T is generated in the time sensing & logic operation unit 21. CLK ;

[0118] Based on calibrated time code , transmission line delay code And the clock cycle code , the time sensing & logic operation unit 21 calculates and generates a delay elimination control code RDL_C, and loads the delay elimination control code RDL_C into the reconfigurable delay line unit 20;

[0119] Based on the delay elimination control code RDL_C, the reconstructed delay amount of the reconstructable delay line unit 20 is configured, wherein, based on the configured reconstructed delay amount, the phase of the reconstructed delay signal is ahead of the phase of the time synchronization third signal by the delay amount of the second transmission line 120;

[0120] Based on the reconfigured delay amount of the reconfigurable delay line unit 20, when the clock synchronization third signal forms the corresponding clock synchronization first signal through the reconfigurable delay line unit and the second transmission line 120, the phase of the clock synchronization first signal is the same as the phase of the clock synchronization third signal.

[0121] Figure 3 An embodiment of a transmission line delay elimination circuit 12 is shown in the figure. In the figure, the transmission line delay elimination circuit 12 may include a reconfigurable delay line unit 20 and a time sensing & logic operation unit 21, wherein the reconfigurable delay line unit 20 is adaptively connected to the time sensing & logic operation unit 21, and the specific form of the adaptive connection is specifically described below.

[0122] It can be seen from the above description that in order to eliminate the transmission delay caused by the time synchronization third signal being transmitted through the second transmission line 120, in one embodiment of the present invention, the transmission line delay elimination circuit 12 needs to be based on at least the clock synchronization third signal and the delay calibration signal. Figure 3In the embodiment, the clock synchronization third signal is loaded into the reconfigurable delay line unit 20, and the reconfigurable delay line unit 20 generates a reconstructed delay signal, which is transmitted to the first type of core particle 1 via the second transmission line 120 to form the corresponding clock synchronization first signal. After obtaining the reconstructed delay signal, in addition to being transmitted to the first type of core particle 1 via the second transmission line 120, it also needs to be loaded into the time sensing & logic operation unit 21 together with the clock synchronization third signal and the delay calibration signal.

[0123] In the time sensing & logic operation unit 21, a calibration time code can be generated based on the time synchronization third signal and the reconstructed delay signal. At the same time, based on the reconstructed delay signal and the delay calibration signal, the transmission line delay code can be generated Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, a clock cycle code T can be generated CLK ; Thereafter, based on the calibration time code , transmission line delay code And the clock cycle code The time sensing & logic operation unit 21 calculates and generates a delay elimination control code RDL_C, and loads the delay elimination control code RDL_C into the reconfigurable delay line unit 20.

[0124] From the above description, we can see that the time code calibration , transmission line delay code And the clock cycle code are generated in the time sensing & logic operation unit 21 and are based on the calibrated time code , transmission line delay code And the clock cycle code , the output delay elimination control code RDL_C of the time sensing & logic operation unit 21; in specific implementation, the calibration time code , transmission line delay code , clock cycle code And the delay elimination control code RDL_C are all binary codes.

[0125] In a specific implementation, the reconstruction delay amount of the reconfigurable delay line unit 20 is configured based on the delay elimination control code RDL_C, and the delay of the reconstructed delay signal formed by the reconfigurable delay line unit 20 can be configured based on the configured reconstruction delay amount. At this time, the phase of the reconstructed delay signal is ahead of the phase of the time synchronization third signal by the delay amount of the second transmission line 120, wherein the delay amount ahead of the second transmission line 120 is the transmission line delay amount code Since the phase of the clock delay signal leads the phase of the clock synchronization third signal by the delay amount of the second transmission line 120, it can be seen that when the clock synchronization third signal forms the corresponding clock synchronization first signal through the reconfigurable delay line unit and the second transmission line 120, the phase of the clock synchronization first signal is the same as the phase of the clock synchronization third signal, that is, the transmission line delay is eliminated.

[0126] In one embodiment of the present invention, for the delay elimination control code RDL_C generated by calculation, there is:

[0127]

[0128] Among them, when > hour, is 1, when < hour, is -1.

[0129] Due to the influence of process temperature and voltage fluctuations, the calibration time code Transmission Line Delay Code There will be a difference between them, so the calibration time code is calculated by the time sensing & logic operation unit 21 Transmission Line Delay Code The difference , and based on the calculated difference And the sign bit sign is calibrated, thereby obtaining the delay elimination control code RDL_C.

[0130] In one embodiment of the present invention, the reconfigurable delay line unit 20 includes N+1 reconfigurable delay circuits 32 cascaded in sequence, wherein:

[0131] The first reconfigurable delay circuit 32 receives the clock synchronization third signal and outputs a reconfigured delay signal through the reconfigurable delay circuit 32 at the tail end;

[0132] Any reconfigurable delay circuit 32 includes a reconfigurable delay multiplexer 31 and a weighted delay unit 30 adaptively connected to a second input end of the reconfigurable delay multiplexer 31;

[0133] When the reconfigurable delay circuits 32 are cascaded, along the cascade direction of the reconfigurable delay circuits 32, the first input end of the reconfigurable delay multiplexer 31 in the next reconfigurable delay circuit 32 and the input end of the weighted delay unit 30 are connected to the output end of the reconfigurable delay multiplexer 31 in the previous reconfigurable delay circuit 32;

[0134] The N-bit delay elimination control code RDL_C is loaded into the selection end of the corresponding reconstruction delay multiplexer 31 respectively.

[0135] Figure 4 An embodiment of a reconfigurable delay line unit 20 is shown in FIG. In the figure, the reconfigurable delay line unit 20 includes N+1 reconfigurable delay circuits 32 cascaded in sequence, wherein the value of the value N will be described in detail. For the N+1 cascaded reconfigurable delay circuits 32, the first reconfigurable delay circuit 32 receives the third clock synchronization signal, and the reconfigurable delay circuit 32 at the tail end can output a reconfigured delay signal. The direction from the first reconfigurable delay circuit 32 to the tail end reconfigurable delay circuit 32 is the cascade direction of the reconfigurable delay circuit 32. Figure 4 In the figure, the leftmost reconfigurable delay circuit 32 is the first reconfigurable delay circuit 32, and the rightmost reconfigurable delay circuit 32 is the tail reconfigurable delay circuit 32.

[0136] The reconfigurable delay circuit 32 in the reconfigurable delay line unit 20 can adopt the same circuit architecture. Figure 4 An embodiment of a reconfigurable delay circuit 32 is shown in the figure. In the figure, any reconfigurable delay circuit 32 includes a reconfigurable delay multiplexer 31 and a weight delay unit 30, wherein the output end of the weight delay unit 30 is adaptively connected to the second input end of the reconfigurable delay multiplexer 31, and the weight delay unit 30 can adopt devices with delay capability such as inverters and delay devices.

[0137] The reconfigurable delay circuits 32 are cascaded, specifically, one reconfigurable delay circuit 32 is adaptively connected to the corresponding adjacent reconfigurable delay circuit 32 to form a cascade state. Figure 4 It can be seen that for two reconfigurable delay circuits 32, along the cascade direction, one reconfigurable delay circuit 32 is in front and the other reconfigurable delay circuit 32 is in the back, wherein the front and back specifically refer to the front and back in the cascade direction, such as the first two reconfigurable delay circuits 32, the first / first reconfigurable delay circuit 32 forms the first reconfigurable delay circuit 32, and the second reconfigurable delay circuit 32 forms the second reconfigurable delay circuit 32. The rest of the situations can be referred to here, and examples are not given here one by one. In the figure, the output end of the first reconfigurable delay circuit 32 is adaptively connected to the first input end of the reconfigurable delay multiplexer 31 of the second reconfigurable delay circuit 32 and the input end of the weight delay unit 30. Multiple reconfigurable delay circuits 32 use the same cascade method to form a reconfigurable delay line unit 20.

[0138] In order to configure the reconstruction delay amount of the reconfigurable delay line unit 20, the N-bit delay elimination control code of the delay elimination control code RDL_C needs to be loaded into the selection end of the corresponding reconstruction delay multiplexer 31, that is, the output of the reconstruction delay multiplexer 31 is controlled by using a delay elimination control subcode, and the output of each reconfigurable delay circuit 32 can be configured. By selecting N+1 reconfigurable delay circuits 32, the required reconstruction delay amount can be configured.

[0139] Specifically, the N-bit delay elimination control code of the delay elimination control code RDL_C specifically includes N+1 delay elimination control sub-codes, that is, the number of delay elimination control sub-codes of the delay elimination control code RDL_C is consistent with the number of reconfigurable delay circuits 32 in the reconfigurable delay line unit 20.

[0140] In one embodiment of the present invention, along the cascade direction of the reconfigurable delay circuit 32, the delay weights of the weighted delay units 30 increase geometrically;

[0141] When the delay elimination control code RDL_C is a binary code, the reconstruction delay multiplexer 31 is a two-to-one selector, wherein:

[0142] When the delay elimination control subcode is "1", the second input terminal of the reconstruction delay multiplexer 31 is selected to output.

[0143] When the delay elimination control subcode is "0", the first input terminal of the reconstruction delay multiplexer 31 is selected to output.

[0144] Figure 4 FIG. 2 shows an embodiment in which the delay weights of the weighted delay units 30 in the reconfigurable delay line unit 20 are geometrically increased. In the figure, along the cascade direction, the delay weight of the first weighted delay unit 30 is 1X, the delay weight of the second weighted delay unit 30 is 2X, the delay weight of the third weighted delay unit 30 is 4X, the delay weight of the fourth weighted delay unit 30 is 8X, and so on. The delay weight of the N+1th weighted delay unit 30 is 2X. N X, where X is the delay reference value. The corresponding delay weight of each weighted delay unit 30 is specifically related to the delay implementation method selected by the weighted delay unit 30. During specific implementation, the required delay weight can be obtained by selecting the corresponding weighted delay unit 30.

[0145] Figure 4 FIG. 1 shows an embodiment in which the reconstruction delay multiplexer 31 is a two-choice selector. Specifically, when the delay elimination control subcode is "0", the first input terminal of the reconstruction delay multiplexer 31 is selected to output. Figure 4As can be seen from the above description, when the first input terminal of the reconstruction delay multiplexer 31 is selected to output, the current reconfigurable delay circuit 32 has no delay. When the delay elimination control subcode is "1", the second input terminal of the reconstruction delay multiplexer 31 is selected to output, and the current reconfigurable delay circuit 32 will delay the clock synchronization third signal.

[0146] As can be seen from the above description, based on the delay elimination control code RDL_C, the reconstruction delay amount of the reconfigurable delay line unit 20 can be configured. If the N-bit delay elimination control code of the delay elimination control code RDL_C is "0", then the reconstruction delay amount is 0; if the N-bit delay elimination control code of the delay elimination control code RDL_C is "1", then the reconstruction delay amount is 1X+2X+…+2 N X; when the delay elimination control subcode in the delay elimination control code RDL_C is other cases, the corresponding reconstruction delay amount can be obtained, and no examples are given here. Specifically, when the reconstruction delay amount of the reconfigurable delay line unit 20 is configured based on the N-bit delay elimination control code, then: Yan=a0*1X+a1*2X+…+a N *2 N X, where a0, a1, a N etc. are delay elimination control subcodes; based on N+1 delay elimination control subcodes and corresponding delay weights, the reconstruction delay amount of the reconfigurable delay line unit 20 can be configured.

[0147] It can be understood that when the delay elimination control code based on the delay elimination control code RDL_C configures the reconstruction delay amount, the phase of the reconstructed delay signal mainly leads the phase of the time-synchronized third signal by the delay amount of the second transmission line 120.

[0148] In one embodiment of the present invention, a frequency divider 23 is further included, wherein:

[0149] The frequency divider 23 performs frequency division processing on the clock synchronization third signal, and generates a clock signal required for the time sensing & logic operation unit 21 to work;

[0150] The time sensing & logic operation unit 21 includes a time sensing unit 201 and an operation unit 202 adapted to be connected to the time sensing unit, wherein:

[0151] The time sensing unit 201 includes a calibration time sensing unit, a transmission line delay sensing unit and a clock cycle sensing unit.

[0152] The calibration time sensing unit, the transmission line delay sensing unit, and the clock cycle sensing unit are all adaptively connected to the computing unit 202;

[0153] Based on the time synchronization third signal and the reconstructed delay signal, the calibration time sensing unit generates a calibration time code ;

[0154] Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay sensing unit generates a transmission line delay code ;

[0155] Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, the clock cycle sensing unit generates a clock cycle code T CLK ;

[0156] Based on calibrated time code , transmission line delay code And the clock cycle code , the operation unit 202 calculates and generates the delay elimination control code RDL_C.

[0157] In order to ensure that the time sensing & logic operation unit 21 performs normal time sensing and logic operation, the transmission line delay elimination circuit 12 also includes a frequency divider 23, which mainly divides the clock synchronization third signal, and after the frequency division, generates the clock signal required for the time sensing & logic operation unit 21 to work, such as Figure 3 As shown; in the specific implementation, the frequency divider 23 can adopt the existing commonly used form, and the signal after the frequency division of the frequency divider 23 is based on whether it can meet the working requirements of the time sensing & logic operation unit 21, that is, the frequency divider 23 divides the clock synchronization third signal to generate a divided clock signal, and the time sensing & logic operation unit 21 needs to complete the time sensing and logic operation within the frequency division period of the divided clock signal. Among them, time sensing specifically refers to the time sensing part sensing and generating the corresponding calibration time code , transmission line delay code And the clock cycle code T CLK ; Logical operation, specifically refers to the operation unit 202 completing the logical calculation and generating the delay elimination control code RDL_C.

[0158] also, Figure 3 An embodiment of forming an inverted signal of the third clock synchronization signal is also shown. In the figure, the third clock synchronization signal can form an inverted signal of the third clock synchronization signal through the clock signal inverter 22. Figure 3 middle, It is the inverted signal of the clock synchronization signal. In addition, clk_rdl is the reconstruction delay signal, and clk_rcv is the delay calibration signal.

[0159] From the above description, it can be seen that based on the calibration time code Transmission Line Delay Code , the operation unit 202 can calculate the corresponding difference , in order to increase the difference reliability, in one embodiment of the present invention, the difference The difference signal After being triggered by a synchronous trigger, a difference signal is generated. That is, the signal calculated by the operation unit 202 and not triggered by the synchronization trigger. In addition, the delay elimination control code RDL_C can also be generated by the control code RDL_C' through the corresponding synchronization trigger. The synchronization trigger is mainly composed of a D trigger. The synchronization trigger can adopt an existing commonly used form, such as a difference signal Generates difference value via synchronized trigger When the difference signal As the data input of the synchronous trigger, the clock divided by the frequency divider 23 is used as the clock input of the synchronous trigger. Trigger on the rising edge of the clock input to get the difference The synchronization of the clock signal ensures that the trigger state is updated only when the clock signal jumps, avoiding the problems caused by asynchronous triggering. The method and process of eliminating the control code RDL_C when the control code RDL_C' is triggered by the synchronous trigger can refer to the method of eliminating the control code RDL_C by the difference signal. Generates signal via synchronous trigger The description will not be described in detail here.

[0160] In one embodiment of the present invention, the time sensing & logic operation unit 21 includes a time sensing unit 201 and an operation unit 202 adapted to be connected to the time sensing unit 201. Figure 5 As shown, the time code calibration can be realized by the time sensing unit 201. , transmission line delay code , clock cycle code T CLK Through the sensing and generation of the delay elimination control code RDL_C, the generation and output of the delay elimination control code RDL_C can be realized through the operation unit 202.

[0161] When implementing, calibrate the time code , transmission line delay code , clock cycle code T CLK The sensing and generation of the time code are independent of each other. Based on this, the time sensing unit 201 includes a calibration time sensing unit, a transmission line delay sensing unit and a clock cycle sensing unit. The calibration time sensing unit generates a calibration time code based on the time synchronization third signal and the reconstructed delay signal. Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay sensing unit generates a transmission line delay code Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, the clock cycle sensing unit generates a clock cycle code T CLK .

[0162] In one embodiment of the present invention, the calibration time sensing unit includes a calibration sensing first delay unit 40, a calibration sensing second delay unit 42 and a phase difference comparison unit 41, wherein:

[0163] The calibration sensing first delay unit 40, the calibration sensing second delay unit 42 and the phase difference comparison unit 41 are adaptively connected.

[0164] The phase difference comparison unit 41 includes N+1 calibration sensing D flip-flops arranged in sequence;

[0165] The calibration sensing first delay unit 40 includes N calibration sensing first delay devices cascaded in sequence, wherein, in the calibration sensing first delay unit 40, the input end of the first calibration sensing first delay device receives the time synchronization third signal and is connected to the D end of the first calibration sensing D flip-flop in the phase difference comparison unit 41, and the output end of each calibration sensing first delay device is connected to the D end of the corresponding calibration sensing D flip-flop in the phase difference comparison unit 41;

[0166] The calibration sensing second delay unit 42 includes N calibration sensing second delay devices cascaded in sequence, wherein, in the calibration sensing second delay unit 42, the input end of the first calibration sensing second delay device receives the reconstructed delay signal and is connected to the CLK end of the first calibration sensing D flip-flop in the phase difference comparison unit 41, and the output end of each calibration sensing first delay device is connected to the CLK end of the corresponding calibration sensing D flip-flop in the phase difference comparison unit 41;

[0167] The delay amount of the calibration sensing first delay device is greater than the delay amount of the calibration sensing second delay device;

[0168] Output calibration time code through N+1 calibration sensing D flip-flops .

[0169] Figure 6 An embodiment of a calibration time sensing unit is shown in the figure, in which the calibration time sensing unit includes a calibration sensing first delay unit 40, a calibration sensing second delay unit 42 and a phase difference comparison unit 41, wherein the input end of the calibration sensing first delay unit 40 serves as the Data end of the calibration time sensing unit, the input end of the calibration sensing second delay unit 42 serves as the CLK end of the calibration sensing unit, the clock synchronization third signal is loaded to the input end of the calibration sensing first delay unit 40, and the reconstruction delay signal is loaded to the input end of the calibration sensing second delay unit 42.

[0170] When the delay elimination control code RDL_C has an N-bit delay elimination control code, the calibration time code generated by the calibration time sensing unit is At this time, the phase difference comparison unit 41 includes N+1 calibration sensing D flip-flops arranged in sequence, Figure 6 In the figure, D0~DN are the corresponding calibration sensing D flip-flops.

[0171] In a specific implementation, the calibration sensing first delay unit 40 includes N calibration sensing first delay devices cascaded in sequence. Figure 6 In the figure, DINV1~DINVN are the corresponding calibration sensing first delay devices respectively. The calibration sensing first delay device can adopt the existing commonly used delay device form, such as the inverter form described above. The form of the calibration sensing first delay device can be selected according to needs. When the calibration sensing first delay devices are cascaded, the output end of one calibration sensing first delay device is connected to the input end of the next adjacent calibration sensing first delay device.

[0172] When the calibration sensing first delay unit 40 is connected to the phase difference comparison unit 41, the input end of the first calibration sensing first delay unit is connected to the D end of the first calibration sensing D flip-flop, and the output end of the first calibration sensing first delay unit is connected to the D end of the second calibration sensing D flip-flop. Figure 6 In the circuit, DINV1 is the first calibration sensing first delay device, D0 is the first calibration sensing D flip-flop, D1 is the second calibration sensing D flip-flop, and the output end of the last calibration sensing first delay device (DINVN) is connected to the D end of the last calibration sensing D flip-flop (DN).

[0173] For the calibration sensing first delay devices between the first calibration sensing first delay device and the last calibration sensing first delay device, each calibration sensing first delay device is connected to the D end of the corresponding calibration sensing D trigger, such as the second calibration sensing first delay device is connected to the D end of the third calibration sensing D trigger, the third calibration sensing first delay device is connected to the D end of the fourth calibration sensing D trigger, and so on. That is, for the N calibration sensing first delay devices in the calibration sensing first delay unit 40, the output end of each calibration sensing first delay device is connected to the D end of a corresponding calibration sensing D trigger, and the input end of the first calibration sensing first delay device is also connected to the D end of the first calibration sensing D trigger.

[0174] In a specific implementation, the calibration sensing second delay unit 42 includes N calibration sensing second delay devices cascaded in sequence. Figure 6In the figure, CINV1~CINVN are the corresponding calibration sensing second delay devices, which can be in the form of existing commonly used delay devices, such as the same as the calibration sensing first delay device. When the calibration sensing second delay devices are cascaded, the output end of one calibration sensing second delay device is connected to the input end of the next adjacent calibration sensing second delay device.

[0175] When the second delay unit 42 and the phase difference comparison unit 41 are connected and matched, reference can be made to Figure 6 The calibration sensing first delay unit 40 and the phase difference comparison unit 41 are described correspondingly, except that the calibration sensing second delay device in the calibration sensing second delay unit 42 is connected to the CLK terminal of the calibration sensing D trigger in the phase difference comparison unit 41, which will not be repeated here.

[0176] In one embodiment of the present invention, the number N of the calibration sensing first delay devices in the calibration sensing first delay unit 40 is:

[0177]

[0178] in, To calibrate the delay amount of the first delay device, To calibrate the delay amount of the second sensing delay device, is the maximum phase difference.

[0179] In specific implementation, the calibration sensing first delay unit 40 delays the time synchronization third signal to obtain the corresponding Data signal, the calibration sensing second delay unit 42 delays the reconstruction delay signal to obtain the corresponding CLK signal, and the phase difference comparison unit 41 compares the Data signal and the CLK signal to obtain the corresponding phase difference thermometer code.

[0180] The delay amount of each level of the calibration sensing first delay unit 40 is The delay amount of each level of calibration sensing second delay unit 42 is , delay Slightly larger than the delay . In specific implementation, the delay and delay The smaller the gap, the larger the value of N. At this time, the accuracy of the sensing time is higher, but the cost is that the circuit area will become larger. and delay The larger the gap, the smaller the value of N. In this case, the sensing time accuracy is worse, but the circuit area overhead is small. Therefore, considering the application environment, the value range of N can be 6~12, according to the maximum phase difference. Value, you can get the delay and delay The difference range can be determined by calibrating the delay amount of the first delay device of the sensing And calibrate the delay amount of the second delay device .

[0181] As can be seen from the above description, the time sensing unit 201 may include a calibration time sensing unit, a transmission line delay sensing unit, and a clock cycle sensing unit, wherein the calibration time sensing unit may perform time sensing on the time synchronization third signal and the reconstructed delay signal, and generate a calibration time code. The transmission line delay sensing unit can perform time sensing on the reconstructed delay signal and the delay calibration signal, and generate a transmission line delay code The clock cycle sensing unit can perform time sensing on the time synchronization third signal and the inverted signal of the time synchronization third signal, and generate a clock cycle code T CLK ; Therefore, the maximum phase difference It may be the maximum value of the phase difference when time sensing is performed in the calibration time sensing unit, the transmission line delay sensing unit, and the clock cycle sensing unit.

[0182] Specifically, for the phase difference during time sensing, such as when time sensing is performed on the time-synchronized third signal and the reconstructed delay signal, the corresponding phase difference is the phase difference between the time-synchronized third signal and the reconstructed delay signal; when time sensing is performed on the reconstructed delay signal and the delay calibration signal, the corresponding phase difference is the phase difference between the reconstructed delay signal and the delay calibration signal; when time sensing is performed on the time-synchronized third signal and the inverted signal of the time-synchronized third signal, the corresponding phase difference is the phase difference between the time-synchronized third signal and the inverted signal of the time-synchronized third signal.

[0183] It is understandable that, for the above phase difference, the maximum value of the corresponding phase difference can be determined by the commonly used technical means in the technical field, and then the maximum value of the phase difference is configured as the maximum phase difference. .

[0184] Since the phase of the CLK signal lags behind the phase of the Data signal, the Data signal keeps catching up with the CLK signal until the phase of the CLK signal is synchronized with the phase of the Data signal. Figure 6 The schematic diagram of the working principle of an embodiment of the calibration time sensing unit is shown, where T is the phase difference between the CLK signal and the Data signal, and the minimum delay amount of each stage of catching up is TLSB=t d1 -t d2 .

[0185] Depend on Figure 7It can be seen that in the initial state, the phase difference between the CLK signal and the Data signal is the largest, which can also be obtained as the maximum phase difference , by estimating the maximum phase difference After that, the number N can be calculated according to the above expression. In specific implementation, after the number N is determined, the number of the above-mentioned reconfigurable delay circuits 32, the calibration sensing first delay device, the calibration sensing second delay device and the calibration sensing D flip-flop corresponding number can be determined.

[0186] During specific implementation, the transmission line delay sensing unit and the clock cycle sensing unit may adopt the same form as the calibration time sensing unit. When both adopt the circuit form of the calibration time sensing unit, for the transmission line delay sensing unit, the delay calibration signal is loaded to the CLK end of the transmission line delay sensing unit, and the reconstructed delay signal is loaded to the Data end of the transmission line delay sensing unit; for the clock cycle sensing unit, the clock synchronization third signal is loaded to the Data end of the clock cycle sensing unit, and the inverted signal of the clock synchronization third signal is loaded to the CLK end of the clock cycle sensing unit. Specifically, the Data end and the CLK end may refer to the corresponding description of the calibration time sensing unit, which will not be repeated here.

[0187] From the above description, it can be seen that based on the calibration time code , transmission line delay code And the clock cycle code The operation unit 202 calculates and generates the delay elimination control code RDL_C. From the calculation expression of the delay elimination control code RDL_C, it can be seen that the operation unit 202 needs to perform addition and subtraction operations as well as multiplication and division operations. Therefore, the operation unit 202 may include an addition and subtraction operation unit and a multiplication and division operation unit, and the specific process is based on the ability to execute the above calculation to generate the delay elimination control code RDL_C.

[0188] Figure 8 An embodiment of the addition and subtraction operation unit is shown in FIG. 1 , in which the addition and subtraction operation unit may include N+1 1-bit full adders 50, an addition and subtraction selector 51, and an addition and subtraction inverter 52, wherein:

[0189] The 1-bit full adder 50 includes a first full adder input port, a second full adder input port, a carry input terminal C, an output port S and a carry output Cout.

[0190] N+1 1-bit full adders 50 are cascaded in sequence to form an N+1-bit full adder, wherein, when cascading, the carry output Cout of one 1-bit full adder 50 is connected to the carry input terminal C of the next 1-bit full adder 50;

[0191] The addition and subtraction selector 51 can be a two-choice selector, and the addition and subtraction operations can be switched by using the addition and subtraction selector 51;

[0192] The adder-subtractor inverter 52 is used to invert the binary data B bit by bit. When the mode signal is 0, it is an A+B operation; when the mode signal is 1, it is an AB operation.

[0193] In specific implementation, the 1-bit full adder 50 can adopt an existing commonly used form, the input end of the addition and subtraction inverter 52 is connected to the first input end of the addition and subtraction selector 51, and the output end of the addition and subtraction inverter 52 is connected to the second input end of the addition and subtraction selector 51. The mode signal is loaded to the control end of the addition and subtraction selector 51. When the mode signal is 0, the first input end of the addition and subtraction selector 51 is selected to output, and when the mode signal is 1, the second input end of the addition and subtraction selector 51 is selected to output.

[0194] A is the first addend, B is the second addend, and the calculation expression of the delay elimination control code RDL_C shows that A can be the clock cycle code , B can be the transmission line delay code ; Of course, other addition and subtraction calculations can be referred to here, and will not be repeated here. Figure 8 In the example, the output of the addition and subtraction operation unit is S[N:0], that is, the corresponding addition and subtraction calculation results can be obtained based on S[N:0].

[0195] For the multiplication and division operation unit, the existing commonly used form can be adopted, specifically based on whether it can meet the multiplication and division operation requirements when calculating the delay elimination control code RDL_C.

Claims

1. A multi-chip system with high-precision clock synchronization, characterized in that: The multi-core particle system includes at least one first-type core particle and a plurality of second-type core particles, wherein: The first type of coreparticle provides a clock source, one or more second type of coreparticles are adapted to be connected with the first type of coreparticle, and a second type of coreparticle and the connected first type of coreparticle form a clock synchronization coreparticle unit; For any clock synchronization core unit, a first delay phase-locked loop in a first type of core is adaptively connected with a second delay phase-locked loop in a second type of core and a clock tree to form a nested delay phase-locked loop, wherein: The first delay phase-locked loop performs phase synchronization on the clock source signal and the clock synchronization first signal to generate a clock synchronization second signal after the phase synchronization, wherein: The clock source signal is generated by the clock source provided by the first type of core particle. The first clock synchronization signal is a clock signal received by the first type of core particle when the second type of core particle outputs the third clock synchronization signal to the first type of core particle; The clock synchronization third signal is a clock signal generated after the second delay phase-locked loop synchronizes the phases of the clock synchronization fourth signal and the clock tree signal. The fourth clock synchronization signal is a clock signal received by the second type of core particle when the first type of core particle sends the second clock synchronization signal to the second type of core particle; The clock tree signal is a clock synchronization fourth signal generated via the clock tree; Through the nested delay phase-locked loop, the phases of the clock synchronization third signal, the clock signal corresponding to the clock tree signal and the clock source signal are consistent.

2. The multi-chip system for high-precision clock synchronization according to claim 1, characterized in that: The first delay phase-locked loop and the second delay phase-locked loop both include a basic delay phase-locked loop, wherein: The basic delay phase-locked loop includes a phase detector, a charge pump, a low-pass filter and an adjustable delay chain connected in sequence; In the first delay phase-locked loop, the clock source signal is simultaneously loaded into the corresponding phase detector and the adjustable delay chain, and the phase detector also receives the clock synchronization first signal, and outputs the clock synchronization second signal through the adjustable delay chain; In the second delay phase-locked loop, the clock-synchronized second signal is loaded into the corresponding adjustable delay chain, the clock tree signal is loaded into the corresponding phase detector, and the clock-synchronized third signal output by the adjustable delay chain is loaded into the phase detector.

3. The multi-chip system for high-precision clock synchronization according to claim 1 or 2, characterized in that: The clock synchronization core unit also includes a clock signal transmission line unit and a transmission line delay elimination circuit for eliminating transmission line delay, wherein: The clock signal transmission line unit comprises a first transmission line for transmitting a clock synchronization second signal, a second transmission line for transmitting a clock synchronization first signal, and a delay calibration transmission line for transmission line delay calibration; The transmission line delay elimination circuit is located in the second type of core particle and is adaptively connected to the output end of the second delay phase-locked loop in the second type of core particle. The clock synchronization third signal generated by the second delay phase-locked loop passes through the transmission line delay elimination circuit and the second transmission line in sequence to form a clock synchronization first signal. The clock synchronization first signal forms a delay calibration signal through the delay calibration transmission line, and the formed delay calibration signal is loaded into the transmission line delay elimination circuit; Based on the clock synchronization third signal and the delay calibration signal, the transmission line delay elimination circuit eliminates the transmission line delay generated by the clock synchronization third signal transmitted via the second transmission line, so that the phase of the clock synchronization first signal is synchronized with the phase of the clock synchronization third signal.

4. The multi-chip system for high-precision clock synchronization according to claim 3 is characterized in that: The transmission line delay elimination circuit includes a reconfigurable delay line unit and a time sensing & logic operation unit adaptively connected to the reconfigurable delay line unit, wherein: The clock synchronization third signal is loaded into the reconfigurable delay line unit, and a reconfigurable delay signal is generated through the reconfigurable delay line unit. The reconfigured delay signal is transmitted to the first type of core particle through the second transmission line to form a clock synchronization first signal; The clock synchronization third signal, the reconstruction delay signal, and the delay calibration signal are loaded into the time sensing & logic operation unit, wherein, Based on the time-synchronized third signal and the reconstructed delay signal, a calibration time code is generated in the time sensing & logic operation unit ; Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay code is generated in the time sensing & logic operation unit. ; Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, a clock cycle code T is generated in the time sensing & logic operation unit. CLK ; Based on calibrated time code , transmission line delay code And the clock cycle code , the time sensing & logic operation unit calculates and generates a delay elimination control code RDL_C, and loads the delay elimination control code RDL_C into the reconfigurable delay line unit; Based on the delay elimination control code RDL_C, a reconstructed delay amount of the reconstructable delay line unit is configured, wherein, based on the configured reconstructed delay amount, a phase of the reconstructed delay signal is ahead of a phase of the time synchronization third signal by a delay amount of the second transmission line; Based on the reconstructed delay amount of the reconfigurable delay line unit, when the clock synchronization third signal forms the corresponding clock synchronization first signal through the reconfigurable delay line unit and the second transmission line, the phase of the clock synchronization first signal is the same as the phase of the clock synchronization third signal.

5. The multi-chip system for high-precision clock synchronization according to claim 4 is characterized in that: For the delay elimination control code RDL_C generated by calculation, we have: Among them, when > hour, is 1, when < hour, is -1.

6. The multi-chip system for high-precision clock synchronization according to claim 4, characterized in that: The reconfigurable delay line unit includes N+1 reconfigurable delay circuits cascaded in sequence, wherein: The first reconfigurable delay circuit receives the clock synchronization third signal and outputs a reconfigured delay signal through the reconfigurable delay circuit at the tail end; Any reconfigurable delay circuit includes a reconfigurable delay multiplexer and a weighted delay unit adaptively connected to the second input end of the reconfigurable delay multiplexer; When the reconfigurable delay circuits are cascaded, along the cascade direction of the reconfigurable delay circuits, the first input end of the reconfigurable delay multiplexer in the next reconfigurable delay circuit and the input end of the weighted delay unit are both connected to the output end of the reconfigurable delay multiplexer in the previous reconfigurable delay circuit; The N+1 delay elimination control subcodes of the delay elimination control code RDL_C are respectively loaded into the selection ends of the corresponding reconstruction delay multiplexers.

7. The multi-chip system for high-precision clock synchronization according to claim 6 is characterized in that: Along the cascade direction of the reconfigurable delay circuit, the delay weights of the weighted delay units increase geometrically; When the delay elimination control code RDL_C is a binary code, the reconstructed delay multiplexer is a two-to-one selector.

8. The multi-chip system for high-precision clock synchronization according to claim 4, characterized in that: The time sensing & logic operation unit includes a time sensing part and an operation part adapted to be connected to the time sensing part, wherein: The time sensing unit includes a calibration time sensing unit, a transmission line delay sensing unit and a clock cycle sensing unit. The calibration time sensing unit, the transmission line delay sensing unit, and the clock cycle sensing unit are all adaptively connected to the computing unit; Based on the time synchronization third signal and the reconstructed delay signal, the calibration time sensing unit generates a calibration time code ; Based on the reconstructed delay signal and the delay calibration signal, the transmission line delay sensing unit generates a transmission line delay code ; Based on the time synchronization third signal and the inverted signal of the time synchronization third signal, the clock cycle sensing unit generates a clock cycle code T CLK ; Based on calibrated time code , transmission line delay code And the clock cycle code , the operation unit calculates and generates the delay elimination control code RDL_C.

9. The multi-chip system for high-precision clock synchronization according to claim 8, characterized in that: The calibration time sensing unit includes a calibration sensing first delay unit, a calibration sensing second delay unit and a phase difference comparison unit, wherein: The calibration sensing first delay unit, the calibration sensing second delay unit and the phase difference comparison unit are adaptively connected, The phase difference comparison unit includes N+1 calibration sensing D flip-flops arranged in sequence; The calibration sensing first delay unit includes N calibration sensing first delay devices cascaded in sequence, wherein, in the calibration sensing first delay unit, an input end of a first calibration sensing first delay device receives a time synchronization third signal and is connected to a D end of a first calibration sensing D flip-flop in the phase difference comparison unit, and an output end of each calibration sensing first delay device is connected to a D end of a corresponding calibration sensing D flip-flop in the phase difference comparison unit; The calibration sensing second delay unit includes N calibration sensing second delay devices cascaded in sequence, wherein, in the calibration sensing second delay unit, an input end of a first calibration sensing second delay device receives a reconstructed delay signal and is connected to a CLK end of a first calibration sensing D flip-flop in a phase difference comparison unit, and an output end of each calibration sensing first delay device is connected to a CLK end of a corresponding calibration sensing D flip-flop in the phase difference comparison unit; The delay amount of the calibration sensing first delay device is greater than the delay amount of the calibration sensing second delay device; Output calibration time code through N+1 calibration sensing D flip-flops .

10. The multi-chip system for high-precision clock synchronization according to claim 9, characterized in that: For the number N of calibration sensing first delay devices in the calibration sensing first delay unit, we have: in, To calibrate the delay amount of the first delay device, To calibrate the delay amount of the second sensing delay device, is the maximum phase difference.

Citation Information

Patent Citations

  • Clock tree layout method and device of chip

    CN112084733A

  • Nested delay lock ring

    CN114142855A

  • Real-time fractional frequency division phase-locked loop of nested delay phase-locked loop

    CN117081591A

  • Semiconductor package and method of operating same

    CN118039576A

  • System and Method for Monitoring Computing Platform Parameters and Dynamically Generating and Deploying Monitoring Packages

    US20210374029A1