Computation system and semiconductor integrated circuit module

The semiconductor integrated circuit module employs a set-associative cache memory configuration to address the challenges of tag memory capacity and hit latency in DRAM caches, achieving improved hit rates and reduced latency by collectively accessing multiple ways in the cache system.

WO2024189774A1PCT designated stage expired Publication Date: 2024-09-19ULSTREETCAREMORY INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/009860
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Conventional block-based DRAM caches face challenges in reducing tag memory capacity on the processor side and improving hit latency in stacked logic circuits, with existing solutions either complicating the cache system or not achieving high hit rates.

Method used

A semiconductor integrated circuit module with a set-associative cache memory configuration, where the address space is divided into segments, allowing the cache controller to collectively write and read data from multiple ways corresponding to the accessed main memory address, reducing hit latency and increasing the hit rate.

Benefits of technology

This configuration effectively prevents an increase in tag memory capacity and improves the hit rate by simultaneously accessing all ways corresponding to the accessed main memory address, reducing latency and enhancing data retrieval efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023009860_19092024_PF_FP_ABST
    Figure JP2023009860_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a semiconductor integrated circuit module that includes a DRAM cache having a stacked structure and is capable of preventing processor-side increases in tag memory capacity, reducing hit latency, and improving hit rate. A computation system 1000 comprises a CPU 100, a main memory 300, and a cache DRAM circuit 400 that is stacked on the CPU 100. The cache DRAM circuit 400 operates as a set-associative cache memory. An address space of the main memory 300 is divided into a plurality of first segments, an address space of the cache DRAM circuit 400 is divided into a plurality of second segments corresponding one-to-one to the first segments, and each of the second segments includes a plurality of ways. A cache controller 111 accesses, all at once, lines in a plurality of ways corresponding to the accessed address of the main memory 300.
Need to check novelty before this filing date? Find Prior Art

Description

Calculation system and semiconductor integrated circuit module

[0001] The present invention relates to an arithmetic system and a semiconductor integrated circuit module, and more particularly to a cache memory configuration using stacked dynamic random access memories.

[0002] (Stacked semiconductor integrated circuit module)

[0003] Volatile memories (RAMs) such as dynamic random access memories (DRAMs) have been widely used as storage devices. DRAMs are required to have higher capacity to accommodate the increasing performance of arithmetic units (hereinafter referred to as logic chips) and the increasing amount of data. To address this demand, efforts have been made to increase capacity by miniaturizing memory (memory cell arrays, memory chips) and adding cells in a planar manner. However, this type of capacity increase is reaching its limits due to factors such as increased vulnerability to noise caused by miniaturization and increased chip area.

[0004] Recently, a technology has been developed to achieve large capacity by stacking multiple planar memories to create a three-dimensional (3D) structure. Furthermore, efforts are being made to increase the speed of data communication between chips (logic chips and memory chips) in response to the increasing amount of data. For example, a semiconductor module in which a logic chip and a DRAM are stacked is known (see, for example, Non-Patent Document 1).

[0005] For example, in such three-dimensional semiconductor integrated circuit modules, a three-dimensional or 2.5-dimensional packaging technology is known in which multiple IC dies (IC chips) are mounted on a silicon interposer using TSV (Through Silicon Via) technology. This packaging technology allows high-density wiring to be formed for multiple IC dies (IC chips), thereby achieving miniaturization, thinning, and broadband.

[0006] However, from the perspective of reducing manufacturing costs, Patent Document 1 discloses a 3D or 2.5D packaging technology that uses a redistribution layer (RDL) and a small Si bridge die instead of such a Si interposer and mounts multiple IC dies (IC chips) on them. IC modules that mount multiple IC dies (IC chips) using a redistribution layer in this way are often manufactured using FOWLP (Fan Out Wafer Level Package) technology. This packaging technology enables high-density wiring to be formed for multiple IC dies (IC chips) at a relatively low cost, thereby achieving miniaturization, thinning, and broadband.

[0007] However, from the viewpoint of achieving higher speed and higher performance, for example, the above-mentioned Non-Patent Document 1 discloses a configuration in which a DRAM circuit die and a logic circuit die are stacked using a so-called "hybrid bonding technology."

[0008] That is, by using the so-called flip-chip structure, connection electrodes are laid out in a two-dimensional array perpendicular to the silicon surface (or substrate surface), and silicon wafers or silicon dies manufactured using different process technologies are stacked. This allows multiple functions to be accommodated in a single package. Compared to integrating multiple functions manufactured using different processes into a single silicon die (single die), a large number of functions can be implemented at a lower cost. The key to three-dimensional stacking is the connection technology used when stacking silicon. In order to increase data transfer per unit area, different silicon chips must be connected at a high density. For this reason, a "hybrid bonding technology" is used, in which copper (Cu) electrodes formed on the surface of silicon wafers or silicon dies are bonded together to connect them.

[0009] On the other hand, in arithmetic circuits (logic circuits), so-called cache memory is used to prevent the time required to exchange data with main memory (usually DRAM) from being limited by the access time of the main memory. Conventionally, SRAM (Static Random Access Memory), which is faster than DRAM, has often been used here.

[0010] However, in recent years, block-based cache memories using DRAMs have begun to be used by using DRAMs in a stacked structure as described above for logic circuits. Block-based cache memories using DRAMs generally require a significant increase in the tag memory capacity on the processor side. To address this, a method has been proposed in which the tags are also stored on the DRAM side, and multiple tag-data pairs are arranged in one DRAM row. When an access request is received from the processor, one row is selected using the entry address, the tag is first read and compared with the request address, and if a hit is found, the data paired with that tag is then read (see, for example, Patent Document 2).

[0011] When the hit rate is improved by increasing the associativity using the above method, the number of ways increases, the number of tags to be read and the number of address comparisons increases, and the latency becomes longer.

[0012] To address this issue, a method has been proposed in which way IDs that are likely to be hit are cached in advance in a way predictor within the controller, and when an access request arrives, this is compared first (see, for example, Non-Patent Document 2).

[0013] Alternatively, as another countermeasure, a method has been proposed in which the associativity is reduced to 2 and a way locator cache using SRAM is added to the controller to predict the way that will be hit, thereby shortening the access latency (see, for example, Non-Patent Document 3).

[0014] US Patent Application Publication No. 2020 / 0185367 JP 2022-151611 A

[0015] Xiping Jiang , Student Member, IEEE, Fengguo Zuo, Song Wang, Xiaofeng Zhou, Yubing Wang, Qi Liu, Qiwei Ren, Senior Member, IEEE, and Ming Liu, “A 1596-GB / s 48-Gb Stacked Embedded DRAM 384-Core SoC With Hybrid Bonding Integration”, IEEE SOLID-STATE CIRCUITS LETTERS, VOL. 5, 2022, pp.110-113Building a Low Latency, Highly Associative DRAM Cache with the Buffered Way Predictor International Symposium on Computer Architecture and High Performance Computing, (2016)Trade-off Between Hit Rate and Hit Latency for Optimizing DRAM Cache IEEE Transactions on Emerging Topics in Computing (Volume: 9, Issue: 1, Jan.-Mar. 2021)

[0016] However, the technique disclosed in Non-Patent Document 2 complicates the configuration of the cache system, and the access latency when a way ID miss occurs cannot be reduced.

[0017] Furthermore, the technique disclosed in Non-Patent Document 3 has a problem in that the hit rate is not as high as that of a method with a large number of ways.

[0018] The present invention has been made to solve the above-mentioned problems, and aims to provide a semiconductor integrated circuit module that can prevent an increase in tag memory capacity on the processor side, reduce hit latency, and improve hit rate in a block-based DRAM cache that has a structure that is stacked on a logic circuit such as a processor.

[0019] According to one aspect of the present invention, there is provided an arithmetic system comprising: a main memory for storing data necessary for arithmetic processing; a DRAM circuit; and a processor circuit stacked with the DRAM circuit in the same package, the processor circuit including one or more processor cores and a cache controller, the DRAM circuit being controlled by the cache controller to operate as a set-associative cache memory between the processor and the main memory, the address space of the main memory being divided into a plurality of first segments, the address space of the cache memory being divided into a plurality of second segments each having a one-to-one correspondence with the first segments, each second segment including a plurality of ways, and in response to a data read access from the processor to the main memory, the cache controller collectively accesses lines in the plurality of ways corresponding to the accessed main memory address, and if hit data is present, reads the data from the hit line.

[0020] Preferably, there is a one-to-one correspondence between the interface of the cache controller to the DRAM circuit side and the interface of the DRAM circuit die to the processor side for each way.

[0021] Preferably, the main memory address included in the access request from the processor circuit includes, as an index, a segment address for specifying the segment and an entry address at a portion of the middle position of the address, and each of the plurality of ways includes a plurality of sets of data and tags for reading units from the main memory, and the cache controller selects a second segment according to the segment address, and selects a corresponding tag in each of the plurality of ways according to the entry address, and controls to read the data set with the selected tag.

[0022] According to another aspect of the present invention, there is provided a semiconductor integrated circuit module in which a plurality of chips are stacked, the module comprising: a first integrated circuit chip including a processor for executing arithmetic processing; the processor including a cache controller; and a second integrated circuit chip including at least one die of a DRAM circuit stacked on the first integrated circuit chip and connected to the processor so as to be able to send and receive data; the DRAM circuit is controlled by the cache controller to operate as a set associative cache memory between the processor and a main memory; the address space of the main memory is divided into a plurality of first segments; the address space of the cache memory is divided into a plurality of second segments each having a one-to-one correspondence with the first segments; each second segment includes a plurality of ways; in response to a data read access from the processor to the main memory, the cache controller collectively accesses lines in the plurality of ways corresponding to the accessed main memory address; and, if hit data is present, reads the data from the hit line.

[0023] Preferably, there is a one-to-one correspondence between the interface of the cache controller to the DRAM circuit side and the interface of the DRAM circuit die to the processor side for each way.

[0024] Preferably, the main memory address included in the access request from the processor includes, as an index, a segment address for specifying the segment and an entry address at an intermediate position of the address, and each of the plurality of ways includes a plurality of sets of data and tags for reading units from the main memory, and the cache controller selects a second segment according to the segment address, and selects a corresponding tag in each of the plurality of ways according to the entry address, and controls to read the data set with the selected tag.

[0025] Preferably, the DRAM circuit has a plurality of segment dies arranged in the second integrated circuit chip corresponding to a plurality of segments, and each of the plurality of segment dies is divided into way dies corresponding to a plurality of ways.

[0026] Preferably, each of the way dies includes a memory array, electrodes corresponding to address pins for accessing the memory array, electrodes corresponding to command pins for specifying the type of access to the memory array, and electrodes corresponding to data input / output pins for reading data from the memory array.

[0027] Preferably, the number of data input / output pins corresponds to the number of bits that can be read out within one burst period for the data and tag of a read unit.

[0028] Preferably, the first integrated circuit chip and the second integrated circuit chip are connected by hybrid bonding in a flip-chip structure.

[0029] According to yet another aspect of the present invention, there is provided an arithmetic system comprising: a main memory module; and a semiconductor integrated circuit module having a plurality of stacked chips for executing arithmetic processing in accordance with data and instructions stored in the main memory module, the semiconductor integrated circuit module comprising: a first integrated circuit chip including a processor and a cache controller for executing the arithmetic processing; and a second integrated circuit chip stacked on the first integrated circuit chip and including at least one die of a DRAM circuit connected to the processor so as to be able to send and receive data, the DRAM circuit being controlled by the cache controller to operate as a set associative cache memory between the processor and the main memory, and The in-memory address space is divided into a plurality of first segments, and the cache memory address space is divided into a plurality of second segments each corresponding one-to-one to the first segments, each second segment including a plurality of ways, and in response to a data read access from the processor to the main memory, the cache controller simultaneously accesses lines in the plurality of ways corresponding to the accessed main memory address, and if there is data that matches, reads the data from the line that matches, and the main memory module includes an extended main memory module controlled by an extended controller and connected to the semiconductor integrated circuit module by a bus interface.

[0030] According to the semiconductor integrated circuit module of the present invention, in a block-based DRAM cache having a structure stacked on a processor, it is possible to prevent an increase in tag memory capacity on the processor side, reduce hit latency, and improve the hit rate.

[0031] 1 is a functional block diagram for explaining the configuration of a computing system 1000 including a CPU, a main memory, and a cache memory. FIG. 1 is a diagram showing the relationship of dies when a cache DRAM is stacked as a silicon wafer on a CPU 100, which is a processor circuit. FIG. 2 is a cross-sectional view showing a structure in which the CPU 100 of the processor circuit and a cache DRAM are stacked. FIG. 3 is a conceptual diagram for explaining a conventional direct access method. FIG. 4 is a conceptual diagram for explaining a set associative method. FIG. 5 is a conceptual diagram showing the configuration of a cache controller of a cache system using the set associative method. FIG. 6 is a conceptual diagram showing an example of a segment configuration and allocation between a cache DRAM 400 and a main memory according to the present embodiment. FIG. 7 is a conceptual diagram showing an example of a segment configuration within a cache memory. FIG. 8 is a conceptual diagram for explaining the configuration of a floor plan of the cache DRAM 400. FIG. 9 is a conceptual diagram showing an example of the operation of a cache memory. FIG. 10 is a timing chart showing an access pattern to a way die. FIG. 11 is a diagram showing the system configuration of a second embodiment of the present invention.

[0032] The configuration of a semiconductor integrated circuit module according to an embodiment of the present invention will be described below. In the following embodiments, components and processing steps denoted by the same reference numerals are the same or equivalent, and unless necessary, their description will not be repeated.

[0033] In the following, a semiconductor integrated circuit module will be described by taking as an example a configuration in which a DRAM operating as a cache memory is stacked on a CPU (Central Processing Unit) as a logic circuit (more specifically, a processor circuit).

[0034] FIG. 1 is a functional block diagram for explaining the configuration of a computing system 1000 including a CPU, a main memory, and a cache memory.

[0035] Referring to FIG. 1, a CPU 100 includes a control unit 110 and an arithmetic unit 150 .

[0036] The program counter 114 in the register 112 is a register for storing the address in memory where the next instruction to be executed is stored, and indicates the address in memory where the next instruction to be executed is stored. The base register 116 stores the starting address when the program is loaded into memory.

[0037] The index register 118 in the register 112 is a register used to retrieve consecutive data and stores the relative position from the beginning. It is used when repeatedly applying the same instruction to consecutive data such as an array. The instruction register 120 in the register 112 is a register for temporarily storing the retrieved instruction.

[0038] The control unit 110 uses these registers to read instructions and data from the memory, or to write data, and perform other operations.

[0039] The arithmetic unit 150 executes a predetermined bit operation on the read data in accordance with a command. The accumulator 154 in the register 112 is a register for temporarily storing the operation result, and the general-purpose register 156 is a register with no specific role that can be used for various purposes depending on the situation.

[0040] Although the computing unit 152 is shown as one core in FIG. 1, it may have multiple cores.

[0041] The CPU 100 further includes multiple levels of cache memories 102, 104, and 106. For example, the cache memory 102 is a level 1 (L1) primary cache memory, the cache memory 104 is a level 2 (L2) secondary cache memory, and the cache memory 106 is a level 3 (L3) tertiary cache memory. The cache memories 102, 104, and 106 are implemented as SRAM (Static Random Access Memory) on the same die as the arithmetic unit 152. Note that the number of levels of SRAM cache on the same die is not limited to this configuration.

[0042] The CPU 100 further includes an external interface 108 for sending and receiving data to and from the outside.

[0043] The CPU 100 is connected to the DRAM 400, which is three-dimensionally stacked on the CPU 100 chip, via the external interface 108. The DRAM 400 operates as a fourth-level cache memory at level 4 (L4), although this is not a specific limitation. Therefore, the DRAM 400 is configured to be placed in the hierarchy of the last level cache (LLC). The DRAM 400 will be referred to as the cache DRAM 400 hereinafter.

[0044] As will be described later, the cache arrangement method in the cache DRAM 400 corresponds to a set associative method (hereinafter referred to as a "set associative method").

[0045] The CPU 100 also exchanges data with the main memory 300 via the external interface 108. The memory cells MCi in the memory cell array MCA in the main memory 300 are accessed from the outside using predetermined addresses.

[0046] The control unit 110 includes a cache controller 111. The cache controller 111 intercepts access to memory from the CPU 100 and controls access to the cache memories 102, 104, and 106, the cache DRAM 400, and the main memory 300.

[0047] FIG. 2 is a diagram showing the relationship between dies when a cache DRAM is stacked on a CPU 100 of a processor circuit as a silicon wafer.

[0048] In this embodiment, the processor circuit will be described as an example of a CPU 100, but the logic circuit is not limited to this configuration.

[0049] For example, in Type A, the CPU 100 of the processor circuit has a die size of 1x1, based on the die size of the DRAM. In the cache DRAM wafer, the DRAM circuit is also divided by scribe lines to match the die size of the processor circuit. In Type A, the CPU 100 wafer and the DRAM wafer are stacked and electrically connected in a flip-chip structure using, for example, hybrid bonding technology as a silicon wafer.

[0050] Thereafter, the wafer is diced and divided into individual pieces according to the chip size of the CPU 100, thereby producing a stacked chip with a die size of 1 x 1 based on the DRAM chip size. Note that the number of wafers to be stacked is not limited to two, and may be more as shown in Figure 2.

[0051] Similarly, in FIG. 2, it is assumed that the CPU 100 of the processor circuit, Type B, has a die size of 2×2, based on the die size of a DRAM.

[0052] Even with Type B, by dicing and dividing into individual pieces according to the chip size of the CPU 100, it is possible to create a stacked chip with a die size of 2×2 based on the DRAM chip size.

[0053] By using a configuration like that shown in Figure 2, even if Type A and Type B are designed and manufactured by different processor manufacturers and have different die sizes, as long as the length of each side is an integer multiple of 1, such as 1 x 1, 1 x 2, or 2 x 2, the DRAMs can be manufactured using the same design and the same process.

[0054] That is, when manufacturing a stacked semiconductor integrated circuit module, only one type of cache DRAM is required.

[0055] In the case of Type B, for example, the processor circuit has been described as having a die size equivalent to four 512 MB cache DRAMs. In this case, a cache DRAM with four times the capacity may be used, or a configuration with four private caches corresponding to four CPU clusters may be used. In this latter case, four CPUs and four cache DRAMs correspond individually.

[0056] Furthermore, the cache DRAM wafer is not limited to a single layer as described above, and may be stacked.

[0057] FIG. 3 is a cross-sectional view showing a structure in which the CPU 100 and the cache DRAM 400 of the processor circuit are stacked.

[0058] FIG. 3 shows, as an example, a configuration realized by the "hybrid bonding technology" using the flip-chip structure disclosed in the above-mentioned non-patent document 1.

[0059] That is, the cache DRAM and the processor circuit are hybrid-bonded using a flip-chip structure and are provided in the same package.

[0060] Here, hybrid bonding 401 is a technique for bonding and connecting copper (Cu) electrodes formed on the surface of a silicon wafer, a silicon die, or the like.

[0061] For example, when connecting silicon wafers, electrodes can be connected at an extremely short pitch of 5 μm to 1 μm.

[0062] Hybrid bonding does not use solder bumps, and the surface of the semiconductor chip is composed of a Cu electrode and an insulating film. The surface of the Cu electrode is formed with a concave shape like a dish. The depth of the concave is, for example, within 20 nm. The surface of the insulating film is then removed by a very small amount, for example, 0.5 nm.

[0063] The Cu electrode-side surfaces of the silicon that have undergone this pretreatment are then brought into contact with each other, connecting the insulating films. A small gap remains between the opposing Cu electrodes. Next, when the silicon is heated while still pressed together, the opposing Cu electrodes expand, bringing them into contact and forming a bond through interdiffusion.

[0064] Furthermore, the logic circuit is connected to a resin substrate-based package substrate 700 on the back side using TSV (Through Silicon Via) technology by a connection method using solder balls such as C4 (Controlled Collapse Chip Connection) bumps 600. For example, a multilayer wiring circuit is formed on the front surface (upper side) of the package substrate 700, and is connected to the multilayer wiring circuit on the back side (lower side) by through vias 702.

[0065] The back surface of the package substrate 700 is connected to a motherboard (not shown) by, for example, a BGA (Ball Grid Array) 704 .

[0066] Although not particularly limited, in order to address the issue of thermal stress, the substrate design may be configured to use dummy bumps to enhance thermal conductivity.

[0067] In the above description, the CPU 300 and the cache DRAM 400 are described as being stacked on a wafer, but the method of stacking semiconductor integrated circuits is not limited to this configuration, and may be, for example, a chip-on-wafer stacking or a die-on-wafer stacking, or a chip-on-chip stacking or a die-on-die stacking configuration.

[0068] Although the electrical connection between the CPU 300 and the cache DRAM 400 has been described as being made by hybrid bonding, bump bonding, for example, may also be used.

[0069] The cache DRAM 400 may also be stacked in two or more layers, in which case, as disclosed in Patent Document 2, multiple layers of DRAM cells are connected to each other by vias passing through these multiple layers.

[0070] Furthermore, the cache DRAM 400 may be provided with a faulty bit repair mechanism or an ECC (Error Correcting Code) mechanism to improve yield. (Cache Memory Cache Arrangement Method)

[0071] Below, as a premise for explaining the cache allocation method of this embodiment, a conventional direct map method and a conventional set associative method will be explained.

[0072] FIG. 4 is a conceptual diagram for explaining a conventional direct access method.

[0073] The size of a unit of data stored in a cache is called a "cache line," and that size is called the "cache line size" or simply the "line size."

[0074] Increasing the line size reduces the number of transfers to and from memory, which is efficient. However, on the other hand, the unused portion of the cache memory increases even if it is brought from main memory, which reduces the efficiency of cache memory usage.

[0075] On the other hand, for a given amount of cache memory, increasing the line size reduces the number of lines that can be stored in the cache in inverse proportion, resulting in a lower cache hit rate.

[0076] Therefore, for example, a line size of about 32 bytes to 256 bytes is adopted.

[0077] In the direct mapping method shown in Figure 4, the position of a line in the cache memory is determined in advance from the memory address. In other words, there is a fixed one-to-one correspondence between the main memory address and the cache memory line position. Specifically, a part of the memory address (a middle address) called an "index" is assigned to the address of the line in the cache memory.

[0078] For example, a configuration is adopted in which the memory block number (in the case of a 128-byte line, the upper bits excluding the last 7 bits of the memory address) directly determines the line number.

[0079] In Figure 4, the blocks shown as partitions in main memory are line-sized blocks, and are ordered as shown within the partitions. Because main memory is larger than the cache, a set of partitions in a horizontal row corresponds to one cache line.

[0080] This cache line address is called an index, and as mentioned above, the middle "index" part, excluding the least significant line size bits of the memory address, is used to directly select a cache line.

[0081] The direct mapping method uses an "index" to read from cache memory, which has the advantage of making the circuit size compact and making it easier to speed up circuit operation.

[0082] On the other hand, while there are multiple pieces of data corresponding to the same "index" in memory, there is only one line that can store it in cache memory. Therefore, to store data with the same "index" in a line of cache memory that is already filled with data, the only way is to erase the previous data and overwrite it, which is a disadvantage.

[0083] As a result, cache lines must be replaced frequently. In some situations, performance may be reduced compared to when there is no cache. This phenomenon is called thrashing.

[0084] FIG. 5 is a conceptual diagram for explaining the set associative method.

[0085] The set associative method overcomes the above-mentioned disadvantages of the direct mapping method, and is currently the most common cache allocation method.

[0086] In the set associative method, an "index" is also used to assign a portion of the memory address (a middle address) to the address of a line in the cache memory.

[0087] However, multiple lines of cache memory corresponding to the same "index" are prepared. A group of lines of cache memory corresponding to the same "index" is called a "way."

[0088] FIG. 5 shows the structure of a 4-way set associative cache.

[0089] The major difference from the direct mapping method of FIG. 4 is that the number of cache lines that can store a horizontal group of memory blocks is increased to four.

[0090] Therefore, even if an instruction exists in block 0 and data exists in block n in the same horizontal group, multiple corresponding cache lines exist and they can be stored simultaneously, preventing the above-mentioned thrashing.

[0091] To reduce the probability of thrashing in a set-associative system, it is necessary to increase the number of cache lines that store horizontal groups of memory blocks in main memory. This number of horizontal cache lines is called the "way" mentioned above.

[0092] Although FIG. 5 shows a 4-way configuration, an 8-way, 16-way, or even a 6-way or 10-way configuration that is not a power of 2 may also be used.

[0093] FIG. 6 is a conceptual diagram showing the configuration of a cache controller in a set associative cache system.

[0094] FIG. 6 shows the case of a four-way set associative system.

[0095] The cache has a structure corresponding to that shown in FIG. 5, and has four sets of data arrays and tag arrays.

[0096] When a request address is input from the CPU 100, four sets of tag arrays are accessed by index according to the entry address for selecting the cache, the tags of the four data arrays are read, and compared with the tag of the request address by a comparator. Since the search is performed associatively within the set of four cache data, this is called a set associative method.

[0097] If any of the four sets of tags match as a result of comparison processing by the comparator, it is a hit, and a hit signal is generated by performing a logical OR operation on the four sets of comparison results. Furthermore, for the data array, data corresponding to a hit is read by the word selector and way selector and output to the CPU 100.

[0098] Generally, from the viewpoint of power consumption and access time, a cache with a small capacity such as a primary cache, which requires high-speed access, uses a method of accessing the tag array and data array in parallel. On the other hand, for large-capacity secondary, tertiary, and quaternary caches, power consumption is more of a problem than an increase in access time, so a configuration may be used in which a tag hit is confirmed and then the data array of only the way where the hit occurred is accessed.

[0099] FIG. 7 is a conceptual diagram showing an example of the segment configuration and allocation between the cache DRAM 400 and the main memory 300 according to this embodiment.

[0100] In FIG. 7, as an example, the main memory 300 has a storage capacity of 512 GB, and the cache DRAM 400 has a storage capacity of 512 MB.

[0101] As shown in FIG. 7, the address spaces of the main memory 300 and the cache DRAM 400 are divided into the same number of segments.

[0102] Then, between the main memory 300 and the cache DRAM 400, the same segments are directly mapped to each other, thereby enabling a configuration that can accommodate access requests within the segments of the cache memory.

[0103] As a result, it is possible to reduce current consumption by not operating segments other than the segment corresponding to the access request.

[0104] With this configuration, tags and data of all ways in the segment cache memory corresponding to an access request from the CPU 100 are read out and processed by the cache controller.

[0105] In other words, to summarize the above configuration, between the main memory 300 and the cache DRAM 400 in this embodiment, the main memory space and the cache memory space are each divided into the same number of segments, and direct mapping is performed between the segments.

[0106] Corresponding segments are mapped to each other using an N-way set associative cache (N: natural number).

[0107] Here, the segment cache uses a large-capacity DRAM as the cache memory, and as will be described later, N is set to 16 so that N ways can be accessed simultaneously, resulting in a high hit rate and eliminating the need for a way ID cache as in the prior art (Non-Patent Document 2).

[0108] The cache controller may issue access requests to different segments simultaneously or in an interleaved manner.

[0109] Also, a spare cache DRAM way may be added, and if there is a defective way, it may be replaced with a good way by a switch on the processor die.

[0110] A processor may also use a cache controller to access multiple cache segments in parallel and independently, for example, when consecutive read requests correspond to different main memory segments, or when multiple processor cores are exclusively assigned to multiple main memory segments.

[0111] FIG. 8 is a conceptual diagram showing an example of a segment configuration in a cache memory.

[0112] 8, it is assumed that the number of ways is 16, corresponding to the configuration of FIG. 7, and the address space of the 512 MB cache DRAM 400 is divided into 32 MB segments.

[0113] As shown in FIG. 8, among the addresses of the access request from the CPU 100, one set is selected from all 16 ways at the entry address of 14b, and 128 B of data is read from each way.

[0114] The cache controller 111 also reads the 14b frame address in the tag at the same time and compares it with the frame address of the access request.

[0115] The tag may include a frame address of the corresponding data as well as flags, ECC parity bits, and the like.

[0116] The cache controller 111 sends data to the CPU 100 in a cache line size specified by the word address from the data of the hit way.

[0117] For example, if the cache line size is 64 B, 64 B of data out of 128 B is selected by the upper 1 b of the word address.

[0118] In the case of a cache miss where no hits are found in all ways, the cache controller 111 accesses the main memory 300 using the address of the access request and reads the data.

[0119] That is, the differences between the conventional set associative system shown in FIG. 5 and the set associative system of this embodiment are as follows.

[0120] 5, all ways corresponding to an index (corresponding to an entry address of the main memory in FIG. 8) are accessed by a memory access from the CPU 100, whereas in this embodiment, all ways corresponding to an index (segment address+entry address of the main memory in FIG. 8) are accessed by a memory access from the CPU 100. As a result, access to the corresponding segment in the cache DRAM 400 is selectively executed.

[0121] 1, one cache controller 111 controls all cache segments, but it may also be configured to provide a controller for each cache segment. In the latter case, the operating controller is selected based on the segment address.

[0122] FIG. 9 is a conceptual diagram for explaining the configuration of the floor plan of the cache DRAM 400. As shown in FIG.

[0123] As shown in FIG. 9, if the storage capacity of the cache DRAM 400 is 512 MB, it is assumed that it is divided into 16 segments, each with a capacity of 32 MB.

[0124] In this case, the 16 segment dies are arranged in a 4×4 array in the cache DRAM 400 .

[0125] Furthermore, each segment die with a capacity of 32 MB is divided into 16 way dies, each of which has 2 MB, when the number of ways is 16, as shown in FIG.

[0126] In this case, the 16 way dies are arranged in a 4 x 4 pattern. Note that the arrangement of the 16 segment dies and the 16 way dies can be any arrangement other than 4 x 4.

[0127] Each 2MB way die has a memory array, sense amplifiers, and control circuitry arranged on one side, with pins for inputting command and address signals arranged on one side, and (128+8)b data input / output pins (DQ pins) arranged on the other side.

[0128] With this configuration, the cache DRAM 400 can be configured to be scalable with respect to the CPU 100 .

[0129] That is, the way die is configured to be able to operate independently, and the segment die and cache DRAM are a collection of such way dies.

[0130] Therefore, the sizes of the segment die and cache DRAM die can be arbitrarily configured from the way die, and the configuration of the segment die and the configuration of the cache memory die can be arbitrarily selected in units of way die.

[0131] Each pin of the way die is an interface with the way controller in the stacked CPU 100, and the interface connection can be made using hybrid bonding or Au bump bonding, as described above.

[0132] Therefore, in the above configuration, unit DRAM circuits of a multi-way die are designed to be independently and individually accessible and to have a relatively wide bit width for each data input / output, and are allocated to each of a plurality of ways.

[0133] The capacity of the unit DRAM circuit is 2 MB, and the DQ pin configuration is 128 B data + 8 B tag (= 136 B (1,088 b = 136 DQ × 8 bursts)).

[0134] With this configuration, the cache DRAM operates with non-multiple address random access.

[0135] In other words, since the bit width of the address pin can be secured to the required number of bits, an address non-multiplexing method can be adopted in which the address signal is input all at once, as will be described later, and 136B of data can be read or written in one access, and precharge for the next access can be completed, allowing for random access operations.

[0136] FIG. 10 is a conceptual diagram showing an example of the operation of the cache memory.

[0137] The configuration is basically the same as that shown in FIG. 1, but the on-chip cache of the CPU 100 is limited to a secondary cache.

[0138] The control of the read operation of the cache controller 111 will now be described. (1) When corresponding data exists in the primary or secondary cache memory

[0139] i) A hit in the primary or secondary cache memory.

[0140] ii) Reading data from the primary or secondary cache memory.

[0141] iii) Returns data in response to an access request from the CPU 100. (2) Corresponding data does not exist in the primary or secondary cache memory, but exists in the cache DRAM i) Miss in primary or secondary cache memory ii) Hit in cache DRAM iii) Reads data from cache DRAM iv) Returns data in response to an access request from the CPU 100. Copy data to primary and secondary cache memories v) If all lines in the primary and secondary cache memories are full, evict data from one of the lines before copying to create an empty line

[0142] FIG. 11 is a timing chart showing an access pattern to the way die.

[0143] Although not particularly limited, the clock frequency is set to, for example, 250 MHz.

[0144] The burst length is assumed to be 8b burst, and the access unit is assumed to be (128+8) bits using (128+8) bit DQ pins, with a data width of (data)+(tag) being (128+8) bits.

[0145] 11, in a data read operation, a read command and an address (=row address+column address) are applied at clock 0. From clock 6 after a latency period, data D0 to D7 are read out sequentially in response to the clocks.

[0146] On the other hand, for a data write operation, a write command and an address (=row address+column address) are given at clock 0. From clock 3, data D0 to D7 are written sequentially in response to the clock.

[0147] Note that a refresh operation is also performed at the timing shown in FIG.

[0148] A more specific explanation is as follows.

[0149] The commands are read, write, and refresh, and an index (address) is input at the same time.

[0150] It does not perform address multiplexing or page mode access, which are typical DRAM operations, but has a configuration specialized for random access.

[0151] In the example of FIG. 11, reading and writing are completed in 16 clocks (64 ns) and the next command is accepted.

[0152] The refresh is completed in 8 clocks (32 ns), and the next command is accepted.

[0153] In one read access, data is read from the (128+8) bit DQ pin in eight bursts, in units of (1024+64) bits (=(128+8) bytes) in total.

[0154] In one write access, data is written in units of a total of (1024+64) bits (=(128+8) bytes) in eight bursts from the (128+8) bit DQ pin.

[0155] Refreshing is performed by accessing all indexes with a refresh command within a certain period of time.

[0156] With the above configuration, accesses to the cache DRAM ways of the corresponding segment are all accessed simultaneously, and in each way, the tag and data are accessed simultaneously, eliminating hit latency overhead.

[0157] Furthermore, as explained in FIG. 9, in a cache DRAM, it is easy to increase the number of ways in terms of process, so by increasing the number of ways, it is possible to improve the hit rate of the cache memory.

[0158] Furthermore, in the configuration described in Non-Patent Document 2, it was necessary to cache the way ID in advance in a way predictor in the controller, and when an access request comes in, it was first compared with this, whereas in this embodiment, the hit rate can be improved by using a configuration that allows multiple ways to be read simultaneously, so that overhead time such as way ID prediction is not required.

[0159] Furthermore, by segmenting the memory space and providing a direct map configuration for each segment, it is possible to reduce power consumption without increasing the associativity more than necessary.

[0160] FIG. 12 is a diagram showing a system configuration according to the second embodiment of the present invention.

[0161] FIG. 12 shows a configuration in which an "accelerator + extended main module" is provided externally to the CPU 100 and cache DRAM 400 of the first embodiment based on the "CXL (registered trademark) interface standard."

[0162] For example, in recent years, technological advances such as artificial intelligence, machine learning, and cloud computing have generated massive amounts of data. In data-driven technologies that utilize such large amounts of data, more and more cores are being integrated into a single processor chip, and heterogeneous computing is being developed to produce powerful processors that can handle the processing and performance demands of data-intensive applications.

[0163] As the number of CPU cores increases, further improvements in memory bandwidth and density are required, and under these circumstances, technologies that enable main memory expansion are being developed.

[0164] Here, the "CXL (registered trademark) interface standard" is one of the new bus interface standards, and was developed as a technology for high-speed, low-latency interconnection from CPUs to devices built on the PCIe physical layer.

[0165] As shown in FIG. 12, this technique provides an efficient connection between a host CPU 100 and connected devices such as an accelerator 800 and an extended main memory module 900 .

[0166] The accelerator 800 is intended to address processor memory bandwidth bottlenecks and capacity limitations, making more efficient use of aggregated memory resources and providing the ability to scale up access without performance degradation.

[0167] The configuration of the CPU 100 and cache DRAM 400 as explained in the first embodiment also operates effectively in a system that operates on a standard that expands such a main memory module.

[0168] In the configuration of FIG. 12, access between the CPU 100 and the cache DRAM 400 is controlled by a cache controller 111, and access between the CPU 100 and the main module is controlled by a main memory controller.

[0169] For example, the graphics processor 700 is controlled by the bus controller.

[0170] The expanded main memory module 900 is controlled by an expansion controller.

[0171] The operation of the cache controller 111 is basically the same as that described in FIG. 1, but in the event of a cache memory miss in the cache DRAM 400, an access is made to the main memory module or extended main memory module according to the address.

[0172] With a configuration that employs such an extended main memory module, even if the address space of the main memory as seen from the CPU 100 becomes larger due to expansion, it is possible to increase the number of segments, the number of ways in each segment, and the number of sets in each way by increasing the capacity of the cache DRAM 400 or the number of stacks.

[0173] Therefore, even if the address space of the main memory is expanded as in the second embodiment, the configuration of the CPU 100 and cache DRAM 400 can achieve improvements in memory bandwidth and density.

[0174] The embodiments disclosed herein are merely examples of configurations for specifically implementing the present invention, and do not limit the technical scope of the present invention. The technical scope of the present invention is defined by the claims, not by the description of the embodiments, and is intended to include modifications within the literal scope of the claims and within the scope of equivalent meanings.

[0175] 100 CPU, 102 primary cache memory, 104 secondary cache memory, 106 tertiary cache memory, 108 external interface, 110 control unit, 111 cache controller, 112 register, 114 program counter, 116 base register, 118 index register, 120 instruction register, 150 arithmetic unit, 152 arithmetic unit, 154 accumulator, 156 general-purpose register, 300 main memory, 400 cache DRAM, 750 graphics processor, 800 accelerator, 900 extended main memory module.

Claims

1. A computing system comprising: a main memory for storing data necessary for computing processing; a DRAM (Dynamic Random Access Memory) circuit; and a processor circuit stacked with the DRAM circuit in the same package, the processor circuit including one or more processor cores and a cache controller, the DRAM circuit being controlled by the cache controller to operate as a set-associative cache memory between the processor and the main memory, an address space of the main memory being divided into a plurality of first segments, the address space of the cache memory being divided into a plurality of second segments each having a one-to-one correspondence with the first segments, each of the second segments including a plurality of ways, and in response to a data read access from the processor to the main memory, the cache controller collectively accesses lines in the plurality of ways corresponding to the accessed address of the main memory, and if a hit is found, reads data from the hit line.

2. The computing system according to claim 1, wherein an interface of said cache controller to the DRAM circuit side and an interface of said DRAM circuit die to said processor side correspond one-to-one for each of said ways.

3. The computing system of claim 2 or 3, wherein the address of the main memory included in an access request from the processor circuit includes, as an index, a segment address for specifying the segment and an entry address at a part of the middle position of the address, each of the multiple ways includes multiple sets of data and tags in units of data to be read from the main memory, and the cache controller selects the second segment according to the segment address, and selects a corresponding tag in each of the multiple ways according to the entry address, and controls to read out the data set with the selected tag.

4. A semiconductor integrated circuit module in which a plurality of chips are stacked, comprising: a first integrated circuit chip including a processor for executing arithmetic processing, the processor including a cache controller; and a second integrated circuit chip including at least one die of a DRAM circuit stacked on the first integrated circuit chip and connected to the processor so that data can be sent and received; the DRAM circuit is controlled by the cache controller to operate as a set associative cache memory between the processor and a main memory; an address space of the main memory is divided into a plurality of first segments; the address space of the cache memory is divided into a plurality of second segments each having a one-to-one correspondence with the first segments, each of the second segments including a plurality of ways; and in response to a read access of data to the main memory from the processor, the cache controller collectively accesses lines in the plurality of ways corresponding to the accessed address of the main memory, and if a hit is found, reads data from the hit line.

5. The semiconductor integrated circuit module according to claim 4, wherein an interface of said cache controller to the DRAM circuit side and an interface of said DRAM circuit die to said processor side correspond one-to-one for each of said ways.

6. A semiconductor integrated circuit module as claimed in claim 4 or 5, wherein the address of the main memory included in an access request from the processor includes, as an index, a segment address for specifying the segment and an entry address at an intermediate position of the address, each of the plurality of ways includes a plurality of sets of data and tags in units of data to be read from the main memory, and the cache controller selects the second segment according to the segment address, and selects a corresponding tag in each of the plurality of ways according to the entry address, and controls to read out the data set with the selected tag.

7. A semiconductor integrated circuit module as claimed in claim 6, wherein said DRAM circuit has a plurality of segment dies arranged in said second integrated circuit chip corresponding to said plurality of segments, and each of said plurality of segment dies is divided into way dies corresponding to said plurality of ways.

8. A semiconductor integrated circuit module as described in claim 7, wherein each of the way dies includes: a memory array; electrodes corresponding to address pins for accessing the memory array; electrodes corresponding to command pins for specifying the type of access to the memory array; and electrodes corresponding to data input / output pins for reading data from the memory array.

9. The semiconductor integrated circuit module according to claim 8, wherein said data input / output pins correspond to the number of bits that can be read from said read unit data and said tag within one burst period.

10. The semiconductor integrated circuit module according to claim 4, wherein said first integrated circuit chip and said second integrated circuit chip have a flip chip structure and are connected by hybrid bonding.

11. A computing system comprising: a main memory module; and a semiconductor integrated circuit module in which a plurality of chips are stacked for executing computing processes in response to data and instructions stored in the main memory module, the semiconductor integrated circuit module comprising: a first integrated circuit chip including a processor and a cache controller for executing computing processes; and a second integrated circuit chip including at least one die of a DRAM circuit stacked on the first integrated circuit chip and connected to the processor so as to be able to send and receive data; the DRAM circuit is controlled by the cache controller to operate as a set associative cache memory between the processor and the main memory; an address space of the main memory is divided into a plurality of first segments; an address space of the cache memory is divided into a plurality of second segments each having a one-to-one correspondence with the first segments; each of the second segments includes a plurality of ways; and in response to a read access of data to the main memory from the processor, the cache controller collectively accesses lines in the plurality of ways corresponding to the accessed address of the main memory, and if a hit is found, reads data from the hit line; The main memory module is controlled by an expansion controller and connected to the semiconductor integrated circuit module by a bus interface.

Citation Information

Patent Citations

  • Memory system and cache memory system

    JP1995049807A

  • Integrated three-dimensional (3D) dram cache

    JP2022151611A

  • Information processing device

    WO2018061192A1