Clock delay control circuit, method and device, computer equipment and medium
By combining the zero-delay buffer and multiple selection circuit, the precise delay control of the clock signal is achieved, which solves the problems of low precision and poor flexibility of clock delay control in the prior art, and satisfies the delay and skew of the clock signal to the parallel bus Requirements to ensure the stability of data transmission.
Patent Information
- Application Number
- CN202410981422.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, the clock delay control has low accuracy and poor flexibility, making it difficult to meet the requirements of parallel buses for clock signal propagation delay and skew, affecting the accuracy and stability of data transmission.
The combination of zero-delay buffer and multiple-select circuit is adopted to switch the signal transmission path through the multiple-select circuit, accurately adjust the delay time of the clock signal, realize leading or lagging output, and meet the propagation skew requirements of the parallel bus.
It improves the accuracy and flexibility of clock delay control, reduces transmission time difference, ensures stable and reliable transmission of the parallel data bus, and meets the propagation delay and skew requirements of the parallel bus for clock signals.
Smart Images

Figure CN118939078A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a clock delay control circuit, method, device, computer equipment and medium. Background Art
[0002] In electronic systems, the delay control of clock signals is an important issue. For example, in communication systems, the delay of clock signals needs to be accurately controlled to ensure the correct transmission of data; in digital signal processing, the delay of clock signals also needs to be controlled to implement various algorithms. Traditional clock delay control methods are usually implemented using analog circuits or digital circuits, which have disadvantages such as low accuracy and poor flexibility.
[0003] Therefore, how to improve the accuracy and flexibility of clock delay control has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0004] In view of this, the present invention provides a clock delay control circuit, method, apparatus, computer equipment and medium to solve the problems of low precision and poor flexibility of clock delay control in related technologies.
[0005] In a first aspect, the present invention provides a clock delay control circuit, comprising:
[0006] A zero delay buffer, a clock source and a multiplexing circuit; the zero delay buffer comprises a clock input terminal, a feedback output terminal, a feedback input terminal and a clock output terminal;
[0007] The clock source is configured to be connected to a receiving end and to a clock input end of the zero delay buffer; the clock input end of the zero delay buffer is configured to receive a reference clock signal sent by the clock source;
[0008] The feedback output terminal of the zero delay buffer is connected to the multiplexer circuit; the multiplexer circuit is connected to the feedback input terminal of the zero delay buffer; the multiplexer circuit is configured to switch the signal transmission path between the feedback output terminal of the zero delay buffer and the feedback input terminal of the zero delay buffer;
[0009] The clock output terminal of the zero delay buffer is configured to be connected to a receiving terminal.
[0010] In an optional implementation, the multiplexing circuit includes: a first multiplexer, a second multiplexer, a control module, and a transmission line;
[0011] The feedback output terminal of the zero delay buffer is connected to the first multiplexer; the first multiplexer is connected to the second multiplexer through a transmission line;
[0012] The second multiplexer is connected to a feedback input terminal of the zero delay buffer;
[0013] The control module is connected to the first multiplexer and the second multiplexer, and is configured to switch a signal transmission path between the first multiplexer and the second multiplexer.
[0014] In an optional implementation, the first multiplexer and the second multiplexer each include a connection port and a plurality of channel ports;
[0015] The connection port of the first multiplexer is connected to the feedback output terminal of the zero delay buffer;
[0016] The channel port of the first multiplexer is connected to the channel port of the second multiplexer through a transmission line;
[0017] The connection port of the second multiplexer is connected to the feedback input terminal of the zero delay buffer.
[0018] In an optional implementation, the first multiplexer and the second multiplexer each include a plurality of control ports;
[0019] The control module is connected to a control port of the first multiplexer and a control port of the second multiplexer.
[0020] In an optional embodiment, the zero delay buffer includes a phase locked loop, and the phase locked loop includes a phase detector, a filter, an oscillator and a frequency divider;
[0021] The phase detector is configured to receive a signal inputted at a feedback input terminal of the zero delay buffer and a reference clock signal, and generate an error signal representing a phase difference between the signal inputted at the feedback input terminal of the zero delay buffer and the reference clock signal;
[0022] The filter is configured to filter the error signal to generate a first signal;
[0023] The oscillator is configured to adjust the frequency and phase of its output signal according to the first signal;
[0024] The frequency divider is configured to divide the frequency of the output signal of the oscillator to generate a signal whose phase and frequency meet preset conditions with those of the reference clock signal.
[0025] In a second aspect, the present invention provides a clock delay control method, which is applied to the clock delay control circuit of the first aspect or any corresponding embodiment thereof, and the method comprises:
[0026] Acquire a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer;
[0027] Sending a feedback signal outputted from a feedback output terminal of the zero delay buffer to a multi-way selection circuit;
[0028] The output signal of the multiplexer circuit is sent to the feedback input terminal of the zero delay buffer, so that the phase and frequency of the clock signal outputted from the clock output terminal of the zero delay buffer and the reference clock signal meet preset conditions.
[0029] In a third aspect, the present invention provides a clock delay control device, which is applied to the clock delay control method of the first aspect or any corresponding embodiment thereof, and the device includes:
[0030] A first processing module, configured to obtain a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer;
[0031] A second processing module, configured to send a feedback signal outputted from a feedback output terminal of the zero delay buffer to a multi-path selection circuit;
[0032] The third processing module is used to send the output signal of the multi-way selection circuit to the feedback input terminal of the zero-delay buffer, so that the phase and frequency of the clock signal output by the clock output terminal of the zero-delay buffer and the reference clock signal meet preset conditions.
[0033] In a fourth aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the clock delay control method of the above-mentioned second aspect or any corresponding embodiment thereof by executing the computer instructions.
[0034] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the clock delay control method of the second aspect or any corresponding embodiment thereof.
[0035] The technical solution provided by the present invention has the following technical effects:
[0036] The present invention adopts a combination of a zero-delay buffer and a multi-way selection circuit to achieve delay control of the clock signal, and the delay time can be accurately adjusted by controlling the switching signal transmission path of the multi-way selection circuit, and can achieve leading or lagging output, with the advantages of high delay control accuracy and good flexibility. The present invention uses a zero-delay buffer to adjust the phase and frequency of the clock signal, and can output a clock signal that is ahead of or behind the reference clock signal, thereby solving the problem of propagation skew that cannot meet the requirements of the parallel bus. Provide a reference clock with low transmission time difference (transmission time difference refers to the time difference between the arrival of the same source clock signal at different receiving ends) for stable and reliable transmission of the parallel data bus. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementations of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a structural block diagram of a parallel bus clock architecture in the related art;
[0039] Figure 2 It is a block diagram of a typical application of parallel bus in related technology;
[0040] Figure 3 is a structural block diagram of a clock delay control circuit according to an embodiment of the present invention;
[0041] Figure 4 is a phase relationship diagram of a clock signal without adopting the technical solution of the present invention;
[0042] Figure 5 is a diagram of the phase relationship of clock signals in a clock delay control circuit according to an embodiment of the present invention;
[0043] Figure 6 is a flow chart of a clock delay control method according to an embodiment of the present invention;
[0044] Figure 7 is a structural block diagram of a clock delay control device according to an embodiment of the present invention;
[0045] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", "around" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0048] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] The structural block diagram of the parallel bus clock architecture in the related art, such as Figure 1 As shown, for parallel buses, such as the PCI bus, to ensure the accuracy and stability of data transmission, the maximum propagation delay and propagation skew between multiple clock signals must meet the requirements of the parallel bus. The requirements of the parallel bus mainly include the following:
[0050] 1. Maximum propagation delay
[0051] Computer bus specifications, such as the PCI Local Bus specification, typically require a maximum propagation delay of 10ns between multiple clock signals. This value is defined based on a specific clock frequency (such as 33MHz) of the PCI bus.
[0052] In the COM Express specification, for the PCI clock signal, the propagation delay from the module pin to the PCI device target pin is allowed to be 1.6ns±0.1ns (defined based on a clock frequency of 33MHz), corresponding to Figure 1 The transmission delay difference between clock 1 and clock 2.
[0053] 2. Spread skew
[0054] The PCI Local Bus specification also specifies the propagation skew between clock signals, that is, the arrival time difference of clock signals between multiple clock signals due to factors such as wiring length and material properties. The specification usually requires that this skew does not exceed 2ns (based on a 33MHz clock frequency).
[0055] The existence of propagation skew may cause the data receiving end to be unable to align the data correctly, thus causing data transmission errors. Therefore, when designing and laying out the bus, special attention should be paid to controlling the propagation skew of the clock signal.
[0056] In actual design, there are some specific difficulties in controlling the propagation delay and propagation skew of the clock signal of a parallel bus (such as PCI). The following is a detailed representation and summary of these difficulties:
[0057] Regarding wiring length and complexity: Since parallel buses require multiple data lines and control lines, the choice of wiring length and wiring method becomes extremely important. Different wiring lengths will lead to differences in the arrival time of the clock signal, that is, propagation skew. As the bus frequency increases, even a small difference in wiring length may lead to significant propagation skew, which in turn affects the accuracy and stability of data transmission.
[0058] Regarding material properties and environmental influences: Different PCB materials have different electrical properties, such as dielectric constant, resistivity, etc., which affect the propagation speed and attenuation of the clock signal. In addition, environmental factors such as ambient temperature and humidity may also affect the clock signal. Selecting the right PCB material and designing a reasonable wiring structure to reduce propagation delay and skew, while considering the impact of environmental factors, is a complex and challenging task.
[0059] For clock synchronization technology: Multiple receivers in a parallel bus need to share the same clock signal to achieve synchronous data transmission. However, due to the influence of wiring length, material properties and environmental factors, the clock signal may have propagation skew when it reaches different receivers.
[0060] Related technologies solve the above technical problems:
[0061] Propagation delay varies with PCB trace geometry, PCB stack-up, and the dielectric constant of the PCB material. For outer layer traces, common propagation delay values are between 140ps / inch and 180ps / inch. For inner layer traces, a common propagation delay value is 180ps / inch.
[0062] Related technical solutions usually limit the maximum length of the trace to ensure that the clock propagation skew meets the requirements of the specification. For example, in the COM express specification, the block diagram of a typical parallel bus application is as follows: Figure 2 As shown in the figure, taking 180ps / inch as the propagation delay value of the PCI clock on the inner carrier board, the COM Express specification stipulates that the maximum clock trace length on the carrier board is 8.88 inches, which is approximately equal to a 1.6ns delay.
[0063] The disadvantage of the related art is that the physical layout position between the receiving ends is limited. If the physical distance between the receiving end 1 and the receiving end 2 is far, exceeding 8.88 inches, the control of the propagation delay and propagation skew of the clock signal may not meet the requirements of the PCI specification.
[0064] Therefore, embodiments of the present invention provide a clock delay control circuit, method, apparatus, computer equipment and medium to solve the above problems.
[0065] In an embodiment of the present invention, a clock delay control circuit is provided, which includes: a zero delay buffer, a clock source and a multiplexing circuit. The zero delay buffer includes a clock input terminal, a feedback output terminal, a feedback input terminal and a clock output terminal. In this embodiment, the zero delay buffer includes four clock output terminals as an example, and the following is designed: Figure 3 The structural block diagram of the clock delay control circuit is shown in FIG. The number of clock output terminals is not limited in the present invention.
[0066] like Figure 3 The clock delay control circuit shown includes: a zero delay buffer, a clock source and a multiplexer circuit. The zero delay buffer includes a clock input terminal, a feedback output terminal, a feedback input terminal and a clock output terminal.
[0067] The clock source is configured to be connected to the receiving end and to the clock input end of the zero delay buffer. The clock input end of the zero delay buffer is configured to receive a reference clock signal sent by the clock source.
[0068] The feedback output terminal of the zero delay buffer is connected to the multiplexer circuit. The multiplexer circuit is connected to the feedback input terminal of the zero delay buffer. The multiplexer circuit is configured to switch the signal transmission path between the feedback output terminal of the zero delay buffer and the feedback input terminal of the zero delay buffer.
[0069] The clock output terminal of the zero delay buffer is configured to be connected to the receiving terminal.
[0070] Considering that the stability and accuracy of the clock source directly affect the propagation delay and skew of the clock signal, an unstable clock source may cause jitter and phase noise of the clock signal, thereby reducing the quality of data transmission. Therefore, in this embodiment, a high-quality clock source needs to be selected.
[0071] In this embodiment, the signal transmission path between the feedback output terminal of the zero delay buffer and the feedback input terminal of the zero delay buffer includes a plurality of signal transmission paths with different connection lengths.
[0072] In this embodiment, the zero delay buffer is configured to generate multiple clock signals based on a reference clock signal, such as Figure 3 The zero delay buffer shown is configured to generate four clock signals based on a reference clock signal. Figure 3 The zero delay buffer shown includes a clock input terminal (REF), a feedback input terminal (FB) and a plurality of output terminals, the plurality of output terminals including: a feedback output terminal OutPut1 and clock output terminals OutPut2, OutPut3, and OutPut4. The feedback input is driven by one of the plurality of outputs of the zero delay buffer, the port corresponding to the output driving the feedback input is the feedback output terminal, and the feedback signal output by the feedback output terminal is configured to be the signal input by the driving feedback input terminal.
[0073] In this embodiment, the zero-delay buffer is configured to provide a suitable load and delay to the output of the driving feedback (the output of the driving feedback is equivalent to the feedback signal output from the feedback output terminal) by switching the signal transmission paths of different connection lengths through a multi-way selection circuit, so that the clock output terminal can output a clock signal that is synchronized, ahead of, or behind the reference clock signal, thereby reducing frequency deviation and delay, and solving the problem that the propagation skew cannot meet the requirements of the parallel bus.
[0074] In an optional implementation, the multiplexing circuit may include at least one multiplexer, as an example, Figure 3 As shown, the multiplexing circuit includes: two multiplexers: a first multiplexer, a second multiplexer, a control module and a transmission line.
[0075] The feedback output terminal of the zero delay buffer is connected to the first multiplexer. The first multiplexer is connected to the second multiplexer through a transmission line.
[0076] The second multiplexer is connected to the feedback input of the zero delay buffer.
[0077] The control module is connected to the first multiplexer and the second multiplexer, and is configured to switch a signal transmission path between the first multiplexer and the second multiplexer.
[0078] In this embodiment, the first multiplexer and the second multiplexer each include a connection port and a plurality of channel ports.
[0079] The connection port of the first multiplexer is connected to the feedback output terminal of the zero delay buffer.
[0080] The channel port of the first multiplexer is connected to the channel port of the second multiplexer through a transmission line.
[0081] The connection port of the second multiplexer is connected to the feedback input terminal of the zero delay buffer.
[0082] In this embodiment, the number of connection ports and channel ports is not limited. Figure 3 As shown, the first multiplexer includes a connection port D1 and four channel ports C11, C12, C13, C14. The second multiplexer includes a connection port D2 and four channel ports C21, C22, C23, C24.
[0083] In this embodiment, the first multiplexer and the second multiplexer each include a plurality of control ports.
[0084] The control module is connected to the control port of the first multiplexer and the control port of the second multiplexer.
[0085] In this embodiment, the control module is configured to switch the signal transmission path between the feedback output terminal of the zero delay buffer and the feedback input terminal of the zero delay buffer by controlling the closing of the control port of the first multiplexer and the control port of the second multiplexer.
[0086] In this embodiment, the number of control ports is not limited. As an example, Figure 3 As shown, the first multiplexer includes four control ports S11, S12, S13, S14. The second multiplexer includes four control ports S21, S22, S23, S24.
[0087] In this embodiment, the control module includes but is not limited to any one of a central processing unit (CPU), a baseboard management controller (BMC), a complex programmable logic device (CPLD), and an embedded controller (EC). As an example, the GPIO pin of the control module is connected to the control port of the first multiplexer and the control port of the second multiplexer. As an example, the transmission line is a PCB trace.
[0088] The feedback output of the zero delay buffer is connected via a PCB trace ( Figure 3 The transmission line 1 is connected to the connection port D1 of the first multiplexer, and the channel ports C11-C14 of the first multiplexer are connected to the channel ports C21-C24 of the second multiplexer through the transmission lines L1-L4 respectively. The control ports S11-S14 of the first multiplexer and the control ports S21-S24 of the second multiplexer are connected to the GPIO pins of the control module, and the connection port D2 of the second multiplexer is connected to the feedback input terminal (FB pin) of the zero delay buffer. The control module controls the channel ports of the first multiplexer and the second multiplexer through the GPIO, thereby controlling the first multiplexer and the second multiplexer to switch between channels C1, C2, C3 and C4. When the control module controls the channel port C11 of the first multiplexer and the channel port C21 of the second multiplexer to be turned on through GPIO, the channel C1 is turned on, and the channels C2, C3 and C4 are turned off, the feedback signal output from the feedback output end of the zero delay buffer is fed back to the feedback input end of the zero delay buffer through the transmission line 1, the connection port D1 of the first multiplexer, the channel port C11, the transmission line L1, the channel port C21 of the second multiplexer, the connection port D2, and the transmission line 3. Similarly, when the control module controls the channel port C12 of the first multiplexer and the channel port C22 of the second multiplexer to be turned on through GPIO, the channel C2 is turned on, and the channels C1, C3 and C4 are turned off, the feedback signal output from the feedback output end of the zero delay buffer is fed back to the feedback input end of the zero delay buffer through the transmission line 1, the connection port D1 of the first multiplexer, the channel port C12, the transmission line L2, the channel port C22 of the second multiplexer, the connection port D2, and the transmission line 3. And so on. Figure 3 A 4-channel multiplexer is shown in FIG. 1 . The present invention does not limit the number of channels of the multiplexer, and the number of channels of the multiplexer can be set according to actual needs. Transmission lines L1 to L4 control different PCB routing lengths as needed, thereby achieving different delay controls.
[0089] In an optional embodiment, the zero delay buffer includes a phase locked loop, which includes a phase detector, a filter, an oscillator and a frequency divider.
[0090] The phase detector is configured to receive a signal input to the feedback input terminal of the zero delay buffer and a reference clock signal, and generate an error signal representing a phase difference between the signal input to the feedback input terminal of the zero delay buffer and the reference clock signal.
[0091] The filter is configured to perform filtering processing on the error signal to generate a first signal.
[0092] The oscillator is configured to adjust the frequency and phase of its output signal according to the first signal.
[0093] The frequency divider is configured to divide the frequency of the output signal of the oscillator to generate a signal whose phase and frequency meet preset conditions with the reference clock signal.
[0094] In this embodiment, if Figure 3 As shown, the zero delay buffer is composed of a phase-locked loop, which includes a clock input terminal (REF), a feedback input terminal (FB) and a plurality of output terminals. The oscillator is configured to adjust the frequency and phase of its output signal according to the first signal to ensure that there is no phase or frequency difference between the signals input at the two input terminals. Because the phase-locked loop includes an output and its load, the phase-locked loop can dynamically compensate for the load and transmission delay connected to the output. Regardless of the load and transmission delay of the output of the driving feedback, the delay of the input to the output of the driving feedback in the phase-locked loop is zero.
[0095] The phase detector is specifically configured to compare the phase difference between the signal input to the feedback input terminal of the zero delay buffer and the reference clock signal, and generate an error signal. As an example, the filter can be a loop filter, and the loop filter is specifically configured to filter the error signal output by the phase detector to reduce noise and improve stability. As an example, the oscillator can be a voltage controlled oscillator, and the voltage controlled oscillator is specifically configured to adjust the frequency and phase of its output signal according to the output signal (first signal) of the loop filter to achieve phase lock. The frequency divider is specifically configured to divide the output signal of the voltage controlled oscillator to generate a signal whose phase and frequency meet the preset conditions with the reference clock signal. In this embodiment, the signal that meets the preset conditions can be a signal synchronized with the phase and frequency of the reference clock signal, or a signal whose time difference meets the requirements of the parallel bus. The frequency divider is also configured to send the signal that meets the preset conditions to the corresponding receiving end through the clock output terminal of the zero delay buffer after generating a signal whose phase and frequency meet the preset conditions with the reference clock signal.
[0096] like Figure 3As shown, the phase-locked loop detects the phase (and frequency) of the FB pin when the threshold is equal to VDD / 2, and then compares it with the REF pin when the same VDD / 2 threshold is used. Therefore, the zero-delay buffer always uses the characteristics of the phase-locked loop to self-adjust so that the delay of the VDD / 2 time of the FB input to the VDD / 2 time of the REF input is kept zero. All outputs (including the output that drives FB) start their respective switching at the same time. The zero-delay buffer in the present invention adopts a phase-locked loop structure, and through the coordinated work of components such as a phase detector, a filter, an oscillator and a frequency divider, it realizes precise control of the phase and frequency of the clock signal, thereby ensuring the delay stability and accuracy of the clock signal. The present invention adopts a combination of a zero-delay buffer and a multi-way selection circuit to realize the delay control of the clock signal, and the delay time can be accurately adjusted by controlling the switching of the multi-way selection circuit, which has the advantages of high delay accuracy and good flexibility.
[0097] Therefore, for parallel bus applications, when the physical layout position between the receiving terminals is limited, so that the physical distance between the receiving terminal 1 and the receiving terminal 2 is far, exceeding the limit requirements of the parallel bus, for example, the PCI limit is 8.88 inches PCB trace length, so that the control of clock signal propagation delay and propagation skew cannot meet the requirements. The technical solution of the present invention can be used to adjust the output clock signal ahead of the REF input to meet the parallel bus requirements for propagation skew.
[0098] like Figure 4 As shown in the clock signal phase relationship diagram without using the technical solution of the present invention, the clock 1 of the receiving end 1 is ahead of the clock 2 of the receiving end 2. Figure 5 As shown, after adopting the technical solution of the present invention, the delay from OutPut1 to FB and the delay from OutPut2 to the clock 2 of the receiving end 2 can be systematically controlled, and the clock 1 of the receiving end 1 and the clock 2 of the receiving end 2 are clock phase aligned.
[0099] In the present invention, the zero delay buffer is configured to change the delay time of the clock signal in the zero delay buffer when the control module switches the signal transmission path between the first multiplexer and the second multiplexer (equivalent to the multiplexer selection circuit switching the signal transmission path between the feedback output end of the zero delay buffer and the feedback input end of the zero delay buffer), thereby realizing clock delay control.
[0100] According to an embodiment of the present invention, an embodiment of a clock delay control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0101] Figure 6 FIG. 1 is a flow chart of a clock delay control method according to an embodiment of the present invention. Figure 6 As shown, a clock delay control method provided in an embodiment of the present invention includes:
[0102] S101: Acquire a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer.
[0103] S102: Sending a feedback signal outputted from a feedback output terminal of the zero delay buffer to a multi-path selection circuit.
[0104] S103: Sending the output signal of the multiplexer circuit to the feedback input terminal of the zero delay buffer, so that the phase and frequency of the clock signal outputted from the clock output terminal of the zero delay buffer and the reference clock signal meet preset conditions.
[0105] It should be noted that the contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
[0106] In this embodiment, a clock delay control device is also provided, which is used to implement the above-mentioned embodiments and optional implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0107] Figure 7 4 is a structural block diagram of a clock delay control device according to an embodiment of the present invention.
[0108] This embodiment provides a clock delay control device, such as Figure 7 As shown, the clock delay control device comprises:
[0109] The first processing module 11 is used to obtain a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer.
[0110] The second processing module 12 is used to send the feedback signal outputted from the feedback output terminal of the zero delay buffer to the multi-path selection circuit.
[0111] The third processing module 13 is used to send the output signal of the multiplexer circuit to the feedback input terminal of the zero delay buffer, so that the phase and frequency of the clock signal output by the clock output terminal of the zero delay buffer and the reference clock signal meet preset conditions.
[0112] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0113] The clock delay control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0114] The embodiment of the present invention also provides a computer device having the above Figure 7 The clock delay control device is shown.
[0115] See also Figure 8 , Figure 8 Schematic diagram of the hardware structure of the computer device according to the embodiment of the present invention. Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In an optional embodiment, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0116] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0117] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0118] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function. The data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In an optional embodiment, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0119] The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive. The memory 20 may also include a combination of the above-mentioned types of memory.
[0120] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0121] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc. Further, the storage medium can also include a combination of the above-mentioned types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0122] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0123] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A clock delay control circuit, characterized in that: include: zero-delay buffers, clock sources, and multiplexing circuits; The zero delay buffer comprises a clock input terminal, a feedback output terminal, a feedback input terminal and a clock output terminal; The clock source is configured to be connected to a receiving end and to a clock input end of the zero delay buffer; The clock input terminal of the zero delay buffer is configured to receive a reference clock signal sent by the clock source; The feedback output terminal of the zero delay buffer is connected to the multi-way selection circuit; the multi-way selection circuit is connected to the feedback input terminal of the zero delay buffer; The multiplexing circuit is configured to switch a signal transmission path between a feedback output terminal of the zero delay buffer and a feedback input terminal of the zero delay buffer; The clock output terminal of the zero delay buffer is configured to be connected to a receiving terminal.
2. The circuit according to claim 1, characterized in that The multiplex selection circuit includes: a first multiplexer, a second multiplexer, a control module and a transmission line; The feedback output terminal of the zero delay buffer is connected to the first multiplexer; the first multiplexer is connected to the second multiplexer through a transmission line; The second multiplexer is connected to a feedback input terminal of the zero delay buffer; The control module is connected to the first multiplexer and the second multiplexer, and is configured to switch a signal transmission path between the first multiplexer and the second multiplexer.
3. The circuit according to claim 2, characterized in that The first multiplexer and the second multiplexer each include a connection port and a plurality of channel ports; The connection port of the first multiplexer is connected to the feedback output terminal of the zero delay buffer; The channel port of the first multiplexer is connected to the channel port of the second multiplexer through a transmission line; The connection port of the second multiplexer is connected to the feedback input terminal of the zero delay buffer.
4. The circuit according to claim 2, characterized in that The first multiplexer and the second multiplexer each include a plurality of control ports; The control module is connected to a control port of the first multiplexer and a control port of the second multiplexer.
5. The circuit according to claim 1, characterized in that The zero delay buffer includes a phase locked loop, and the phase locked loop includes a phase detector, a filter, an oscillator and a frequency divider; The phase detector is configured to receive a signal inputted at a feedback input terminal of the zero delay buffer and a reference clock signal, and generate an error signal representing a phase difference between the signal inputted at the feedback input terminal of the zero delay buffer and the reference clock signal; The filter is configured to filter the error signal to generate a first signal; The oscillator is configured to adjust the frequency and phase of its output signal according to the first signal; The frequency divider is configured to divide the frequency of the output signal of the oscillator to generate a signal whose phase and frequency meet preset conditions with those of the reference clock signal.
6. A clock delay control method, characterized in that: Applied to the clock delay control circuit according to any one of claims 1 to 5, the method comprises: Acquire a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer; Sending a feedback signal outputted from a feedback output terminal of the zero delay buffer to a multi-way selection circuit; The output signal of the multiplexer circuit is sent to the feedback input terminal of the zero delay buffer, so that the phase and frequency of the clock signal outputted from the clock output terminal of the zero delay buffer and the reference clock signal meet preset conditions.
7. A clock delay control device, characterized in that: include: A first processing module, configured to obtain a reference clock signal generated by a clock source, and send the reference clock signal to a clock input terminal of a zero delay buffer; A second processing module, configured to send a feedback signal outputted from a feedback output terminal of the zero delay buffer to a multi-path selection circuit; The third processing module is used to send the output signal of the multi-way selection circuit to the feedback input terminal of the zero-delay buffer, so that the phase and frequency of the clock signal output by the clock output terminal of the zero-delay buffer and the reference clock signal meet preset conditions.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the steps of the method according to claim 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the steps of the method according to claim 6.
Citation Information
Cited By
Time sequence control method and device, mainboard and storage medium
CN121029676A
