Chips and related chip systems

By using multiple chips and serial transmission interfaces, such as PCIe in the chip system, the bandwidth limitation of a single DDR DRAM chip is solved, the storage space and bandwidth expansion is achieved, the number of data transmission lines is reduced, and the data transmission efficiency is improved. .

CN114242131BActive Publication Date: 2024-11-12REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010942264.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-09
Publication Date
2024-11-12
Estimated Expiration
2040-09-09

AI Technical Summary

Technical Problem

The bandwidth of a single DDR DRAM chip limits the application capabilities of the chip and the system, resulting in the inability to effectively expand the number of parallel transmission interfaces for storage and transmission interfaces.

Method used

By introducing multiple chips into the chip system and using a serial transmission interface such as the PCIe interface, one chip allows to access the DDR DRAM of other chips through the serial interface, thereby expanding bandwidth without the need for additional DDR interface circuits.

Benefits of technology

It effectively increases the memory space and bandwidth of the chip, reduces the number of data transmission lines, reduces the burden of chip area, and improves data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114242131B_ABST
    Figure CN114242131B_ABST
Patent Text Reader

Abstract

The present invention discloses a chip and a related chip system, wherein the chip system includes a first chip, a first DRAM, a second chip and a second DRAM, wherein the first chip includes a first DRAM controller and a first serial transmission interface, the first DRAM is coupled to the first DRAM controller, the second chip includes a second DRAM controller and a second serial transmission interface, the second serial transmission interface is coupled to the first serial transmission interface, and the second DRAM is coupled to the second DRAM controller. When the first chip wants to temporarily store first data and second data, the first chip stores the first data to the first DRAM through the first DRAM controller, and transmits the second data to the second chip through the first serial transmission interface; and the second chip stores the second data to the second DRAM through the second DRAM controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a chip system including a dynamic random access memory. Background Art

[0002] Double Data Rate (DDR) Dynamic Random Access Memory (DRAM) is a memory with a high-speed multi-bit parallel transmission interface. Considering that the parallel transmission interface has more contacts / pins and transmission lines, a single chip will only have one DDR interface circuit. However, since a single chip only has one DDR interface circuit, the bandwidth of this DDR interface circuit limits the application and capabilities of the chip and system. Summary of the invention

[0003] Therefore, one of the objectives of the present invention is to provide a system including multiple chips, wherein a single chip can request access to the DDR DRAM of another chip through a serial transmission interface to effectively expand the chip bandwidth without the need to set up additional DDR interface circuits to solve the problems described in the prior art.

[0004] In one embodiment of the present invention, a chip system is disclosed, which includes a first chip, a first DRAM, a second chip and a second DRAM, wherein the first chip includes a first DRAM controller and a first serial transmission interface, the first DRAM is coupled to the first DRAM controller of the first chip, the second chip includes a second DRAM controller and a second serial transmission interface, the second serial transmission interface is coupled to the first serial transmission interface, and the second DRAM is coupled to the second DRAM controller of the second chip. When the first chip wants to temporarily store a first data and a second data, the first chip stores the first data to the first DRAM through the first DRAM controller, and transmits the second data to the second chip through the first serial transmission interface; and the second chip stores the second data to the second DRAM through the second DRAM controller.

[0005] In another embodiment of the present invention, a chip is disclosed, which includes a core circuit, a DRAM controller and a serial transmission interface, wherein the DRAM controller is coupled to a DRAM, and the serial transmission interface is coupled to another chip. When the core circuit wants to temporarily store a first data and a second data, the core circuit stores the first data in the DRAM through the DRAM controller, and transmits the second data to the other chip through the serial transmission interface, so that the other chip stores the second data in another DRAM that the other chip can access. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 FIG. 4 is a schematic diagram of a chip system according to an embodiment of the present invention.

[0007] Figure 2 FIG. 4 is a schematic diagram of a chip system according to another embodiment of the present invention. DETAILED DESCRIPTION

[0008] Figure 1 FIG. 1 is a schematic diagram of a chip system 100 according to an embodiment of the present invention. Figure 1 As shown, the chip system 100 includes three chips 110, 120, 130 and three DRAMs 141, 142, 143, wherein the chip 110 includes a core circuit 112, a DRAM controller 114, a serial transmission interface (in this embodiment, a Peripheral Component Interconnect Express (PCIe) interface 116) and a memory 118; the chip 120 includes a core circuit 122, a DRAM controller 124, two PCIe interfaces 126, 127, and a memory 128; the chip 130 includes a core circuit 132, a DRAM controller 134, a PCIe interface 136, and a memory 138. In this embodiment, the chips 110, 120, 130 can be any chip that can include a DRAM controller, such as a central processing unit, a graphics processor, or any other chip with specific or general functionality. In addition, it should be noted that in other embodiments, the serial transmission interface is not limited to the PCIe interface, and can be any transmission interface that can provide an equivalent bandwidth.

[0009] In this embodiment, the chip 110 only includes a single DRAM controller 114, that is, the chip 110 itself only includes a set of DDR interface circuits, and the chip 110 can only directly access the DRAM 141, but cannot directly access other DRAMs, but the present invention is not limited to this. In addition, the chip 120 only includes a single DRAM controller 124, and the chip 130 also only includes a single DRAM controller 134, but the present invention is not limited to this.

[0010] exist Figure 1 In the illustrated embodiment, since the chip 110 includes only a single DRAM controller 114 and can only directly access the DRAM 141, in order to prevent the functions and applications of the chip 110 from being limited by the bandwidth of the DRAM controller 114 and the DRAM 141, in this embodiment, the chip 110 can regard the DRAMs 142 and 143 that can only be directly accessed by the chips 120 and 130 as its own virtual memory, that is, the chip 110 can access the DRAMs 142 and 143 through the chips 120 and 130 to expand its own bandwidth.

[0011] Specifically, when chip 110 needs to write three data to DRAM, core circuit 112 can directly write the first data to DRAM 141 through DRAM controller 114; in addition, chip 110 also transmits the second and third data to chip 120 through PCIe interface 116, and after core circuit 122 of chip 120 receives the second and third data from chip 110 through PCIe interface 127, core circuit 122 can directly write the second data to DRAM 142 through DRAM controller 124, and transmit the third data to chip 130 through PCIe interface 126; after core circuit 132 of chip 130 receives the third data from chip 120 through PCIe interface 136, core circuit 132 can directly write the third data to DRAM 143 through DRAM controller 134. As described above, by using the PCIe interface 116 to transmit part of the data to the chips 120 and 130 and writing the data into the DRAMs 142 and 143 corresponding to the chips 120 and 130 respectively, the storage space and bandwidth of the chip 110 can be effectively increased.

[0012] In this embodiment, the chip 110 can write the data of the chip 110 itself into the DRAMs 142 and 143 corresponding to the chips 120 and 130 respectively by address extension or address mapping. For example, assuming that the first, second, and third data of the chip 110 have addresses (logical addresses) LBA1, LBA2, and LBA3 respectively, the core circuit 112 can establish a lookup table in the memory 118, wherein the lookup table can record that the first data with address LBA1 is stored in the DRAM 141, and the second and third data with addresses LBA2 and LBA3 are stored in other chips; the core circuit 122 of the chip 120 also establishes a lookup table in the memory 128, wherein the lookup table can record that the second data with address LBA2 is stored in the DRAM 142, and the third data with address LBA3 is stored in the chip 130.

[0013] When the chip 110 needs to access the first, second, and third data previously written to the DRAM 141, 142, and 143, the core circuit 112 first refers to the lookup table stored in the memory 118 to determine that the first data is stored in the DRAM 141 that can be directly accessed by itself, and the second and third data are stored in other chips. At this time, the core circuit 112 transmits the address LBA1 of the first data to the DRAM controller 114, so that the DRAM controller 114 can read the first data from the DRAM 141 according to the internal address mapping mechanism, and the core circuit 112 also sends a read instruction to transmit the addresses LBA2 and LBA3 of the second and third data to the chip 120 through the PCIe interface 116. After chip 120 receives addresses LBA2 and LBA3, first, core circuit 122 will refer to the lookup table stored in memory 128 to determine that the second data is stored in DRAM 142 which can be directly accessed by itself, and the third data is stored in chip 130. At this time, core circuit 122 transmits address LBA2 of the second data to DRAM controller 124, so that DRAM controller 124 can read the second data from DRAM 142 according to the internal address mapping mechanism, and core circuit 122 also transmits address LBA3 of the third data to chip 130 via PCIe interface 126. In addition, after reading the second data, core circuit 122 will immediately transmit the second data to chip 110 via PCIe interface 127. Next, after receiving the address LBA3, the core circuit 132 of the chip 130 transmits the address LBA3 of the third data to the DRAM controller 134, so that the DRAM controller 134 reads the third data from the DRAM 143 according to the internal address mapping mechanism, and immediately transmits the read third data to the chip 120 through the PCIe interface 136; and after receiving the third data from the chip 130, the core circuit 122 of the chip 120 will immediately transmit the third data to the chip 110 through the PCIe interface 127.

[0014] In one embodiment, the chip 110 simultaneously receives the first data from the DRAM 141 and the second data from the chip 120 during partially overlapping time periods, so as to quickly obtain the first data and the second data.

[0015] As described above, DRAM 141, 142, 143 can all be considered as memories accessible by chip 110. In addition, the serial transmission speed of the current fifth-generation PCIe specification can reach 64Gb / s (gigabits per second). Therefore, by using the DDR interface and the PCIe interface to transmit data at the same time, the bandwidth of chip 110 can be greatly improved. In addition, since the PCIe interface 116 using serial transmission has fewer data transmission lines, it will not cause too much chip area burden for chip 110.

[0016] It should be noted that Figure 1 The number of chips in the chip system 100 is only used as an example and is not a limitation of the present invention. Specifically, the chip system 100 may include only two chips, that is, Figure 1 The chip 130, DRAM 143 and PCIe interface 126 can be removed from the drawings without affecting the actual operation of the present invention. In addition, the chip system 100 can also include a fourth chip and a DRAM that can only be directly accessed by the fourth chip to serve as a virtual memory of the chip 110. These implementation changes should all fall within the scope of the present invention.

[0017] also, Figure 1 The PCIe interface is used as an example for description. However, in other embodiments, the PCIe interfaces 116 , 126 , 127 , and 136 may be replaced by transmission interfaces of other specifications, such as Universal Serial Bus (USB).

[0018] Figure 2 FIG. 2 is a schematic diagram of a chip system 200 according to another embodiment of the present invention. Figure 2As shown, the chip system 200 includes four chips 210, 220, 230, 240 and four DRAMs 251, 252, 253, 254, wherein the chip 210 includes a core circuit 212, a DRAM controller 214, two serial transmission interfaces (PCIe interfaces 216, 217 in this embodiment) and a memory 218; the chip 220 includes a core circuit 222, a DRAM controller 224, two PCIe interfaces 226, 227 and a memory 228; the chip 230 includes a core circuit 232, a DRAM controller 234, two PCIe interfaces 236, 237 and a memory 238; the chip 240 includes a core circuit 242, a DRAM controller 244, two PCIe interfaces 246, 247 and a memory 248. In this embodiment, the chips 210 , 220 , 230 , and 240 may be any chip that may include a DRAM controller, such as a central processing unit, a graphics processing unit, or any other chip with specific or general functionality.

[0019] In this embodiment, the chips 210 , 220 , 230 , and 240 only include a single DRAM controller, that is, the chips 210 , 220 , 230 , and 240 can only directly access the corresponding DRAM, but cannot directly access other DRAMs.

[0020] exist Figure 2 In the illustrated embodiment, since chips 210, 220, 230, 240 each include only a single DRAM controller, in order to prevent the functions and applications of chips 210, 220, 230, 240 from being limited by the bandwidth of the DRAM, in this embodiment, chips 210, 220, 230, 240 can all regard the illustrated DRAMs 251, 252, 253, 254 as their own virtual memories, that is, each of chips 210, 220, 230, 240 can access other DRAMs through other chips to expand its own bandwidth.

[0021] Specifically, when the chip 210 needs to write three data into the DRAM, the core circuit 212 can directly write the first data into the DRAM 251 through the DRAM controller 214; in addition, the chip 210 transmits the second and third data to the chips 220 and 240 through the PCIe interfaces 216 and 217 respectively. After the core circuit 222 of the chip 220 receives the second data from the chip 210 through the PCIe interface 227, the core circuit 222 can directly write the second data into the DRAM 252 through the DRAM controller 224; and after the core circuit 242 of the chip 240 receives the third data from the chip 210 through the PCIe interface 246, the core circuit 242 can directly write the third data into the DRAM 254 through the DRAM controller 244. As described above, part of the data is transferred to the chips 220 and 240 by using the PCIe interfaces 216 and 217, and the data is written to the DRAMs 252 and 254 corresponding to the chips 220 and 240, respectively.

[0022] In this embodiment, the chip 210 can write the data of the chip 210 itself into the DRAM 252 and 254 corresponding to the chips 220 and 240 respectively by address extension or address mapping. For example, assuming that the first, second and third data of the chip 210 have addresses (logical addresses) LBA1, LBA2 and LBA3 respectively, the core circuit 112 can establish a lookup table in the memory 218, wherein the lookup table can record that the first data with address LBA1 is stored in the DRAM 251, and the second and third data with addresses LBA2 and LBA3 are stored in the chips 220 and 240 respectively.

[0023] When the chip 210 needs to access the first, second, and third data previously written to the DRAMs 251, 252, and 254, the core circuit 212 first refers to the lookup table stored in the memory 218 to determine that the first data is stored in the DRAM 251 that can be directly accessed, and the second and third data are respectively stored in the chips 220 and 240. At this time, the core circuit 212 transmits the address LBA1 of the first data to the DRAM controller 214, so that the DRAM controller 214 can read the first data from the DRAM 251 according to the internal address mapping mechanism, and the core circuit 112 also sends a read instruction to transmit the addresses LBA2 and LBA3 of the second and third data to the chips 220 and 240 through the PCIe interfaces 216 and 217, respectively. After chip 220 receives the address LBA2, the core circuit 222 transmits the address LBA2 of the second data to the DRAM controller 224, so that the DRAM controller 224 can read the second data from DRAM 252 according to the internal address mapping mechanism, and immediately transmit the second data to chip 210 through the PCIe interface 227; in addition, after chip 240 receives the address LBA3, the core circuit 242 transmits the address LBA3 of the third data to the DRAM controller 244, so that the DRAM controller 244 can read the third data from DRAM 254 according to the internal address mapping mechanism, and immediately transmit the third data to chip 210 through the PCIe interface 246.

[0024] It should be noted that the above description is based on the example that the chip 210 needs to write data into the DRAM. However, Figure 2 The chips 220, 230, 240 can also write their own data into the DRAM of other chips through the above mechanism. For example, the chip 230 can transmit its own data to the chips 220, 240 through the PCIe interfaces 237, 236 to be stored in the DRAM 252, 254.

[0025] As described above, DRAM 251, 252, 253, 254 can be regarded as memories accessible by chips 210, 220, 230, 240. Therefore, by using the DDR interface and the PCIe interface to transmit data at the same time, the bandwidth of chips 210, 220, 230, 240 can be greatly improved. In addition, since the serial transmission PCIe interface has fewer data transmission lines, it does not cause too much chip area burden for chips 210, 220, 230, 240.

[0026] It should be noted that Figure 2The number of chips in the chip system 200 is only used as an example and is not a limitation of the present invention. Specifically, the chip system 200 may include only three chips, for example Figure 2 The chip 230 and the DRAM 253 can be removed from the figure, and the PCIe interface 226 of the chip 220 can be connected to the PCIe interface 247 of the chip 240. In addition, some chips in the chip system 200, such as the chip 210, can include more PCIe interfaces for connecting to more chips to further expand their own bandwidth. These implementation changes should all belong to the scope of the present invention.

[0027] The above descriptions are only preferred embodiments of the present invention. All equivalent changes and modifications made according to the claims of the present invention should fall within the scope of the present invention.

[0028]

Explanation of symbols

[0029] 100: System on a chip

[0030] 110, 120, 130: Chip

[0031] 112, 122, 132: core circuit

[0032] 114, 124, 134: DRAM controller

[0033] 116, 126, 127, 136: PCIe interface

[0034] 118, 128, 138: Memory

[0035] 141, 142, 143: DRAM

[0036] 200: System on a chip

[0037] 210, 220, 230, 240: Chips

[0038] 212, 222, 232, 242: core circuit

[0039] 214, 224, 234, 244: DRAM controller

[0040] 216, 217, 226, 227, 236, 237, 246, 247: PCIe interface

[0041] 218, 228, 238, 248: Memory

[0042] 151, 152, 153, 154: DRAM.

Claims

1. A chip system comprising: A first chip including a first dynamic random access memory controller and a first serial transmission interface; a first dynamic random access memory coupled to the first dynamic random access memory controller of the first chip; A second chip includes a second dynamic random access memory controller and a second serial transmission interface, wherein the second serial transmission interface is coupled to the first serial transmission interface ; as well as a second dynamic random access memory coupled to the second dynamic random access memory controller of the second chip; in, When the first chip wants to temporarily store a first data and a second data, the first chip stores the first data in the first dynamic random access memory through the first dynamic random access memory controller, and transmits the second data to the second chip through the first serial transmission interface; And the second chip stores the second data in the second dynamic random access memory through the second dynamic random access memory controller.

2. The chip system according to claim 1, in, The first chip does not include other dynamic random access memory controllers except the first dynamic random access memory controller, and the first dynamic random access memory controller can only directly access the first dynamic random access memory.

3. The chip system according to claim 1, in, The first serial transmission interface and the second serial transmission interface are standard interfaces for quick peripheral interconnection.

4. The chip system according to claim 1, in, The first chip further includes a memory including a lookup table, and the lookup table records that the address of the first data corresponds to the first dynamic random access memory or the first chip, and the address of the second data corresponds to the second chip.

5. The chip system according to claim 1, 2, 3 or 4, in, When the first chip wants to read the first data and the second data, the first chip reads the first data from the first dynamic random access memory through the first dynamic random access memory controller; and the first chip transmits a read instruction to the second chip through the first serial transmission interface, wherein the read instruction includes the address of the second data, so that the second chip can read the second data from the second dynamic random access memory through the second dynamic random access memory controller and transmit the second data to the first chip through the second serial transmission interface.

6. The chip system according to claim 5, in, The first chip receives the first data from the first dynamic random access memory and the second data from the second chip simultaneously in partially overlapping time.

7. The chip system according to claim 1, in, The second chip further includes another second serial transmission interface, and the chip system further includes: a third chip including a third dynamic random access memory controller and a third serial transmission interface, wherein the third serial transmission interface is coupled to the other second serial transmission interface; and a third dynamic random access memory coupled to the third dynamic random access memory controller of the third chip; When the first chip wants to temporarily store a third data, the first chip transmits the third data to the second chip through the first serial transmission interface, and the second chip transmits the third data to the third chip through the other second serial transmission interface, and the third chip stores the third data in the third dynamic random access memory through the third dynamic random access memory controller.

8. The chip system according to claim 1, wherein the first chip further comprises another first serial transmission interface, and the chip system further comprises: a third chip including a third dynamic random access memory controller and a third serial transmission interface, in, The third serial transmission interface is coupled to the other first serial transmission interface; as well as a third dynamic random access memory coupled to the third dynamic random access memory controller of the third chip; When the first chip wants to temporarily store the first data, the second data and a third data, the first chip stores the first data in the first dynamic random access memory through the first dynamic random access memory controller, transmits the second data to the second chip through the first serial transmission interface, and transmits the third data to the third chip through the other first serial transmission interface; The second chip stores the second data in the second dynamic random access memory through the second dynamic random access memory controller, and the third chip stores the third data in the third dynamic random access memory through the third dynamic random access memory controller.

9. A chip comprising: A core circuit; a dynamic random access memory controller coupled to a dynamic random access memory; A serial transmission interface coupled to another chip; in, When the core circuit wants to temporarily store a first data and a second data, the core circuit stores the first data in the dynamic random access memory through the dynamic random access memory controller, and transmits the second data to the other chip through the serial transmission interface, so that the other chip can store it in another dynamic random access memory that the other chip can access.

10. The chip according to claim 9, in, When the core circuit wants to read the first data and the second data, the core circuit reads the first data from the dynamic random access memory through the dynamic random access memory controller; and the core circuit transmits a read instruction to the other chip through the serial transmission interface, wherein the read instruction includes the address of the second data, so that the other chip can read the second data from the other dynamic random access memory.