Data transmission method for chiplet interconnection interface and chiplet interconnection interface
By using limited-period clock signals and data signals in the chip interconnect interface, real-time clock and data alignment between core chips is achieved, which solves the data link retraining problem caused by clock and data misalignment, reducing power consumption and design complexity.
Patent Information
- Application Number
- CN202310802966.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In the existing technology, the misalignment of clocks and data between core chips will cause the data link to be retrained, affecting the normal operation of the chip and increasing power consumption.
By using limited-period clock signals and data signals at the receiving end and transmitting end, the clock signal is used to locate the starting position of the data, and the serial data is converted into parallel data, and the data is saved and read to achieve real-time clock and data alignment. Avoid pre-clock-to-data alignment training.
Real-time clock and data alignment between cores is achieved without prior clock-to-data alignment training, which reduces design complexity and power consumption and avoids the need for data link retraining.
Smart Images

Figure CN116775546B
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to a data transmission method for a chip-grain interconnection interface and a chip-grain interconnection interface, and more particularly to a data transmission method, a transmitting end, a receiving end, a chip-grain interconnection interface, a chip, and an electronic device. Background Art
[0002] A chiplet is a unit chip with certain functions and an interconnect interface within the package. It is the latest development in chip design technology. Chiplet technology uses multiple chiplets to implement chip design, which can not only reduce costs but also improve chip performance.
[0003] The interconnection between chiplets naturally becomes an important factor affecting chip performance. Currently, there are two implementation methods: serial bus and parallel bus. Among them, parallel bus interconnection is the mainstream at present. Parallel bus can provide a shorter delay between two chiplets, and can also expand the bandwidth between chiplets by increasing the bus bandwidth.
[0004] After achieving physical interconnection, the chip interconnection also needs to complete data link training, in which clock-to-data alignment is an essential part of data transmission. However, clock-to-data alignment is a component of data link training. If the clock and data are not aligned after training, the data link needs to be fully trained again, which seriously affects the normal operation of the chip. Summary of the invention
[0005] In order to solve the above technical problems in the prior art, the embodiments of the present disclosure provide a data transmission method, a transmitting end, a receiving end, a core-grain interconnection interface, a chip and an electronic device.
[0006] In a first aspect, at least one embodiment of the present disclosure provides a data transmission method, applied to a receiving end, comprising: receiving N data signals and a first clock signal, the first clock signal having a limited number of cycles, the number of cycles of each of the N data signals being less than or equal to the number of cycles of the first clock signal, and N being a positive integer; according to the first clock signal, locating the starting position of data in the N data signals, and obtaining the data in the N data signals.
[0007] For example, in a method provided in an embodiment of the present disclosure, according to a first clock signal, the starting position of data in N data signals is located, and the data in the N data signals is obtained, including: according to the first clock signal, N second clock signals are obtained, and the N second clock signals correspond to the N data signals respectively; according to the N second clock signals, the starting position of the data of each data signal in the N data signals is located respectively, and the data in the N data signals is converted from serial data to parallel data respectively; wherein each of the N second clock signals has the same number of cycles as the first clock signal.
[0008] For example, in a method provided in an embodiment of the present disclosure, after acquiring data in N data signals, the method further includes: according to N second clock signals, correspondingly saving the data in the N data signals to a buffer memory.
[0009] For example, in a method provided in an embodiment of the present disclosure, the method further includes: reading data in N data signals from a buffer memory according to a third clock signal, wherein the third clock signal is a local clock signal of the receiving end.
[0010] For example, in a method provided in an embodiment of the present disclosure, data in a data signal is read from a buffer memory according to a third clock signal, including: accessing a read pointer of the buffer memory according to the third clock signal to read data in N data signals.
[0011] For example, in a method provided in an embodiment of the present disclosure, data in N data signals are correspondingly saved to a buffer memory according to N second clock signals, including: according to the N second clock signals, respectively accessing the write pointer of the buffer memory to save the data in the N data signals to the buffer memory.
[0012] For example, in a method provided in an embodiment of the present disclosure, the method further includes: after at least one empty data is read from the buffer memory, stopping reading the buffer memory.
[0013] For example, in a method provided in an embodiment of the present disclosure, the number of cycles of each of the N data signals is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
[0014] In a second aspect, at least one embodiment of the present disclosure provides a data transmission method, applied to a transmitting end, comprising: sending N data signals and a first clock signal, wherein N is a positive integer, the number of cycles of the first clock signal is limited, the number of cycles of each of the N data signals is less than or equal to the number of cycles of the first clock signal, and the first clock signal is used to locate the starting position of data in the N data signals and obtain data in the N data signals.
[0015] For example, in a method provided in an embodiment of the present disclosure, sending N data signals and a first clock signal includes: sending N data signals and the first clock signal at the same time; or, sending the first clock signal first, and then sending N data signals after a preset period.
[0016] For example, in a method provided in an embodiment of the present disclosure, the method further includes: when or after N data signals stop being sent, stopping sending the first clock signal.
[0017] For example, in a method provided in an embodiment of the present disclosure, the number of cycles of each of the N data signals is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
[0018] In a third aspect, at least one embodiment of the present disclosure provides a receiving end, applied to a chip interconnection interface, comprising: N data ports, configured to receive N data signals, where N is a positive integer; a clock port, configured to receive a first clock signal, the first clock signal has a limited number of cycles, and the number of cycles of each of the N data signals is less than or equal to the number of cycles of the first clock signal; a data processing module, connected to the N data ports and the clock port, configured to locate the starting position of the data in the N data signals according to the first clock signal, and obtain the data in the N data signals.
[0019] For example, in the receiving end provided in one embodiment of the present disclosure, the receiving end also includes: a clock acquisition module, connected to the clock port and the data processing module, configured to acquire N second clock signals based on the first clock signal, and send the N second clock signals to the data processing module; the data processing module is configured to convert the data in the N data signals from serial data to parallel data according to the N second clock signals; wherein each of the N second clock signals has the same number of cycles as the first clock signal.
[0020] For example, in a receiving end provided in an embodiment of the present disclosure, the receiving end further includes: a buffer memory connected to the data processing module and configured to store data in N data signals.
[0021] For example, in the receiving end provided in an embodiment of the present disclosure, the data processing module is also configured to access the write pointer of the buffer memory respectively according to N second clock signals to save the data in the N data signals to the buffer memory.
[0022] For example, in the receiving end provided in one embodiment of the present disclosure, the receiving end also includes: a data reading module, connected to the buffer memory, configured to read data from N data signals from the buffer memory according to a third clock signal, wherein the third clock signal is a local clock signal of the receiving end.
[0023] For example, in the receiving end provided in an embodiment of the present disclosure, the data reading module is further configured to access the read pointer of the buffer memory according to the third clock signal to read data in the N data signals.
[0024] For example, in the receiving end provided in an embodiment of the present disclosure, the data reading module is further configured to stop reading data from the buffer memory after reading at least one empty data from the buffer memory.
[0025] For example, in a receiving end provided in an embodiment of the present disclosure, the buffer memory is an asynchronous FIFO memory.
[0026] For example, in a receiving end provided in an embodiment of the present disclosure, the receiving end also includes: a local clock configured to generate a local clock signal.
[0027] For example, in the receiving end provided in an embodiment of the present disclosure, the number of cycles of each data signal in N data signals is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
[0028] In a fourth aspect, at least one embodiment of the present disclosure provides a transmitting end, applied to a chip interconnection interface, comprising: N data ports, configured to correspondingly send N data signals, where N is a positive integer; a clock port, configured to send a first clock signal; a local clock, connected to the clock port and the N data ports, configured to generate a first clock signal; wherein the first clock signal has a limited number of cycles, the number of cycles of each of the N data signals is less than or equal to the number of cycles of the first clock signal, and the first clock signal is used to locate the starting position of the data in the N data signals and obtain the data in the N data signals.
[0029] For example, in the transmitting end provided in one embodiment of the present disclosure, N data ports and clock ports are configured to send N data signals and a first clock signal at the same time; or, the clock port is configured to send the first clock signal first, and the N data ports are configured to send N data signals after a preset period after the first clock signal is sent.
[0030] For example, in the transmitting end provided in one embodiment of the present disclosure, the transmitting end also includes: a clock switch, connected to the local clock and to the clock port, and configured to disconnect the local clock from the clock port when N data signals stop sending or one cycle after stopping sending.
[0031] For example, in the transmitting end provided in an embodiment of the present disclosure, the number of cycles of each data signal of N data signals is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
[0032] In a fifth aspect, at least one embodiment of the present disclosure further provides a chip interconnect interface configured to execute any method as described in the first aspect above.
[0033] In a sixth aspect, at least one embodiment of the present disclosure further provides a chip interconnect interface configured to execute any method as described in the second aspect above.
[0034] In a seventh aspect, at least one embodiment of the present disclosure further provides a chip-to-chip interconnection interface, comprising a receiving end as described in any one of the third aspects.
[0035] In an eighth aspect, at least one embodiment of the present disclosure further provides a chip-to-chip interconnection interface, comprising a transmitting end as described in any one of the third aspects.
[0036] In a ninth aspect, at least one embodiment of the present disclosure further provides a chip comprising a plurality of core particles, wherein any two of the plurality of core particles are connected via a core particle interconnection interface such as the fifth aspect or the seventh aspect and a core particle interconnection interface such as the sixth aspect or the eighth aspect.
[0037] In a tenth aspect, at least one embodiment of the present disclosure provides an electronic device comprising a chip as in the ninth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure.
[0039] Figure 1 A schematic diagram of a chip interconnection interface in the prior art is shown;
[0040] Figure 2 A schematic diagram of clock-to-data alignment between chiplets in the prior art is shown;
[0041] Figure 3 A flowchart of a data transmission method provided according to at least one embodiment of the present disclosure is shown;
[0042] Figure 4 A flowchart of another data transmission method provided according to at least one embodiment of the present disclosure is shown;
[0043] Figure 5 A schematic diagram of a receiving end provided by at least one embodiment of the present disclosure is shown;
[0044] Figure 6 A schematic diagram of a transmitting end provided by at least one embodiment of the present disclosure is shown;
[0045] Figure 7a A schematic diagram of the structure of a clock switch provided by at least one embodiment of the present disclosure is shown;
[0046] Figure 7b A schematic diagram showing a first clock signal and a data signal provided by at least one embodiment of the present disclosure is shown;
[0047] Figure 7c A schematic diagram showing a first clock signal and a data signal provided by at least one embodiment of the present disclosure is shown;
[0048] Figure 8 A schematic diagram of a chip provided by at least one embodiment of the present disclosure is shown;
[0049] Fig. 9 A timing diagram showing a data transmission method after chiplet interconnection provided by at least one embodiment of the present disclosure is shown;
[0050] Fig.10 A schematic diagram of an electronic device provided by at least one embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0052] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0053] The training of the data link is usually carried out after the initialization of the core particle is completed. It requires the cooperation of the core particle on the sending side and the core particle on the receiving side so that the core particle on the receiving side can find the most suitable data sampling window. The training of the complete data link includes multiple parts, such as offset calibration, reference power supply Verf calibration, data path deskew, clock to data alignment (CDA, Clock and Data Alignment), parallel data reorder and data check, etc. Clock to data alignment is to adjust the phase between data and clock to finally obtain the appropriate sampling phase.
[0054] Figure 1 A schematic diagram of a chip interconnection interface in the prior art is shown.
[0055] exist Figure 1In the embodiment, core A and core B are connected through core interconnection interface 110 and core interconnection interface 120. Core A is the sending side and core B is the receiving side. Core interconnection interface 110 includes multiple data ports 111, clock port 112 and local clock 113. Core interconnection interface 120 includes multiple data ports 121, clock port 122, clock receiving module 123 and data sampling module 124. The number of data ports of multiple data ports 111 and multiple data ports 121 is equal, and they are respectively connected through multiple data paths. Clock port 112 is connected to clock port 122 through a clock path. Local clock 113 generates a clock signal and sends the clock signal to multiple data ports 111 and clock port 112. Clock receiving module 123 receives the clock signal generated by local clock 113 and adjusts the clock signal, and sends the adjusted clock signal to data sampling module 124. Data sampling module 124 uses the clock signal to perform data sampling. The clock signal can be a differential clock signal. The clock signal and data signal are continuously sent to core B. The data signal carries valid data and empty data, that is, the data signal does not carry all valid data. Valid data is what core A wants to send to core B. Core A transmits valid data according to a preset data format. The length of valid data sent each time is limited. The valid data is not sent continuously, and there will be some time gaps. Empty data is used to fill the gaps between valid data. Therefore, the data transmission between core A and core B will have data misalignment between multiple data channels. In the prior art, it is necessary to pre-train the clock-to-data alignment so that accurate data can be received.
[0056] Figure 2 A schematic diagram of clock and data alignment between chiplets in the prior art is shown.
[0057] Valid flags are often used to train clock-to-data alignment. Figure 2 The core particles A and B in can be Figure 1 The core A and core B are shown in Figure 1. The valid flag is vld, which takes a value of 1. The sender copies it three times to convert it into 3-bit data, and uses the first 3 bits of each data channel to carry the valid flag. The valid flag can indicate the beginning of a valid data segment. Based on the valid flag, core B can accurately locate the valid data from each data signal. The valid data has an agreed data format, including the data length. Therefore, after core B finds the valid flag, it can locate a valid data segment. Figure 2In the example, the three data signals sent from chiplet A are aligned. There is a certain phase difference or delay between the three data signals received by chiplet B. This delay is difficult to eliminate and is affected by many factors such as chiplet design, working environment, temperature, humidity, manufacturing process, etc. As long as the receiving end successfully receives two valid flags out of the three valid flags, it determines that the data channels are aligned.
[0058] Figure 2 Although there is a certain phase difference between the two data paths at the bottom and the first data path at the top, there are still two valid flags of the three data paths aligned, so the three data paths are considered to be aligned. This alignment is not an absolute alignment, and it allows a certain error. However, the training of clock-to-data alignment is included in the complete data link training. If there is misalignment between data signals or misalignment between data and clock during normal use of the chip, even if other training in the data link training is not necessary, the complete data link training must be repeated, which will seriously affect the normal operation of the chip and increase power consumption.
[0059] Based on this, the embodiments of the present disclosure provide a data transmission method, a transmitting end, a receiving end, a chip interconnection interface, a chip and an electronic device, which can realize real-time clock and data alignment between chiplets without the need for prior clock-to-data alignment training, and provide a feasible solution for removing clock-to-data alignment from data link training.
[0060] The embodiments provided by the present disclosure are described below in conjunction with the accompanying drawings.
[0061] Figure 3 A flowchart of a data transmission method provided according to at least one embodiment of the present disclosure is shown.
[0062] Figure 3 The data transmission method 300 is applied to the receiving end of the chiplet interconnect interface.
[0063] The data transmission method 300 comprises the following steps:
[0064] Step S310, receiving N data signals and a first clock signal, where N is a positive integer, the number of cycles of the first clock signal is limited, and the number of cycles of each of the N data signals is less than or equal to the number of cycles of the first clock signal.
[0065] Step S320: locate the starting position of data in the N data signals according to the first clock signal, and obtain the data in the N data signals.
[0066] In the present disclosure, N data signals correspond to N data paths, and the first clock signal corresponds to the clock path. Each data path transmits 1 data signal, and each data signal carries serial data. The first clock signal can be a differential clock signal. For example, N is 2, 3, 4, ..., 16, etc. The value of N is related to the bandwidth required by the core particle interconnection interface. The more data paths, the greater the bandwidth of data transmission between core particles. The number of data paths can be set according to demand.
[0067] The data carried by each data signal is of limited length, that is, the number of cycles carrying data in each data signal is limited. The number of cycles of the N data signals or the number of cycles of each data signal involved in the embodiments of the present disclosure refers to the number of cycles carrying valid data. The number of cycles may also be referred to as length or cycle length, and these terms can be interchanged in the present disclosure. It can be understood that data transmission between core particles usually has a fixed data format, that is, the data length of each transmission is fixed and equal, for example, the data format specifies that the data length is 128 bits. The number of cycles of the N data signals in this embodiment is equal, that is, the number of cycles of the N data signals and the number of cycles of each data signal refer to the same number of cycles.
[0068] The data in each data signal does not include a valid flag. The data carried in each data signal may have a predefined data format, such as a predetermined data length or number of cycles. For example, the number of cycles is 8. For ease of description, the length or number of cycles of the data signal mentioned in the present disclosure refers to the part of the data signal that carries valid data, and the data in the data signal also refers to valid data. The data signal in the present disclosure is a square wave, and the square wave may be continuously received, but the part carrying data is the part of the data signal to be discussed in the present disclosure.
[0069] Correspondingly, the length of the first clock signal is also limited, which is the length of carrying a valid clock cycle, for example, the length is 4 cycles. The first clock signal valid clock cycle is, for example, a cycle with clock jumps, and each valid clock cycle includes 1 rising edge and 1 falling edge of the clock. The first clock signal can also be transmitted in the form of a square wave. Unlike the data signal, the first clock signal in the present disclosure is a square wave when valid, and can be a continuous low level when invalid.
[0070] The data in the data signal of the present disclosure does not carry a valid flag bit, but uses the first clock signal to determine the starting position of the data. There is a corresponding relationship between the N data signals and the first clock signal, and the corresponding relationship is that the difference in the number of cycles is less than or equal to a preset number. For example, the number of cycles of the first clock signal is limited and the number of cycles of the first clock signal is greater than or equal to the number of cycles of each data signal. Preferably, the number of cycles of the first clock signal is equal to the number of cycles of each data signal.
[0071] The length of the first clock signal needs to be greater than or equal to the length of each data signal, and the length of each data signal is the same. Only when the length of the first clock signal is greater than or equal to the length of the data signal can the data in the data signal be completely acquired, otherwise the data may be incomplete. For example, it can be considered that the first clock signal determines the starting position of the data in the data signal. The scheme disclosed in the present invention does not involve a valid flag bit, so the position of the first time period of the first clock signal corresponds to the starting position of the data carried in the data signal, for example Fig. 9 . For example, the number of N data signal cycles is M, the number of N first clock signal cycles is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0. X also needs to be less than or equal to a preset number. The preset number is, for example, 1, 2, 3, 4, etc. The preset number can be adjusted according to demand, and the smaller the preset number, the shorter the length of the first clock signal, and thus the lower the power consumption of sending and receiving the first clock signal.
[0072] When executing step S320, due to the corresponding relationship between the first clock signal and the N data signals. Therefore, the data in the data signal can be obtained according to the first clock signal. The data in the data signal here refers to the valid data carried by the data signal. In this embodiment, the opposite of valid data is invalid data or empty data, and the invalid data or empty data can be garbled data, preset fill values, etc., so that after reading the invalid data or empty data, it is determined that the valid data in the data signal has been received. For example, in this embodiment, the first clock signal does not exist continuously but has a limited length, and the first clock signal is used to locate the position of the data in the data signal.
[0073] According to the method provided in this embodiment, there is a corresponding relationship between the N received data signals and the first clock signal, so that the first clock signal can be used to determine and obtain the data in the data signal. The data does not need to include a valid flag bit, nor does it need to perform clock-to-data alignment training in advance, and the clock-to-data alignment effect can be obtained in real time.
[0074] In some embodiments, executing step S320 may include: locating the starting position of data in N data signals according to the first clock signal, and obtaining N second clock signals, the N second clock signals corresponding to the N data signals respectively; locating the starting position of data of each of the N data signals according to the N second clock signals, and converting the data in the N data signals from serial data to parallel data respectively; wherein each of the N second clock signals has the same number of cycles as the first clock signal.
[0075] For example, the first clock signal is expanded into N second clock signals without changing the frequency and number of cycles (or length) of the clock signal. There may be different phase differences between the N second clock signals. For example, when obtaining N second clock signals, a different phase is adjusted for each second clock signal, such as Fig. 9 The clock signals of the multiple lanes in the N second clock signals have different phase differences. The phase difference in this embodiment can be understood as a delay. Then, the data in the N data signals are positioned according to each clock signal in the N second clock signals, for example, the starting position of the data is positioned.
[0076] For example, N data signals are sampled correspondingly using N second clock signals, thereby converting the data in each data signal from serial to parallel, wherein each second clock signal is used to sample a corresponding data signal. For example, data sampling is performed once at each falling edge of the clock or each rising edge of the clock, thereby obtaining the data in the data signal.
[0077] In some embodiments, after acquiring the data in the N data signals, the data transmission method further includes: saving the data in the N data signals to a buffer memory correspondingly according to the N second clock signals.
[0078] Optionally, the data in each data signal can be stored in a partial storage area of the buffer memory, or can be stored in a separate buffer memory. That is, the number of buffer memories can be 1 or N. For example, after deserializing the data in the data signal, a number of data blocks are obtained, and each data block can be stored in a storage space of the buffer memory, such as an entry or an address space. The data in different data signals can be stored in different buffer memories, which is easier to implement and convenient for subsequent processing.
[0079] When data in N data signals are stored in different areas of a buffer memory, the buffer memory reserves a fixed storage area for the data in each data signal. For example, the buffer memory is divided into N storage areas, each storage area including multiple storage spaces.
[0080] In some embodiments, saving data in the N data signals into a buffer memory includes: accessing a write pointer of the buffer memory respectively according to N second clock signals to save the data in the N data signals into the buffer memory.
[0081] For example, when there is only one buffer memory, N second clock signals are used to access write pointers of different storage areas to store data in N data signals into different storage areas. The buffer memory may include N storage areas, each storage area having its own write pointer and read pointer.
[0082] For another example, when there are N buffer memories, N second clock signals are used to access write pointers of different buffer memories to store data in the N data signals into different buffer memories.
[0083] For example, the buffer memory writes data by accessing the write pointer, so the write pointer can be counted by the second clock signal, such as each rising edge or each falling edge of the second clock signal causes the value of the write pointer to increase by 1, that is, points to the next storage space. Each write pointer regularly cycles to point to a plurality of storage spaces in a storage area. For example, the write pointer jumps according to the address of the storage space from large to small or from small to large.
[0084] In some embodiments, the data transmission method further comprises: reading data in the N data signals from the buffer memory according to a third clock signal, wherein the third clock signal is a local clock signal of the receiving end. The data in the N data signals can be read using the same third clock signal.
[0085] The method of reading data from the buffer memory is similar to the method of saving data. For example, the read pointer of the buffer memory can be accessed according to the third clock signal to read the data in the N data signals. For example, when there are N buffer memories, the N buffer memories can be accessed according to the third clock signal to obtain the data in the N data signals. After the read pointer of the buffer memory is accessed, the value of the read pointer will also be increased by 1 and point to the next storage space. Optionally, the number of values of the read pointer is limited or the value range is limited, and the value of the read pointer cyclically jumps within the value range. For example, the read pointers of the N buffer memories are accessed and counted according to the rising edge or falling edge in the third clock signal, so that the data in the N data signals can be read out at the same time.
[0086] Optionally, after the data in the N data signals are stored in the buffer memory, they can be read out simultaneously. For example, after determining that the data in all the N data signals are stored in the buffer memory accordingly, the third clock signal can be used to read them simultaneously. The length of the data in the N data signals and the number of data blocks are specified to be the same, and the data blocks can be stored in several similar storage spaces in different buffer memories, or the data blocks can be stored in the same order. Therefore, when reading the data, the same signal can be used to trigger so that the data in different buffer memories or different storage areas can be read simultaneously and in order. The third clock signal can also be a clock signal generated according to the first clock signal, for example, a third clock signal whose length exceeds the first clock signal is generated according to the frequency of the first clock signal, or the first clock signal is delayed to obtain the third clock signal.
[0087] By adopting the method in this embodiment, the data in the N data signals can be considered to be "aligned" and saved in the buffer memory, and then the same third clock signal is further used to read the data in the buffer memory. The reading process is also "aligned". Even if the N data signals are not aligned during the transmission process (for example, the phase difference between different data signals exceeds 2 cycles), the data finally obtained is still aligned. Therefore, when the data channels are not aligned under the normal working state of the core particle, there is no need to re-train the data link. Further, by adopting the method in this embodiment, it is not necessary to perform clock-to-data alignment training in the training stage of the data link, and data alignment can be completed directly by correspondingly sending / receiving the N data signals and the first clock signal. Since there is no need to perform clock-to-data alignment training and repeated data link training, not only the complexity of the design can be reduced, but also the power consumption can be reduced.
[0088] In some embodiments, the data transmission method further includes stopping reading the N buffer memories after at least one empty data is read from the buffer memory.
[0089] In this embodiment, the data length of each data signal is limited, so after reading empty data from the buffer memory, it can be considered that the data reading is completed and the access to the buffer memory is stopped.
[0090] The data transmission method of the receiving end of the chiplet interconnection interface is introduced above in conjunction with the accompanying drawings. Figure 4 This paper introduces the data transmission method of the sending end of the chiplet interconnection interface.
[0091] At least one embodiment of the present disclosure also provides a data transmission method, which is applied to a transmitting end and includes: sending N data signals and a first clock signal, wherein N is a positive integer, and there is a corresponding relationship between the N data signals and the first clock signal, and the corresponding relationship is that the difference in the number of cycles is less than or equal to a preset number, and the first clock signal is used to obtain data in the N data signals.
[0092] Figure 4 A flowchart of another data transmission method provided according to at least one embodiment of the present disclosure is shown. The data transmission method 400 is applicable to a sending end.
[0093] exist Figure 4 In the embodiment, the data transmission method 400 comprises the following steps:
[0094] Step S410, sending N data signals and a first clock signal, wherein N is a positive integer, the number of cycles of the first clock signal is limited, the number of cycles of each of the N data signals is less than or equal to the number of cycles of the first clock signal, and the first clock signal is used to locate the starting position of the data in the N data signals and obtain the data in the N data signals.
[0095] The definitions of the N data signals and the first clock signal can be found in Figure 3 The relevant description in will not be repeated here. In this embodiment, not any clock signal with the same number of cycles as the number of cycles of the data signal can be used to obtain data in the data signal. There is a corresponding relationship between the first clock signal and the N data signals. For example, when the first clock signal and the N data signals are sent, they are aligned or sent at the same time, so that the first edge of the first clock signal is aligned with the first cycle of the N data signals carrying valid data. For the receiving end, after design or data de-skew training, the corresponding relationship does not change.
[0096] Optionally, the number of cycles of each of the N data signals is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to zero.
[0097] The number of cycles of each data signal in the N data signals is the same. The number of cycles of the first clock signal is greater than or equal to the number of cycles of the data signal, so that the data in the data signal can be completely obtained. For example, M is equal to 6, and X is equal to 1 or 2. Optionally, the difference between the number of cycles of the first clock signal and the number of cycles of the data signal is less than a preset value. For example, the preset value is 4 or 3. When the number of cycles of the first clock signal does not exceed the number of cycles of the data signal by too much, the power used to receive the first clock signal can be saved.
[0098] In a further embodiment, when executing step S410, N data signals and the first clock signal may be sent simultaneously; or, the first clock signal may be sent first, and then N data signals may be sent after a preset cycle length.
[0099] For example, when the number of cycles of the first clock signal is equal to or greater than the number of cycles of the data signal, the corresponding data signal and the first clock signal may be sent simultaneously. When the number of cycles of the first clock signal is greater than the number of cycles of the data signal, the first clock signal may be sent first, and then the data signal may be sent, thereby ensuring that the first clock signal can "cover" all cycles of the data signal.
[0100] Optionally, the sending of the first clock signal is related to the sending of the data signal, for example, the sending of the data signal determines the sending of the first clock signal. For example, the first clock signal can be set to be sent at the same time as the N data signals are sent, so that the starting position of the first clock signal is aligned with the starting position of the data in the N data signals.
[0101] In some embodiments, the data transmission method further includes: stopping sending the first clock signal when or after the N data signals stop sending.
[0102] For example, stopping sending each data signal can also be understood as completing the sending of each data signal. When all data signals stop sending, you can choose to stop sending the first clock signal, or let the first clock signal continue to send for a few cycles. In this way, it can be ensured that the number of cycles of the first clock signal is greater than or equal to the number of cycles of the data signal, and the clock cycles that will not be used later can be stopped, that is, the clock signal is stopped when the data signal is not sent, thereby reducing the power consumption caused by sending the clock signal.
[0103] At least one embodiment of the present disclosure further provides a chip interconnect interface, which is configured to execute any method in the first method embodiment described above. For example, the chip interconnect interface includes a processing module, which can implement the method in the method embodiment described above.
[0104] At least one embodiment of the present disclosure further provides a chip interconnect interface, which is configured to execute any method in the second method embodiment described above. For example, the chip interconnect interface includes a processing module, which can implement the method in the method embodiment described above.
[0105] Figure 5 A schematic diagram of a receiving end provided by at least one embodiment of the present disclosure is shown. The receiving end 500 in this embodiment can perform reference Figure 3 The data transmission method described in this specification can be found in Figure 3 Related description.
[0106] exist Figure 5 In the embodiment, the receiving end 500 includes N data ports 510, a clock port 520 and a data processing module 530. The data processing module 530 is respectively connected to the N data ports 510, and the data processing module 530 is connected to the clock port 520. The receiving end 500 is connected to N data paths and 1 clock path, and each data path is connected to one data port.
[0107] Among them, the N data ports 510 receive N data signals correspondingly. N is a positive integer. The N clock ports 520 receive N first clock signals correspondingly. There is a corresponding relationship between the N data signals and the first clock signal, and the corresponding relationship is that the difference in the number of cycles is less than or equal to a preset number. For example, the number of cycles of the first clock signal is limited, and the number of cycles of each data signal in the N data signals is less than or equal to the number of cycles of the first clock signal. The data processing module 530 locates the starting position of the data in the N data signals according to the N first clock signals, and obtains the data in the N data signals.
[0108] Optionally, the receiving end also includes: a clock acquisition module, connected to the clock port and the data processing module, configured to acquire N second clock signals according to the first clock signal, and send the N second clock signals to the data processing module.
[0109] In this implementation, the clock port is not directly connected to the data processing module, but is connected to the data processing module via a clock acquisition module. The clock acquisition module can extend or delay the first clock signal to obtain N second clock signals. In an implementation without a clock acquisition module, the first clock signal can be delayed and extended by circuit design, for example, by adjusting the phase difference between the second clock signals using the length of the connecting line.
[0110] Further optionally, the data processing module is configured to convert data in the N data signals from serial data to parallel data according to N second clock signals, wherein each of the N second clock signals has the same number of cycles as the first clock signal.
[0111] For example, when the number of data processing modules is N, each data processing module is connected to one second clock signal and is responsible for the serial-to-parallel conversion of the data of one corresponding data signal. When the number of data processing modules is 1, the data processing module may include multiple processing units, each processing unit is connected to one second clock signal and is responsible for the serial-to-parallel conversion of the data of one corresponding data signal.
[0112] For example, the data processing module 530 includes a serial-to-parallel converter, which can convert serial data into parallel data. For another example, the data processing module 530 includes a sampler and a demultiplexer, and the sampler can sample the data in the data signal according to the second clock signal to obtain the data in the data signal, and then convert the sampled data into parallel data through the demultiplexer.
[0113] In some embodiments, the receiving end further includes: a buffer memory connected to the data processing module and configured to store data in the N data signals. For example, the number of the buffer memories is 1 or N.
[0114] For example, the receiving end 500 further includes N buffer memories 540, which are indicated by dashed boxes in the figure. The N buffer memories 540 respectively store data in the N data signals.
[0115] In some embodiments, the data processing module is further configured to access write pointers of N buffer memories correspondingly according to the N second clock signals to save data in the N data signals.
[0116] For example, the buffer memory 540 writes data by accessing the write pointer, so the write pointer can be counted by the second clock signal, such as each rising edge or each falling edge of the second clock signal causes the value of the write pointer to increase by 1, that is, points to the next storage space. Since the period of the second clock signal corresponds to the period of the corresponding data signal, the write pointer count is controlled according to the second clock signal, so that the data in the data signal can be completely written into the N buffer memories 540.
[0117] Optionally, each of the N buffer memories 540 is an asynchronous FIFO memory.
[0118] In some embodiments, the receiving end further includes: a data reading module connected to the buffer memory and configured to read data from the N data signals from the buffer memory according to a third clock signal, wherein the third clock signal is a local clock signal.
[0119] For example, the receiving end 500 further includes a data reading module 550. The number of the data reading module 550 is 1. The data reading module 550 is connected to the N buffer memories 540. The data reading module 550 can read data in the N data signals from the N buffer memories 540 at the same time according to the third clock signal. It should be noted that the data reading module 550 needs to wait until all the N buffer memories 540 have written data before reading the data.
[0120] In some embodiments, the data reading module is further configured to access a read pointer of the buffer memory according to a third clock signal to read data in the N data signals.
[0121] For example, the data reading module 550 can simultaneously access the read pointers of the N buffer memories 540 according to the third clock signal. For example, the read pointers of the N buffer memories 540 are accessed and counted according to the rising edge or falling edge in each cycle of the third clock signal, so as to simultaneously read out the data in the N data signals.
[0122] In some embodiments, the data reading module is further configured to stop reading data from the buffer memory after at least one empty data is read from the buffer memory.
[0123] For example, the data reading module 550 is configured to determine that all data has been read after reading empty data from the N buffer memories 540, thereby stopping the data reading of the N buffer memories 540. For example, the data reading module 550 reads the data in the N buffer memories 540 according to the local clock signal. Since the local clock signal always exists, the data reading module 550 needs to use the empty data to determine whether all data has been read successfully. For another example, the data reading module 550 reads the data in the N buffer memories 540 according to the first clock signal or the second clock signal. The effective clock cycle length of the first clock signal and the second clock signal is limited, so that the data reading of the N buffer memories 540 can be automatically stopped after all the effective clock cycles have passed.
[0124] In some embodiments, the receiving end further includes: a local clock configured to generate a local clock signal.
[0125] Figure 6 A schematic diagram of a transmitting end provided by at least one embodiment of the present disclosure is shown. Figure 6 The sending end 600 in the embodiment may execute as follows Figure 4 The method shown in the figure can be executed by referring to Figure 4 Related description.
[0126] exist Figure 6 In the embodiment, the transmitting end 600 includes N data ports 610, a clock port 620 and a local clock 630. The N data ports 610 send N data signals correspondingly, where N is a positive integer. The clock port 620 sends a first clock signal. The local clock 630 generates a first clock signal. The local clock 630 is connected to the clock port 620 and the N data ports 610. There is a corresponding relationship between the N data signals and the first clock signal, and the corresponding relationship is that the difference in the number of cycles is less than or equal to a preset number, for example, the number of cycles of the first clock signal is limited, and the number of cycles of each data signal in the N data signals is less than or equal to the number of cycles of the first clock signal. And the first clock signal is used to locate the starting position of the data in the N data signals and obtain the data in the N data signals. Optionally, the local clock 630 can be a phase-locked loop.
[0127] In some embodiments, the number of cycles of the N data signals is M, the number of cycles of the N first clock signals is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to zero.
[0128] In some embodiments, the N data ports and the clock ports are configured to simultaneously send one data signal among the N data signals and a corresponding first clock signal; or, the clock port is configured to send the first clock signal first, and the N data ports are configured to send the N data signals after a preset period after the first clock signal is sent.
[0129] Different sending methods can be selected. For example, when the number of cycles of the data signal and the first clock signal is equal, they must be sent at the same time. When the number of cycles of the first clock signal is greater than the number of cycles of the data signal, the first clock signal and the data signal can be sent at the same time, or the first clock signal can be sent first and then the data signal. It should be noted that since the first clock signal will be used to locate the data in the data signal, when the first clock signal is sent first, it is necessary to determine the period difference or phase difference between sending the first clock signal and sending the data signal, so as to ensure that the receiving end can use the first clock signal to locate the data.
[0130] In some embodiments, the chip interconnect interface further includes: a clock switch connected to the local clock and the clock port, configured to disconnect the local clock from the clock port when N data signals stop being sent or one cycle after they stop being sent. Optionally, the clock switch can also disconnect the local clock from the clock port after 2 cycles or multiple cycles after N data signals stop being sent. Optionally, the clock switch can also control the sending of the first clock signal. For example, the local clock outputs a clock signal that always exists, and the clock switch determines whether to send the first clock signal, when to send the first clock signal, and when to stop sending the first clock signal.
[0131] For example, Figure 6 The clock switch 640 is shown in a dotted box in FIG. The clock switch 640 is connected to the local clock 630, and the clock switch 640 is also connected to the clock port 620. The clock switch 640 can control the sending or stopping of the first clock signal of the clock port 620.
[0132] Optionally, the N clock switches 640 may be implemented using clock gating circuits or switches.
[0133] Figure 7a A schematic structural diagram of a clock switch provided by at least one embodiment of the present disclosure is shown.
[0134] Figure 7aThe clock switch 700 is a latch-based clock gating circuit. The clock switch 700 includes a latch 701 and an AND gate 702. The inputs of the latch 701 are the clock enable signal ClkEn and the clock signal Clock, and the inputs of the AND gate 702 are the clock signal Clock and the output of the latch 701. The clock switch 700 can turn off the clock signal when the clock enable signal ClkEn is low and invalid, that is, the first clock signal is a few clock cycles when the clock enable signal ClkEn is high and valid.
[0135] Figure 7b A schematic diagram of a first clock signal and a data signal provided by at least one embodiment of the present disclosure is shown.
[0136] Figure 7b FIG. 1 is a schematic diagram showing a data signal and a first clock signal when a clock switch is not used. Figure 7b The Clock here is the clock signal, and the Data is the data signal. Figure 7b The data signal in carries 4 valid data, namely D1, D2, D3 and D4, and the remaining slashed parts are invalid data. Figure 7b The first clock signal in is continuously present.
[0137] Figure 7c A schematic diagram of a first clock signal and a data signal provided by at least one embodiment of the present disclosure is shown.
[0138] Figure 7c FIG. 1 is a schematic diagram showing a data signal and a first clock signal when a clock switch is used. Figure 7c ClkEn is the clock enable signal, Clock is the clock signal, and Data is the data signal. Figure 7c The data signal in carries 4 valid data, namely D1, D2, D3 and D4, and the remaining slashed parts are invalid data. Figure 7b The first clock signal in exists corresponding to the valid data.
[0139] At least one embodiment of the present disclosure further provides a chip, comprising a plurality of core particles, wherein any two of the plurality of core particles are connected via a core particle interconnection interface such as any one of the first device embodiments described above and a core particle interconnection interface such as any one of the second device embodiments described above.
[0140] At least one embodiment of the present disclosure further provides a chip, comprising a plurality of core particles, wherein any two of the plurality of core particles are connected via a core particle interconnection interface such as any one of the third device embodiments described above and a core particle interconnection interface such as any one of the fourth device embodiments described above.
[0141] Figure 8 A schematic diagram of a chip provided by at least one embodiment of the present disclosure is shown.
[0142] exist Figure 8 In the embodiment, the chip 800 includes a core 810 and a core 820. The core 810 is a transmitting side, and the core 820 is a receiving side. Figure 8 Only the core interconnection interface portion of core 810 and core 820 is shown. Core 810 includes a serial-to-parallel converter 811, a phase-locked loop 812, a clock gating 813, a data port 814, and a clock port 815. Core 820 includes a serial-to-parallel converter 821, a local clock 822, a data port 823, a clock port 824, and an asynchronous FIFO memory 825.
[0143] The data port 814 and the data port 823 are connected via a data path, and the clock port 815 and the clock port 824 are connected via a clock path. Figure 8 Only one data port is shown as an illustration, and it can be understood that the actual design includes at least one data port.
[0144] The serial-to-parallel converter 811 receives parallel data and converts it into serial data, and the serial-to-parallel converter 821 converts the serial data into parallel data. The input of the phase-locked loop 812 is the clock signal Clock, which can output the clock signal to the clock gating 813 and the serial-to-parallel converter 811 (only one clock signal is output in the figure). Another input of the clock gating 813 is the clock enable signal ClkEn.
[0145] The clock port 824 sends the received clock signal to the serial-to-parallel converter 821, and the serial-to-parallel converter 821 inputs a clock signal into the asynchronous FIFO memory 825, and the clock signal controls the write pointer count of the asynchronous FIFO memory 825. The local clock 822 inputs another clock signal into the asynchronous FIFO memory 825, and the clock signal controls the read pointer count of the asynchronous FIFO memory 825.
[0146] Optionally, the core particle 820 may include multiple serial-to-parallel converters 821 and multiple asynchronous FIFO memories 825. The core particle 820 may also include a clock acquisition module connected to the clock port 824 and the multiple serial-to-parallel converters 821. The clock acquisition module may expand a clock signal received from the clock port 824 into multiple clock signals, and the multiple clock signals are input into the multiple serial-to-parallel converters 821 accordingly. Correspondingly, the multiple asynchronous FIFOs 825 are connected to the multiple serial-to-parallel converters 821, and each serial-to-parallel converter 821 inputs a clock signal into a corresponding asynchronous FIFO memory 825. The local clock 822 is connected to the multiple asynchronous FIFO memories 825 and provides a local clock signal to the multiple asynchronous FIFO memories 825.
[0147] Fig. 9A timing diagram of a data transmission method after chiplet interconnection provided by at least one embodiment of the present disclosure is shown.
[0148] Fig. 9 The chiplet interconnection can be achieved by Figure 8 The interconnection method shown in Fig. 9 In the figure, lane represents the control signal from the data path, and FIFO represents the control signal of the buffer memory. laneY_gated_clock represents the first clock signal of data path Y, where Y is 0-N. laneY_wrpt represents the write pointer signal to the buffer memory. FIFO_read_clock is the second clock signal, which is a continuously existing clock signal. FIFO_rdpt is the read pointer signal of the buffer memory. FIFO_read is the read enable signal. FIFO_read_sync is the synchronous read signal of the buffer memory. FIFO_valid is the valid signal of the buffer memory.
[0149] The first clock signal and the read pointer signal of each lane correspond to each other, which indicates that the data in the data signal is written to the buffer memory when there is a rising edge or a falling edge of the first clock signal. After all buffer memories have data written, the values of the read pointer and the write pointer of each buffer memory are not equal. At this time, the read enable signal FIFO_read is pulled high and becomes valid. Then the read enable signal FIFO_read is synchronized to the FIFO_read_clock signal, and the data is read out in the next cycle (FIFO_valid becomes high and valid in the next cycle). The values 0, 1, 2 and 3 of the pointer signal in the figure represent the values of the pointer, and the data read is the corresponding value. For example, the value of FIFO_rdpt is 0, and the data read is the corresponding data of the laneY_wrpt value of 0. Therefore, when the value of FIFO_rdpt is 1 to 3, the data at the position of the write pointer value 1 to 3 in each lane is read accordingly.
[0150] After the transmitter stops sending data signals, laneY_gated_clock is turned off or disconnected. Since FIFO_read_clock is still valid, data will continue to be read, but empty data will be read. As long as empty data is read, the read enable signal will be pulled low and become invalid, waiting for the next data signal transmission.
[0151] At least one embodiment of the present disclosure provides an electronic device, including the chip in the above embodiment.
[0152] Fig.10 A schematic diagram of an electronic device provided by at least one embodiment of the present disclosure is shown.
[0153] The electronic device 1000 includes a chip 1001. The chip 1001 is, for example, Figure 8 The chip 800 is shown. The electronic device 1000 may be any device with computing function, such as a computer, a server, a smart phone, a tablet computer, etc., which is not limited in the embodiments of the present disclosure.
[0154] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0155] It is worth noting that the step flow charts and the above method descriptions in this application are only illustrative examples and are not intended to require or imply that the steps of each embodiment must be performed in the order given, and some steps can be performed in parallel, independently of each other, or in other appropriate orders. In addition, words such as "secondly", "then", "next", etc. are not intended to limit the order of the steps; these words are only used to guide the reader to read through the descriptions of these methods.
[0156] The block diagrams of devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. It should also be noted that in the apparatus and method of this application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of this application.
[0157] The following points need to be explained: (1) The drawings of the embodiments of the present disclosure only involve structures related to the embodiments of the present disclosure, and other structures can refer to the general design. (2) In the absence of conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other to obtain new embodiments. The above description is only an exemplary implementation of the present disclosure and is not intended to limit the scope of protection of the present disclosure. The scope of protection of the present disclosure is determined by the attached claims.
Claims
1. A data transmission method, applied to a receiving end, comprising: Receive N data signals and a first clock signal, where the number of cycles of the first clock signal is limited, the number of cycles of each of the N data signals carrying valid data is less than or equal to the number of cycles of the first clock signal, and N is a positive integer; Locate the starting position of the data in the N data signals according to the first clock signal, and obtain the data in the N data signals; Wherein, locating the starting position of the data in the N data signals according to the first clock signal, and acquiring the data in the N data signals includes: Acquire N second clock signals according to the first clock signal, wherein the N second clock signals correspond to the N data signals respectively; Locating the starting position of data of each of the N data signals respectively according to the N second clock signals, and converting the data in the N data signals from serial data to parallel data respectively; Wherein, each of the N second clock signals has the same number of cycles as the first clock signal; The N second clock signals are expanded from the first clock signal.
2. The method according to claim 1, wherein: After acquiring the data in the N data signals, the method further includes: According to the N second clock signals, data in the N data signals are correspondingly saved in a buffer memory.
3. The method according to claim 2, wherein: The method further comprises: reading data of the N data signals from the buffer memory according to a third clock signal, The third clock signal is a local clock signal of the receiving end.
4. The method according to claim 3, wherein: The step of reading data in the data signal from the buffer memory according to the third clock signal comprises: According to the third clock signal, a read pointer of the buffer memory is accessed to read data in the N data signals.
5. The method according to claim 2, wherein: According to the N second clock signals, correspondingly storing the data in the N data signals into a buffer memory comprises: According to the N second clock signals, the write pointers of the buffer memory are accessed respectively to save the data in the N data signals into the buffer memory.
6. The method according to claim 4, wherein: The method further comprises: After at least one empty data is read from the buffer memory, reading from the buffer memory is stopped.
7. The method according to claim 1, wherein: The number of cycles of each of the N data signals carrying valid data is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
8. A data transmission method, applied to a sending end, comprising: Sending N data signals and a first clock signal, Wherein, N is a positive integer, the number of cycles of the first clock signal is limited, the number of cycles of each of the N data signals carrying valid data is less than or equal to the number of cycles of the first clock signal, and the first clock signal is used to locate the starting position of data in the N data signals and obtain data in the N data signals; The first clock signal is used to locate the starting position of data in the N data signals and obtain the data in the N data signals, including: The first clock signal is used to obtain N second clock signals, and the N second clock signals correspond to the N data signals respectively. The N second clock signals are used to respectively locate the starting position of the data of each of the N data signals, and are respectively used to convert the data in the N data signals from serial data to parallel data. Each of the N second clock signals has the same number of cycles as the first clock signal, The N second clock signals are expanded from the first clock signal.
9. The method according to claim 8, wherein: The sending of N data signals and a first clock signal comprises: Send the N data signals and the first clock signal simultaneously; or, The first clock signal is sent first, and then the N data signals are sent after a preset period.
10. The method according to claim 8, wherein: The method further comprises: When or after the N data signals stop being sent, the first clock signal stops being sent.
11. The method according to claim 8, wherein: The number of cycles of each of the N data signals carrying valid data is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
12. A receiving end, applied to a chiplet interconnection interface, comprising: N data ports are configured to receive N data signals, where N is a positive integer; A clock port configured to receive a first clock signal, wherein the number of cycles of the first clock signal is limited, and the number of cycles of each of the N data signals carrying valid data is less than or equal to the number of cycles of the first clock signal; a data processing module connected to the N data ports and the clock port, and configured to locate the starting position of the data in the N data signals according to the first clock signal, and obtain the data in the N data signals; Wherein, the receiving end also includes: A clock acquisition module, connected to the clock port and the data processing module, configured to acquire N second clock signals according to the first clock signal, and send the N second clock signals to the data processing module; The data processing module is configured to convert the data in the N data signals from serial data to parallel data respectively according to the N second clock signals; Wherein, each of the N second clock signals has the same number of cycles as the first clock signal; The N second clock signals are expanded from the first clock signal.
13. The receiving end according to claim 12, wherein: The receiving end also includes: The buffer memory is connected to the data processing module and is configured to store the data in the N data signals.
14. The receiving end according to claim 13, wherein: The data processing module is further configured to access the write pointer of the buffer memory respectively according to the N second clock signals, so as to save the data in the N data signals into the buffer memory.
15. The receiving end according to claim 13, wherein: The receiving end also includes: A data reading module is connected to the buffer memory and is configured to read data in the N data signals from the buffer memory according to a third clock signal, wherein the third clock signal is a local clock signal of the receiving end.
16. The receiving end according to claim 15, wherein: The data reading module is further configured to access a read pointer of the buffer memory according to the third clock signal to read data in the N data signals.
17. The receiving end according to claim 15, wherein: The data reading module is further configured to stop reading data from the buffer memory after at least one empty data is read from the buffer memory.
18. The receiving end according to claim 13, wherein: The buffer memory is an asynchronous FIFO memory.
19. The receiving end according to claim 12, wherein: The receiving end also includes: A local clock is configured to generate a local clock signal.
20. The receiving end according to claim 12, wherein: The number of cycles of each of the N data signals carrying valid data is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
21. A transmitting end, applied to a chiplet interconnection interface, comprising: N data ports are configured to send N data signals correspondingly, where N is a positive integer; A clock port configured to send a first clock signal; a local clock, connected to the clock port and the N data ports, and configured to generate the first clock signal; The number of cycles of the first clock signal is limited, the number of cycles of each of the N data signals carrying valid data is less than or equal to the number of cycles of the first clock signal, and the first clock signal is used to locate the starting position of data in the N data signals and obtain data in the N data signals; The first clock signal is used to locate the starting position of data in the N data signals and obtain the data in the N data signals, including: The first clock signal is used to obtain N second clock signals, and the N second clock signals correspond to the N data signals respectively. The N second clock signals are used to respectively locate the starting position of the data of each of the N data signals, and are respectively used to convert the data in the N data signals from serial data to parallel data. Each of the N second clock signals has the same number of cycles as the first clock signal, The N second clock signals are expanded from the first clock signal.
22. The transmitting end according to claim 21, wherein: The N data ports and the clock port are configured to simultaneously transmit the N data signals and the first clock signal; Alternatively, the clock port is configured to send the first clock signal first, and the N data ports are configured to send the N data signals after a preset period after the first clock signal is sent.
23. The transmitting end according to claim 21, wherein: The transmitting end also includes: A clock switch is connected to the local clock and the clock port, and is configured to disconnect the local clock from the clock port when the N data signals stop sending or one cycle after they stop sending.
24. The transmitting end according to claim 21, wherein: The number of cycles of each of the N data signals carrying valid data is M, the number of cycles of the first clock signal is M+X, M is an integer greater than or equal to 2, and X is an integer greater than or equal to 0.
25. A chip interconnection interface, comprising a receiving end as claimed in any one of claims 12 to 20.
26. A chip interconnection interface, comprising a transmitting end as claimed in any one of claims 21 to 24.
27. A chip comprising a plurality of core particles, wherein: Any two of the plurality of core particles are connected via the core particle interconnection interface as claimed in claim 25 and the core particle interconnection interface as claimed in claim 26.
28. An electronic device comprising the chip according to claim 27.
Citation Information
Patent Citations
Signal disconnection and combination method and apparatus
CN1842057A
Cited By
Core particle-oriented secure communication system and data transmission method
CN119513898A
Data transmission method for chiplet interconnection interface, and chiplet interconnection interface
EP4567617A1
Data transmission method for chiplet interconnection interface, and chiplet interconnection interface
WO2025001771A1
