Three-dimensional coarseness reconfigurable computing array chip
By designing a three-dimensional coarse-grained reconfigurable computing array chip in three-dimensional integrated circuit technology, and using technologies such as RISCV core and AXI bus, the computing power bottleneck and power consumption problems of traditional chips are solved, efficient computing and storage are achieved, and performance and Energy efficiency ratio.
Patent Information
- Application Number
- CN202410624500.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technology cannot meet the computing power needs of three-dimensional integrated circuit technology. Traditional two-dimensional coarse-grained reconfigurable array chips cannot adapt to the growing computing needs, and there are bottlenecks in performance and power consumption.
A three-dimensional coarse-grained reconfigurable computing array chip is designed, using a control system of RISCV core, AXI bus and DMA module, combined with a coarse-grained reconfigurable unit of arithmetic logic unit, configuration register and data register, and distributed storage architecture , achieving efficient computing and storage through three-dimensional stacking technology, using hybrid connections and long through-silicon via TSVs that penetrate the front metal layer for interconnection.
It achieves highly energy-efficient computing, large-capacity storage, and high-bandwidth communication, reduces power consumption in data computing and transmission, improves performance, and significantly reduces the area through three-dimensional stacking design, increasing the computing power of computing-intensive applications. .
Smart Images

Figure CN118568046A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital chip architecture design, and in particular to a three-dimensional coarse-grained reconfigurable computing array chip. Background Art
[0002] Since the birth of integrated circuit technology in the 1950s, integrated circuit chips have become the core components of electronic systems and an indispensable part of people's daily lives. With the continuous development of microelectronics integrated manufacturing process technology, integrated circuit chips are facing the requirements of increasing functions, increasing power consumption, and increasing integration. Researchers have adopted new technologies such as high-k metal gates and multi-gate transistors to reduce the energy consumption of semiconductor chips, so that integrated circuit technology has always followed the trend of Moore's Law.
[0003] After more than 50 years of development of semiconductor technology in line with Moore's Law, the advanced semiconductor industry technology node has entered the 7nm process, and the latest mobile phone chips have reached the 3nm process, gradually approaching the physical limit of semiconductor transistor device structure. Under the new advanced process nodes, the performance improvement of integrated circuits obtained through process technology upgrades has no obvious performance cost-effectiveness advantage compared to the expensive process costs. The industry generally believes that Moore's Law is about to end. In this case, new technologies represented by three-dimensional integrated circuit technology have emerged. Advanced packaging technology with three-dimensional system-level technology as the core will lead integrated circuit technology into the era of Beyond Moore's Law (More than Moore).
[0004] Three-dimensional integrated circuit (3D IC) technology is an emerging design method that integrates chips of different types, different processes, and different functions on the same package in a stacked manner based on traditional planar integration technology. It integrates multiple layers of chips in the vertical direction, providing new possibilities for high performance and low power consumption of electronic devices. Unlike traditional two-dimensional chip design, three-dimensional chip design can achieve higher device density, shorter signal transmission paths, and higher computing performance, thus providing a more superior solution for a variety of application scenarios. Typical three-dimensional integration technology is a combination of TSV-based three-dimensional packaging and flip chip packaging. First, through the chip flip technology, the upper chip is flipped and directly connected to the micro-bump solder balls of the lower chip, which can avoid the high-frequency parasitic parameters introduced by the connection point and improve the integration. Then, vertical silicon vias are made in the lower chip to realize the vertical interconnection of chip signals, and then the horizontal interconnection of signals is realized through RDL to realize the packaging of the entire chip.
[0005] Coarse-grained Reconfigurable Architecture (CGRA) is a high-level reconfigurable technology that integrates the computing part into a configurable processing unit. The programmable execution array can be configured through instructions or configuration packages, which can achieve a very high configuration speed, and the reconfigurable data width is large, and the reconfigurable degree of freedom is high. The traditional two-dimensional CGRA requires a large amount of on-chip memory area and cannot adapt to the growing computing power demand. The design of a three-dimensional CGRA can solve the computing power bottleneck and improve the overall performance.
[0006] Patent document CN117076384A discloses that the present invention provides a computing device and an in-memory computing acceleration system, wherein the computing device includes a plurality of computing core modules, and the computing core modules include: an in-core controller unit, a switch array unit, a storage and computing unit group, a first drive unit group, a first computing unit group, a second drive unit group, and a second computing unit group, wherein the in-core controller unit is used to send a first connection instruction to the switch array unit and a second connection instruction to the storage and computing unit group according to configuration information, wherein the switch array unit is used to execute the first connection instruction, wherein the first drive unit group and the second drive unit group are used to drive the storage and computing unit group by column or row, wherein the storage and computing unit group is used to execute the second connection instruction and perform in-memory computing to obtain in-memory computing results, wherein the first computing unit group and the second computing unit group are used to perform preset computing operations on the in-memory computing results to obtain computing results, and multiple algorithms and neural network operators can be supported. However, the patent cannot completely solve the existing technical problems, nor can it meet the requirements of the present invention. Summary of the invention
[0007] In view of the defects in the prior art, an object of the present invention is to provide a three-dimensional coarse-grained reconfigurable computing array chip.
[0008] The three-dimensional coarse-grained reconfigurable computing array chip provided by the present invention comprises: a control system, a coarse-grained reconfigurable unit and a storage system;
[0009] The control system includes a RISC-V core, an AXI bus and a DMA module; the RISC-V control core is responsible for starting the entire chip, controlling the execution and interaction of the computing array, and for a heterogeneous architecture system consisting of a RISC-V main processor and a computing core, the RISC-V control core is responsible for task management between the two architectures and scheduling tasks running on the computing core; the AXI bus is used to connect each peripheral module to the RISC-V control core, and complete communication and data transmission between the RISC-V control core and the peripheral modules; the DMA module is responsible for moving data from external storage to on-chip storage, realizing high-speed, high-bandwidth asynchronous data transmission;
[0010] The coarse-grained reconfigurable unit includes an arithmetic logic unit, a configuration register and a data register. Reconfigurable computing is achieved by configuring different operation codes for the arithmetic logic unit. Each arithmetic logic unit is connected through a topological structure. The user controls the data flow through the compiler so that the data flows through the entire system. The source of the arithmetic logic unit operand is determined by the multiplexer to complete different operations and thus achieve reconfigurable computing; the configuration register is responsible for mapping the static features in the program code to the ALU configuration and data path in the PE array; the configuration register stores a configuration code of a PE, and one or more bits in the configuration code are used as the selection end of each multiplexer in the PE, thereby changing the data path;
[0011] The storage system adopts a distributed storage architecture, including multiple storage arrays matching the coarse-grained reconfigurable units. The storage arrays include multiple groups of data arrays and label arrays, and directly interact with the computing array for data.
[0012] Preferably, the three-dimensional stacked chip is designed and manufactured by a three-dimensional stacking method, and the three-dimensional stacked chip is composed of multiple layers of bare cores, including at least one computing layer chip and multiple storage layer chips;
[0013] The computing layer includes multiple fixed-point computing arrays and floating-point computing arrays, a RISC-V control core, a PLL module and a DDRMC module; the fixed-point computing array consists of multiple fixed-point computing units for performing various arithmetic and logical operations; the floating-point computing array consists of multiple floating-point computing units for performing various arithmetic and logical operations; the RISC-V control core is used to control the startup, operation and data scheduling of the entire SoC system; the PLL module is responsible for generating a stable clock signal with the desired frequency and phase; the DDRMC module is responsible for managing and controlling the off-chip DDR module, completing the initialization of the DDR module, data transmission and system communication;
[0014] The storage layer includes multiple storage arrays and related control units.
[0015] Preferably, the fixed-point computing array and the floating-point computing array contain multiple computing units responsible for completing data calculations, a memory access unit responsible for managing memory access, a delay module responsible for balancing various data paths, and an arbitration module responsible for forwarding control signals.
[0016] Preferably, the multiple layers of the three-dimensional stacked chips are interconnected through hybrid connections and long through silicon vias (TSVs) that penetrate the front metal layer. The power supply and key signal transmission of the upper chip rely on TSVs of different chip layers. The back metal layer of the bottom chip is connected to the printed circuit board (PCB) through C4 bumps.
[0017] Preferably, the first layer chip of the three-dimensional stacked chip has a redistribution layer on the top layer, which is connected to the lower layer chip by flip-chip packaging; the other layer chips include two redistribution layers, the top layer and the bottom layer.
[0018] Preferably, the main processor, main memory, and coarse-grained reconfigurable computing array CGRA are all mounted under the bus, and the main processor designed with RISC-V ISA is responsible for controlling the execution and interaction of the computing array;
[0019] The main memory is responsible for providing raw data to the computing array and storing the final calculation results;
[0020] CGRA provides high computing power for computationally intensive applications. It is mounted on the bus in the form of a coprocessor. CGRA contains a global configuration controller, a global data controller, a direct memory access DMA, and multiple independent identical slice computing arrays. The global configuration controller is responsible for reading configuration information from the main memory and performing the first step of decoding, distributing the configuration package to the corresponding slice according to the label in the configuration information. The global data controller manages memory access requests sent by different slices. It arbitrates read and write requests separately and records the arbitration results in two independent request queues. At the same time, it merges and records the same read requests from different slices. The same read request is broadcast to different slices at the same time when the data is returned; the request from the configuration controller and the data controller is converted into interactive signals that meet the bus protocol through the interface conversion module; each slice includes a local configuration controller, on-chip cache and reconfigurable on-chip array; the configuration controller is responsible for the secondary parsing of the configuration package and the scheduling of tasks. After the configuration is completed, the task is driven by the data flow and completed autonomously in the on-chip array; the on-chip cache is built using SRAM and is responsible for processing memory access requests from the array; the computing array forms a corresponding data flow based on the internal computing units. Through the configuration of the system kernel, the data flow completes the acceleration of specific algorithms when passing through the computing units.
[0021] Preferably, the main processor is partitioned according to a multi-level advanced microcontroller bus architecture AMBA bus, including an AXI subsystem, an AHB subsystem and an APB subsystem;
[0022] The AXI subsystem is the core of the processor. It is controlled by a six-stage pipeline RISC-V core and provides on-chip computing power with a coarse-grained reconfigurable array. The AXI subsystem also provides on-chip high-speed storage space. The core system has a first-level instruction cache and a data cache, as well as a tightly coupled local storage space. The computing array is equipped with storage space for its computing unit PE array to cache intermediate data generated during the inference operation process. The core and CGRA have a second-level cache on the AXI bus.
[0023] The AXI subsystem and AHB subsystem provide additional functions for the SoC, including large-capacity low-speed storage, interactive peripherals, and system control. For the AHB subsystem, the ROM module provides on-chip non-volatile storage space to store the startup code of the system on chip. The peripheral QSPI is expected to connect to the off-chip board-level Flash chipset to expand the large-capacity storage space for the system on chip. These storage spaces are planned to store complex inference code, inference configuration information, and weight data for the system.
[0024] The APB subsystem completes information exchange with the outside world through the peripheral UART and provides the kernel with objects for system control.
[0025] Preferably, when executing a computing-intensive application, the computing array splits the application into multiple subtasks for execution, designs a task management mechanism based on RISC-V, and the overall mechanism framework runs on a heterogeneous architecture system. The design of the heterogeneous system includes a main processor, a heterogeneous computing core, a task management mechanism between the two architectures, and a task scheduling system running on the main processor; wherein the task scheduling system includes a task model that describes the relationship between tasks, a heterogeneous model of the heterogeneous computing core, and a task scheduling algorithm designed in combination with the two models; the task management mechanism includes a module for integrating task information, a task queue management module, and a host interface for interconnecting the two architectures.
[0026] Preferably, a single slice array includes a computing unit PE, a memory access unit LSE, a FIFO memory and an ARB unit; PE is responsible for core computing, including logical operations and arithmetic operations; LSE is responsible for managing memory access requirements, so that the processor sends access requests to the memory and the memory responds at the same time, and LSE frequently interacts with on-chip memory and off-chip memory; FIFO adds delay to the computing path to eliminate the path imbalance caused by loop control, memory access, and data flow looping during the data transmission process of PE. If a preset long delay needs to be provided, multiple FIFOs are connected in series to meet the demand for cache capacity; ARB is responsible for forwarding control signals, keeping data flow synchronized, and decoupling the data flow graph into an acyclic graph.
[0027] Preferably, the computing unit comprises a data register, a configuration register and an arithmetic logic unit ALU;
[0028] The data register is responsible for providing registers for cutting pipelines and realizing operand matching control during the spatial pipeline execution process; the data register is divided into input register Buffer and output register. The input register provides data input for the arithmetic logic unit and contains two layers of depth to implement double-buffer, so that the input from the upper level PE and the output to the ALU can be carried out simultaneously. When two data are ready at the input end at the same time, the input register outputs the two data to the input of the ALU at the same time, activating the ALU for calculation. This operand alignment function can ensure the correct function when there are bubbles in the pipeline; the output register is used to beat between the ALU calculation and the interconnection delay to reduce the delay of the critical path;
[0029] The configuration register is responsible for mapping the static features in the program code to the ALU configuration and data path in the PE array. The configuration register stores a PE configuration code. One or more bits in this configuration code will serve as the selection end of each multiplexer in the PE, thereby changing the data path;
[0030] The arithmetic logic unit completes different computing tasks by configuring the operation codes Opcodes representing different operators into the ALU during the configuration period.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] 1. The present invention realizes large-scale parallel computing and high-throughput information processing through multi-dimensional heterogeneous hybrid chip architecture design such as reconfigurable computing form, multi-level storage structure, and efficient transmission method, through high energy efficiency ratio computing, large-capacity storage, and high-bandwidth communication;
[0033] 2. The present invention realizes a high-speed and low-power data computing unit, which reduces the power consumption of data computing and transmission in high-performance intensive computing processors. At the same time, based on actual design and process requirements, the present invention improves the overall chip design and studies the design of computing units suitable for three-dimensional chips;
[0034] 3. The present invention studies the floating-point pipeline implementation of single-precision floating-point multiplication and addition operations from multiple levels, including architecture, algorithm, and circuit, to achieve lower power consumption. At the same time, the present invention studies the design method of on-chip high-speed, large-capacity, and high-density static memory to achieve high-reliability, high-performance on-chip large-capacity memory integration;
[0035] 4. The present invention realizes the design of a three-dimensional stacked computing array chip architecture. By allocating the computing array and the storage array to different bare cores and designing a three-dimensional interconnection architecture in a targeted manner, the area of the two-dimensional plane is greatly reduced, thereby achieving a significant improvement in performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0037] Figure 1 The three-dimensional architecture diagram of the three-dimensional coarse-grained reconfigurable computing array chip;
[0038] Figure 2 Schematic diagram of three-dimensional chip stacking;
[0039] Figure 3 The chip architecture diagram of a three-dimensional coarse-grained reconfigurable computing array is shown below;
[0040] Figure 4 This is the RISC-V processor architecture diagram;
[0041] Figure 5 Schematic diagram of the task scheduling and management mechanism of the coarse-grained reconfigurable computing array CGRA;
[0042] Figure 6 This is the architecture diagram of a single slice array;
[0043] Figure 7 This is an architectural diagram of a single computing unit;
[0044] Figure 8 Schematic diagram of on-chip storage module and memory access path. DETAILED DESCRIPTION
[0045] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0046] Example
[0047] The invention provides a three-dimensional coarse-grained reconfigurable computing array chip, comprising: a control system, a storage system and a coarse-grained reconfigurable unit.
[0048] The control system is a SoC system with a RISC-V core, including RISC-V core, AXI bus and peripheral modules such as DMA module. The RISC-V control core is mainly responsible for starting the entire chip, controlling the execution and interaction of the computing array. For the heterogeneous architecture system composed of the RISC-V main processor and the computing core, the control core is responsible for task management between the two architectures and scheduling of tasks running on the computing core. The AXI bus is used to connect each peripheral module to the RISC-V core and complete the communication and data transmission between the control core and the peripheral modules. The DMA module is mainly responsible for moving data from external storage to on-chip storage, which can realize high-speed, high-bandwidth asynchronous data transmission.
[0049] The coarse-grained reconfigurable unit includes an arithmetic logic unit, a configuration register and a data register, and reconfigurable computing is achieved by configuring different operation codes for the arithmetic logic unit. Each arithmetic logic unit is connected through a certain topological structure. The user controls how data flows through the entire system through the compiler, and determines the source of the arithmetic logic unit operand through a multiplexer to complete different operations and thus achieve reconfigurable computing.
[0050] The storage system adopts a distributed storage architecture, including several storage arrays matching the coarse-grained reconfigurable units. The storage arrays include several groups of data arrays (DATA_DIRTY_ARRAY) and tag arrays (TAG_ARRAY), which directly interact with the computing array for data.
[0051] The three-dimensional stacked coarse-grained chip is designed and manufactured by three-dimensional stacking. The three-dimensional stacked chip is composed of multiple layers of bare cores, including at least one computing layer chip and multiple storage layer chips.
[0052] The multiple layers of the three-dimensional stacked chips are interconnected through Hybrid Bonding and TSV, and the power supply and key signal transmission of the upper chip rely on TSVs of different chip layers.
[0053] The computing layer includes n fixed-point computing arrays, m floating-point computing arrays, a RISC-V control core, a PLL module and a DDRMC module. The PLL module is responsible for generating a stable clock signal with the desired frequency and phase. The DDRMC module is responsible for managing and controlling the off-chip DDR module, completing the initialization of the DDR module, data transmission and system communication.
[0054] The fixed-point and floating-point calculation arrays contain several calculation units responsible for completing data calculations, memory access units responsible for managing memory access, delay modules responsible for balancing various data paths, and arbitration modules responsible for forwarding control signals. The fixed-point calculation array is composed of multiple fixed-point number calculation units and is used to perform various arithmetic and logical operations. The floating-point calculation array is composed of multiple floating-point number calculation units and is used to perform various arithmetic and logical operations.
[0055] The storage layer includes a plurality of storage arrays and related control units.
[0056] The first layer chip of the three-dimensional chip has a redistribution layer on the top layer, which is connected to the lower layer chip by flip-chip packaging, and the other layers of chips include two redistribution layers, the top layer and the bottom layer.
[0057] The present invention provides a three-dimensional coarse-grained reconfigurable computing array chip system, wherein the upper chip is a computing chip and the lower chip is a storage chip. The present invention completes the architecture design and optimization of computing-intensive high-performance computing chips, including efficient task scheduling and management mechanism, high-density computing array architecture design, and array module mechanism design.
[0058] Furthermore, preferred embodiments of the present invention are described below in conjunction with the accompanying drawings.
[0059] Figure 1 It is a three-dimensional architecture diagram of the whole chip. The three-dimensional stacked chip contains at least three layers of chips. The upper chip contains a DDRMC module, which is used to control the data transfer of the on-chip DDR. The middle RISC-V core is used to control the startup, operation and data scheduling of the entire SoC system. The middle fp module is a floating-point calculation array, which is mainly used to complete the calculation of floating-point data. The fix module below is a fixed-point calculation array, which is mainly used to complete the calculation of fixed-point data. In addition to the above modules, the computing chip also contains a control module, etc. The lower storage chip contains a storage array corresponding to the computing array.
[0060] Figure 2 It is a schematic diagram of the three-dimensional stacking of the full chip. Taking the three-layer stacked chip as an example, the first and second layer chips are packaged face-to-face, and the second and third layer chips are packaged face-to-back. The two chips are connected through a hybrid connection (Hybrid Bounding, HB). The second and third layer chips contain long silicon vias (Through Silicon Via, TSV) that penetrate the front metal layer to achieve direct connection from the upper chip HB to the back of the lower chip. The back metal layer of the bottom chip is connected to the printed circuit board (PCB) through C4 bump.
[0061] Figure 3It is a two-dimensional architecture diagram of the entire chip. The main processor, main memory, and coarse-grained reconfigurable array are all mounted under the bus. The main processor designed with RISC-V ISA is responsible for controlling the execution and interaction of the computing array; the main memory is responsible for providing raw data to the computing array and storing the final computing results; CGRA can provide high computing power for computing-intensive applications and is mounted under the bus in the form of a coprocessor. CGRA contains a global configuration controller, a global data controller, direct memory access (DMA), and multiple independent identical slice computing arrays. The global configuration controller is responsible for reading configuration information from the main memory and performing the first step of decoding, and distributing the configuration package to the corresponding slice according to the label in the configuration information. The global data controller manages memory access requests sent by different slices. The read and write requests are arbitrated separately and the arbitration results are recorded in two independent request queues. At the same time, the same read requests are merged and recorded. The same read requests from different slices will be broadcast to different slices at the same time when the data is returned, avoiding bandwidth waste caused by repeated access to the main memory. In addition, the data controller supports burst and scattered memory access requests. The interface conversion module is responsible for converting requests from the configuration controller and the data controller into interactive signals that meet the bus protocol. Each slice includes a local configuration controller (Configure Manager), an on-chip cache, and a reconfigurable on-chip array. The configuration controller is responsible for the secondary parsing of the configuration package and the scheduling of tasks. After the configuration is completed, the tasks are driven by the data flow and completed autonomously in the on-chip array. The on-chip cache is built using SRAM and is responsible for processing memory access requests from the array. The working principle of the computing array is mainly based on the formation of corresponding data flows based on the internal computing units. Through the configuration of the system kernel, the data flow can accelerate specific algorithms when passing through the computing units.
[0062] Figure 4This is the main processor architecture diagram. The main processor is divided into zones based on the multi-level Advanced Micro-controller Bus Architecture (AMBA) bus. These zones include the AXI subsystem, AHB subsystem, and APB subsystem. Within different subsystems, the system bus defines the main data bit width and operating frequency of each functional module. On this basis, various peripheral modules and storage and computing units are integrated into the corresponding bus interface to provide different functional support for the entire processor. As the core of the processor, the AXI subsystem is provided with system control by a six-stage pipeline RISC-V core, and is matched with a coarse-grained reconfigurable array to provide on-chip computing power. In addition to high-speed computing units, the AXI subsystem also provides high-speed storage space on the chip. Among them, the core system has a first-level instruction cache and a data cache, and is also designed with a tightly coupled local storage space. In contrast, the computing array is equipped with a certain storage space for its processing unit (ProcessElement, PE) array to cache the intermediate data generated in the reasoning operation process. On this basis, the core and CGRA also have a second-level cache on the AXI bus. Compared with private storage resources, this type of memory deployed on the bus has a larger latency penalty when accessed. Therefore, they are not used as cache in functional verification, but are used to provide data interaction support between computing units. The AHB and APB subsystems provide additional functions for SoC, including large-capacity low-speed storage, interactive peripherals, and system control. For the AHB subsystem, the ROM module provides on-chip non-volatile storage space to store the boot code of the system-on-chip. The peripheral QSPI is expected to connect to the off-chip board-level Flash chipset to expand the large-capacity storage space for the system-on-chip. These storage spaces are planned to store complex inference code, inference configuration information, and weight data for the system. For the APB subsystem, part of its function is to complete information interaction with the outside world through the peripheral UART, and the other part is to provide system control objects for the kernel.
[0063] Figure 5It is a task scheduling and management mechanism for a coarse-grained reconfigurable computing array CGRA. When the computing array executes a computing-intensive application, it needs to split the application into multiple subtasks for execution, and at this time, the correlation between the subtasks needs to be considered. The present invention designs a task management mechanism based on RISC-V for multi-task execution. The overall mechanism framework runs on a heterogeneous architecture system. The design of the heterogeneous system includes a main processor, a heterogeneous computing core, a task management mechanism between the two architectures, and a task scheduling system running on the main processor. The task scheduling system includes a task model that describes the relationship between tasks, a heterogeneous model of the heterogeneous computing core, and a task scheduling algorithm designed in combination with the two models; the task management mechanism includes a module for integrating task information, a task queue management module, and a host interface for interconnecting the two architectures.
[0064] Figure 6 It is an architectural diagram of a single slice array, which mainly includes computing unit PE, memory access unit (Load and StoreElement, LSE), FIFO (First Input First Output) memory and ARB unit (Arbiter). PE is mainly responsible for core calculations, including logical operations, arithmetic operations, etc. LSE is mainly responsible for managing memory access requirements, so that the processor can send access requests to the memory and the memory responds. LSE needs to interact frequently with on-chip memory and off-chip memory. FIFO mainly adds delay to the calculation path to eliminate the path imbalance caused by loop control, memory access, data flow looping, etc. during the data transmission process of PE. If a longer delay is required, multiple FIFOs can be connected in series to meet the demand for cache capacity. ARB is mainly responsible for forwarding control signals, keeping data flow synchronized, and decoupling the data flow graph into an acyclic graph.
[0065] Figure 7This is a diagram of the computing unit architecture. The computing unit includes data registers, configuration registers, and arithmetic logic units (ALUs). The data register is mainly responsible for providing registers for cutting pipelines during spatial pipeline execution and implementing controls such as operand matching. Furthermore, the data register can be divided into input registers (Buffer) and output registers. The function of the input register is to provide data input for the arithmetic logic unit. It contains two layers of depth to implement double-buffer, so that reading input from the previous level PE and output to the ALU can be performed simultaneously. When two data are ready at the input end at the same time, the input register outputs the two data to the input of the ALU at the same time, activating the ALU for calculation. This operand alignment function can ensure correct function when there are bubbles in the pipeline. The output register is used to beat between the ALU calculation and the interconnection delay to reduce the delay of the critical path. The configuration register is responsible for mapping static features such as operators and data dependencies in the program code to the ALU configuration and data path in the PE array. The configuration register stores a PE configuration code. One or more bits of this configuration code will be used as the selection end of each multiplexer in the PE, thereby achieving the effect of changing the data path. The configurable arithmetic logic unit is the main computing module for implementing reconfigurable computing. By configuring the opcodes (Opcodes) representing different operators into the ALU during the configuration period, the ALU can complete different computing tasks. A total of 16 operators can be specified by the 4-bit Opcode in the configuration, among which the bitwise inversion only requires one operand, while the selection operation requires three operands (including a control input).
[0066] Figure 8 This is a schematic diagram of the design of the on-chip storage management module and memory access path. It is a three-level storage system, which mainly includes three parts, namely DRAM, high-performance on-chip storage management module, and storage access unit LSE in the array. The upper part is DRAM, which is connected to the cache unit through a bus and supports burst mode data access. The middle part is the on-chip SRAM cache and its management module LSU, which adopts the basic cache structure. Through group arbitration of requests, each bank can respond to requests independently, and determine whether the request hits through tag matching. When the write hits, only the local cache is updated. If the request is missing, the write allocation method is adopted, and the missing request is processed by MSHR. The missing data is read from L2 and the local cache is directly updated. Each bank has two SRAMs. When a missing replacement occurs, a fixed replacement strategy is adopted. LSU supports the pre-fetch mechanism. The two ways in the cache can run independently, one for on-chip array memory access and the other for pre-fetching data. The memory access delay is hidden by pre-fetching and executing in parallel. The lower part is the storage access unit LSE in the array, which is mainly responsible for providing computing data to the PE in the array and is interconnected with the on-chip storage through a Crossbar.
[0067] In the description of the present application, it should be understood that the terms "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0068] Those skilled in the art know that, in addition to implementing the system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
[0069] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A three-dimensional coarse-grained reconfigurable computing array chip, characterized in that: include: control systems, coarse-grained reconfigurable units, and storage systems; The control system includes a RISC-V core, an AXI bus and a DMA module; The RISCV control core is responsible for starting the entire chip and controlling the execution and interaction of the computing array. For the heterogeneous architecture system composed of the RISC-V main processor and the computing core, the RISCV control core is responsible for task management between the two architectures and scheduling tasks running on the computing core; the AXI bus is used to connect each peripheral module to the RISCV control core and complete the communication and data transmission between the RISCV control core and the peripheral modules; the DMA module is responsible for moving data from external storage to on-chip storage to achieve high-speed, high-bandwidth asynchronous data transmission; The coarse-grained reconfigurable unit includes an arithmetic logic unit, a configuration register and a data register. Reconfigurable computing is achieved by configuring different operation codes for the arithmetic logic unit. Each arithmetic logic unit is connected through a topological structure. The user controls the data flow through the compiler so that the data flows through the entire system. The source of the arithmetic logic unit operand is determined by the multiplexer to complete different operations and thus achieve reconfigurable computing; the configuration register is responsible for mapping the static features in the program code to the ALU configuration and data path in the PE array; the configuration register stores a configuration code of a PE, and one or more bits in the configuration code are used as the selection end of each multiplexer in the PE, thereby changing the data path; The storage system adopts a distributed storage architecture, including multiple storage arrays matching the coarse-grained reconfigurable units. The storage arrays include multiple groups of data arrays and label arrays, and directly interact with the computing array for data.
2. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: The three-dimensional stacked chip is designed and manufactured by three-dimensional stacking. The three-dimensional stacked chip consists of multiple layers of bare cores, including at least one computing layer chip and multiple storage layer chips; The computing layer includes multiple fixed-point computing arrays and floating-point computing arrays, a RISC-V control core, a PLL module, and a DDRMC module; The fixed-point computing array is composed of multiple fixed-point computing units, which are used to perform various arithmetic and logical operations; the floating-point computing array is composed of multiple floating-point computing units, which are used to perform various arithmetic and logical operations; the RISC-V control core is used to control the startup, operation and data scheduling of the entire SoC system; the PLL module is responsible for generating a stable clock signal with the desired frequency and phase; the DDRMC module is responsible for managing and controlling the off-chip DDR module, completing the initialization of the DDR module, data transmission and system communication; The storage layer includes multiple storage arrays and related control units.
3. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 2, characterized in that: The fixed-point computing array and floating-point computing array contain multiple computing units responsible for completing data calculations, a memory access unit responsible for managing memory access, a delay module responsible for balancing various data paths, and an arbitration module responsible for forwarding control signals.
4. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: The multiple layers of the three-dimensional stacked chips are interconnected through hybrid connections and long through silicon vias (TSVs) that penetrate the front metal layer. The power supply and key signal transmission of the upper chip rely on TSVs of different chip layers, and the back metal layer of the bottom chip is connected to the printed circuit board (PCB) through C4 bumps.
5. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: The first layer of the three-dimensional stacked chip has a redistribution layer on the top layer, which is connected to the lower layer chip by flip-chip packaging; the other layers of chips include two redistribution layers, the top layer and the bottom layer.
6. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: The main processor, main memory, and coarse-grained reconfigurable computing array CGRA are all mounted under the bus. The main processor designed with RISC-VISA is responsible for controlling the execution and interaction of the computing array; The main memory is responsible for providing raw data to the computing array and storing the final calculation results; CGRA provides high computing power for computing-intensive applications. It is mounted on the bus in the form of a coprocessor. CGRA contains a global configuration controller, a global data controller, a direct memory access DMA, and multiple independent identical slice computing arrays. The global configuration controller is responsible for reading configuration information from the main memory and performing the first step of decoding, and distributing the configuration package to the corresponding slice according to the label in the configuration information. The global data controller manages memory access requests sent by different slices. It arbitrates read and write requests separately and records the arbitration results in two independent request queues. At the same time, it merges and records the same read requests. The same read requests from different slices are broadcast to different slices at the same time when the data is returned. The interface conversion module converts requests from the configuration controller and data controller into interactive signals that meet the bus protocol. Each slice includes a local configuration controller, on-chip cache, and a reconfigurable on-chip array. The configuration controller is responsible for secondary parsing of the configuration package and scheduling of tasks. After the configuration is completed, the tasks are driven by the data flow and completed autonomously in the on-chip array. The on-chip cache is built using SRAM and is responsible for processing memory access requests from the array. The computing array forms corresponding data flows based on the internal computing units. Through the configuration of the system kernel, the data flow accelerates specific algorithms when passing through the computing units.
7. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: The main processor is partitioned according to the multi-level advanced microcontroller bus architecture AMBA bus, including AXI subsystem, AHB subsystem and APB subsystem; The AXI subsystem is the core of the processor. It is controlled by a six-stage pipeline RISC-V core and provides on-chip computing power with a coarse-grained reconfigurable array. The AXI subsystem also provides on-chip high-speed storage space. The core system has a first-level instruction cache and a data cache, as well as a tightly coupled local storage space. The computing array is equipped with storage space for its computing unit PE array to cache intermediate data generated during the inference operation process. The core and CGRA have a second-level cache on the AXI bus. The AXI subsystem and AHB subsystem provide additional functions for the SoC, including large-capacity low-speed storage, interactive peripherals, and system control. For the AHB subsystem, the ROM module provides on-chip non-volatile storage space to store the startup code of the system on chip. The peripheral QSPI is expected to connect to the off-chip board-level Flash chipset to expand the large-capacity storage space for the system on chip. These storage spaces are planned to store complex inference code, inference configuration information, and weight data for the system. The APB subsystem completes information exchange with the outside world through the peripheral UART and provides the kernel with objects for system control.
8. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: When executing computing-intensive applications, the computing array splits the applications into multiple sub-tasks for execution and designs a task management mechanism based on RISC-V. The overall mechanism framework runs on a heterogeneous architecture system. The design of the heterogeneous system includes a main processor, heterogeneous computing cores, a task management mechanism between the two architectures, and a task scheduling system running on the main processor; the task scheduling system includes a task model that describes the relationship between tasks, a heterogeneous model of the heterogeneous computing core, and a task scheduling algorithm designed by combining the two models; the task management mechanism includes a module for integrating task information, a task queue management module, and a host interface for interconnecting the two architectures.
9. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 1, characterized in that: A single slice array contains a computing unit PE, a memory access unit LSE, a FIFO memory, and an ARB unit; PE is responsible for core computing, including logical operations and arithmetic operations; LSE is responsible for managing memory access requirements, so that the processor sends access requests to the memory and the memory responds at the same time, and LSE frequently interacts with on-chip memory and off-chip memory; FIFO adds delay to the calculation path to eliminate the path imbalance caused by loop control, memory access, and data flow looping during the data transmission process of PE. If a preset long delay is required, multiple FIFOs are connected in series to meet the demand for cache capacity; ARB is responsible for forwarding control signals, keeping data flow synchronized, and decoupling the data flow graph into an acyclic graph.
10. The three-dimensional coarse-grained reconfigurable computing array chip according to claim 9, characterized in that: The computing unit includes data registers, configuration registers and arithmetic logic unit ALU; The data register is responsible for providing registers for cutting pipelines and realizing operand matching control during the spatial pipeline execution process; the data register is divided into input register Buffer and output register. The input register provides data input for the arithmetic logic unit and contains two layers of depth to implement double-buffer, so that the input from the upper level PE and the output to the ALU can be carried out simultaneously. When two data are ready at the input end at the same time, the input register outputs the two data to the input of the ALU at the same time, activating the ALU for calculation. This operand alignment function can ensure the correct function when there are bubbles in the pipeline; the output register is used to beat between the ALU calculation and the interconnection delay to reduce the delay of the critical path; The configuration register is responsible for mapping the static features in the program code to the ALU configuration and data path in the PE array. The configuration register stores a PE configuration code. One or more bits in this configuration code will serve as the selection end of each multiplexer in the PE, thereby changing the data path; The arithmetic logic unit completes different computing tasks by configuring the operation codes Opcodes representing different operators into the ALU during the configuration period.
Citation Information
Cited By
Three-dimensional reconfigurable hardware acceleration core chip
CN119441130A
Artificial intelligence chip integrated with on-chip memory array, computing task processing method and electronic equipment
CN119576822A
Tensor processing architecture based on reconfigurable calculation, working mode of tensor processing architecture and FPGA (Field Programmable Gate Array) development board
CN120316065A
Data transmission system, method, device, medium and product
CN121098951A
Semiconductor structure and electronic equipment
CN122349219A
