A three-dimensional chip, computing system and computing method

By introducing dynamically reconfigurable storage arrays and reconfigurable computing arrays into three-dimensional chips, global storage access networks between computing arrays are avoided, high-bandwidth local interconnection is achieved, and the problem of low computing efficiency caused by large amounts of data transfer is solved and improved improve system performance and economy.

CN113705142BActive Publication Date: 2024-08-30XI AN UNIIC SEMICON CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111033159.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2024-08-30
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

In the existing in-memory computing system of three-dimensional chips, the increase in the amount of data transfer between computing arrays leads to high global internal storage access overhead, which reduces computing efficiency. In addition, the internal global storage access bus occupies an area and destroys the computing array design layout, affecting the system. performance.

Method used

By setting dynamically reconfigurable storage array chip components, the reconfigurable computing array can obtain the target computing function profile for configuration and execution through dynamically reconfigurable storage arrays, avoid global internal storage access network connections, achieve high-bandwidth local interconnection, and reduce data Move and compute array switching.

Benefits of technology

It significantly improves the computing efficiency of the 3D chip, reduces internal global storage access, reduces power consumption and area occupation, and enhances system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113705142B
    Figure CN113705142B
Patent Text Reader

Abstract

The present application discloses a three-dimensional chip, a computing system and a computing method. The three-dimensional chip includes: a data storage array chip component, including at least one layer of data storage array chip, the data storage array chip includes multiple data storage arrays; a dynamic reconstruction storage array chip component, including at least one layer of dynamic reconstruction storage array chip, the dynamic reconstruction storage array chip includes multiple dynamic reconstruction storage arrays; a reconfigurable computing array chip component, including at least one layer of reconfigurable computing array chip, the reconfigurable computing array chip includes multiple reconfigurable computing arrays. The storage access structure of the existing three-dimensional chip can be improved, so that the result data of the completed calculation is inherited in the same storage array, the data movement in the storage array is reduced or even avoided, the global internal storage access overhead is reduced, and the problem that the computing efficiency is reduced as the computing pipeline becomes longer, the global internal storage access overhead increases, and the computing power consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of integrated chip technology, and in particular to a three-dimensional chip, a computing system and a method. Background Art

[0002] The in-memory computing system of the three-dimensional chip is an effective means to overcome the storage wall. The upper system can write data and configure control instructions to the in-memory computing system through the standard DDR (double data rate synchronous dynamic random access memory) interface. The DDR interface can be DDR1, DDR2, DDR3, DDR4, DDR5 and LPDDR2, LPDDR3, LPDDR4, LPDDR5 and GDDR1, GDDR2, GDDR3, GDDR4, GDDR5, GDDR6, etc. After the in-memory computing system completes the calculation, the upper system retrieves the calculation results. The input and output of the calculation results are transmitted through the external interface of the computing system and need to pass through the storage wall; the storage access of the intermediate calculation process is completed in the in-memory computing system. Most of the storage access is in the in-memory computing system. The sharing of calculation data during the execution of multiple calculation steps can reduce the storage wall barrier, that is, reduce the increase in power consumption and the reduction in bandwidth caused by storage access through the storage wall.

[0003] However, the in-memory computing system of the existing three-dimensional chip is usually that after the computing array completes the stage calculation in the corresponding storage array through local internal storage access, the next computing array performs the next stage calculation in the next storage array corresponding to it through local internal storage access, and completes all the computing processes step by step. The calculation result of the previous computing array is usually part of the input data of the next computing array. As the position of the computing array changes (the conversion of the computing array), the computing data also needs to be transferred, and there is data cascading between adjacent computing arrays. During the computing process, as the amount of data transfer increases, it will bring huge overhead of global internal storage access, thereby reducing computing efficiency. Summary of the invention

[0004] The embodiments of the present application provide a three-dimensional chip, a computing system, and a computing method, which can improve the storage access structure of the existing three-dimensional chip, avoid frequent movement of data in the data storage array, reduce global internal storage access overhead, and improve computing efficiency.

[0005] According to a first aspect of an embodiment of the present application, a three-dimensional chip is provided, comprising:

[0006] A data storage array chip assembly, comprising at least one layer of data storage array chips, wherein the data storage array chip comprises a plurality of data storage arrays, and the data storage arrays are used to store target data and target instructions;

[0007] A dynamically reconfigurable storage array chip component, comprising at least one layer of dynamically reconfigurable storage array chips, wherein the dynamically reconfigurable storage array chip comprises a plurality of dynamically reconfigurable storage arrays, and the dynamically reconfigurable storage arrays are used to store computing function configuration files;

[0008] A reconfigurable computing array chip component includes at least one layer of reconfigurable computing array chips, wherein the reconfigurable computing array chip includes multiple reconfigurable computing arrays, wherein the reconfigurable computing arrays are used to execute at least one target computing function recorded in the instruction sequence of the target instruction based on the target data, wherein the target computing function is a function obtained by the reconfigurable computing array after being configured with a target computing function configuration file corresponding to the target computing function, wherein the target computing function configuration file is obtained by the reconfigurable computing array through the dynamically reconfigurable storage array according to the instruction sequence of the target instruction.

[0009] In some implementations, the data storage array and the reconfigurable computing array correspond one to one.

[0010] In some embodiments, the reconfigurable computing array is used to execute all the target computing functions recorded in the instruction sequence of the target instruction, and the reconfigurable computing array that executes all the target computing functions recorded in the instruction sequence of the target instruction is the same reconfigurable computing array.

[0011] In some embodiments, the data storage array storing the target data is also used to store result data, the result data is obtained by the reconfigurable computing array executing the target computing function based on the target data, the result data includes intermediate result data and final result data, the target data based on which the reconfigurable computing array is used to execute the current target computing function is the intermediate result data obtained by executing the previous target computing function, and the final result data is obtained by the reconfigurable computing array executing the last target computing function.

[0012] In some embodiments, the reconfigurable computing array chip also includes a dynamic reconstruction control logic module, and the dynamic reconstruction control logic module is used to obtain the target computing function configuration file corresponding to the target computing function from the dynamic reconfiguration storage array according to the instruction sequence of the target instruction.

[0013] In some embodiments, the reconfigurable computing array includes a processing module, the processing module being used to configure the corresponding target computing function according to the obtained target computing function configuration file;

[0014] The processing module is further configured to execute the configured target computing function based on the target data.

[0015] In some embodiments, two adjacent layers of chips are stacked and connected via a heterogeneous integrated connection component, and the heterogeneous integrated connection component is used to connect chips manufactured by the same or different manufacturing processes.

[0016] In some embodiments, the reconfigurable computing array chip component is disposed between the data storage array chip component and the dynamically reconfigurable storage array chip component; or,

[0017] The data storage array chip component is arranged between the reconfigurable computing array chip component and the dynamically reconfigurable storage array chip component; or,

[0018] The dynamically reconfigurable storage array chip component is disposed between the reconfigurable computing array chip component and the data storage array chip component.

[0019] In some embodiments, any two or more of the data storage array chip, the reconfigurable computing array chip, and the dynamically reconfigurable storage array chip are arranged on the same chip layer.

[0020] In some implementations, the dynamically reconfigurable storage array includes at least one reconfiguration storage unit, and the reconfiguration storage unit is used to store the computing function configuration file.

[0021] A second aspect of an embodiment of the present application provides a three-dimensional chip computing system, comprising: the three-dimensional chip and a host system as described in the first aspect, wherein the three-dimensional chip comprises an external storage access interface;

[0022] The host system is used to send target instructions and target data to the three-dimensional chip through the external storage access interface.

[0023] A third aspect of the embodiments of the present application provides a three-dimensional chip calculation method, which is applied to the three-dimensional chip as described in the first aspect, and the method includes:

[0024] According to the target instruction, the data storage array of the data storage array chip assembly stores the target data of the target instruction;

[0025] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip assembly obtains the corresponding target computing function configuration file according to the target computing function recorded in the instruction sequence of the target instruction by dynamically reconfiguring the dynamic reconfigurable storage array of the storage array chip assembly;

[0026] The reconfigurable computing array configures the target computing function configuration file corresponding to the target computing function;

[0027] The reconfigurable computing array executes the target computing function based on the target data to obtain corresponding result data.

[0028] In some embodiments, the method further includes:

[0029] According to the target instruction, the data storage array storing the target data stores the result data.

[0030] In some embodiments, the instruction sequence of the target instruction records the first target computing function to the Nth target computing function, the result data includes N - 1 intermediate result data and 1 final result data, the first target computing function to the (N - 1)th target computing function correspond to the first intermediate result data to the (N - 1)th intermediate result data, the Nth target computing function corresponds to the final result data, N is greater than or equal to 1, and N is a natural number;

[0031] The step of storing the target data and the target instruction in the data storage array of the data storage array chip component according to the target instruction includes:

[0032] According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction;

[0033] According to the target instruction, the data storage array storing the (n - 1)th intermediate result data stores the nth intermediate result data, where 1 < n < N - 1 and n is a natural number;

[0034] The step of obtaining the corresponding target computing function configuration file according to the target instruction, where the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding target computing function configuration file according to the target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component includes:

[0035] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding (n + 1)th target computing function configuration file through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the (n + 1)th target computing function recorded in the instruction sequence of the target instruction;

[0036] The step of configuring the target computing function corresponding to the target computing function configuration file by the reconfigurable computing array includes:

[0037] The reconfigurable computing array configures the (n + 1)th target computing function configuration file of the (n + 1)th target computing function;

[0038] The step of the reconfigurable computing array executing the target computing function based on the target data to obtain the corresponding result data includes:

[0039] The reconfigurable computing array performs the (n + 1)-th target computing function based on the n-th intermediate result data to obtain the corresponding (n + 1)-th intermediate result data.

[0040] In some embodiments, the instruction sequence of the target instruction records the 1st to N-th target computing functions. The result data includes N - 1 intermediate result data and 1 final result data. The 1st to (N - 1)-th target computing functions correspond to the 1st to (N - 1)-th intermediate result data, and the N-th target computing function corresponds to the final result data, where N is greater than or equal to 1 and N is a natural number.

[0041] The step of storing the target data and the target instruction in the data storage array of the data storage array chip component according to the target instruction includes:

[0042] According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction.

[0043] According to the target instruction, the data storage array storing the (n - 1)-th intermediate result data stores the n-th intermediate result data, where 1 < n < N - 1 and n is a natural number.

[0044] The step of the reconfigurable computing array of the reconfigurable computing array chip component obtaining the corresponding target computing function configuration file according to the target instruction by dynamically reconfiguring the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the target computing function recorded in the instruction sequence of the target instruction includes:

[0045] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding (n + j)-th target computing function configuration file and (n + q)-th target computing function configuration file according to the (n + j)-th target computing function and (n + q)-th target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component, where 1 - n < j < N - n - 1, j is an integer, 1 - n < q < N - n - 1, q is an integer, and j ≠ q.

[0046] The step of the reconfigurable computing array configuring the target computing function configuration file corresponding to the target computing function includes:

[0047] The same reconfigurable computing array configures the (n + j)-th target computing function configuration file and the (n + q)-th target computing function configuration file; or,

[0048] Any two reconfigurable computing arrays respectively configure the (n + j)-th target computing function configuration file and the (n + q)-th target computing function configuration file.

[0049] The reconfigurable computing array executes the target computing function based on the target data to obtain corresponding result data, including:

[0050] The reconfigurable computing array synchronously executes the n+jth target computing function and the n+qth target computing function based on the nth intermediate result data to obtain the corresponding n+jth intermediate result data and n+qth intermediate result data.

[0051] The three-dimensional chip, computing system and method provided by the embodiment of the present application are configured to store target data and target instructions by setting a data storage array chip component, set a dynamically reconfigurable storage array chip component to store a target computing function configuration file, set a reconfigurable computing array chip component, and the reconfigurable computing array in the reconfigurable computing array chip component configures the target computing function configuration file corresponding to the target computing function based on the target instruction, obtains the corresponding target computing function, and then executes the target computing function based on the target data. At least one target computing function is recorded in the instruction sequence of the target instruction. Before executing each target function, the same reconfigurable computing array needs to obtain the target computing function configuration file to configure the target computing function. The computing function of the reconfigurable computing array can be reconstructed according to the target sequence of the target instruction, and the time-sharing satisfies the needs of all target computing functions in the computing process. For the three-dimensional chip in the prior art, the computing function of the computing array is fixed. After a computing target is completed in the computing process, the next computing function turns to another computing array, and is accessed by the computing array corresponding to the next computing function along with the intermediate result generated by the previous computing function. Therefore, an internal global storage access network connection needs to be established between all computing arrays and all data storage arrays. During the calculation process of a target instruction, after the calculation array completes the stage calculation through local internal storage access in the data storage array, the next calculation array performs the next stage calculation through local internal storage access in the next data storage array, and completes all calculation processes step by step. The calculation result of the previous calculation array is used as part of the input data of the next calculation array. With the conversion of the calculation array, the calculation data also needs to be transferred. During the calculation process, as the amount of data transfer increases, it will bring huge overhead of global internal storage access, thereby reducing the calculation efficiency, which will seriously affect the economy and practicality of the three-dimensional chip. In addition, the internal global storage access bus that must be designed for data transfer will not only occupy a large area in the calculation array chip, but also destroy the design layout in the calculation array chip, resulting in a decrease in system performance. Therefore, in order to address the problems existing in the prior art, the three-dimensional chip provided in the embodiment of the present application, by setting a dynamically reconfigurable storage array chip component, the reconfigurable computing array can obtain the target computing function configuration file through the dynamically reconfigurable storage array in the dynamically reconfigurable storage array chip component to configure the target computing function, the reconfigurable computing array can configure the target computing function and execute the computing function in accordance with the instruction sequence of the target instruction, all target computing functions corresponding to a target instruction can be completed sequentially in the same reconfigurable computing array, or some target computing functions can be completed in the same reconfigurable computing array.The reconfigurability of the target computing function of the reconfigurable computing array does not require the establishment of an internal global storage access network connection between the reconfigurable computing array and the data storage array. It can mainly rely on a one-to-one connection or many-to-one connection between the reconfigurable computing array and the data storage array to achieve high-bandwidth local interconnection, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale movement of data, and greatly improve the computing efficiency of the three-dimensional chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the structure of a three-dimensional chip provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of a three-dimensional chip logic structure provided in an embodiment of the present application;

[0054] Figure 3 Another schematic diagram of a three-dimensional chip logic structure provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of another three-dimensional chip logic structure provided in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of the structure of a three-dimensional chip computing system provided in an embodiment of the present application;

[0057] Figure 6 A schematic flowchart of a three-dimensional chip calculation method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to better understand the technical solutions provided by the embodiments of this specification, the technical solutions of the embodiments of this specification are described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are detailed descriptions of the technical solutions of the embodiments of this specification, rather than limitations on the technical solutions of this specification. In the absence of conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other.

[0059] 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 that there is 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 the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. The term "more than two" includes two or more than two situations.

[0060] The in-memory computing system of the three-dimensional chip is an effective means to overcome the storage wall. The upper system can write data and configure control instructions to the in-memory computing system through the standard DDR (double data rate synchronous dynamic random access memory) interface. The DDR interface can be DDR1, DDR2, DDR3, DDR4, DDR5 and LPDDR2, LPDDR3, LPDDR4, LPDDR5 and GDDR1, GDDR2, GDDR3, GDDR4, GDDR5, GDDR6, etc. After the in-memory computing system completes the calculation, the upper system retrieves the calculation results. The input and output of the calculation results are transmitted through the external interface of the computing system and need to pass through the storage wall; the storage access of the intermediate calculation process is completed in the in-memory computing system. Most of the storage access is in the in-memory computing system. The sharing of calculation data during the execution of multiple calculation steps can reduce the storage wall barrier, that is, reduce the increase in power consumption and the reduction in bandwidth caused by storage access through the storage wall. However, the in-memory computing system of the existing three-dimensional chip is usually that after the computing array completes the stage calculation in the corresponding storage array through local internal storage access, the next computing array performs the next stage calculation in the next storage array corresponding to it through local internal storage access, and completes all the computing processes step by step. The calculation result of the previous computing array is usually part of the input data of the next computing array. As the position of the computing array changes (the conversion of the computing array), the computing data also needs to be transferred, and there is data cascading between adjacent computing arrays. During the computing process, as the amount of data transfer increases, it will bring huge overhead of global internal storage access, thereby reducing computing efficiency.

[0061] In view of this, the embodiments of the present application provide a three-dimensional chip, a computing system and a computing method, which can improve the problem that as the computing pipeline of the existing three-dimensional chip becomes longer and the amount of data transfer increases, it will bring huge overhead of global internal storage access, thereby reducing computing efficiency.

[0062] In a first aspect of an embodiment of the present application, a three-dimensional chip is provided, exemplarily, Figure 1 This is a schematic diagram of the structure of a three-dimensional chip provided in an embodiment of the present application. Figure 1 As shown, the three-dimensional chip provided in the embodiment of the present application includes: a data storage array chip component 100, a dynamically reconfigurable storage array chip component 200 and a reconfigurable computing array chip component 300. The data storage array chip component 100 includes at least one layer of data storage array chip 110, Figure 1 The data storage array chip assembly 100 shown includes a layer of data storage array chips 110, Figure 1 It is only for illustration and is not a specific limitation of the present application. The data storage array chip 110 may include multiple data storage arrays 111, and the data storage array 111 is used to store target data, target instructions and computing protocol data, such as the original data address, length, format type, and the target address (calculated or processed data), length, format type, etc. Calculations may include numerical calculations, such as multiplication and addition, convolution, correlation, matrix operations, and image / video compression / decompression, etc.; they may also include digital signal processing calculations, such as discrete Fourier transform, digital filtering, discrete cosine transform, etc.; they may also include mixed calculations of the numerical calculations and digital signal processing calculations, which are not specifically limited in the present application. According to different storage requirements and storage scales, the data storage array 111 includes at least one data storage unit, and the data storage unit is used to store different target data, which is not specifically limited in the present application. The target data may come from the issuance of the upper system, which is not specifically limited in the present application.

[0063] Exemplarily, the data storage array chip includes at least one of a data storage array die or a data storage array wafer; and / or,

[0064] The dynamically reconfigurable storage array chip includes at least one of a dynamically reconfigurable storage array grain or a dynamically reconfigurable storage array wafer; and / or,

[0065] The reconfigurable computing array chip includes at least one of a reconfigurable computing array grain or a reconfigurable computing array wafer. It is easy to understand that the chip mentioned in the embodiment of the present application can be a product in the form of a wafer or a grain. The chip can be at least one of a grain (die or chip) and a wafer (wafer), but is not limited to this, and can also be any replacement that a person skilled in the art can think of. Among them, a wafer refers to a silicon wafer used to make a silicon semiconductor circuit, and a chip or a grain refers to a silicon wafer after the above-mentioned wafer with a semiconductor circuit is divided. The specific embodiments of the present application are introduced by taking a chip as an example.

[0066] Continue to refer Figure 1The dynamic reconfiguration storage array chip assembly 200 may include at least one layer of dynamic reconfiguration storage array chip 210. Figure 1 The dynamically reconfigurable storage array chip assembly 200 shown includes only one layer of dynamically reconfigurable storage array chip 210. Figure 1 The dynamic reconfiguration storage array chip 210 includes a plurality of dynamic reconfiguration storage arrays 211, which are used to store computing function configuration files and fixed computing data. Some computing function requirements include fixed computing data, which may include some programming files and computing constants, such as the convolution kernel weights of image convolution and the coefficients of finite impulse response filters, etc., which are not specifically limited in this application.

[0067] Continue to refer Figure 1 The reconfigurable computing array chip assembly 300 includes at least one layer of reconfigurable computing array chip 310. Figure 1 The reconfigurable computing array chip assembly 300 shown includes only one layer of reconfigurable computing array chip 310. Figure 1 It is only for illustration and is not a specific limitation of the present application. The reconfigurable computing array chip 310 includes a plurality of reconfigurable computing arrays 311, and the reconfigurable computing array 311 is used to execute at least one target computing function recorded in the instruction sequence of the target instruction based on the target data. The execution order can be recorded in the instruction sequence. The target computing function is the function obtained by the reconfigurable computing array 311 after being configured with the target computing function configuration file corresponding to the target computing function. The target computing function configuration file is obtained by the reconfigurable computing array 311 through the dynamic reconstruction storage array according to the instruction sequence of the target instruction. The target instruction can come from the upper system, and the upper system can control the reconfigurable computing array 311 to retrieve the target computing function configuration file through the target instruction. Alternatively, the dynamically reconfigured storage array 211 actively sends the target computing function configuration file to the reconfigurable computing array 311, which is not specifically limited in the present application. Multiple target computing functions can be recorded in the instruction sequence of the target instruction. After the reconfigurable computing array 311 obtains a target computing function configuration file, it can configure the target computing function according to the target computing function configuration file, and after the configuration is completed, it can execute the configured target computing function based on the target data. The target data may be obtained by the reconfigurable computing array 311 from the data storage array 111 according to the target instruction.

[0068] Continue to refer Figure 1The data storage array chip 110 also includes a first connection structure 112, the dynamically reconfigurable storage array chip 210 also includes a second connection structure 212, and the reconfigurable computing array chip 310 also includes a third connection structure 312. A first inter-chip connection structure 130 is provided between the first connection structure 112 and the third connection structure 312, and a second inter-chip connection structure 230 is provided between the third connection structure 312 and the second connection structure 212. The data storage array chip 110 and the reconfigurable computing array chip 310 can be connected to each other through the first connection structure 112, the third connection structure 312 and the first inter-chip connection structure 130, and the reconfigurable computing array chip 310 and the dynamically reconfigurable storage array chip 210 can be connected to each other through the third connection structure 312, the second connection structure 212 and the second inter-chip connection structure 230. The specific connection method and connection process are not specifically limited in this application. Figure 1 The connection methods and connection relationships shown are only for illustration and are not intended to be specific limitations of this application.

[0069] The three-dimensional chip provided in the embodiment of the present application is configured by setting a data storage array chip component 100 to store target data and target instructions, setting a dynamically reconfigurable storage array chip component 200 to store target computing function configuration files, and setting a reconfigurable computing array chip component 300. The reconfigurable computing array 311 in the reconfigurable computing array chip component 300 configures the target computing function configuration file corresponding to the target computing function based on the target instruction, obtains the corresponding target computing function, and then executes the target computing function based on the target data. At least one target computing function is recorded in the instruction sequence of the target instruction. Before executing each target function, the same reconfigurable computing array 311 needs to obtain the target computing function configuration file to configure the target computing function, so that the computing function of the reconfigurable computing array 311 becomes adjustable according to demand. The computing function of the reconfigurable computing array 311 can be reconstructed according to the target sequence of the target instruction, and the time-sharing satisfies all the target computing function needs in the computing process. For the three-dimensional chip in the prior art, the computing function of the computing array is fixed. After a computing target is completed in the computing process, the next computing function turns to another computing array, and the intermediate result generated by the previous computing function is accessed by the computing array corresponding to the next computing function. Therefore, an internal global storage access network connection needs to be established between all computing arrays and all data storage arrays. In the computing process of a target instruction, after the computing array completes the stage calculation in the data storage array through local internal storage access, the next computing array performs the next stage calculation in the next data storage array through local internal storage access, and completes all the computing processes step by step. The calculation result of the previous computing array is used as part of the input data of the next computing array. With the conversion of the computing array, the computing data also needs to be transferred. In the computing process, as the amount of data transfer increases, it will bring huge overhead of global internal storage access, thereby reducing the computing efficiency, which will seriously affect the economy and practicality of the three-dimensional chip. In addition, the internal global storage access bus that must be designed for data transfer will not only occupy a large area in the computing array chip, but also destroy the design layout in the computing array chip, resulting in a decrease in system performance. Therefore, in order to address the problems existing in the prior art, the three-dimensional chip provided in the embodiment of the present application, by setting a dynamically reconfigurable storage array chip component 200, the reconfigurable computing array 311 can obtain the target computing function configuration file through the dynamically reconfigurable storage array in the dynamically reconfigurable storage array chip component 200 to configure the target computing function. The reconfigurable computing array 311 can configure the target computing function and execute the computing function in accordance with the instruction sequence of the target instruction. All target computing functions corresponding to a target instruction can be completed sequentially in the same reconfigurable computing array 311, or part of the target computing functions can be completed in the same reconfigurable computing array 311.The reconfigurability of the target computing function of the reconfigurable computing array 311 does not require the establishment of an internal global storage access network connection between the reconfigurable computing array 311 and the data storage array 111. It can mainly rely on a one-to-one connection or a many-to-one connection between the reconfigurable computing array 311 and the data storage array 111 to achieve high-bandwidth local interconnection, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large amount of data movement, and greatly improve the computing efficiency of the three-dimensional chip. In a feasible implementation, one data storage array 111 can be connected to multiple reconfigurable computing arrays 311, or multiple data storage arrays 111 can be connected to one reconfigurable computing array 311, and a high-bandwidth and low-power internal local storage access channel is formed in combination with three-dimensional heterogeneous integration. The reconfigurability of the target computing function of the reconfigurable computing array 311 does not require the establishment of an internal global storage access network connection that matches the high bandwidth of the internal local storage access channel between all reconfigurable computing arrays 311 and all data storage arrays 111. It can mainly rely on a one-to-many connection or many-to-one connection between the reconfigurable computing array 311 and the data storage array 111, and can achieve high-bandwidth local interconnection, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale movement of data, and greatly improve the computing efficiency of the three-dimensional chip.

[0070] Exemplarily, the execution order may be, after the specific reconfigurable computing array performs and completes the target computing function corresponding to the pth step, the specific reconfigurable computing array performs and completes the target computing function corresponding to the p+1th step, and then the specific reconfigurable computing array performs and completes the target computing function corresponding to the p+2th step. Alternatively, after the specific reconfigurable computing array performs and completes the target computing function corresponding to the pth step, the specific reconfigurable computing array and other reconfigurable computing arrays simultaneously perform and complete the target computing functions corresponding to the (p+1)_A and (p+1)_B steps, and then the specific reconfigurable computing array or other reconfigurable computing arrays perform and complete the target computing function corresponding to the p+2th step. Alternatively, it may be a combination of the above two situations, which is not specifically limited in this application, wherein p is a natural number, and p is greater than 0.

[0071] In a feasible implementation, the order of target computing functions may depend on application requirements, and non-sequential computing requirements may be generated. For example, the next computing step after the pth computing step is the p+1th computing step and the p+ith computing step, where i is any natural number, and i is greater than 1, and i≠2. The p+1th and p+ith computing steps may be two parallel computing steps, and the next computing step after the p+1th and p+ith computing steps may be the n+2th computing step, and the n+2th computing step is subject to the completion of the p+1th and p+ith computing steps. Generally, when the p+1th and p+ith computing steps need to use the result data of the pth computing step, or when the p+2th computing step needs to use the result data of the p+1th or p+ith computing step, the p+1th and p+ith computing steps cannot be completed in the same reconfigurable computing array 311. For example, the computing resources of the reconfigurable computing array 311 cannot simultaneously support the calculations of the p+1th and p+ith computing steps, or the data storage array 111 corresponding to the reconfigurable computing array 311 cannot simultaneously accommodate the calculation data of the p+1th and p+ith computing steps, which will cause the p+1th and p+ith computing steps to be completed in a combination of more than one reconfigurable computing array 311 and data storage array 111, thereby generating internal global storage access requirements.

[0072] Exemplarily, several groups of reconfigurable computing arrays 311 and data storage arrays 111 with larger granularity may be provided to meet the requirements of parallel computing steps. In most common computing application requirements, the requirements of parallel computing steps can be avoided to occur in large numbers.

[0073] Faced with diverse application computing requirements, parallel computing steps or computing data sharing between computing function sequences cannot completely avoid the need for internal global storage access. Implementing internal global storage access capabilities is a necessary condition to ensure system versatility:

[0074] An internal global access bus with a lower bandwidth is established to implement internal storage access across the data storage array 111 of the reconfigurable computing array 311. The internal global access bus can be set on the data storage array chip component 100, the dynamically reconfigurable storage array chip component 200, or the reconfigurable computing array chip component 300. Although this will occupy the effective area on the data storage array chip component 100, the dynamically reconfigurable storage array chip component 200, or the reconfigurable computing array chip component 300, since the internal global storage access demand usually accounts for a very small proportion of the entire computing demand sequence, the internal global access bus bandwidth can be reduced to reduce the effective area overhead.

[0075] The internal storage access across data storage arrays 111 of the reconfigurable computing array 311 is completed with the cooperation of the upper system, and the upper system can take data from a data storage array 111 and write it to a target data storage array, which can be any data storage array 111. Although this will cause the relevant data of the internal global storage access to pass through the storage wall and occupy the processing power of the upper system, since the internal global storage access demand usually accounts for a very small proportion of the entire computing demand sequence, the internal global storage access behavior completed by the upper system in cooperation will hardly affect the system performance.

[0076] In one possible implementation, Figure 2 A schematic diagram of a three-dimensional chip logic structure provided in an embodiment of the present application. Figure 2 As shown, the data storage arrays 111 may have m, namely, data storage array 1, data storage array 2, data storage array 3, ..., data storage array m, where m is a natural number greater than or equal to 1. The reconfigurable computing arrays 311 may have m, namely, reconfigurable computing array 1, reconfigurable computing array 2, reconfigurable computing array 3, ..., reconfigurable computing array m. The dynamically reconfigurable storage arrays 211 may be centrally set to one, or may be dispersedly set to multiple. Figure 2 The number of the dynamically reconfigurable storage array 211 shown is only one, which is for illustration only and is not intended to be a specific limitation of the present application. The data storage array 111 and the reconfigurable computing array 311 may correspond one to one. The reconfigurable computing array 311 is used to execute all target computing functions recorded in the instruction sequence of the target instruction. Typically, the reconfigurable computing array 311 that executes all target computing functions recorded in the instruction sequence of the target instruction is the same reconfigurable computing array 311. A group of data storage arrays 111 and reconfigurable computing arrays 311 may be specified in a target instruction. A group of data storage arrays 111 and reconfigurable computing arrays 311 may include a data storage array 111 and a reconfigurable computing array 311. A group of data storage arrays 111 and reconfigurable computing arrays 311 can complete a computing step recorded in the instruction sequence of the target instruction. Based on the one-to-one corresponding local internal storage access on the data storage array 111 and the reconfigurable computing array 311, and the reprogramming of the reconfigurable computing array 311, all computing steps recorded in the instruction sequence of the target instruction are realized, that is, a computing cycle is completed. The computing cycle 1 recorded in the target instruction 1...the computing cycle m recorded in the target instruction m can correspond to the local internal storage access 1...the local internal storage access m.

[0077] The three-dimensional chip provided in the embodiment of the present application has a reconfigurable target computing function of the reconfigurable computing array 311, which can mainly establish a high-bandwidth local interconnection between the reconfigurable computing array 311 and the data storage array 111. A computing cycle corresponding to a target instruction can only complete local access and transmission of data between a data storage array 111 and a reconfigurable computing array 311. A computing cycle corresponding to a target instruction mainly completes all target computing functions in a reconfigurable computing array 311, which can greatly reduce or even avoid a large number of internal global storage accesses in the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale movement of data, and greatly improve the computing efficiency of the three-dimensional chip.

[0078] In a possible implementation, continue to refer to Figure 2 The data storage array 111 storing the target data is also used to store the result data. The result data is obtained by the reconfigurable computing array 311 executing the target computing function based on the target data. The result data includes intermediate result data and final result data. The target data based on which the reconfigurable computing array 311 is used to execute the current target computing function is the intermediate result data obtained by executing the previous target computing function. The final result data is obtained by the reconfigurable computing array executing the last target computing function.

[0079] In the three-dimensional chip provided by the embodiment of the present application, the target data, intermediate result data and final result data are mainly stored in the same data storage array 111, which can avoid the large-scale transfer of input data and output data of the reconfigurable computing array 311 in different data storage arrays 111 during the execution of different target computing functions, can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, and can further improve the computing efficiency of the three-dimensional chip.

[0080] In one possible implementation, Figure 3 Another schematic diagram of a three-dimensional chip logic structure provided in an embodiment of the present application. For example, Figure 3As shown, the reconfigurable computing array chip 310 also includes a dynamic reconstruction control logic module 313, and the dynamic reconstruction control logic module 313 is used to obtain a target computing function configuration file corresponding to the target computing function from the dynamic reconstruction storage array 211 according to the instruction sequence of the target instruction. Exemplarily, the reconfigurable computing array 311, the dynamic reconstruction control logic module 313 and the dynamic reconstruction storage array 211 can be one-to-one corresponding, which is only illustrative and not a specific limitation of the present application. After the dynamic reconstruction control logic module 313 is used to obtain a target computing function configuration file corresponding to the target computing function from the dynamic reconstruction storage array 211 according to the instruction sequence of the target instruction, the reconfigurable computing array 311 can configure the target computing function according to the obtained target computing function configuration file.

[0081] The three-dimensional chip provided in the embodiment of the present application, the dynamic reconstruction control logic module 313 can realize the automatic retrieval of the target computing function configuration file according to the target instruction, prepare for the computing function switching of the reconfigurable computing array 311, and realize the switching of multiple computing functions of the same reconfigurable computing array 311. The computing function of the reconfigurable computing array 311 is no longer fixed, which can avoid the frequent conversion of the computing array to realize different computing functions, and also greatly reduce the frequent transfer of computing data, which can improve the computing efficiency of the three-dimensional chip and further expand the economy and practicality of the three-dimensional chip.

[0082] In a feasible implementation, the dynamic reconstruction control logic module may also be disposed in the dynamic reconstruction storage array chip 210, which is not specifically limited in the present application and the function remains unchanged.

[0083] In a feasible implementation, the reconfigurable computing array also includes a processing module, which is used to configure the corresponding target computing function according to the obtained target computing function configuration file; the processing module is also used to execute the configured target computing function based on the target data. Exemplarily, the processing module may include a computing unit and a static random access memory, and the computing unit may not be limited to a multiplication and addition computing unit, a multiplication computing unit, a systolic processor, a hash computing unit, and a machine learning unit, etc., which are not specifically limited in this application. The processing module can also use FPGA (field editable logic gate array) or eFPGA (embedded field editable logic gate array), and its programmability can be used to realize the reconfigurable function, which is not specifically limited in this application. The reconfigurable computing array can also include other hard-core IPs, which can be understood as existing solidified effective computing units (hardware devices) to increase the computing density, which is not specifically limited in this application, thereby adaptively increasing the effective computing density, that is, increasing the density of computing devices, and then realizing the increase in the types and number of computing functions. Exemplarily, the static random access memory can be used to configure the target computing function according to the obtained target computing function configuration file, and the computing unit can perform the calculation of the corresponding function according to the target computing function configured by the static random access memory to obtain the result data.

[0084] The three-dimensional chip provided in the embodiment of the present application, by setting a processing module, is used to configure the target computing function and execute the target computing function. The processing module combined with the dynamic reconstruction control logic module can realize the reconfiguration of the computing function of the reconfigurable computing array, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale movement of data, and greatly improve the computing efficiency of the three-dimensional chip.

[0085] In a feasible implementation, for example, Figure 4 This is another schematic diagram of a three-dimensional chip logic structure provided in an embodiment of the present application. Figure 4 As shown, the dynamically reconfigurable storage array 211 may include at least one reconfigurable storage unit, and the reconfigurable storage unit is used to store computing function configuration files and fixed computing data. Exemplarily, the multiple reconfigurable storage units in each dynamically reconfigurable storage array may be represented as step1, step2, step3 to stepk, respectively, corresponding to multiple computing steps (i.e., computing functions) in a computing cycle, and k may be a natural number greater than 1 or equal to 1. A reconfigurable storage unit may store one or more target computing function configuration files, and all reconfigurable storage units in a dynamically reconfigurable storage array may store all target computing function configuration files required for a computing cycle, which is not specifically limited in this application.

[0086] In the three-dimensional chip provided in the embodiment of the present application, the dynamic reconfiguration storage array 211 may include at least one reconfiguration storage unit. The reconfiguration storage unit may be regarded as a storage space. The more reconfiguration storage units there are, the greater the storage density is, and the more computing functions are stored. All reconfiguration storage units in a dynamic reconfiguration storage array may correspond to all target computing function configuration files required for storing a computing cycle. In the same computing cycle (i.e., executing all target computing functions in the same target instruction), when the target computing function configuration file is called, the reconfigurable computing array 311 may correspond to only one dynamic reconfiguration storage array 211, which can avoid frequent internal global storage accesses when calling the target computing function configuration file, and can improve the efficiency of file calling.

[0087] In a feasible implementation, two adjacent layers of chips are connected by a heterogeneous integrated connection component, which is used to connect chips made by the same or different preparation processes. The data storage array chip 110, the dynamic reconfiguration storage array chip 210, and the reconfigurable computing array chip 310 have different functions, and therefore, their preparation processes may be different. They are heterogeneous chips. Integrating heterogeneous chips into a three-dimensional chip requires dense connections between heterogeneous chips. Such dense connections can be made using heterogeneous integrated connection components, such as Figure 1 As shown, the heterogeneous integrated connection component may include a first connection structure 112 and a first inter-chip connection structure 130, or include a third connection structure 312 and a first inter-chip connection structure 130, or include a second connection structure 212 and a second inter-chip connection structure 230, or include a third connection structure 312 and a second inter-chip connection structure 230. Exemplarily, no matter what preparation process is used for the first chip, the second chip and the third chip, a uniform material metal layer is added and prepared through a unified back-end process, which serves as both an interconnection interface and an intra-chip interconnection transfer, and the inter-chip interconnection lines are centrally interconnected within the chip to the first connection structure 112, the third connection structure 312 and the second connection structure 212; between the uniform material metal layers as the interconnection interface, a heterogeneous integration process is used to realize a high-density interconnection structure between chips, namely, the first connection structure 112, the second connection structure 212 and the third connection structure 312, which are not specifically limited in this application.

[0088] The three-dimensional chip provided in the embodiment of the present application can integrate chips prepared by different preparation processes to form a three-dimensional chip through heterogeneous integrated connection components, thereby eliminating the need to establish an internal global connection network inside the three-dimensional chip. In the process of calculation based on target instructions, internal global storage access is greatly reduced or even eliminated, thereby greatly improving the computing efficiency of the three-dimensional chip.

[0089] In a feasible implementation, two adjacent layers of chips are connected by metal bonding. For example, the heterogeneous integrated connection components can be formed into a uniform metal layer, such as copper, as an interconnection interface through a back-end process. Figure 1 As shown, taking the interconnection between the data storage array chip 110 and the computing array chip 310 as an example, the data storage array chip 110 is a 28nm aluminum connection process, and the computing array chip 310 is a 12nm copper connection process; through the back-end process, a metal layer prepared by the copper connection process is added to the lower layer of the data storage array chip 110 as an interconnection interface, and a metal layer prepared by the copper connection process is added to the upper layer of the computing array chip 310 as an interconnection interface; on the interconnection interface of the lower copper connection metal layer of the data storage array chip 110, the signal interconnected to the computing array chip 310 is centrally interconnected to the lower layer on the first connection structure 112, and on the interconnection interface of the upper copper connection metal layer of the computing array chip 310, the signal interconnected to the data storage array chip 110 is centrally interconnected to the upper layer on the second connection structure 212 ; The interconnection points of the lower interconnection interface on the first connection structure 112 and the upper interconnection interface on the second connection structure 212 are highly flattened windowed (exposed) copper metals, and the physical distribution positions of the corresponding logical connections are the same; using pure water medium, align and fit the data storage array chip 110 and the computing array chip 310, and through the annealing process, as the water molecules evaporate / volatize, the corresponding bonding positions of the lower interconnection interface on the first connection structure 112 and the upper interconnection interface on the second connection structure 212 are established between the two, forming a whole; currently, the industry can achieve the interconnection spacing between the chips of 1um, that is, 1 million interconnections per square millimeter, forming an important support for the high-bandwidth cross-chip interconnection of the present invention; the interconnection between chips can be based on chip particles or the entire wafer, which is not specifically limited in this application. Combined with the above method, it is easy to achieve high-density cross-chip interconnection between the computing array chip 310 and the dynamically reconfigurable storage array chip 210.

[0090] The three-dimensional chip provided in the embodiment of the present application adopts metal bonding to achieve the connection between two adjacent layers of chips. The metal bonding process is easy to implement and can form a dense connection between the arrays in the chips on both sides. High-density interconnection can be achieved between the two opposite side arrays or multiple opposite side arrays that are connected, which can be used to achieve internal one-to-one storage access and has good communication connection.

[0091] In a feasible implementation, multiple layers of data storage array chips 110 can be set in the data storage array chip assembly 100 according to the specific needs of data storage and the setting of storage scale. Alternatively, multiple layers of dynamic reconfigurable storage array chips 210 can be set in the dynamic reconfigurable storage array chip assembly 200 according to the storage needs or storage scale setting of the target computing function configuration file. Multiple layers of reconfigurable computing array chips 310 can be set in the reconfigurable computing array chip assembly 300 according to the needs of computing volume. This application does not make specific limitations. Exemplarily, a layer of reconfigurable computing array chips 310 composed of hard-core IP can be set separately in the reconfigurable computing array chip assembly 300. This application does not make specific limitations.

[0092] The three-dimensional chip provided in the embodiment of the present application can obtain a multi-layer chip structure by setting up multi-layer chips to form a chip component. The corresponding three-dimensional chip can be obtained according to the specific function and scale requirements to maximize the required effect.

[0093] In a feasible implementation, the reconfigurable computing array chip component is disposed between the data storage array chip component and the dynamically reconfigurable storage array chip component; and / or,

[0094] The data storage array chip component is disposed between the reconfigurable computing array chip component and the dynamically reconfigurable storage array chip component; and / or,

[0095] The dynamically reconfigurable storage array chip component is arranged between the reconfigurable computing array chip component and the data storage array chip component.

[0096] The three-dimensional chip provided in the embodiment of the present application can flexibly set the connection positions between multiple chip components according to specific functional requirements, so that the three-dimensional chip can have more computing functions and a larger computing scale, which can broaden the application scenarios of the three-dimensional chip.

[0097] In a feasible implementation, the reconfigurable computing array chip is disposed between the data storage array chip and the dynamically reconfigurable storage array chip; and / or,

[0098] The data storage array chip is arranged between the reconfigurable computing array chip and the dynamically reconfigurable storage array chip; and / or,

[0099] The dynamically reconfigurable storage array chip is arranged between the reconfigurable computing array chip and the data storage array chip.

[0100] The three-dimensional chip provided in the embodiment of the present application can flexibly set the connection positions between different chips according to specific functional requirements, which can also enable the three-dimensional chip to have more computing functions and a larger computing scale, thereby broadening the application scenarios of the three-dimensional chip.

[0101] In a feasible implementation, any two or more of the data storage array chip, the reconfigurable computing array chip, and the dynamically reconfigurable storage array chip are arranged in the same layer. If the required functions are less or the required computing scale is smaller, the corresponding two or more chips can be integrated into a layer of chips. Exemplarily, the dynamically reconfigurable storage array chip and the data storage array chip are arranged in the same layer, that is, at least one dynamically reconfigurable storage array and at least one data storage array are integrated on a layer of chip. Specifically, the dynamically reconfigurable storage array and the data storage array can be arranged at intervals on the same chip, and interconnected in the chip to form a layer of chip structure. This layer of chip structure can have both dynamic reconstruction storage function and data storage function, which can be achieved by interconnecting the dynamically reconfigurable storage array and the data storage array.

[0102] Exemplarily, the dynamically reconfigurable storage array chip and the reconfigurable computing array chip are arranged on the same layer, that is, at least one dynamically reconfigurable storage array and at least one reconfigurable computing array are integrated on a layer of chip. Specifically, the dynamically reconfigurable storage array and the reconfigurable computing array can be arranged on the same chip at intervals and interconnected within the chip to form a layer of chip structure. This layer of chip structure can have both dynamic reconfigurable storage function and reconfigurable computing function, which can be realized by interconnecting the dynamically reconfigurable storage array and the reconfigurable computing array. It should be noted that the arrays integrated on a layer of chip need to adopt compatible preparation processes to achieve same-layer integration. The compatible preparation processes can be similar or identical preparation processes, which are not specifically limited in this application.

[0103] The three-dimensional chip provided in the embodiment of the present application integrates the chip functions by combining different chips into a layer of chips, which can reduce the manufacturing and testing process flow of the three-dimensional chip. The reduction of the process flow will also reduce the failure rate, thereby achieving the effect of reducing production costs. In addition, integrating different chips into one layer can increase the interconnection density between different functional arrays and enhance the computing and storage functions of the three-dimensional chip.

[0104] A second aspect of the embodiments of the present application provides a three-dimensional chip computing system. Figure 5 A schematic diagram of the structure of a three-dimensional chip computing system provided in an embodiment of the present application. For example, Figure 5As shown, the three-dimensional chip computing system provided by the embodiment of the present application includes: the three-dimensional chip 1000 and the host system 2000 described in the first aspect of the present application, the three-dimensional chip includes an external storage access interface 400; the host system 2000 is used to send target instructions and target data to the three-dimensional chip 1000 through the external storage access interface 400. The host system 2000 is also used to retrieve the final result data calculated by the three-dimensional chip, and the external storage access interface 400 can be set on the data storage array chip 110, which is not specifically limited in the present application.

[0105] The three-dimensional chip computing system provided in the embodiment of the present application is configured by setting the data storage array chip component 100 to store target data, target instructions and computing protocol data, setting the dynamically reconfigurable storage array chip component 200 to store target computing function configuration files, and setting the reconfigurable computing array chip component 300. The reconfigurable computing array 311 in the computing array chip component 300 obtains the corresponding target computing function based on the target instruction configuration and the target computing function configuration file corresponding to the target computing function, and then executes the target computing function based on the target data. At least one target computing function is recorded in the instruction sequence of the target instruction. Before executing each target function, the same reconfigurable computing array 311 needs to obtain the target computing function configuration file to configure the target computing function, so that the computing function of the reconfigurable computing array 311 becomes adjustable according to demand, and the computing function of the reconfigurable computing array 311 can be reconstructed according to the target sequence of the target instruction. For the three-dimensional chip in the prior art, the computing function of the computing array is fixed and cannot be reconfigured. Each jump to a computing function requires switching to another computing array. An internal global storage access network connection needs to be established between all computing arrays and all data storage arrays. In the calculation process of a target instruction, after the computing array completes the stage calculation in the data storage array through local internal storage access, the next computing array performs the next stage calculation in the next data storage array through local internal storage access. All the calculation processes are completed step by step in a pipeline manner. The calculation result of the previous computing array is used as part of the input data of the next computing array. With the conversion of the computing array, the calculation data also needs to be transferred, and there is a data cascade between adjacent computing arrays. As the computing pipeline is longer, the amount of data transfer is larger, which will bring huge overhead of global internal storage access, thereby reducing computing efficiency, which will seriously affect the economy and practicality of the three-dimensional chip. In addition, the internal global storage access bus that must be designed for data transfer will not only occupy a large area in the computing array chip, but also destroy the design layout in the computing array chip, resulting in a decrease in system performance. Therefore, in order to address the problems existing in the prior art, the three-dimensional chip provided in the embodiment of the present application, by setting a dynamically reconfigurable storage array chip component 200, the reconfigurable computing array 311 can obtain the target computing function configuration file through the dynamically reconfigurable storage array in the dynamically reconfigurable storage array chip component 200 to configure the target computing function. The reconfigurable computing array 311 can configure the target computing function and execute the computing function in accordance with the instruction sequence of the target instruction. All target computing functions corresponding to a target instruction can be completed sequentially in the same reconfigurable computing array 311, or part of the target computing functions can be completed in the same reconfigurable computing array 311.The reconfigurability of the target computing function of the reconfigurable computing array 311 does not require the establishment of an internal global storage access network connection between all reconfigurable computing arrays 311 and all data storage arrays 111. It can mainly establish a high-bandwidth local interconnection between the reconfigurable computing array 311 and the data storage array 111, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale transfer of data, and greatly improve the computing efficiency of the three-dimensional chip. In addition, the storage access during the calculation process of the three-dimensional chip 1000 is completed inside the three-dimensional chip, without crossing the storage wall between the upper system, which can further improve the computing efficiency and reduce power consumption.

[0106] A third aspect of the embodiments of the present application provides a three-dimensional chip calculation method, which is applied to the three-dimensional chip as described in the first aspect. Figure 6 A schematic flow chart of a three-dimensional chip calculation method provided in an embodiment of the present application. Figure 6 As shown, the three-dimensional chip calculation method provided in the embodiment of the present application includes:

[0107] S100: According to the target instruction, the data storage array of the data storage array chip assembly stores the target data, the target instruction and the computing protocol data. The target instruction may include an instruction sequence, the storage address of the target data, the encoding or attributes of the specified data storage array, the reconfigurable computing array and the corresponding dynamically reconfigured storage array, etc. The target instruction may also include the selection protocol rules of the data storage array, the reconfigurable computing array and the corresponding dynamically reconfigured storage array, etc., which are not specifically limited in this application; the computing protocol data includes the original data address, length, format type, and the target address (calculated, processed data), length, format type, etc., which are not specifically limited in this application. Both the target instruction and the target data can be sent from the upper system, which are not specifically limited in the embodiments of this application.

[0108] S200: According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding target computing function configuration file and fixed computing data according to the target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfiguration storage array of the dynamic reconfiguration storage array of the storage array chip component. The instruction sequence of the target instruction may record at least one target computing function. When there are multiple target computing functions, the instruction sequence will record the execution order of each target computing function, etc., which is not specifically limited in this application; some computing requirements include the fixed computing data, which is stored in the dynamically reconfigurable storage array, such as the convolution kernel weights of image convolution and the coefficients of the finite impulse response filter, etc., which are not specifically limited in this application.

[0109] S300: The reconfigurable computing array configures the target computing function configuration file and fixed computing data corresponding to the target computing function. After the reconfigurable computing array configures the target computing function configuration file corresponding to the target computing function, it will have the target computing function; for some calculations, the reconfigurable computing array obtains the fixed computing data required for the calculation through configuration, that is, the computing constant.

[0110] S400: The reconfigurable computing array executes the target computing function based on the target data to obtain corresponding result data. For the execution of the target computing function, the input data is the target data and the output is the result data.

[0111] The three-dimensional chip computing method provided by the embodiment of the present application stores target data, target instructions and computing protocol data through a data storage array chip component, dynamically reconstructs the storage array chip component to store a target computing function configuration file, and the reconfigurable computing array in the reconfigurable computing array chip component obtains the corresponding target computing function based on the target instruction configuration and the target computing function configuration file corresponding to the target computing function, and then executes the target computing function based on the target data. At least one target computing function is recorded in the instruction sequence of the target instruction. Before executing each target function, the same reconfigurable computing array needs to obtain the target computing function configuration file to configure the target computing function, so that the computing function of the reconfigurable computing array becomes adjustable according to demand, and the computing function of the reconfigurable computing array can be reconstructed according to the target sequence of the target instruction. For the three-dimensional chip in the prior art, the computing function of the computing array is fixed and cannot be reconfigured. Each jump to a computing function requires switching to another computing array. An internal global storage access network connection needs to be established between all computing arrays and all data storage arrays. In the calculation process of a target instruction, after the computing array completes the stage calculation in the data storage array through local internal storage access, the next computing array performs the next stage calculation in the next data storage array through local internal storage access. All the calculation processes are completed step by step in a pipeline manner. The calculation result of the previous computing array is used as part of the input data of the next computing array. With the conversion of the computing array, the calculation data also needs to be transferred, and there is a data cascade between adjacent computing arrays. As the computing pipeline is longer, the amount of data transfer is larger, which will bring huge overhead of global internal storage access, thereby reducing computing efficiency, which will seriously affect the economy and practicality of the three-dimensional chip. In addition, the internal global storage access bus that must be designed for data transfer will not only occupy a large area in the computing array chip, but also destroy the design layout in the computing array chip, resulting in a decrease in system performance. Therefore, in response to the problems existing in the prior art, the three-dimensional chip computing method provided in the embodiment of the present application, the reconfigurable computing array can obtain the target computing function configuration file through the dynamic reconfiguration storage array in the dynamic reconfiguration storage array chip component to configure the target computing function, the reconfigurable computing array can configure the target computing function and execute the computing function according to the instruction sequence order of the target instruction, all target computing functions corresponding to a target instruction can be completed sequentially in the same reconfigurable computing array, and some target computing functions can also be completed in the same reconfigurable computing array.The reconfigurability of the target computing function of the reconfigurable computing array does not require the establishment of an internal global storage access network connection between all reconfigurable computing arrays and all data storage arrays. It can mainly rely on the high-bandwidth local interconnection between the reconfigurable computing array and the data storage array, which can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, significantly reduce the frequent switching of the reconfigurable computing array and the large-scale movement of data, and greatly improve the computing efficiency of the three-dimensional chip.

[0112] In a feasible implementation, the method further includes:

[0113] According to the target instruction, the data storage array storing the target data stores the result data. It is easy to understand that when the target computing functions included in the target instruction sequence are two or more, the result data includes intermediate result data and final result data, and the target data can be original data or intermediate result data, that is, the target data is used as input data for executing the target computing function, and the intermediate result data and the final result data are used as output data for executing the target computing function. Therefore, the intermediate result data is both the output data of the current target computing function and the input data of the next target computing function.

[0114] In the three-dimensional chip computing method provided in the embodiment of the present application, target data, intermediate result data and final result data are all stored in the same data storage array, which can avoid the large-scale transfer of input data and output data of the reconfigurable computing array in different data storage arrays 111 during the execution of different target computing functions, can greatly reduce or even avoid a large number of internal global storage accesses during the calculation process under a target instruction, and can further improve the computing efficiency of the three-dimensional chip.

[0115] In a feasible implementation, the instruction sequence of the target instruction records the 1st target computing function to the Nth target computing function, the result data includes N-1 intermediate result data and 1 final result data, the 1st target computing function to the N-1th target computing function correspond to the 1st intermediate result data to the N-1th intermediate result data, the Nth target computing function corresponds to the final result data, N is greater than or equal to 1, and N is a natural number.

[0116] When the number of target computing functions in a target instruction is greater than 1, illustratively, step S100 may include:

[0117] According to the target instruction, the data storage array of the data storage array chip assembly stores the target data and the target instruction.

[0118] According to the target instruction, the data storage array storing the (n - 1)-th intermediate result data stores the n-th intermediate result data, where 1 < n < N - 1 and n is a natural number. Exemplarily, when N = 16 and n = 13, the present application does not make specific limitations.

[0119] Step S200 may include:

[0120] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding (n + 1)-th target computing function configuration file by dynamically reconfiguring the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the (n + 1)-th target computing function recorded in the instruction sequence of the target instruction.

[0121] Step S300 may include:

[0122] The reconfigurable computing array configures the (n + 1)-th target computing function configuration file of the (n + 1)-th target computing function;

[0123] Step S400 may include:

[0124] The reconfigurable computing array executes the (n + 1)-th target computing function based on the n-th intermediate result data to obtain the corresponding (n + 1)-th intermediate result data.

[0125] Exemplarily, when N = 3, the specific steps of the three-dimensional chip computing method are as follows:

[0126] According to the target instruction, the data storage array of the data storage array chip component stores the target data, the target instruction, and the computing protocol data.

[0127] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding first target computing function configuration file by dynamically reconfiguring the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the first target computing function recorded in the instruction sequence of the target instruction.

[0128] The reconfigurable computing array configures the first target computing function configuration file of the first target computing function.

[0129] The reconfigurable computing array executes the first target computing function based on the target data to obtain the corresponding first intermediate result data.

[0130] According to the target instruction, the data storage array storing the target data stores the first intermediate result data.

[0131] According to the target instruction, the reconfigurable computing array obtains the corresponding second target computing function configuration file by dynamically reconfiguring the storage array according to the second target computing function recorded in the instruction sequence of the target instruction.

[0132] The second target computing function configuration file for configuring the second target computing function of the reconfigurable computing array.

[0133] Based on the first intermediate result data, the reconfigurable computing array executes the second target computing function to obtain the corresponding second intermediate result data.

[0134] According to the target instruction, the data storage array storing the first intermediate result data stores the second intermediate result data.

[0135] According to the target instruction, the reconfigurable computing array obtains the corresponding third target computing function configuration file by dynamically reconfiguring the storage array according to the third target computing function recorded in the instruction sequence of the target instruction.

[0136] The reconfigurable computing array configures the third target computing function configuration file for the third target computing function.

[0137] Based on the second intermediate result data, the reconfigurable computing array executes the third target computing function to obtain the corresponding final result data.

[0138] According to the target instruction, the data storage array storing the second intermediate result data stores the final result data. After obtaining the final result data, it indicates that all the target computing functions recorded in the target instruction have been executed, so the target instruction is executed and the reconfigurable computing array stops the execution operation.

[0139] In some embodiments, the instruction sequence of the target instruction records the first target computing function to the Nth target computing function, the result data includes N - 1 intermediate result data and 1 final result data, the first target computing function to the N - 1th target computing function correspond to the first intermediate result data to the N - 1th intermediate result data, the Nth target computing function corresponds to the final result data, N is greater than or equal to 1, and N is a natural number;

[0140] Step S100 may include:

[0141] According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction;

[0142] According to the target instruction, the data storage array storing the n - 1 intermediate result data stores the nth intermediate result data, where 1 < n < N - 1 and n is a natural number;

[0143] Step S200 may include:

[0144] According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding n + j target computing function configuration file and n + q target computing function configuration file by dynamically reconfiguring the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the n + j target computing function and the n + q target computing function recorded in the instruction sequence of the target instruction, where 1 - n < j < N - n - 1, j is an integer, 1 - n < q < N - n - 1, q is an integer, and j ≠ q;

[0145] Step S300 may include:

[0146] Configuring the n + j target computing function configuration file and the n + q target computing function configuration file in the same reconfigurable computing array; or,

[0147] Configuring the n + j target computing function configuration file and the n + q target computing function configuration file in any two reconfigurable computing arrays respectively;

[0148] Step S400 may include:

[0149] The reconfigurable computing array synchronously executes the n + j target computing function and the n + q target computing function based on the n-th intermediate result data to obtain the corresponding n + j intermediate result data and n + q intermediate result data.

[0150] It should be noted that the above-mentioned chip in this application can also be replaced by a die or a wafer.

[0151] Although the preferred embodiments of this specification have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted to include the preferred embodiments and all changes and modifications falling within the scope of this specification.

[0152] Obviously, those skilled in the art can make various changes and modifications to this specification without departing from the spirit and scope of this specification. Thus, if these modifications and variations of this specification fall within the scope of the claims of this specification and their equivalent technologies, this specification is also intended to include these modifications and variations.

Claims

1. A three-dimensional chip, characterized in that: include: A data storage array chip assembly, comprising at least one layer of data storage array chips, wherein the data storage array chip comprises a plurality of data storage arrays, and the data storage arrays are used to store target data and target instructions; A dynamically reconfigurable storage array chip component, comprising at least one layer of dynamically reconfigurable storage array chips, wherein the dynamically reconfigurable storage array chip comprises a plurality of dynamically reconfigurable storage arrays, and the dynamically reconfigurable storage arrays are used to store computing function configuration files; A reconfigurable computing array chip component includes at least one layer of reconfigurable computing array chips, wherein the reconfigurable computing array chip includes multiple reconfigurable computing arrays, wherein the reconfigurable computing arrays are used to execute at least one target computing function recorded in the instruction sequence of the target instruction based on the target data, wherein the target computing function is a function obtained by the reconfigurable computing array after being configured with a target computing function configuration file corresponding to the target computing function, wherein the target computing function configuration file is obtained by the reconfigurable computing array through the dynamically reconfigurable storage array according to the instruction sequence of the target instruction.

2. The three-dimensional chip according to claim 1, characterized in that: The data storage array and the reconfigurable computing array correspond one to one.

3. The three-dimensional chip according to claim 2, characterized in that: The reconfigurable computing array is used to execute all the target computing functions recorded in the instruction sequence of the target instruction, and the reconfigurable computing array that executes all the target computing functions recorded in the instruction sequence of the target instruction is the same reconfigurable computing array.

4. The three-dimensional chip according to claim 1, characterized in that: The data storage array storing the target data is also used to store result data, and the result data is obtained by the reconfigurable computing array executing the target computing function based on the target data. The result data includes intermediate result data and final result data. The target data based on which the reconfigurable computing array is used to execute the current target computing function is the intermediate result data obtained by executing the previous target computing function, and the final result data is obtained by the reconfigurable computing array executing the last target computing function.

5. The three-dimensional chip according to claim 1, characterized in that: The reconfigurable computing array chip also includes a dynamic reconstruction control logic module, which is used to obtain the target computing function configuration file corresponding to the target computing function from the dynamic reconfigurable storage array according to the instruction sequence of the target instruction.

6. The three-dimensional chip according to claim 1, characterized in that: The reconfigurable computing array includes a processing module, and the processing module is used to configure the corresponding target computing function according to the obtained target computing function configuration file; The processing module is further configured to execute the configured target computing function based on the target data.

7. The three-dimensional chip according to claim 1, characterized in that: Two adjacent layers of chips are stacked and connected via a heterogeneous integrated connection component, and the heterogeneous integrated connection component is used to connect chips prepared by the same or different preparation processes.

8. The three-dimensional chip according to claim 1, characterized in that: The reconfigurable computing array chip component is disposed between the data storage array chip component and the dynamically reconfigurable storage array chip component; or, The data storage array chip component is arranged between the reconfigurable computing array chip component and the dynamically reconfigurable storage array chip component; or, The dynamic reconfigurable storage array chip component is disposed between the reconfigurable computing array chip component and the data storage array chip component.

9. The three-dimensional chip according to claim 1, characterized in that: Any two or more of the data storage array chips, the reconfigurable computing array chips, and the dynamic reconfigurable storage array chips are disposed on the same chip layer.

10. The three-dimensional chip according to claim 1, characterized in that: The dynamic reconfigurable storage array includes at least one reconfigurable storage unit for storing the computing function profile.

11. A three-dimensional chip computing system, characterized in that: Comprising: A three-dimensional chip and an upper system as described in any one of claims 1-10, the three-dimensional chip including an external storage access interface; The upper system is configured to send a target instruction and target data to the three-dimensional chip through the external storage access interface.

12. A three-dimensional chip calculation method, characterized in that: Applied to the three-dimensional chip as described in any one of claims 1-10, the method includes: According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction; According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains a corresponding target computing function profile according to the target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component; The reconfigurable computing array configures the target computing function profile corresponding to the target computing function; The reconfigurable computing array executes the target computing function based on the target data to obtain corresponding result data.

13. The three-dimensional chip calculation method according to claim 12, characterized in that: Further comprising: According to the target instruction, the data storage array storing the target data stores the result data.

14. The three-dimensional chip calculation method according to claim 13, characterized in that: The instruction sequence of the target instruction records the first target computing function to the Nth target computing function, the result data includes N-1 intermediate result data and 1 final result data, the first target computing function to the (N-1)th target computing function correspond to the first intermediate result data to the (N-1)th intermediate result data, the Nth target computing function corresponds to the final result data, N is greater than or equal to 1, and N is a natural number; The step of, according to the target instruction, the data storage array of the data storage array chip component storing the target data and the target instruction includes: According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction; According to the target instruction, the data storage array storing the (n-1)th intermediate result data stores the nth intermediate result data, where 1 < n < N-1 and n is a natural number; The step of, according to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtaining a corresponding target computing function profile according to the target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component includes: According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains a corresponding (n + 1)th target computing function profile according to the (n + 1)th target computing function recorded in the instruction sequence of the target instruction through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component; The step of the reconfigurable computing array configuring the target computing function configuration file corresponding to the target computing function includes: The reconfigurable computing array configures the (n + 1)-th target computing function configuration file of the (n + 1)-th target computing function; The step of the reconfigurable computing array executing the target computing function based on the target data to obtain the corresponding result data includes: The reconfigurable computing array executes the (n + 1)-th target computing function based on the n-th intermediate result data to obtain the corresponding (n + 1)-th intermediate result data.

15. The three-dimensional chip calculation method according to claim 13, characterized in that: The instruction sequence of the target instruction records the 1st target computing function to the N-th target computing function. The result data includes N - 1 intermediate result data and 1 final result data. The 1st target computing function to the (N - 1)-th target computing function correspond to the 1st intermediate result data to the (N - 1)-th intermediate result data, and the N-th target computing function corresponds to the final result data, where N is greater than or equal to 1 and N is a natural number; The step of the data storage array of the data storage array chip component storing the target data and the target instruction according to the target instruction includes: According to the target instruction, the data storage array of the data storage array chip component stores the target data and the target instruction; According to the target instruction, the data storage array storing the (n - 1)-th intermediate result data stores the n-th intermediate result data, where 1 < n < N - 1 and n is a natural number; The step of the reconfigurable computing array of the reconfigurable computing array chip component obtaining the corresponding target computing function configuration file according to the instruction sequence of the target instruction by dynamically reconfiguring the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component includes: According to the target instruction, the reconfigurable computing array of the reconfigurable computing array chip component obtains the corresponding (n + j)-th target computing function configuration file and (n + q)-th target computing function configuration file through the dynamic reconfigurable storage array of the dynamic reconfigurable storage array chip component according to the (n + j)-th target computing function and (n + q)-th target computing function recorded in the instruction sequence of the target instruction, where 1 - n < j < N - n - 1, j is an integer, 1 - n < q < N - n - 1, q is an integer, and j ≠ q; The step of the reconfigurable computing array configuring the target computing function configuration file corresponding to the target computing function includes: The same reconfigurable computing array configures the (n + j)-th target computing function configuration file and the (n + q)-th target computing function configuration file; or, Any two reconfigurable computing arrays respectively configure the (n + j)-th target computing function configuration file and the (n + q)-th target computing function configuration file; The step of the reconfigurable computing array executing the target computing function based on the target data to obtain the corresponding result data includes: The reconfigurable computing array synchronously executes the n+jth target computing function and the n+qth target computing function based on the nth intermediate result data to obtain the corresponding n+jth intermediate result data and n+qth intermediate result data.

Citation Information

Patent Citations

  • System comprising a semiconductor device and structure

    CN103003940A

  • Dynamically reconfigurable multi-stage parallel single instruction multiple data array processing system

    CN103019656A

  • Reconfigurable processor based on three-dimensional memory

    CN110286851A

  • Separated three-dimensional processor

    CN111290994A

  • In-memory calculation method based on coarse-grained reconfigurable array

    CN112463719A