Memory control method and device

By receiving the reset signal or configuration information, determining the target channel and sending the reset signal individually, it solves the problem of inflexible channel reset in HBM, realizes independent reset of multi-channel memory, reduces power consumption and improves efficiency.

CN118625995APending Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310255188.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the reset interface of the high-bandwidth memory (HBM) uses unified control logic, which results in all channels being reset at the same time regardless of whether the channel has a reset requirement, resulting in a waste of power consumption and a lack of flexibility.

Method used

By receiving the reset signal or reset configuration information, the target reset channel is determined, and a reset signal is sent to the channel to enable it to be reset independently, thereby realizing independent channel reset in the multi-channel memory.

Benefits of technology

It improves the flexibility and efficiency of the memory, reduces the waste of power consumption, improves the test efficiency and repairability, and avoids unnecessary collective reset operations of all channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625995A
    Figure CN118625995A
Patent Text Reader

Abstract

The embodiment of the invention discloses a memory control method and device, relates to the technical field of control, and can enable channels in a multi-channel memory to be reset independently. The method comprises the following steps: firstly, receiving a reset signal; and then determining a target reset channel according to the reset signal or the reset configuration information. And then sending the reset signal to the target reset channel. Wherein the reset signal is used for indicating the channel of the memory to reset. The target reset channel is a channel needing to be reset in a plurality of channels of the memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of control technology, and in particular, to a memory control method and device. Background Art

[0002] Random access memory (RAM) has been widely used as external memory for processors due to its high process integration and fast centralized access rate. In high-performance computing such as graphics processing unit (GPU) and digital signal processing (DSP), dynamic random access memory (DRAM) such as double data rate (DDR), graphic double data rate (GDDR) and low power double data rate (LPDDR) have been widely used. In recent years, emerging DRAM-type storage applications such as high bandwidth memory (HBM) and hybrid memory cube (HMC) have also emerged. Among them, HBM can increase bandwidth by multi-channel parallel operation. When the memory performs power-on initialization and other operations, the internal logic circuit is usually enabled or reset.

[0003] In the related art, the reset interface of HBM is used as a shared interface and uses a unified control logic. After the reset signal is input into HBM, all HBM channels will be reset at the same time.

[0004] Although the unified reset control is quite simple in logic, it lacks flexibility. Regardless of whether a channel needs to be reset, it will be reset in a unified operation, which will cause a certain amount of power consumption waste.

[0005] Therefore, how to control the individual reset of channels in a multi-channel memory is one of the problems that those skilled in the art need to solve urgently. Summary of the invention

[0006] The embodiments of the present application provide a memory control method and device, which can reset the channels in a multi-channel memory individually. To achieve the above purpose, the embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, the present application implements a memory control method, the method comprising: first receiving a reset signal. Then determining a target reset channel according to the reset signal or reset configuration information. Then sending the reset signal to the target reset channel. The reset signal is used to instruct the memory channel to reset. The target reset channel is a channel that needs to be reset among multiple channels of the memory.

[0008] In the related art, after a reset signal is input into a multi-channel memory, all channels of all memories are reset. In the method provided in the embodiment of the present application, after receiving the reset signal, the memory determines the target reset channel that needs to be reset among the multiple channels of the memory according to the reset signal or reset configuration information, and then sends a reset signal to the target reset channel that needs to be reset so that the target reset channel that needs to be reset is reset, thereby resetting the channels in the multi-channel memory individually.

[0009] In a possible implementation, a reset field may be determined according to the reset signal or the reset configuration information, the reset field including a plurality of bits, each of the plurality of bits corresponding to at least one channel among the plurality of channels. A channel corresponding to a target reset bit is determined as a target reset channel, the target reset bit being a bit in the reset field whose value is a first value.

[0010] It can be seen that in the method provided in the embodiment of the present application, after receiving the reset signal, the memory will determine the reset field according to the reset signal or the reset configuration information and determine the target reset channel that needs to be reset among the multiple channels of the memory according to the values ​​of the multiple bits in the reset field, and then send a reset signal to the target reset channel that needs to be reset so that the target reset channel that needs to be reset is reset, thereby resetting the channels in the multi-channel memory individually.

[0011] In a possible implementation manner, the method may further include: determining the reset signal or reset configuration information according to target information of the channel, wherein the target information includes at least one of a voltage value, a current value, and a power consumption of the channel.

[0012] It can be seen that the method provided in the embodiment of the present application can determine the channel that needs to be reset in the multi-channel memory (such as a channel with abnormal leakage) according to the voltage value, current value and power consumption of the channel, and then record it through a reset signal or reset configuration information. After receiving the reset signal, the target reset channel that needs to be reset among the multiple channels of the memory is determined according to the reset signal or the reset configuration information, and then a reset signal is sent to the target reset channel that needs to be reset so that the target reset channel that needs to be reset is reset, thereby resetting the channels in the multi-channel memory individually.

[0013] In a possible implementation, the method may further include: receiving an enable signal, the enable signal being used to instruct a channel of the memory to be enabled; determining a target enable channel according to the enable signal or enable configuration information, the target enable channel being a channel that needs to be enabled among multiple channels of the memory; and sending the enable signal to the target enable channel.

[0014] It can be seen that in the method provided in the embodiment of the present application, after receiving the enable signal, the memory will determine the target enable channel that needs to be enabled among the multiple channels of the memory according to the enable signal or the enable configuration information, and then send an enable signal to the target enable channel that needs to be enabled to enable the target enable channel that needs to be enabled, thereby enabling the channels in the multi-channel memory individually.

[0015] In a possible implementation, an enable field can be determined according to the enable signal or the enable configuration information, the enable field including multiple bits, each of the multiple bits corresponding to at least one channel of the multiple channels; a channel corresponding to a target enable bit is determined as a target enable channel, and the target enable bit is a bit in the enable field whose value is a second numerical value.

[0016] It can be seen that in the method provided in the embodiment of the present application, after receiving the enable signal, the memory will determine the enable field according to the enable signal or the enable configuration information and determine the target enable channel that needs to be enabled among the multiple channels of the memory according to the values ​​of the multiple bits in the enable field, and then send an enable signal to the target enable channel that needs to be enabled to enable the target enable channel that needs to be enabled, thereby enabling the channels in the multi-channel memory individually.

[0017] In a second aspect, the present application provides a memory control device in an embodiment, the device comprising: a transceiver unit and a processing unit. The transceiver unit is used to receive a reset signal, the reset signal is used to instruct a channel of the memory to reset; the processing unit is used to determine a target reset channel according to the reset signal or reset configuration information, the target reset channel is a channel that needs to be reset among multiple channels of the memory; the transceiver unit is also used to send the reset signal to the target reset channel.

[0018] In a possible implementation, the processing unit is specifically used to: determine a reset field according to the reset signal or the reset configuration information, the reset field including multiple bits, each bit of the multiple bits corresponding to at least one channel of the multiple channels; determine that the channel corresponding to the target reset bit is the target reset channel, and the target reset bit is a bit in the reset field whose value is a first numerical value.

[0019] In a possible implementation manner, the processing unit is specifically configured to: determine the reset signal or reset configuration information according to target information of the channel, where the target information includes at least one of a voltage value, a current value, and power consumption of the channel.

[0020] In a possible implementation, the transceiver unit is further used to: receive an enable signal, where the enable signal is used to instruct a channel of the memory to be enabled.

[0021] In a possible implementation manner, the processing unit is further configured to: determine a target enable channel according to the enable signal or the enable configuration information, where the target enable channel is a channel that needs to be enabled among multiple channels of the memory.

[0022] In a possible implementation manner, the transceiver unit is further configured to: send the enable signal to the target enable channel.

[0023] In a possible implementation, the processing unit is specifically used to: determine an enable field according to the enable signal or the enable configuration information, the enable field including multiple bits, each bit of the multiple bits corresponding to at least one channel of the multiple channels; determine that the channel corresponding to the target enable bit is the target enable channel, and the target enable bit is a bit in the enable field whose value is a second numerical value.

[0024] In a third aspect, an embodiment of the present application further provides a memory control device, which includes: at least one processor, when the at least one processor executes program code or instructions, it implements the method described in the above first aspect or any possible implementation method thereof.

[0025] Optionally, the memory control device may further include at least one memory, and the at least one memory is used to store the program code or instruction.

[0026] In a fourth aspect, an embodiment of the present application further provides a chip, comprising: an input interface, an output interface, and at least one processor. Optionally, the chip further comprises a memory. The at least one processor is used to execute the code in the memory, and when the at least one processor executes the code, the chip implements the method described in the first aspect or any possible implementation thereof.

[0027] Optionally, the above chip may also be an integrated circuit.

[0028] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program includes methods for implementing the method described in the above-mentioned first aspect or any possible implementation thereof.

[0029] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to implement the method described in the first aspect or any possible implementation thereof.

[0030] The memory control device, computer storage medium, computer program product and chip provided in this embodiment are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the method provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A schematic diagram of the structure of a storage system provided in an embodiment of the present application;

[0033] Figure 2 A flowchart of a memory control method provided in an embodiment of the present application;

[0034] Figure 3 A schematic diagram of a reset signal transmission process provided in an embodiment of the present application;

[0035] Figure 4 A schematic diagram of another reset signal transmission process provided in an embodiment of the present application;

[0036] Figure 5 A schematic diagram of the structure of a memory control device provided in an embodiment of the present application;

[0037] Figure 6 A schematic diagram of the structure of a chip provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of another memory control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.

[0041] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0042] The terms "first" and "second" and the like in the description and drawings of the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0043] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0044] It should be noted that in the description of the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as having priority or advantage over other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0045] Random access memory (RAM) has been widely used as external memory for processors due to its high process integration and fast centralized access rate. In high-performance computing such as graphics processing unit (GPU) and digital signal processing (DSP), dynamic random access memory (DRAM) such as double data rate (DDR), graphic double data rate (GDDR) and low power double data rate (LPDDR) have been widely used. In recent years, emerging DRAM-type storage applications such as high bandwidth memory (HBM) and hybrid memory cube (HMC) have also emerged. Among them, HBM can increase bandwidth by multi-channel parallel operation. When the memory performs power-on initialization and other operations, the internal logic circuit is usually enabled or reset.

[0046] In the related art, the reset interface of HBM is used as a shared interface and uses a unified control logic. After the reset signal is input into HBM, all HBM channels will be reset at the same time.

[0047] Although the unified reset control is quite simple in logic, it lacks flexibility. Regardless of whether a channel needs to be reset, it will be reset in a unified operation, which will cause a certain amount of power consumption waste.

[0048] To this end, an embodiment of the present application provides a memory control method that can reset channels in a multi-channel memory individually. The method is applicable to a storage system, Figure 1 A possible existence form of the storage system is shown.

[0049] like Figure 1 The storage system shown includes a memory controller 10 and a memory 20 .

[0050] The memory controller 10 may send a reset, enable or other signal to the memory 20 .

[0051] The memory 20 can reset, enable or perform other operations on the channels in the memory according to reset, enable or other signals.

[0052] The memory 20 may be a high bandwidth memory (HBM) with multiple channels, a graphic processing unit (GPU), a digital signal processing (DSP), a double data rate random access memory (DDR), a graphic double data rate random access memory (GDDR), a low power double data rate random access memory (LPDDR) or other types of memory.

[0053] The memory 20 may include one or more DRAM Dies (chips), each Die may be divided into a plurality of parts (die Parts), and each die Part may serve as a channel.

[0054] In a possible implementation, the memory 20 may include a register (eg, a mode register) and / or a burn-in fuse.

[0055] The register and the programming fuse can configure the reset configuration information. The reset configuration information is used to indicate the target reset channel, and the target reset channel is the channel that needs to be reset among the multiple channels of the above memory.

[0056] The register and the programming fuse can configure the enabling configuration information, wherein the enabling configuration information is used to indicate the target enabling channel, and the target enabling channel is the channel that needs to be enabled among the multiple channels of the above-mentioned memory.

[0057] Figure 2 A memory control method provided by an embodiment of the present application is shown, the method comprising:

[0058] S201. Receive a reset signal.

[0059] The reset signal is used to instruct the channel of the memory to reset.

[0060] Exemplarily, the memory may receive a reset signal RESET_n input by the memory controller through the peripheral interface.

[0061] In a possible implementation, the reset signal may carry a reset field, wherein the reset field includes a plurality of bits, and each of the plurality of bits corresponds to at least one channel among the plurality of channels.

[0062] For example, the memory may include 18 channels (channel 0 to channel 17), the reset field may also include 18 bits, and the 18 bits of the reset field may correspond one-to-one to the 18 channels of the memory. That is, channel 0 of the memory corresponds to the first bit of the reset field, channel 1 of the memory corresponds to the second bit of the reset field, channel 2 of the memory corresponds to the third bit of the reset field, ..., channel 16 of the memory corresponds to the 17th bit of the reset field, and channel 17 of the memory corresponds to the 18th bit of the reset field.

[0063] For another example, the memory may include 18 channels (channel 0 to channel 17), the reset field includes 6 bits, and each bit of the reset field may correspond to 3 channels of the memory. That is, channels 0 to 2 of the memory correspond to the first bit of the reset field, channels 3 to 5 of the memory correspond to the second bit of the reset field, channels 6 to 8 of the memory correspond to the third bit of the reset field, channels 9 to 11 of the memory correspond to the fourth bit of the reset field, channels 12 to 14 of the memory correspond to the fifth bit of the reset field, and channels 15 to 17 of the memory correspond to the sixth bit of the reset field.

[0064] S202: Determine a target reset channel according to the reset signal or reset configuration information.

[0065] The target reset channel is a channel that needs to be reset among the multiple channels of the memory.

[0066] In a possible implementation, the memory may first determine the reset field according to the reset signal, and then determine the channel corresponding to the target reset bit as the target reset channel according to the target reset bit in the reset field. The reset field includes a plurality of bits, each of the plurality of bits corresponds to at least one channel in the plurality of channels, and the target reset bit is a bit in the reset field whose value is the first value.

[0067] For example, the memory includes 18 channels (channel 0 to channel 17), the reset field carried by the reset signal includes 18 bits, and the 18 bits of the reset field can correspond one-to-one to the 18 channels of the memory, and the first value is 1. After receiving the reset signal, the memory can determine the channel corresponding to the bit with a bit value of 1 in the reset field as the target reset channel.

[0068] For example, the reset field carried by the reset signal carries 18 bit values ​​of 1000000000000001000. It can be seen that the first bit and the 15th bit in the reset field are 1, so it can be determined that among the 18 channels of the memory, channel 0 corresponding to the first bit in the reset field and channel 15 corresponding to the 15th bit in the reset field are the target reset channels that need to be reset.

[0069] As another example, the memory includes 18 channels (channel 0 to channel 17), the reset field includes 6 bits, each bit of the reset field can correspond to 3 channels of the memory, and the first value is 1. After receiving the reset signal, the memory can determine the 3 channels corresponding to the bits with a bit value of 1 in the reset field as the target reset channels.

[0070] For example, the reset field carried by the reset signal carries 6 bits with values ​​of 100000. It can be seen that the first bit in the reset field is 1, so it can be determined that among the 18 channels of the memory, channel 0, channel 1, and channel 2 corresponding to the first bit in the reset field are the target reset channels that need to be reset.

[0071] In a possible implementation, the memory may first determine the reset field through the reset configuration information stored in the memory (such as a register or a burn fuse in the memory), and then determine the channel corresponding to the target reset bit as the target reset channel according to the target reset bit in the reset field. The reset field includes a plurality of bits, each of the plurality of bits corresponds to at least one channel in the plurality of channels, and the target reset bit is a bit in the reset field whose value is a first value.

[0072] For example, as shown in Table 1, the memory includes 18 channels (channel 0 to channel 17), the reset field configured by the reset configuration information stored in the memory includes 18 bits, and the 18 bits of the reset field can correspond to the 18 channels of the memory one by one, and the first value is 1. After receiving the reset signal, the global module of the memory can determine the channel corresponding to the bit with a bit value of 1 in the reset field as the target reset channel.

[0073] Table 1

[0074] Bit Value Corresponding channel 1 1 Channel 0 2 0 Channel 1 3 0 Channel 2 4 0 Channel 3 5 0 Channel 4 6 0 Channel 5 7 0 Channel 6 8 0 Channel 7 9 0 Channel 8 10 0 Channel 9 11 0 Channel 10 12 0 Channel 11 13 0 Channel 12 14 0 Channel 13 15 0 Channel 14 16 1 Channel 15 17 0 Channel 16 18 0 Channel 17

[0075] For example, the register or programming fuse in the memory can store reset configuration information through two groups of 9 bits as reset fields. If the values ​​of the first group of 9 bits are 100000000, and the values ​​of the second group of 9 bits are 000001000, it can be seen that the values ​​of the first bit in the first group of 9 bits and the sixth bit in the second group of 9 bits are 1, so it can be determined that among the 18 channels of the memory, channel 0 corresponding to the first bit in the first group of 9 bits and channel 15 corresponding to the sixth bit in the second group of 9 bits are the target reset channels that need to be reset.

[0076] As another example, as shown in Table 2, the memory includes 18 channels (channel 0 to channel 17), the reset field includes 6 bits, each bit of the reset field can correspond to 3 channels of the memory, and the first value is 1. After receiving the reset signal, the memory can determine the 3 channels corresponding to the bits with a bit value of 1 in the reset field as the target reset channels.

[0077] Table 2

[0078] Bit Value Corresponding channel 1 1 Channel 0, Channel 1, and Channel 2 2 0 Channel 3, Channel 4 and Channel 5 3 0 Channel 6, Channel 7 and Channel 8 4 0 Channel 9, Channel 10 and Channel 11 5 0 Channel 12, Channel 13, and Channel 14 6 0 Channel 15, Channel 16 and Channel 17

[0079] For example, the register or programming fuse in the memory can store reset configuration information through 6 bits as the reset field. If the values ​​of the 6 bits are 100000, it can be seen that the value of the first bit in the 6 bits is 1. Therefore, it can be determined that among the 18 channels of the memory, channel 0, channel 1, and channel 2 corresponding to the first bit in the reset field are the target reset channels that need to be reset.

[0080] S203: Send the reset signal to the target reset channel.

[0081] Exemplarily, after determining the target reset channel, the memory may transmit the reset signal to the target reset channel through an independent signal path corresponding to the target reset channel.

[0082] like Figure 3 As shown, if channel 0 and channel 15 in the memory are the target reset channels that need to be reset, then after receiving the reset signal, the memory can transmit the reset signal to channel 0 through the independent signal path RESET_CH0 corresponding to channel 0 to reset channel 0, and transmit the reset signal to channel 15 through the independent signal path RESET_CH15 corresponding to channel 15 to reset channel 15.

[0083] In a possible implementation, the memory may include multiple signal paths, and each signal path may correspond to one or more channels.

[0084] like Figure 4 As shown, the memory may include 6 signal paths (RESET_GRP0, RESET_GRP1, RESET_GRP2, RESET_GRP3, RESET_GRP4, RESET_GRP5). Among them, the signal path RESET_GRP0 corresponds to channel 0, channel 1 and channel 2, the signal path RESET_GRP1 corresponds to channel 3, channel 4 and channel 5, the signal path RESET_GRP2 corresponds to channel 6, channel 7 and channel 8, the signal path RESET_GRP3 corresponds to channel 9, channel 10 and channel 11, the signal path RESET_GRP4 corresponds to channel 12, channel 13 and channel 14, and the signal path RESET_GRP5 corresponds to channel 15, channel 16 and channel 17.

[0085] If channel 0, channel 1 and channel 2 in the memory are target reset channels that need to be reset, the memory can transmit the reset signal to channel 0, channel 1 and channel 2 through the independent signal path RESET_GRP0 corresponding to channel 0, channel 1 and channel 2 after receiving the reset signal to reset channel 0, channel 1 and channel 2.

[0086] In the related art, after a reset signal is input into a multi-channel memory, all channels of all memories are reset.

[0087] In the method provided in the embodiment of the present application, after receiving the reset signal, the memory determines the target reset channel that needs to be reset among the multiple channels of the memory according to the reset signal or the reset configuration information, and then sends a reset signal to the target reset channel that needs to be reset so that the target reset channel that needs to be reset is reset, thereby resetting the channels in the multi-channel memory individually.

[0088] In addition, flexible control of the enable and reset operations of a single channel is conducive to improving test efficiency, saving test time, and reducing test costs. It can also avoid unnecessary collective reset operations of all channels and reduce the power consumption of the memory.

[0089] Optionally, the memory control method provided in the embodiment of the present application may further include:

[0090] S203: Determine the reset signal or reset configuration information according to the target information of the channel.

[0091] The target information includes at least one of the voltage value, current value and power consumption of the channel.

[0092] It is understandable that the stored channel may have faults due to processing reasons, causing abnormal leakage and other problems, making the channel inaccessible. Therefore, it is possible to detect whether the channel is abnormal through parameters such as the channel voltage value, current value and power consumption, and determine the reset signal or reset configuration information to reset the channel in the case of channel abnormality (such as the channel voltage value is greater than the preset voltage threshold, the channel current value is greater than the preset current threshold, and the channel power consumption is greater than the preset power consumption threshold) to achieve independent reset shielding, reduce power consumption, and not affect the normal use of other channels, thereby improving the repairability of the circuit.

[0093] In addition, reset signals or reset configuration information can also be generated according to user needs. For example, when the user determines not to access a certain channel, the reset signal or reset configuration information can be used to reset and shield it independently, thereby reducing power consumption without affecting the normal use of other channels and improving the repairability of the circuit.

[0094] S204: Receive an enable signal.

[0095] The enable signal is used to instruct the channel of the memory to be enabled.

[0096] Exemplarily, the memory may receive an enable signal input by the memory controller through the peripheral interface.

[0097] In a possible implementation, the enable signal may carry an enable field, wherein the enable field includes a plurality of bits, and each bit of the plurality of bits corresponds to at least one channel of the plurality of channels.

[0098] For example, the memory may include 18 channels (channel 0 to channel 17), the enable field may also include 18 bits, and the 18 bits of the enable field may correspond one-to-one to the 18 channels of the memory. That is, channel 0 of the memory corresponds to the first bit of the enable field, channel 1 of the memory corresponds to the second bit of the enable field, channel 2 of the memory corresponds to the third bit of the enable field, ..., channel 16 of the memory corresponds to the 17th bit of the enable field, and channel 17 of the memory corresponds to the 18th bit of the enable field.

[0099] For another example, the memory may include 18 channels (channel 0 to channel 17), the enable field includes 6 bits, and each bit of the enable field may correspond to 3 channels of the memory. That is, channels 0 to 2 of the memory correspond to the first bit of the enable field, channels 3 to 5 of the memory correspond to the second bit of the enable field, channels 6 to 8 of the memory correspond to the third bit of the enable field, channels 9 to 11 of the memory correspond to the fourth bit of the enable field, channels 12 to 14 of the memory correspond to the fifth bit of the enable field, and channels 15 to 17 of the memory correspond to the sixth bit of the enable field.

[0100] S205: Determine a target enabling channel according to the enabling signal or enabling configuration information.

[0101] The target enabled channel is a channel that needs to be enabled among the multiple channels of the memory.

[0102] In a possible implementation, the memory may first determine the enable field according to the enable signal, and then determine the channel corresponding to the target enable bit as the target enable channel according to the target enable bit in the enable field. The enable field includes a plurality of bits, each of the plurality of bits corresponds to at least one channel in the plurality of channels, and the target enable bit is a bit in the enable field whose value is a first value.

[0103] For example, the memory includes 18 channels (channel 0 to channel 17), the enable field carried by the enable signal includes 18 bits, the 18 bits of the enable field can correspond one-to-one to the 18 channels of the memory, and the second value is 0. After receiving the enable signal, the memory can determine the channel corresponding to the bit with a bit value of 0 in the enable field as the target enable channel.

[0104] As another example, the memory includes 18 channels (channel 0 to channel 17), the enable field includes 6 bits, each bit of the enable field can correspond to 3 channels of the memory, and the second value is 0. After receiving the enable signal, the memory can determine the 3 channels corresponding to the bits with a bit value of 0 in the enable field as the target enable channels.

[0105] In a possible implementation, the memory may first determine the enable field through the enable configuration information stored in the memory (such as a register or a burn fuse in the memory), and then determine the channel corresponding to the target enable bit as the target enable channel according to the target enable bit in the enable field. The enable field includes a plurality of bits, each of the plurality of bits corresponds to at least one channel in the plurality of channels, and the target enable bit is a bit in the enable field whose value is a first value.

[0106] For example, the memory includes 18 channels (channel 0 to channel 17), the enable field configured by the enable configuration information stored in the memory includes 18 bits, the 18 bits of the enable field may correspond one-to-one to the 18 channels of the memory, and the second value is 0. After receiving the enable signal, the memory may determine the channel corresponding to the bit with a bit value of 0 in the enable field as the target enable channel.

[0107] As another example, as shown in Table 2, the memory includes 18 channels (channel 0 to channel 17), the enable field includes 6 bits, each bit of the enable field can correspond to 3 channels of the memory, and the second value is 0. After receiving the enable signal, the memory can determine the 3 channels corresponding to the bits with a bit value of 0 in the enable field as the target enable channels.

[0108] It can be seen that in the method provided in the embodiment of the present application, after receiving the enable signal, the memory will determine the enable field according to the enable signal or the enable configuration information and determine the target enable channel that needs to be enabled among the multiple channels of the memory according to the values ​​of the multiple bits in the enable field, and then send an enable signal to the target enable channel that needs to be enabled to enable the target enable channel that needs to be enabled, thereby enabling the channels in the multi-channel memory individually.

[0109] S206: Send the enable signal to the target enable channel.

[0110] Exemplarily, after determining the target enable channel, the memory may transmit the enable signal to the target enable channel through an independent signal path corresponding to the target enable channel.

[0111] It can be seen that in the method provided in the embodiment of the present application, after receiving the enable signal, the memory will determine the target enable channel that needs to be enabled among the multiple channels of the memory according to the enable signal or the enable configuration information, and then send an enable signal to the target enable channel that needs to be enabled to enable the target enable channel that needs to be enabled, thereby enabling the channels in the multi-channel memory individually.

[0112] The following will be combined Figure 5A memory control device for executing the memory control method is introduced.

[0113] It is understandable that, in order to realize the above functions, the memory control device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the embodiments of the present application.

[0114] The embodiment of the present application can divide the functional modules of the memory control device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0115] In the case of dividing each functional module into corresponding functional modules, Figure 5 A possible schematic diagram of the composition of the memory control device involved in the above embodiment is shown. Figure 5 As shown, the memory control device 500 may include: a transceiver unit 501 and a processing unit 502 .

[0116] The transceiver unit 501 is used to receive a reset signal, and the reset signal is used to instruct the channel of the memory to reset.

[0117] The processing unit 502 is used to determine a target reset channel according to the reset signal or the reset configuration information. The target reset channel is a channel that needs to be reset among the multiple channels of the memory.

[0118] The transceiver unit 501 is further configured to send the reset signal to the target reset channel.

[0119] In a possible implementation, the processing unit 502 is specifically used to: determine a reset field according to the reset signal or the reset configuration information, the reset field including multiple bits, each of the multiple bits corresponding to at least one channel among the multiple channels; determine that the channel corresponding to the target reset bit is the target reset channel, the target reset bit is the bit in the reset field whose value is the first value.

[0120] In a possible implementation, the processing unit 502 is specifically configured to determine the reset signal or reset configuration information according to target information of the channel, where the target information includes at least one of a voltage value, a current value, and a power consumption of the channel.

[0121] In a possible implementation, the transceiver unit 501 is further used to receive an enable signal, where the enable signal is used to instruct a channel of the memory to be enabled.

[0122] In a possible implementation, the processing unit 502 is further configured to: determine a target enabled channel according to the enable signal or the enable configuration information, where the target enabled channel is a channel that needs to be enabled among the multiple channels of the memory.

[0123] In a possible implementation, the transceiver unit 501 is further configured to: send the enable signal to the target enable channel.

[0124] In a possible implementation, the processing unit 502 is specifically used to: determine an enable field according to the enable signal or the enable configuration information, the enable field including multiple bits, each of the multiple bits corresponding to at least one channel among the multiple channels; determine the channel corresponding to the target enable bit as the target enable channel, the target enable bit being the bit in the enable field whose value is the second numerical value.

[0125] The embodiment of the present application also provides a chip. Figure 6 Schematic diagram of the structure of a chip 600 is shown. The chip 600 includes one or more processors 601 and an interface circuit 602. Optionally, the chip 600 may also include a bus 603.

[0126] The processor 601 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above memory control method may be completed by a hardware integrated logic circuit in the processor 601 or by software instructions.

[0127] Optionally, the processor 601 may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods and steps disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0128] The interface circuit 602 can be used to send or receive data, instructions or information. The processor 601 can use the data, instructions or other information received by the interface circuit 602 to process, and can send the processing completion information through the interface circuit 602.

[0129] Optionally, the chip also includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0130] Optionally, the memory stores executable software modules or data structures, and the processor can perform corresponding operations by calling operation instructions stored in the memory (the operation instructions can be stored in the operating system).

[0131] Optionally, the chip can be used in the memory control device involved in the embodiment of the present application. Optionally, the interface circuit 602 can be used to output the execution result of the processor 601. The memory control method provided by one or more embodiments of the present application can refer to the above embodiments, which will not be repeated here.

[0132] It should be noted that the functions corresponding to the processor 601 and the interface circuit 602 can be implemented through hardware design, software design, or a combination of hardware and software, and there is no limitation here.

[0133] Figure 7 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 700 may be a processor or a chip or functional module in a processor. Figure 7 As shown, the electronic device 700 includes a processor 701 , a transceiver 702 and a communication circuit 703 .

[0134] Among them, the processor 701 is used to execute any step in the memory control method provided in the embodiment of the present application, and in the process of executing any step in the memory control method provided in the embodiment of the present application, the transceiver 702 and the communication line 703 can be selectively called to complete the corresponding operation.

[0135] Furthermore, the electronic device 700 may further include a memory 704 . The processor 701 , the memory 704 and the transceiver 702 may be connected via a communication line 703 .

[0136] The processor 701 is a processor, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 701 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.

[0137] The transceiver 702 is used to communicate with other devices or other communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The transceiver 702 can be a module, a circuit, a transceiver or any device capable of achieving communication.

[0138] The transceiver 702 is mainly used for sending and receiving commands and information, etc., and may include a transmitter and a receiver, which respectively send and receive commands and information, etc.; operations other than sending and receiving commands and information, etc. are implemented by the processor.

[0139] The communication line 703 is used to transmit information between the components included in the electronic device 700.

[0140] In one design, the processor may be considered as the logic circuit and the transceiver may be considered as the interface circuit.

[0141] The memory 704 is used to store instructions, where the instructions may be computer programs.

[0142] The memory 704 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLD RAM), and direct rambus RAM (DRRAM). The memory 704 may also be a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc. It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0143] It should be noted that the memory 704 can exist independently of the processor 701, or can be integrated with the processor 701. The memory 704 can be used to store instructions or program codes or some data, etc. The memory 704 can be located inside the electronic device 700, or outside the electronic device 700, without limitation. The processor 701 is used to execute the instructions stored in the memory 704 to implement the method provided in the above embodiment of the present application.

[0144] In one example, the processor 701 may include one or more processors, such as Figure 7 Processor 0 and processor 1 in.

[0145] As an optional implementation, the electronic device 700 includes multiple processors, for example, Figure 7 In addition to the processor 701, a processor 707 may also be included.

[0146] As an optional implementation, the electronic device 700 further includes an output device 705 and an input device 706. Exemplarily, the input device 706 is a keyboard, a mouse, a microphone, a joystick, and the like, and the output device 705 is a display screen, a speaker, and the like.

[0147] It should be noted that the electronic device 700 may be a chip system or a Figure 7 Devices with similar structures in the chip system. Among them, the chip system can be composed of chips, or it can include chips and other discrete devices. The actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of this application is only an example, and other names can also be used in the specific implementation without limitation. In addition, Figure 7 The components shown in the figure do not constitute a limitation on the electronic device 700. Figure 7 In addition to the components shown, the electronic device 700 may include Figure 7 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0148] The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (Si Ge), gallium arsenide (GaAs), etc.

[0149] Figure 8This is a schematic diagram of the structure of a memory control device provided in an embodiment of the present application. The memory control device can be applied to the scenario shown in the above method embodiment. For the convenience of explanation, Figure 8 Only the main components of the memory control device are shown, including a processor 801, a memory 802, a control circuit 803, and an input-output device 804. The processor 801 is mainly used to process the communication protocol and communication data, execute the software program, and process the data of the software program. The memory 802 is mainly used to store the software program and data. The control circuit 803 is mainly used for power supply and transmission of various electrical signals. The input-output device 804 is mainly used to receive data input by the user and output data to the user.

[0150] When the memory control device is a processor 801, the control circuit 803 can be a mainboard, the memory 802 includes a hard disk, RAM, ROM and other media with storage functions, the processor 801 can include a baseband processor 801 and a central processing unit, the baseband processor is mainly used to process the communication protocol and communication data, the central processing unit is mainly used to control the entire memory control device, execute software programs, and process the data of the software programs, and the input and output device 804 includes a display screen, a keyboard and a mouse, etc.; the control circuit 803 can further include or connect a transceiver circuit or a transceiver, such as: a network cable interface, etc., for sending or receiving data or signals, such as data transmission and communication with other devices. Further, it can also include an antenna for sending and receiving wireless signals, and for data / signal transmission with other devices.

[0151] An embodiment of the present application also provides a memory control device, which includes: at least one processor, when the at least one processor executes program code or instructions, the above-mentioned related method steps are implemented to implement the memory control method in the above-mentioned embodiment.

[0152] Optionally, the device may further include at least one memory, and the at least one memory is used to store the program code or instruction.

[0153] An embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a memory control device, the memory control device executes the above-mentioned related method steps to implement the memory control method in the above-mentioned embodiment.

[0154] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the memory control method in the above-mentioned embodiment.

[0155] The embodiment of the present application also provides a memory control device, which can be a chip, an integrated circuit, a component or a module. Specifically, the device may include a connected processor and a memory for storing instructions, or the device includes at least one processor for obtaining instructions from an external memory. When the device is running, the processor can execute instructions so that the chip executes the memory control method in the above-mentioned method embodiments.

[0156] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0157] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0159] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0160] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0161] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0162] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0163] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A memory control method, characterized in that: The method comprises: Receiving a reset signal, wherein the reset signal is used to instruct a channel of the memory to reset; Determine a target reset channel according to the reset signal or the reset configuration information, wherein the target reset channel is a channel that needs to be reset among multiple channels of the memory; The reset signal is sent to the target reset channel.

2. The method according to claim 1, characterized in that The determining a target reset channel according to the reset signal or the reset configuration information includes: Determine a reset field according to the reset signal or the reset configuration information, wherein the reset field includes a plurality of bits, and each bit of the plurality of bits corresponds to at least one channel of the plurality of channels; Determine that a channel corresponding to a target reset bit is a target reset channel, wherein the target reset bit is a bit in the reset field whose value is a first value.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: The reset signal or reset configuration information is determined according to target information of the channel, wherein the target information includes at least one of a voltage value, a current value, and power consumption of the channel.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Receiving an enable signal, wherein the enable signal is used to instruct a channel of the memory to be enabled; Determine a target enable channel according to the enable signal or the enable configuration information, wherein the target enable channel is a channel that needs to be enabled among multiple channels of the memory; The enable signal is sent to the target enable channel.

5. The method according to claim 4, characterized in that The determining a target enabling channel according to the enabling signal or the enabling configuration information includes: Determine an enable field according to the enable signal or the enable configuration information, wherein the enable field includes a plurality of bits, and each bit of the plurality of bits corresponds to at least one channel of the plurality of channels; Determine that a channel corresponding to a target enable bit is a target enable channel, wherein the target enable bit is a bit in the enable field whose value is a second numerical value.

6. A memory control device, characterized in that: The device comprises: a transceiver unit and a processing unit; The transceiver unit is used to receive a reset signal, where the reset signal is used to instruct the channel of the memory to reset; The processing unit is used to determine a target reset channel according to the reset signal or the reset configuration information, wherein the target reset channel is a channel that needs to be reset among the multiple channels of the memory; The transceiver unit is further configured to send the reset signal to the target reset channel.

7. The device according to claim 6, characterized in that The processing unit is specifically used for: Determine a reset field according to the reset signal or the reset configuration information, wherein the reset field includes a plurality of bits, and each bit of the plurality of bits corresponds to at least one channel of the plurality of channels; Determine that a channel corresponding to a target reset bit is a target reset channel, wherein the target reset bit is a bit in the reset field whose value is a first value.

8. The device according to claim 6 or 7, characterized in that The processing unit is specifically used for: The reset signal or reset configuration information is determined according to target information of the channel, wherein the target information includes at least one of a voltage value, a current value, and power consumption of the channel.

9. The device according to any one of claims 6 to 8, characterized in that The transceiver unit is also used for: Receiving an enable signal, wherein the enable signal is used to instruct a channel of the memory to be enabled; The processing unit is further used to determine a target enabling channel according to the enabling signal or the enabling configuration information, wherein the target enabling channel is a channel that needs to be enabled among the multiple channels of the memory; The transceiver unit is further configured to send the enable signal to the target enable channel.

10. The device according to claim 9, characterized in that The processing unit is specifically used for: Determine an enable field according to the enable signal or the enable configuration information, wherein the enable field includes a plurality of bits, and each bit of the plurality of bits corresponds to at least one channel of the plurality of channels; Determine that a channel corresponding to a target enable bit is a target enable channel, wherein the target enable bit is a bit in the enable field whose value is a second numerical value.

11. A memory control device, comprising at least one processor and a memory, characterized in that: The at least one processor executes a program or instruction stored in the memory, so that the memory control device implements the method according to any one of claims 1 to 5.

12. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 5.

13. A computer program product, comprising instructions, characterized in that: When the instructions are executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Memory system and method using stacked memory device dice

    CN104025194A

  • Electronic system, STACKED MEMORY DEVICE, AND METHOD OF OPERATING THE SAME

    CN113284531A

  • Stacked memory and method for resetting stacked memory memory die

    CN114446335A