Interconnection buffer device, computing crystal grain and electronic equipment

By introducing an interconnection buffer device between the computing die and the high-speed interconnection die, and using the tag module, static random access memory and scheduler to convert inter-Die communication into intra-Die communication, the problem of low connection speed between die is solved and significantly improved Communication speed and chip performance.

CN118550731APending Publication Date: 2024-08-27GUANGDONG HONGJUN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410650106.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The connection speed between dies is lower than the connection speed within the dies, resulting in a significant increase in communication delay between dies and affecting the overall performance of the chip.

Method used

An interconnection buffer device is used, including a tag module, a static random access memory, and a scheduler. By connecting the intra-Die interface and the inter-Die interface of the computing die, some inter-Die communications are converted into intra-Die communications to reduce delays.

Benefits of technology

It effectively reduces communication delays between dies, increases communication speed, and improves chip performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550731A
    Figure CN118550731A
Patent Text Reader

Abstract

The invention provides an interconnection buffer device, a computing crystal grain and electronic equipment. The interconnection buffer device comprises a tag module, a static random access memory, a scheduler and a buffer area, the label module is respectively connected with the static random access memory, the scheduler and the buffer area; the label module is also used for connecting a Die internal interface of the calculation crystal grain; the scheduler is connected with the buffer area; the scheduler is also used for connecting the Die interface of the calculation crystal grain, and the Die interface of the calculation crystal grain is used for connecting the Die interface of the high-speed interconnection crystal grain. When the tag module receives that the request address field of the Die internal interface of the calculated crystal grain is matched with the address field in the tag, the corresponding storage interval in the static random access memory can be directly operated without performing die communication, so that the delay of die communication is reduced, and the communication speed is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data transmission, and in particular to an interconnect buffer device, a computing chip and an electronic device. Background Art

[0002] In semiconductor manufacturing, a die (also known as a die) refers to a single square or rectangular part cut from a whole semiconductor wafer. It is a single unpackaged integrated circuit. A multi-die structure chip refers to the integration of multiple dies in a single package to achieve higher performance, larger capacity or more functions. By integrating multiple high-performance dies together, the processing speed and data throughput can be significantly improved. The multi-die structure allows the combination of chips with different functions, such as integrating the central processing unit (CPU), graphics processing unit (GPU) and AI accelerator in the same package to provide customized solutions for specific applications. The multi-die structure can make more efficient use of wafers, reduce manufacturing costs, and also reduce design complexity and risks.

[0003] A common multi-die structure design method is to divide the entire chip design into computing die (also known as compute die) and high-speed interconnect die (also known as IO die), separate the processing core from the input / output function, and encapsulate each in different die.

[0004] However, due to the immaturity of current inter-die interconnection technology and the limitation that the inter-die connection speed is inherently lower than the internal connection speed of the die, the delay of inter-die communication has increased significantly. Summary of the invention

[0005] The object of the present invention is to provide an interconnect buffer device, a computing chip and an electronic device to at least partially improve the above-mentioned problem.

[0006] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0007] In a first aspect, an embodiment of the present invention provides an interconnect buffer device, the device comprising: a tag module, a static random access memory, a scheduler, and a buffer;

[0008] The tag module is connected to the static random access memory, the scheduler and the buffer respectively;

[0009] The tag module is also used to connect to the Die interface of the computing grain;

[0010] The scheduler is connected to the buffer;

[0011] The scheduler is also used to connect the Die interface of the computing grain, and the Die interface of the computing grain is used to connect the Die interface of the high-speed interconnect grain.

[0012] In a second aspect, an embodiment of the present invention provides a computing grain, comprising: at least one group of processor units and an interconnection buffer device thereon, wherein the processor units are connected to the interconnection buffer device via an internal Die interface of the computing grain.

[0013] In a third aspect, an embodiment of the present invention provides an electronic device, including: the above-mentioned computing chip.

[0014] Compared with the prior art, the embodiment of the present invention provides an interconnect buffer device, computing grain and electronic device, including: a tag module, a static random access memory, a scheduler and a buffer; the tag module is connected to the static random access memory, the scheduler and the buffer respectively; the tag module is also used to connect the intra-die interface of the computing grain; the scheduler is connected to the buffer; the scheduler is also used to connect the inter-die interface of the computing grain, and the inter-die interface of the computing grain is used to connect the inter-die interface of the high-speed interconnect grain. When the tag module receives a request address segment of the intra-die interface of the computing grain that matches the address segment in the tag, it can directly operate on the corresponding storage interval in the static random access memory without inter-die communication, thereby reducing the delay of inter-grain communication and improving the communication speed.

[0015] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 One of the schematic diagrams of the architecture of the computing grain and the high-speed interconnection grain provided by the present invention;

[0018] Figure 2 The second schematic diagram of the architecture of the computing grain and the high-speed interconnection grain provided by the present invention;

[0019] Figure 3 One of the structural schematic diagrams of the interconnection buffer device provided by the present invention;

[0020] Figure 4 This is a second structural schematic diagram of the interconnection buffer device provided by the present invention.

[0021] In the figure: 10-computing grain; 20-high-speed interconnection grain; 100-interconnection buffer device; 110-processor unit; 120-die interface within the computing grain; 130-inter-die interface between the computing grains; 140-system cache; 101-tag module; 102-static random access memory; 103-buffer; 104-scheduler; 105-prefetch processing module; 210-inter-die interface between high-speed interconnection grains; 220-DDR; 230-PCIE. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0023] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0026] In the description of the present invention, it should be noted that the terms "upper", "lower", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are directions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.

[0027] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0028] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0029] In order to better explain the technical problem solved by the present invention, please refer to Figure 1 , Figure 1 This is one of the schematic diagrams of the architecture of the computing grain and the high-speed interconnection grain provided by the present invention.

[0030] like Figure 1 As shown, the computing crystal 10 includes a plurality of processor units 110 (also called processor cores, which may be, but are not limited to, processor unit A and processor unit B in the figure), a plurality of system caches 140 (which may be, but are not limited to, system cache A and system cache B in the figure), and a die-to-die interface 130 of the computing crystal. The processor unit 110, the system cache 140, and the die-to-die interface 130 of the computing crystal may be, but are not limited to, connected via a high-speed interconnect bus.

[0031] The high-speed interconnect die 20 includes a high-speed interconnect die inter-die interface 210, a DDR 220, and a PCIE 230. The high-speed interconnect die inter-die interface 210 is connected to the DDR 220 and the PCIE 230 respectively.

[0032] exist Figure 1 In the illustrated architecture, the path for the processor unit 110 to access the memory is as follows: processor unit 110->system cache 140->die interface 130 of the computing die->die interface 210 of the high-speed interconnect die->memory. When the memory feeds back data to the processor unit 110, the above path needs to go through a return trip again.

[0033] Because the speed of inter-die connection is lower than the speed limit of internal die connection, the delay of inter-die communication increases significantly. This delay directly leads to a significant increase in the delay when the CPU accesses the memory, and the delay of the CPU accessing the memory is a key indicator for evaluating the overall performance of the chip. Therefore, this will seriously affect the overall performance of the chip.

[0034] It should be noted that the delay of inter-chip communication may also affect the processor unit 110 accessing other devices, which are not enumerated here.

[0035] In order to improve the above problems, the present invention provides an optional implementation method, please refer to Figure 2 , Figure 2 The second schematic diagram of the architecture of the computing grain and the high-speed interconnection grain provided by the present invention.

[0036] like Figure 2 As shown, the computing grain 10 includes an interconnection buffer device 100, a plurality of processor units 110 (also referred to as processor cores, which may be, but are not limited to, processor unit A and processor unit B in the figure), a plurality of system caches 140 (which may be, but are not limited to, system cache A and system cache B in the figure), a die internal interface 120 of the computing grain, and an inter-die interface 130 of the computing grain. The processor unit 110, the system cache 140, and the die internal interface 120 of the computing grain may be, but are not limited to, connected via a high-speed interconnect bus. The die internal interface 120 of the computing grain, the interconnection buffer device 100, and the inter-die interface 130 of the computing grain are connected in sequence. The computing grain 10 may also include more units, such as an artificial intelligence processor unit, which are not enumerated here for the sake of brief description.

[0037] The high-speed interconnect die 20 includes a high-speed interconnect die inter-die interface 210, DDR 220, and PCIE 230. The high-speed interconnect die inter-die interface 210 is connected to DDR 220 and PCIE 230 respectively. The high-speed interconnect die 20 may also include more units, such as a slow input / output unit, which are not enumerated here for the sake of brief description.

[0038] The inter-die interface 130 of the computing die is connected to the inter-die interface 210 of the high-speed interconnect die.

[0039] In the present invention, an interconnect buffer device 100 (also called Interconnect Buffer) is provided as a buffer between the computing die 10 and the high-speed interconnect die 20 to convert part of the inter-die communication into intra-die communication, thereby reducing the delay of the inter-die communication and improving the communication speed.

[0040] In order to better illustrate the effect of the present invention, please refer to Figure 3 , Figure 3 This is one of the structural schematic diagrams of the interconnection buffer device provided by the present invention.

[0041] The interconnect buffer device 100 includes: a tag module 101, a static random access memory 102, a scheduler 104 and a buffer 103, wherein the static random access memory 102 is also called a static random access memory (SRAM).

[0042] The tag module 101 is connected to the static random access memory 102 , the scheduler 104 and the buffer 103 respectively.

[0043] The tag module 101 is also used to connect to the Die interface 120 of the computing chip.

[0044] The scheduler 104 is connected to the buffer 103 .

[0045] The scheduler 104 is also used to connect to the inter-die interface 130 of the computing grain, and the inter-die interface 130 of the computing grain is used to connect to the inter-die interface 210 of the high-speed interconnect grain.

[0046] The tag module 101 can store multiple tags, each tag indicating a correspondence between an address segment and a storage interval in the static random access memory 102. The maximum number of tags that can be stored in the tag module 101 is N, and the value of N can be but limited to 64 / 128 / 256 / 512.

[0047] When the tag module 101 receives a request address segment of the Die internal interface 120 of the computing die and the address segment in the tag matches (the match here can mean the same or overlapped), the corresponding storage interval in the static random access memory 102 can be directly operated without inter-die communication, thereby reducing the delay of inter-die communication and improving the communication speed. The request address segment here can be the various types of target address segments described below.

[0048] In order to more clearly explain how to reduce the delay of inter-chip communication in the case of a write request, the present invention also provides an optional implementation, please refer to the following.

[0049] The tag module 101 is used to determine whether there is a first target tag when receiving a first type of write request.

[0050] Among them, the first type of write request can be Figure 2The processor unit 110 in the computing die transmits the write request to the tag module 101 through the die internal interface 120 of the computing die. The first type of write request includes a first type of write target address segment and a first type of write data, and the first target tag indicates the correspondence between the first type of write target address segment and the storage interval in the static random access memory 102.

[0051] Optionally, the address segments carried by the tags stored in the tag module 101 are compared with the first type of write target address segments respectively. When the address segments carried by the tags match the first type of write target address segments, the tags can be determined as the first target tags. The match here can mean that the address segments carried by the tags are the same as the first type of write target address segments. If the address segments carried by all tags are different from the first type of write target address segments, it means that the first target tag does not exist.

[0052] It should be noted that the static random access memory 102 is divided into N storage intervals corresponding to the maximum number of tags that can be stored in the tag module 101, and any storage interval can completely store the write data carried by a write request.

[0053] If the first target tag exists, the tag module 101 is used to write the first type of write data into the storage interval corresponding to the first target tag.

[0054] It should be noted that the first type of write data is written into the storage interval corresponding to the first target tag in the static random access memory 102. Figure 2 The calculation is completed inside the die 10 as shown, and there is no need for inter-die communication, thereby reducing the delay of inter-die communication and improving the communication speed.

[0055] If the first target tag does not exist, the tag module 101 is used to determine whether there is still a free storage interval in the static random access memory 102 .

[0056] Optionally, whether there is still a vacant storage interval in the static random access memory 102 is determined by determining the current number of tags stored in the tag module 101 and the maximum number of tags that can be stored N. When the current number of tags stored is less than N, it means that there is still a vacant storage interval in the static random access memory 102; otherwise, there is no vacant storage interval in the static random access memory 102.

[0057] If there is an empty storage interval, the tag module 101 is used to create a first target tag according to the empty storage interval and the first type of write target address segment, and write the first type of write data into the storage interval corresponding to the first target tag.

[0058] In the case where there are free storage intervals in the static random access memory 102, one can be selected from the free storage intervals as the first target storage interval, and then a first target tag is created based on the first target storage interval and the first type of write target address segment, and the first target tag indicates the correspondence between the first type of write target address segment and the storage interval (i.e., the first target storage interval) in the static random access memory 102. Then, the first type of write data is written into the storage interval corresponding to the first target tag.

[0059] When the data corresponding to the first type of write target address segment needs to be read subsequently, it can be directly read from the first target storage interval in the static random access memory 102, thereby reducing the delay of inter-chip communication and improving the communication speed.

[0060] When there is no free storage interval in the static random access memory 102, the tag module 101 is used to create a second type of write request according to the second target tag.

[0061] Among them, the second target tag is any tag stored in the tag module 101, the second type of write request includes a second type of write target address segment and second type of write data, the second type of write target address segment is the address segment in the second target tag, and the second type of write data is the data stored in the storage interval corresponding to the second target tag.

[0062] Optionally, a tag is randomly selected from the tags stored in the tag module 101 as the second target tag, or the tags are screened according to the tag creation time, and the tag with the earliest tag creation time among the tags stored in the tag module 101 is selected as the second target tag.

[0063] It should be noted that, in the case where there is no free storage interval in the static random access memory 102, if the first type of write data in the newly received first type of write request is to be written into the static random access memory 102, the data stored in the storage interval corresponding to the second target tag in the static random access memory 102 needs to be erased, that is, the second type of write data needs to be erased. In order to save the second type of write data that needs to be erased, a second type of write request can be created to write the second type of write data into the storage device (memory or hard disk). The write address is the second type of write target address segment, that is, the address segment in the second target tag.

[0064] The tag module 101 is used to write the second type of write request into the buffer 103 .

[0065] It should be noted that in order to improve communication efficiency and avoid conflicts between write requests and read requests, the second type of write requests can be written into the buffer 103. When the buffer 103 buffers enough second type of write requests, they are sent to the next level. This can effectively utilize the bandwidth between Dies, provide more bandwidth for more urgent resources, and thus improve performance.

[0066] The tag module 101 is used to delete the data stored in the storage interval corresponding to the second target tag, and delete the second target tag to generate a vacant storage interval in the static random access memory 102 .

[0067] The tag module 101 is used to create a first target tag according to the free storage interval and the first type of write target address segment, and write the first type of write data into the storage interval corresponding to the first target tag.

[0068] It should be noted that after deleting the second type of write data (the data stored in the storage interval corresponding to the second target tag) and the second target tag, a vacant storage interval is generated in the static random access memory 102. At this time, the tag module 101 can write the first type of write data into the vacant storage interval generated in the static random access memory 102. In order to ensure that the first type of write data can be accurately called later, it is necessary to create a first target tag corresponding to the first type of write data. The newly generated vacant storage interval is converted into the first target storage interval, and the first target tag indicates the correspondence between the first type of write target address segment and the storage interval in the static random access memory 102 (i.e., the first target storage interval).

[0069] The scheduler 104 is used to transmit the write requests in the buffer 103 to the inter-die interface 130 of the computing chip when the number of the second type of write requests in the buffer 103 is greater than a preset number threshold or the write request times out.

[0070] The write request timeout indicates that the time length from the last write request of the second type to the buffer 103 is longer than the preset time length.

[0071] When the scheduler 104 buffers enough second-type write requests in the buffer 103, it uniformly transmits the write requests in the buffer 103 to the Die interface 130 of the computing grain. The Die interface 130 of the computing grain will transmit the received second-type write requests to the Die interface 210 of the high-speed interconnect grain, thereby completing the write operation.

[0072] Methods for determining whether the buffer 103 has buffered enough second-class write requests include: determining whether the second-class write requests buffered by the buffer 103 have reached the single transmission bandwidth of the Die interface 130 of the computing grain and the Die interface 210 of the high-speed interconnect grain. If the single transmission bandwidth is reached, it means that the buffer 103 has buffered enough second-class write requests; or, determining whether the number of second-class write requests in the buffer 103 is greater than a preset number threshold. If so, it means that the buffer 103 has buffered enough second-class write requests.

[0073] By setting the trigger condition for write request timeout, the timeliness of writing data to the storage device is guaranteed.

[0074] In order to more clearly explain how to reduce the delay of inter-chip communication in the case of a read request, the present invention also provides an optional implementation, please refer to the following.

[0075] The tag module 101 is configured to determine whether there is a third target tag when receiving a first type of read request.

[0076] Among them, the first type of read request can be Figure 2 The processor unit 110 transmits a read request to the tag module 101 through the Die internal interface 120 of the computing chip. The first type of read request includes a first type of read target address segment, and the third target tag represents the correspondence between the first type of read target address segment and the storage interval in the static random access memory 102.

[0077] Optionally, the address segments carried by the tags stored in the tag module 101 are compared with the first type of read target address segments respectively. When the address segments carried by the tags match the first type of read target address segments, the tag can be determined as a third target tag. The match here can mean that the address segment carried by the tag is the same as the first type of read target address segment. If the address segments carried by all tags are different from the first type of read target address segments, it means that there is no third target tag.

[0078] If there is a third target tag, the tag module 101 is used to obtain the target read data from the storage interval corresponding to the third target tag, and feed the target read data back to the Die internal interface 120 of the computing chip.

[0079] By acquiring the target read data from the storage interval corresponding to the third target tag in the static random access memory 102, and feeding back the target read data to the Die interface 120 of the computing grain, and then feeding back to the corresponding processor unit 110, there is no need for inter-Die communication, thereby reducing the delay of inter-grain communication and improving the communication speed.

[0080] If the third target tag does not exist, the tag module 101 is configured to transmit the first type of read request to the scheduler 104 .

[0081] The scheduler 104 is used to transmit the first type of read request to the inter-die interface 130 of the computing chip.

[0082] It should be noted that when the third target tag does not exist, in order to satisfy the read request of the computing grain 10, the tag module 101 needs to transmit the first type of read request to the scheduler 104. The scheduler 104 transmits the first type of read request to the Die interface 130 of the computing grain, and the Die interface 130 of the computing grain will transmit the received first type of read request to the Die interface 210 of the high-speed interconnect grain. The Die interface 210 of the high-speed interconnect grain reads the data corresponding to the first type of read target address segment from the storage device, and feeds the read data back to the computing grain 10 through the Die interface 130 of the computing grain, thereby completing the read operation.

[0083] exist Figure 3 On the basis of, in order to further improve the communication efficiency, the embodiment of the present invention also provides an optional implementation method, please refer to Figure 4 , Figure 4 This is a second structural schematic diagram of the interconnection buffer device provided by the present invention.

[0084] The interconnect buffer device 100 also includes a pre-fetch processing module 105, which is respectively connected to the tag module 101, the static random access memory 102 and the scheduler 104. The pre-fetch processing module 105 is also used to connect the intra-die interface 120 of the computing grain and the inter-die interface 130 of the computing grain.

[0085] The tag module 101 is configured to determine whether there is a fourth target tag when receiving a pre-fetch request.

[0086] Among them, the prefetch request can be Figure 2 The processor unit 110 transmits a pre-read request to the tag module 101 through the Die internal interface 120 of the computing chip, the pre-fetch request includes a second type of read target address segment, and the fourth target tag represents the correspondence between the second type of read target address segment and the storage interval in the static random access memory 102.

[0087] Obtain the corresponding data in advance through pre-fetch requests to improve subsequent reading speed.

[0088] Optionally, the address segments carried by the tags stored in the tag module 101 are compared with the second type of read target address segments, and when the address segments carried by the tags match the second type of read target address segments, the tags can be determined as the fourth target tags. The match here can mean that the address segments carried by the tags are the same as the second type of read target address segments.

[0089] If the fourth target tag exists, it means that the data corresponding to the second type of read target address segment has been cached in the static random access memory 102 and does not need to be read from the storage device, and the pre-fetch request can be ignored.

[0090] If the fourth target tag does not exist, the tag module 101 is used to transmit the pre-fetch request to the pre-fetch processing module 105 .

[0091] When the fourth target tag does not exist, in order to cache the data corresponding to the second type of read target address segment, it is necessary to read the content in the second type of read target address segment from the storage device. At this time, the tag module 101 transmits the prefetch request to the prefetch processing module 105.

[0092] The pre-fetch processing module 105 is used to convert the pre-fetch request into a second read request and save the second type of read target address segment.

[0093] The second read request includes a second type of read target address segment.

[0094] The pre-fetch processing module 105 is used to transmit the second read request to the scheduler 104 .

[0095] The scheduler 104 is used to transmit the second type of read request to the inter-die interface 130 of the computing chip.

[0096] It should be noted that the scheduler 104 transmits the second type of read request to the Die interface 130 of the computing grain, and the Die interface 130 of the computing grain will transmit the received second type of read request to the Die interface 210 of the high-speed interconnect grain. The Die interface 210 of the high-speed interconnect grain reads the data corresponding to the second type of read target address segment from the storage device, and feeds the read data back to the computing grain 10 through the Die interface 130 of the computing grain, thereby completing the read operation.

[0097] The pre-fetch processing module 105 is used to determine whether the feedback address segment corresponding to the feedback data matches any second-type read target address segment when the feedback data of the inter-die interface 210 of the high-speed interconnect die is obtained.

[0098] It should be noted that the high-speed interconnect die inter-die interface 210 can transmit the feedback data to the pre-fetch processing module 105 through the computing die inter-die interface 130. When the pre-fetch processing module 105 receives the feedback data from the high-speed interconnect die inter-die interface 210, it needs to determine whether it is the data corresponding to the pre-fetch request, that is, determine whether the feedback address segment corresponding to the feedback data matches any second-type read target address segment.

[0099] If there is no match, the pre-fetch processing module 105 is used to transmit the feedback data to the Die internal interface 120 of the computing chip, and then transmit it to the computing processor unit 110.

[0100] If there is a match, the pre-fetch processing module 105 is used to send the feedback address segment to the tag module 101 .

[0101] When the feedback address segment corresponding to the feedback data matches (can be the same as) any second-class read target address segment, it indicates that the feedback data is the data corresponding to the pre-fetch request, and at this time, the feedback data does not need to be transmitted to the Die internal interface 120 of the computing chip. However, in the following period, the computing processor unit 110 may need to read the feedback data, so the feedback data needs to be cached and stored in the static random access memory 102. In order to facilitate the accurate reading of the feedback data from the static random access memory 102 later, it is necessary to create a corresponding tag in the tag module 101. Therefore, the pre-fetch processing module 105 sends the feedback address segment to the tag module 101 so that the tag module 101 creates the corresponding tag.

[0102] The tag module 101 is used to create a fifth target tag according to the free storage interval and the feedback address segment when there is a free storage interval in the static random access memory 102 , and transmit identification information of the storage interval corresponding to the fifth target tag to the pre-fetch processing module 105 .

[0103] In the case where there are free storage intervals in the static random access memory 102, one of the free storage intervals can be selected as the second target storage interval, and then a fifth target tag is created based on the second target storage interval and the feedback address segment, and the second target tag indicates the correspondence between the feedback address segment and the storage interval (i.e., the second target storage interval) in the static random access memory 102. The identification information of the storage interval corresponding to the fifth target tag is the identification information of the second target storage interval.

[0104] The pre-fetch processing module 105 is used to write the feedback data into the storage interval corresponding to the fifth target tag according to the identification information.

[0105] It should be noted that the pre-fetch processing module 105 can write the feedback data into the storage interval corresponding to the fifth target tag in the static random access memory 102 according to the identification information, that is, write it into the second target storage interval.

[0106] When the data corresponding to the feedback address segment needs to be read subsequently, the data can be directly read from the second target storage interval in the static random access memory 102, thereby reducing the delay of inter-die communication and improving the communication speed.

[0107] When the tag module 101 receives the feedback address segment transmitted by the pre-fetch processing module 105 , if there is no free storage interval in the static random access memory 102 , the tag module 101 is configured to create a second type of write request according to the second target tag.

[0108] Among them, the second target tag is any tag stored in the tag module 101, the second type of write request includes a second type of write target address segment and second type of write data, the second type of write target address segment is the address segment in the second target tag, and the second type of write data is the data stored in the storage interval corresponding to the second target tag.

[0109] The tag module 101 is used to write the second type of write request into the buffer 103 .

[0110] The tag module 101 is used to delete the data stored in the storage interval corresponding to the second target tag, and delete the second target tag to generate a vacant storage interval in the static random access memory 102 .

[0111] At this time, there is an empty storage interval in the static random access memory 102, and the tag module 101 creates a fifth target tag according to the empty storage interval and the feedback address segment, and transmits the identification information of the storage interval corresponding to the fifth target tag to the pre-fetch processing module 105. The pre-fetch processing module 105 writes the feedback data into the storage interval corresponding to the fifth target tag according to the identification information.

[0112] In an optional implementation, when the first-class read request, the second-class read request, and the second-class write request arrive at the scheduler 104, the scheduler 104 needs to arbitrate and follow the principle of first come first served. However, if they arrive at the same time, polling will be performed and they will be processed in the order of one write, one read, one write, and one read, that is, the Die interface 130 of the computing grain is sent down.

[0113] The present invention also provides a computing grain, please refer to Figure 2 The computing chip 10 includes at least one group of processor units 110 and the above-mentioned interconnection buffer device 100, and the processor unit 110 is connected to the interconnection buffer device 100 through the Die internal interface 120 of the computing chip.

[0114] An embodiment of the present invention further provides an electronic device, the electronic device comprising: the computing chip mentioned above. Optionally, the electronic device further comprises a high-speed interconnect chip.

[0115] The electronic device may be, but is not limited to, a system on a chip, a mobile phone, a computer, a wearable device, a server, and the like.

[0116] In summary, an interconnect buffer device, computing grain and electronic device provided by an embodiment of the present invention include: a label module, a static random access memory, a scheduler and a buffer; the label module is connected to the static random access memory, the scheduler and the buffer respectively; the label module is also used to connect the intra-die interface of the computing grain; the scheduler is connected to the buffer; the scheduler is also used to connect the inter-die interface of the computing grain, and the inter-die interface of the computing grain is used to connect the inter-die interface of the high-speed interconnect grain. When the label module receives a request address segment of the intra-die interface of the computing grain that matches the address segment in the label, the corresponding storage interval in the static random access memory can be directly operated without inter-die communication, thereby reducing the delay of inter-grain communication and improving the communication speed.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0118] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. An interconnection buffer device, characterized in that: The device comprises: a label module, a static random access memory, a scheduler and a buffer; The tag module is connected to the static random access memory, the scheduler and the buffer respectively; The tag module is also used to connect to the Die interface of the computing grain; The scheduler is connected to the buffer; The scheduler is also used to connect the Die interface of the computing grain, and the Die interface of the computing grain is used to connect the Die interface of the high-speed interconnect grain.

2. The interconnection buffer device according to claim 1, characterized in that: The tag module is used to determine whether there is a first target tag when receiving a first type of write request, wherein the first type of write request includes a first type of write target address segment and a first type of write data, and the first target tag indicates a correspondence between the first type of write target address segment and a storage interval in the static random access memory; If there is a first target tag, the tag module is used to write the first type of write data into a storage interval corresponding to the first target tag; If the first target tag does not exist, the tag module is used to determine whether there is still a free storage interval in the static random access memory; If there is a free storage interval, the label module is used to create a first target label according to the free storage interval and the first type of write target address segment, and write the first type of write data into the storage interval corresponding to the first target label.

3. The interconnection buffer device according to claim 2, characterized in that: If there is no free storage interval, the label module is used to create a second-class write request according to the second target label, wherein the second target label is any label stored in the label module, the second-class write request includes a second-class write target address segment and second-class write data, the second-class write target address segment is an address segment in the second target label, and the second-class write data is data stored in the storage interval corresponding to the second target label; The tag module is used to write the second type of write request into the buffer; The tag module is used to delete the data stored in the storage interval corresponding to the second target tag, and delete the second target tag to generate a vacant storage interval in the static random access memory; The label module is used to create a first target label according to the free storage interval and the first type of write target address segment, and write the first type of write data into the storage interval corresponding to the first target label; The scheduler is used for transmitting the write requests in the buffer to the Die interface of the computing grain when the number of the second type of write requests in the buffer is greater than a preset number threshold or the write requests are timed out.

4. The interconnection buffer device according to claim 1, characterized in that: The tag module is used to determine whether there is a third target tag when receiving a first-type read request, wherein the first-type read request includes a first-type read target address segment, and the third target tag indicates a corresponding relationship between the first-type read target address segment and a storage interval in the static random access memory; If there is a third target tag, the tag module is used to obtain the target read data from the storage interval corresponding to the third target tag, and feed the target read data back to the Die interface of the computing grain; If there is no third target tag, the tag module is used to transmit the first type of read request to the scheduler; The scheduler is used to transmit the first type of read request to the Die interface of the computing grain.

5. The interconnect buffer device according to claim 1, characterized in that: The interconnect buffer device further includes a pre-fetch processing module, which is respectively connected to the tag module, the static random access memory and the scheduler, and is also used to connect the intra-Die interface of the computing grain and the inter-Die interface of the computing grain; The tag module is used to determine whether there is a fourth target tag when receiving a pre-fetch request, wherein the pre-fetch request includes a second-type read target address segment, and the fourth target tag indicates a corresponding relationship between the second-type read target address segment and a storage interval in the static random access memory; If the fourth target tag exists, the prefetch request is ignored.

6. The interconnection buffer device according to claim 5, characterized in that: If the fourth target tag does not exist, the tag module is used to transmit the pre-fetch request to the pre-fetch processing module; The pre-fetch processing module is used to convert the pre-fetch request into a second read request and save the second-type read target address segment, wherein the second read request includes the second-type read target address segment; The pre-fetch processing module is used for transmitting the second read request to the scheduler; The scheduler is used to transmit the second type of read request to the inter-Die interface of the computing grain.

7. The interconnection buffer device according to claim 5, characterized in that: The pre-fetch processing module is used to determine whether the feedback address segment corresponding to the feedback data matches any of the second-type read target address segments when the feedback data of the Die interface of the high-speed interconnect die is obtained; If there is no match, the pre-fetch processing module is used to transmit the feedback data to the Die internal interface of the computing grain.

8. The interconnection buffer device according to claim 7, characterized in that: If there is a match, the pre-fetch processing module is used to send the feedback address segment to the tag module; The tag module is further used for creating a fifth target tag according to the free storage interval and the feedback address segment when there is a free storage interval in the static random access memory, and transmitting identification information of the storage interval corresponding to the fifth target tag to the pre-fetch processing module; The pre-fetch processing module is used to write the feedback data into the storage interval corresponding to the fifth target tag according to the identification information.

9. A computing grain, characterized in that: include: At least one group of processor units and the interconnection buffer device according to any one of claims 1 to 8, wherein the processor unit is connected to the interconnection buffer device via a Die internal interface of a computing grain.

10. An electronic device, characterized in that: include: The computing grain of claim 9.