Signal transmission circuit and chip
By designing a signal transmission circuit, the reset signal delay and frequency adjustment of the signal generation, transmission and data generation modules are used to solve the problem of clock signal and data signal clock skew caused by different process angles, and the clock signal and data signal are achieved. The frequency is in phase, which improves the accuracy of signal transmission.
Patent Information
- Application Number
- CN202411261183.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-10
AI Technical Summary
Due to different chip clock source delays caused by different process angles, the output timing is different, and the prior art is difficult to effectively reduce the clock skew between the clock signal and the data signal.
A signal transmission circuit is designed to generate a first clock signal and a first reset signal through a signal generation module. The transmission module receives and delays the generation of a second reset signal. The data generation module adjusts the first clock signal when the second reset signal is dereset. The frequency is generated, and the clock signal is adjusted by the input and output module when the third reset signal is dereset, ensuring that the second clock signal is in frequency and phase with the second data signal, and reducing the clock skew.
The second clock signal with a higher frequency and a data signal are generated based on the first clock signal with a higher frequency, so as to improve the accuracy of clock edge alignment, so that the second clock signal and the second data signal are in the same frequency and phase, and reduce the clock skew.
Smart Images

Figure CN118801858B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of chips, and in particular to a signal transmission circuit and a chip. Background Art
[0002] With the continuous development of electronic technology, the circuits inside integrated circuits are becoming more and more complex.
[0003] Due to different corners (process corners) of the same chip, the clock source has different delays in different chips, resulting in different output timings. Summary of the invention
[0004] The present disclosure provides a signal transmission circuit and a chip, which can at least reduce the clock skew between a second clock signal and a second data signal.
[0005] On one hand, the present disclosure provides a signal transmission circuit, including: a signal generation module, the signal generation module generates a first clock signal and a first reset signal; a transmission module, the transmission module receives the first clock signal and the first reset signal, and delays the first reset signal to generate a second reset signal; a data generation module, the data generation module receives the first clock signal and the second reset signal transmitted by the transmission module, adjusts the frequency of the first clock signal when the second reset signal is released, and generates a first data signal based on the adjusted first clock signal; an input / output module, the input / output module receives the first data signal, delays the first data signal to generate a second data signal, receives the second reset signal and the first clock signal, delays the second reset to generate a third reset signal, adjusts the frequency of the first clock signal when the third reset signal is released, and generates a second clock signal based on the adjusted first clock signal, the second clock signal and the second data signal have the same frequency and phase, the frequency of the first clock signal is greater than the frequency of the second clock signal, and the delay period of the third reset signal compared to the second reset signal is equal to the delay period of the second data signal compared to the first data signal.
[0006] The data generation module includes: a first frequency division module, which receives the second reset signal and the first clock signal to generate a frequency division signal; and a data conversion module, which receives the frequency division signal to generate a third data signal with the same frequency as the second data signal.
[0007] The data generating module further includes: a first delay module, which is connected to the data converting module, receives the third data signal, and delays the third data signal to generate the first data signal.
[0008] A first delay module is connected to the data conversion module, receives the third data signal, and delays the third data signal to generate the first data signal.
[0009] The input-output module includes: a second delay module, which receives the first data signal and delays the first data signal to generate the second data signal; and a third delay module, which receives the second reset signal and delays the second reset signal to generate a third reset signal.
[0010] The delay period of the third delay module is equal to the sum of the delay period of the second delay module and the delay period of the first delay module.
[0011] The input-output module further includes: a second frequency division module, which receives the third reset signal and divides the frequency of the first clock signal to generate the second clock signal.
[0012] The input-output module further includes a phase shift module, which receives the second clock signal and delays the second clock signal by at least one phase.
[0013] The phase shift module is located at the end of the input and output module.
[0014] Another aspect of the present disclosure provides a chip, comprising the above-mentioned signal transmission circuit.
[0015] The technical solution provided by the present disclosure has at least the following advantages:
[0016] On the one hand, a first clock signal and a first reset signal are generated by a signal generation module, and a transmission module is used to establish a transmission channel with a data generation module and an input / output module to transmit the first clock signal to the data generation module and the input / output module. At the same time, the transmission module also receives the first reset signal delay and generates a second reset signal to ensure the accuracy of the transmission of the second reset signal. The data generation module is used to receive the first clock signal and the second reset signal, and adjust the frequency of the first clock signal when the second reset signal is reset, and generate a first data signal based on the adjusted first clock signal. The first data signal serves as the basis for the subsequent generation of the second data signal. At this time, the first data signal has been converted into a data signal of the required frequency. The frequency of the first clock signal is adjusted by the input / output module when the third reset signal is reset, and the second clock signal is generated based on the adjusted first clock signal. At this time, the generated second clock signal is also converted to the required frequency. By generating a second data signal and a second clock signal with a smaller frequency based on the first clock signal with a larger frequency, the accuracy of the clock edge alignment can be improved.
[0017] On the other hand, the second data signal is based on the first data signal, the first data signal is based on the first clock signal and the second reset signal, and the second clock signal is also based on the second reset signal and the first clock signal, so that the generated second clock signal and the second data signal are generated based on the same signal, and the delay period of the third reset signal compared to the second reset signal is equal to the delay period of the second data signal compared to the first data signal, so that the generated second data signal and the second clock signal have the same frequency and phase, thereby reducing the clock skew between the second clock signal and the second data signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings, and these exemplified descriptions do not constitute a limitation on the embodiments. Unless otherwise specified, the pictures in the drawings do not constitute a scale limitation. In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the traditional technology, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A module diagram of a signal transmission circuit provided in one embodiment of the present disclosure;
[0020] Figure 2 A timing diagram of a signal transmission circuit provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] As can be seen from the background technology, there is a delay requirement between the current clock signal and the data signal, and the smaller the clock skew between the clock signal and the data signal, the better. It is necessary to provide a signal transmission circuit to reduce the clock skew between the clock signal and the data signal.
[0022] The disclosed embodiment provides a signal transmission circuit. On the one hand, a first clock signal and a first reset signal are generated by a signal generation module. The transmission module is used to establish a transmission channel with a data generation module and an input / output module to transmit the first clock signal to the data generation module and the input / output module. At the same time, the transmission module also receives the first reset signal delay and generates a second reset signal to ensure the accuracy of the second reset signal transmission. The data generation module is used to receive the first clock signal and the second reset signal, and adjust the frequency of the first clock signal when the second reset signal is reset, and generate a first data signal based on the adjusted first clock signal. The first data signal serves as the basis for the subsequent generation of the second data signal. At this time, the first data signal has been converted into a data signal of the required frequency. The frequency of the first clock signal is adjusted by the input / output module when the third reset signal is reset, and is used as the basis for the subsequent generation of the second data signal. The second clock signal is generated based on the adjusted first clock signal. At this time, the generated second clock signal is also converted to the required frequency. By generating the second data signal and the second clock signal with a lower frequency based on the first clock signal with a higher frequency, the accuracy of the clock edge alignment can be improved. On the other hand, the second data signal is based on the first data signal, the first data signal is based on the first clock signal and the second reset signal, and the second clock signal is also based on the second reset signal and the first clock signal, so that the generated second clock signal and the second data signal are generated based on the same signal, and the delay period of the third reset signal compared to the second reset signal is equal to the delay period of the second data signal compared to the first data signal, so that the generated second data signal and the second clock signal have the same frequency and phase, thereby reducing the clock skew between the second clock signal and the second data signal.
[0023] Terms such as first or second can be used to describe various components, but these components are not limited by the above terms. The above terms are used to distinguish one component from another component, for example, without departing from the scope of the concept according to the present disclosure, a first component can be referred to as a second component, and similarly, a second component can be referred to as a first component.
[0024] In addition, "connected / coupled" means that one component is directly electrically coupled to another component or is indirectly electrically coupled through another component. The singular form may include the plural form unless explicitly stated in the sentence. In addition, "include / comprise" or "includes / comprises" used in this specification indicates that one or more components, steps, operations, and elements exist or have been added. The specific structural or functional descriptions of the examples of the implementation of the concepts disclosed in this specification are only illustrated to describe the examples of the implementation of the concepts, and the examples of the implementation of the concepts can be implemented in various forms, but these descriptions are not limited to the examples of the implementation described in this specification.
[0025] According to the concept, various modifications and changes can be applied to the examples of the embodiments, so that the examples of the embodiments will be illustrated in the drawings and described in the specification. However, the examples of the embodiments according to the concept are not limited to the specific embodiments, but include all changes, equivalents or replacements included in the spirit and technical scope of the present disclosure.
[0026] It should be understood that when an element is described as being "coupled" or "connected" to another element, the element may be directly coupled or directly connected to the other element, or may be coupled or connected to the other element through a third element. Conversely, it should be understood that when an element is referred to as being "directly coupled to" or "directly coupled to" another element, no other element is placed between them. Other expressions describing the relationship between components (i.e., "between" and "directly between" or "adjacent to" and "directly adjacent to") need to be interpreted in the same manner.
[0027] The terms used in this specification are only used to describe specific examples of the embodiments and are not intended to limit the present disclosure. If there is no clear opposite meaning in the context, the singular form may include the plural form. In this specification, it should be understood that the term "including" or "having" indicates the presence of the features, quantities, steps, operations, components, parts or combinations thereof described in the specification, but the possibility of the presence or addition of one or more other features, quantities, steps, operations, components, parts or combinations thereof cannot be precluded.
[0028] If there is no contrary definition, all terms (including technical terms or scientific terms) used herein have the same meaning as those generally understood by ordinary technicians in the field. If the terms defined in the commonly used dictionary are not clearly defined in this specification, they should be interpreted as having the same meaning as in the context of the relevant technology, and not interpreted as ideal or overly formal meanings.
[0029] Descriptions of well-known components and processing techniques may be omitted so as not to unnecessarily obscure the embodiments of the disclosure.
[0030] Throughout the specification, the same reference numerals refer to the same elements. Thus, even if a reference numeral is not mentioned or described with reference to one figure, it may be mentioned or described with reference to another figure. Furthermore, even if a reference numeral is not shown in one figure, it may be mentioned or described with reference to another figure.
[0031] In addition, the logic level of the signal may be different or opposite to the described logic level. For example, a signal described as having a logic "high" level may alternatively have a logic "low" level, and a signal described as having a logic "low" level may alternatively have a logic "high" level.
[0032] The following will describe the various embodiments of the present disclosure in detail with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the various embodiments of the present disclosure, many technical details are provided in order to enable the reader to better understand the present disclosure. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present disclosure can be implemented.
[0033] refer to Figure 1 , Figure 1 A module diagram of a signal transmission circuit provided in an embodiment of the present disclosure, Figure 2 A clock signal diagram of a signal transmission circuit is provided for an embodiment of the present disclosure.
[0034] In some embodiments, the signal transmission circuit may include: a signal generation module 100 , the signal generation module 100 generates a first clock signal CLK_1 and a first reset signal RST_1 .
[0035] The signal transmission circuit may further include: a transmission module 101 , the transmission module 101 receives the first clock signal CLK_1 and the first reset signal RST_1 , and delays the first reset signal RST_1 to generate a second reset signal RST_2 .
[0036] The signal transmission circuit may further include: a data generation module 102, which receives the first clock signal CLK_1 and the second reset signal RST_2 transmitted by the transmission module 101, and adjusts the frequency of the first clock signal CLK_1 when the second reset signal RST_2 is reset, and generates a first data signal txd_1 based on the adjusted first clock signal CLK_1.
[0037] The signal transmission circuit may further include: an input-output module 103, the input-output module 103 receives a first data signal txd_1 and delays the first data signal txd_1 to generate a second data signal txd_2, receives a second reset signal RST_2 and a first clock signal CLK_1, delays the second reset signal RST_2 to generate a third reset signal RST_3, and adjusts the frequency of the first clock signal CLK_1 when the third reset signal RST_3 is reset, and generates a second clock signal CLK_2 based on the adjusted first clock signal CLK_1, the second clock signal CLK_2 has the same frequency and phase as the second data signal txd_2, the frequency of the first clock signal CLK_1 is greater than the frequency of the second clock signal CLK_2, and the delay period of the third reset signal RST_3 compared to the second reset signal RST_2 is equal to the delay period of the second data signal txd_2 compared to the first data signal txd_1.
[0038] The embodiment of the present disclosure provides a signal transmission circuit. On the one hand, a first clock signal CLK_1 and a first reset signal RST_1 are generated by a signal generation module 100. The transmission module 101 is used to establish a transmission channel with a data generation module 102 and an input / output module 103 to transmit the first clock signal CLK_1 to the data generation module 102 and the input / output module 103. At the same time, the transmission module 101 also receives the first reset signal RST_1 and delays it to generate a second reset signal RST_2 to ensure the accuracy of the transmission of the second reset signal RST_2. The data generation module is used to receive the first The first clock signal CLK_1 and the second reset signal RST_2 are respectively input and output, and the frequency of the first clock signal CLK_1 is adjusted when the second reset signal RST_2 is released from reset, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1, and the first data signal txd_1 is used as the basis for the subsequent generation of the second data signal txd_2. At this time, the first data signal txd_1 has been converted into a data signal of the required frequency, and the frequency of the first clock signal CLK_1 is adjusted when the third reset signal RST_3 is released from reset through the input / output module 103, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1. The first data signal txd_1 is used as the basis for the subsequent generation of the second data signal txd_2. At this time, the first data signal txd_1 has been converted into a data signal of the required frequency, and the frequency of the first clock signal CLK_1 is adjusted when the third reset signal RST_3 is released from reset through the input / output module 103, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1. The second clock signal CLK_2 is generated based on the clock signal CLK_1. At this time, the generated second clock signal CLK_2 is also converted to the required frequency. By generating the second data signal txd_2 and the second clock signal CLK_2 with a smaller frequency based on the first clock signal CLK_1 with a larger frequency, the accuracy of clock edge alignment can be improved. On the other hand, the second data signal txd_2 is based on the first data signal txd_1. The first data signal txd_1 is based on the first clock signal CLK_1 and the second reset signal RST_2. The second clock signal CLK_2 is also based on the first data signal txd_1. The second reset signal RST_2 and the first clock signal CLK_1 are used as the basis, so that the generated second clock signal CLK_2 and the second data signal txd_2 are generated based on the same signal, and the delay period of the third reset signal RST_3 compared to the second reset signal RST_2 is equal to the delay period of the second data signal txd_2 compared to the first data signal txd_1, so that the generated second data signal txd_2 and the second clock signal CLK_2 have the same frequency and phase, thereby reducing the clock skew between the second clock signal CLK_2 and the second data signal txd_2.
[0039] In some embodiments, the transmission module 101 can serve as a transmission channel for the reset path of other modules. The transmission module 101 can be threaded in the data generation module 102 and the input / output module 103 to transmit the second reset signal RST_2 to the data generation module 102 and the input / output module 103 .
[0040] In some embodiments, the transmission module 101 may include: a fourth delay module 111, the fourth delay module 111 receives the first reset signal RST_1, and delays the first reset signal RST_1 to generate a second reset signal RST_2. The fourth delay module 111 delays the first reset signal RST_1, so as to ensure the correctness of the output timing of the first reset signal RST_1, that is, to ensure the correctness of the output timing of the reset signal input to the data generation module 102.
[0041] In some embodiments, the fourth delay module 111 can delay the first reset signal RST_1 by one clock cycle. It can be understood that if the transmission module 101 directly outputs the first reset signal RST_1 to the data generation module 102, the output first reset signal RST_1 may be in a metastable state. Therefore, by delaying the first reset signal RST_1 by one clock cycle through the fourth delay module 111 to generate the second reset signal RST_2, the metastable problem of the second reset signal RST_2 input to the data generation module 102 can be effectively improved. The second reset signal RST_2 transmitted to the data generation module 102 serves as the basis for the subsequent generation of the second data signal txd_2, thereby improving the stability of the output second data signal txd_2.
[0042] For the connection between the transmission module 101 and the input / output module 103 , the first reset signal RST_1 is also delayed by the fourth delay module 111 , so that the generated second reset signal RST_2 is transmitted to the input / output module 103 , thereby improving the stability of the output second clock signal CLK_2 .
[0043] In some embodiments, the fourth delay module 111 may be a D-type flip-flop.
[0044] In some embodiments, the second reset signal RST_2 enters the data generation module 102 and the input-output module 103 respectively, that is, the first reset signal RST_1 generated by the signal generation module 100 enters the data generation module 102 and the input-output module 103 after the same delay. Then, for the data generation module 102 and the input-output module 103, the basis for the data generation module 102 to generate the data signal is the same as the basis for the input-output module 103 to generate the clock signal, and will not cause any timing impact on the second clock signal CLK_2 and the first data signal txd_1 generated by the data generation module 102 and the input-output module 103.
[0045] In some embodiments, the data generation module 102 may be a data generation module to generate and output a first data signal txd_1 .
[0046] In some embodiments, the data generation module 102 may include: a first frequency division module 112, the first frequency division module 112 receives the second reset signal RST_2 and the first clock signal CLK_1, and generates a frequency division signal clk_div; a data conversion module 122, the data conversion module 122 receives the frequency division signal clk_div, and generates a third data signal txd_3 with the same frequency as the second data signal txd_2.
[0047] For the first frequency division module 112, the first clock signal CLK_1 can be divided according to the frequency of the second data signal txd_2 to be generated to generate a frequency division signal clk_div of the required frequency, and then the data conversion module 122 generates a third data signal txd_3 of the required frequency, providing a signal basis for the subsequent formation of the second data signal txd_2 of the required frequency.
[0048] It can be understood that the frequency of the first clock signal CLK_1 generated by the control signal generating module 100 is higher, and using the first clock signal CLK_1 with a higher frequency as a signal basis can improve the accuracy of the second clock signal CLK_2 outputted subsequently.
[0049] For example, if you need to output a data signal in the 125MHz clock domain, you can use the 1000MHz first clock signal CLK_1 as the basis. It is understandable that 1000M corresponds to 1ns. Therefore, while improving the accuracy, it can also reduce the complexity of the signal received by the back end. Similarly, you can also use the 2000MHz first clock signal. Although the 2000MHz first clock signal will improve the accuracy more, the 2000MHz first clock signal is more complicated when receiving. Therefore, you can select the clock signal of the corresponding frequency according to the actual situation.
[0050] In some embodiments, the data generation module 102 may further include: a first delay module 132, the first delay module 132 is connected to the data conversion module 122, receives the third data signal txd_3, and delays the third data signal txd_3 to generate the first data signal txd_1. Similarly, by delaying the third data signal txd_3, the correctness of the output of the third data signal txd_3 can also be ensured.
[0051] In some embodiments, the delay time of the first delay module 132 can be selected and controlled by the data generation module 102 itself. For example, if the third data signal txd_3 needs to be delayed by two clock cycles when transmitted from the data generation module 102 to the input and output module 103, the first delay module 132 will delay the third data signal txd_3 by two clock cycles.
[0052] In some embodiments, the first delay module 132 may be composed of multiple D-type flip-flops. When the third data signal txd_3 is transmitted from the data generation module 102 to the input and output module 103, a delay of several clock cycles is required. Correspondingly, the first delay module 132 may be composed of several D-type flip-flops.
[0053] In some embodiments, the first delay module 132 is located at the end of the data generation module 102. In other words, the first delay module 132 is located at the last level of the data generation module 102 to delay the data signal before the data signal is about to be output. For the data generation module 102, the internal wiring of the data generation module 102 is very long, and the transmission of data may also change during the transmission process. Therefore, the first delay module 132 is placed at the end of the data generation module 102, so that no matter how the data changes in the data generation module 102, the data will be delayed before output, thereby ensuring the correctness of the output of the third data signal txd_3.
[0054] In some embodiments, the input-output module 103 is used to adjust the data signal and the clock signal so that when the second clock signal CLK_2 and the second data signal txd_2 are output, the second clock signal CLK_2 and the second data signal txd_2 are in the same frequency and phase, so as to reduce the clock skew between the second clock signal CLK_2 and the second data signal txd_2.
[0055] In some embodiments, the input-output module 103 may include: a second delay module 113, the second delay module 113 receives the first data signal txd_1, and delays the first data signal txd_1 to generate a second data signal txd_2; a third delay module 123, the third delay module 123 receives the second reset signal RST_2, and delays the second reset signal RST_2 to generate a third reset signal RST_3.
[0056] Similarly, for the input-output module 103, before outputting the data signal, it is also necessary to delay the data signal, that is, to delay the first data signal txd_1 to generate the second data signal txd_2, and output the second data signal txd_2 to improve the stability and reliability of the output second data signal txd_2. The third reset signal generated by the third delay module provides a basis for generating a second clock signal CLK_2 synchronized with the second data signal txd_2.
[0057] On the other hand, by arranging the second delay module 113 and the third delay module 123 in the input-output module 103, it can be ensured that the path of the second data signal txd_2 and the second clock signal CLK_2 outputted last to the subsequent receiving end is the shortest.
[0058] In some embodiments, the delay period of the third delay module 123 is equal to the sum of the delay period of the second delay module 113 and the delay period of the first delay module 132. By setting the delay period of the third delay module 123 equal to the sum of the delay period of the second delay module 113 and the delay period of the first delay module 132, the clock edges of the formed third reset signal RST_3 and the second data signal txd_2 are aligned, and then the second clock signal CLK_2 formed based on the third reset signal RST_3 can be aligned with the edge of the second data signal txd_2, thereby reducing the clock skew between the second clock signal CLK_2 and the second data signal txd_2.
[0059] For example, the first delay module 132 will delay the third data signal txd_3 by two clock cycles, and the second delay module 113 will delay the first data signal txd_1 by one clock cycle. Correspondingly, the third delay module 123 will delay the second reset signal RST_2 by three clock cycles. In this way, the delay period of the data signal output at the output end of the second delay module 113 is equal to the delay period of the reset signal output at the output end of the third delay module 123. Moreover, the data signal output at the output end of the second delay module 113 and the reset signal output at the output end of the third delay module 123 are both generated based on the first reset signal RST_1. Therefore, the second data signal txd_2 output at the output end of the second delay module 113 is edge-aligned with the third reset signal RST_3 output at the output end of the third delay module 123.
[0060] Moreover, since the signal generation sources of the second delay module 113 and the third delay module 123 are both from the first clock signal CLK_1 and the first reset signal RST_1, it is only necessary to ensure that the delay period of the third delay module 123 is equal to the sum of the delay period of the second delay module 113 and the delay period of the first delay module 132, so as to achieve edge alignment of the second data signal txd_2 output from the output end of the second delay module 113 and the third reset signal RST_3 output from the output end of the third delay module 123.
[0061] In some embodiments, the input-output module 103 further includes: a second frequency division module 133, the second frequency division module 133 receives the third reset signal RST_3, and divides the first clock signal CLK_1 to generate the second clock signal CLK_2. It can be understood that when the frequency division is performed, the frequency division is performed when the reset is released, and the second data signal txd_2 has a certain delay compared to the first data signal txd_1. Therefore, before the frequency division, the second reset signal RST_2 needs to be delayed, that is, the third reset signal RST_3 is formed, and the delay period of the third reset signal RST_3 compared to the second reset signal RST_2 is equal to the delay period of the second data signal txd_2 compared to the first data signal txd_1. In this way, the second clock signal CLK_2 generated after the frequency division is the same frequency and phase as the second data signal txd_2.
[0062] For the first clock signal CLK_1, before frequency division, the frequency of the first clock signal CLK_1 is greater than the second data signal txd_2. Therefore, the first clock signal CLK_1 is divided by the second frequency division module 133 to form the required second clock signal CLK_2, and the frequency of the formed second clock signal CLK_2 is the same as the frequency of the second data signal txd_2.
[0063] In some embodiments, the second frequency division module 133 is located at the tail end of the input-output module 103. In other words, the second data signal txd_2 is first adjusted to be aligned with the first clock signal CLK_1, and then the first clock signal CLK_1 is divided to make the second clock signal CLK_2 and the second data signal txd_2 have the same frequency and phase, thereby reducing the clock offset between the second clock signal CLK_2 and the second data signal txd_2.
[0064] The following is an example to illustrate the signal transmission circuit provided by an embodiment of the present disclosure: Taking the need to output the second clock signal CLK_2 as a 125MHz clock as an example, the signal generation module can generate a first clock signal CLK_1 and a first reset signal RST_1 with a frequency of 1000MHz, and then transmit the first clock signal CLK_1 and the first reset signal RST_1 to the transmission module 101, and generate a second reset signal RST_2 with a delay of one clock cycle. At this time, the first clock signal CLK_1 and the second reset signal RST_2 are transmitted to the data generation module 102, and the first frequency division module 112 in the data generation module 102 is in the first When the second reset signal RST_2 is in the de-reset state, the first clock signal CLK_1 is divided to generate a divided signal clk_div, the divided signal clk_div is a clock signal of 125 MHz, and then the divided signal clk_div is transmitted to the data conversion module 122, the data conversion module 122 will generate a third data signal txd_3, the frequency of the generated third data signal txd_3 is 125 MHz, which is the required frequency, and then the third data signal txd_3 is input into the first delay module 132, the built-in delay period of the data generation module 102 is 2 clock cycles, to generate the first data signal txd_1, and the first The data signal txd_1 is transmitted to the input-output module 103, and the built-in delay period of the input-output module 103 is 1 clock cycle to generate the second data signal txd_2. Generally speaking, the second data signal txd_2 is delayed by 3 clock cycles compared with the third data signal txd_3; while the second reset signal RST_2 is transmitted to the data generation module 102, the second reset signal RST_2 is also transmitted to the input-output module 103, and the second reset signal RST_2 is transmitted to the third delay module 123. Since the second data signal txd_2 is delayed by 3 clock cycles compared with the third data signal txd_3, in order to ensure the final output of the first The second clock signal CLK_2 and the second data signal txd_2 have the same frequency and phase. The third delay module 123 also delays the second reset signal RST_2 by 3 clock cycles to generate a third reset signal RST_3. Then, when the third reset signal RST_3 is in the released reset state, the first clock signal CLK_1 is divided to generate the second clock signal CLK_2. Since the delay period of the third reset signal RST_3 compared to the second reset signal RST_2 is equal to the delay period of the second data signal txd_2 compared to the first data signal txd_1, the generated second clock signal CLK_2 and the second data signal txd_2 are also of the same frequency and phase.
[0065] It is understandable that the higher the frequency of the first clock signal CLK_1, the higher the accuracy of subsequently improving the clock skew between the second clock signal CLK_2 and the second data signal txd_2. Therefore, for the above embodiment, the frequency of the generated first clock signal CLK_1 can also be 2000 MHz.
[0066] In some embodiments, the input / output module 103 further includes: a phase shift module 104, which receives the second clock signal CLK_2 and delays the second clock signal CLK_2 by at least one phase. By delaying the second clock signal CLK_2 by at least one phase through the phase shift module 104, the data of the middle segment can be collected when collecting data, thereby improving the accuracy of the collected data.
[0067] For the present disclosure, before the phase shift module 104 adjusts the phase of the second clock signal CLK_2, the second clock signal CLK_2 and the second data signal txd_2 are of the same frequency and phase. Therefore, for the phase shift module 104, the width of the phase adjustment of the second clock signal CLK_2 is relatively small, and the output signal quality is relatively good.
[0068] For the present disclosure, the complexity of the board-level circuit can also be reduced. Since the internal delay can be adjusted, no additional resistors will be added to adjust the delay.
[0069] In some embodiments, the phase shift module 104 is located at the end of the input / output module 103. It is understandable that by arranging the phase shift module at the end of the signal transmission circuit, no matter how the data changes in the input / output module 103, the data will be delayed before output, thereby ensuring the correctness of the output of the second data signal txd_2.
[0070] The embodiment of the present disclosure provides a signal transmission circuit. On the one hand, a first clock signal CLK_1 and a first reset signal RST_1 are generated by a signal generation module 100. The transmission module 101 is used to establish a transmission channel with a data generation module 102 and an input / output module 103 to transmit the first clock signal CLK_1 to the data generation module 102 and the input / output module 103. At the same time, the transmission module 101 also receives the first reset signal RST_1 and delays it to generate a second reset signal RST_2 to ensure the accuracy of the transmission of the second reset signal RST_2. The data generation module is used to receive the first The first clock signal CLK_1 and the second reset signal RST_2 are respectively input and output, and the frequency of the first clock signal CLK_1 is adjusted when the second reset signal RST_2 is released from reset, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1, and the first data signal txd_1 is used as the basis for the subsequent generation of the second data signal txd_2. At this time, the first data signal txd_1 has been converted into a data signal of the required frequency, and the frequency of the first clock signal CLK_1 is adjusted when the third reset signal RST_3 is released from reset through the input / output module 103, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1. The first data signal txd_1 is used as the basis for the subsequent generation of the second data signal txd_2. At this time, the first data signal txd_1 has been converted into a data signal of the required frequency, and the frequency of the first clock signal CLK_1 is adjusted when the third reset signal RST_3 is released from reset through the input / output module 103, and the first data signal txd_1 is generated based on the adjusted first clock signal CLK_1. The second clock signal CLK_2 is generated based on the clock signal CLK_1. At this time, the generated second clock signal CLK_2 is also converted to the required frequency. By generating the second data signal txd_2 and the second clock signal CLK_2 with a smaller frequency based on the first clock signal CLK_1 with a larger frequency, the accuracy of clock edge alignment can be improved. On the other hand, the second data signal txd_2 is based on the first data signal txd_1. The first data signal txd_1 is based on the first clock signal CLK_1 and the second reset signal RST_2. The second clock signal CLK_2 is also based on the first data signal txd_1. The second reset signal RST_2 and the first clock signal CLK_1 are used as the basis, so that the generated second clock signal CLK_2 and the second data signal txd_2 are generated based on the same signal, and the delay period of the third reset signal RST_3 compared to the second reset signal RST_2 is equal to the delay period of the second data signal txd_2 compared to the first data signal txd_1, so that the generated second data signal txd_2 and the second clock signal CLK_2 have the same frequency and phase, thereby reducing the clock skew between the second clock signal CLK_2 and the second data signal txd_2.
[0071] Another embodiment of the present disclosure further provides a chip, which may include the signal transmission circuits in some or all of the above embodiments. It should be noted that the same or corresponding parts of the above embodiments may refer to the corresponding description of the above embodiments, and will not be repeated below.
[0072] Different chips have different internal routing delays. In order to minimize the delay, an input-output module is set at the output end. The clock signal and data signal are adjusted in the input-output module. On the one hand, different chips can be adjusted at the same position. On the other hand, after the clock signal and data signal are adjusted to the optimal position in the input-output module, they are applicable to different chips, so that the signal delays finally output by different chips are the same.
[0073] For different chips, since the delay alignment is completed by registers and the phase adjustment is also made at the last stage of outputting data, the delay is not affected by the chip; moreover, the present invention adopts a higher frequency clock signal as the basis, which can reduce the adjustment time of the entire process, so that the connection between the opposite chip and the interface chip can be more accurate.
[0074] Those skilled in the art can understand that the above-mentioned embodiments are specific examples for implementing the present disclosure, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of the embodiments of the present disclosure. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present disclosure, so the protection scope of the embodiments of the present disclosure shall be based on the scope defined in the claims.
Claims
1. A signal transmission circuit, characterized in that: include: A signal generating module, wherein the signal generating module generates a first clock signal and a first reset signal; a transmission module, wherein the transmission module receives the first clock signal and the first reset signal, and delays the first reset signal to generate a second reset signal; a data generating module, wherein the data generating module receives the first clock signal and the second reset signal transmitted by the transmitting module, adjusts the frequency of the first clock signal when the second reset signal is reset, and generates a first data signal based on the adjusted first clock signal; an input-output module, the input-output module receiving the first data signal, delaying the first data signal to generate a second data signal, receiving the second reset signal and the first clock signal, delaying the second reset signal to generate a third reset signal, adjusting the frequency of the first clock signal when the third reset signal is released from reset, and generating a second clock signal based on the adjusted first clock signal, the second clock signal having the same frequency and phase as the second data signal, the frequency of the first clock signal being greater than the frequency of the second clock signal, and the delay period of the third reset signal compared to the second reset signal being equal to the delay period of the second data signal compared to the first data signal; The data generation module includes: a first frequency division module, the first frequency division module receives the second reset signal and the first clock signal, and generates a frequency division signal; A data conversion module, which receives the frequency-divided signal and generates a third data signal having the same frequency as the second data signal; a first delay module, which is connected to the data conversion module, receives the third data signal, and delays the third data signal to generate the first data signal.
2. The signal transmission circuit according to claim 1, characterized in that: The first delay module is located at the end of the data generation module.
3. The signal transmission circuit according to claim 1, characterized in that: The input-output module comprises: a second delay module, wherein the second delay module receives the first data signal and delays the first data signal to generate the second data signal; A third delay module receives the second reset signal and delays the first clock signal to generate a third reset signal.
4. The signal transmission circuit according to claim 3, characterized in that: The delay period of the third delay module is equal to the sum of the delay period of the second delay module and the delay period of the first delay module.
5. The signal transmission circuit according to claim 4, characterized in that: The input-output module also includes: A second frequency division module is configured to receive the third reset signal and divide the frequency of the third reset signal to generate the second clock signal.
6. The signal transmission circuit according to claim 1, characterized in that: The input-output module further includes a phase shift module, which receives the second clock signal and delays the second clock signal by at least one phase.
7. The signal transmission circuit according to claim 6, characterized in that: The phase shift module is located at the end of the input and output module.
8. A chip, characterized in that: It comprises the signal transmission circuit as described in any one of claims 1 to 7 above.
Citation Information
Patent Citations
D flip-flop
CN115225064A
Power-on reset circuit
CN116566370A
Delay-locked loop and memory
CN117953939A
Delay distribution circuit and delay distribution method
CN118367925A
Data signal that mimics a clock signals
EP1146413A2
