A low power consumption non-volatile storage control method
By dividing the non-volatile memory into regional sleep modules and storage arrays, and using the macro sleep chip select signal and the enable chip select signal to perform regional control, the problem of the inability to flexibly manage the power consumption of non-volatile memory in the existing technology is solved. It achieves the effect of flexible power consumption management and data storage of memory.
Patent Information
- Application Number
- CN202410921769.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In the existing technology, the power consumption of non-volatile memory is controlled for the entire memory, and power consumption cannot be reduced flexibly, and the power consumption of each area cannot be adjusted according to specific needs.
The non-volatile memory is divided into regional sleep modules, non-volatile storage arrays and regional access modules. The macro sleep chip select signal and the macro enable chip select signal are used for regional control to adjust the working mode and operation mode of each non-volatile memory macro. Data transmission structure to achieve flexible power consumption management of storage arrays.
Through regional control, unused storage capacity can be put into sleep mode, significantly reducing power consumption while ensuring data storage and read and write access capabilities.
Smart Images

Figure CN118466732B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of memory storage control, and in particular relates to a low-power non-volatile storage control method. Background Art
[0002] Non-volatile memory (NVM) is an emerging memory that does not lose stored data after the power is turned off. The main feature of this memory is the persistence of its data. Even if the computer is turned off or there is an unexpected power outage, the stored data can remain unchanged. This feature makes non-volatile memory widely used in the field of data storage, especially in situations where continuous and stable data storage is required.
[0003] Non-volatile memory has normal working mode, low power mode and sleep mode to adapt to the power consumption requirements of different scenarios. In normal working mode, non-volatile memory is in normal working state and can respond to read and write requests at any time; the power consumption of normal working mode is relatively high because all the circuits inside the memory are active; the read and write speed of normal working mode is usually the fastest because the system does not limit or reduce performance to save energy. Low power mode is an energy-saving mode that aims to reduce the power consumption of non-volatile memory while maintaining the ability to respond to read and write requests; in low power mode, the memory increases access latency; low power mode is suitable for scenarios where performance requirements are not particularly high, but long-term operation or energy supply is limited. Sleep mode is a more energy-saving mode, in which non-volatile memory consumes almost no power; in sleep mode, most of the circuits and components of the memory are turned off or enter a low-power state, and only the necessary parts remain turned on to receive wake-up signals; when the system needs to access the memory, it needs to wake up the memory from sleep mode first, which takes a certain amount of time and energy consumption; sleep mode is suitable for scenarios where the memory does not need to be accessed for a long time, such as mobile devices in standby mode or embedded systems where the memory is idle.
[0004] In order to effectively manage the power consumption of non-volatile memory, the system usually dynamically switches different working modes according to application requirements and energy supply conditions. For example, when the system is idle or reading and writing a small amount of data, the non-volatile memory may be switched to low-power mode or sleep mode to save energy; when the system needs to read and write a large amount of data, it will be switched back to normal mode. This kind of non-volatile memory mode switching is for the entire memory, and the power consumption control is also for the entire memory, which cannot flexibly control the power consumption reduction of the non-volatile memory. Summary of the invention
[0005] The present invention aims to provide a low-power non-volatile storage control method to solve the technical problem that the power consumption of non-volatile memory in the prior art is controlled for the entire memory and the power consumption of the non-volatile memory cannot be flexibly controlled to be reduced.
[0006] To solve the above technical problems, the low-power non-volatile storage control method of the present invention comprises the following steps:
[0007] Step S1: Divide the non-volatile memory into a regional sleep module, a non-volatile storage array, a regional access module and other functional modules.
[0008] Step S2: The external application inputs the macro sleep chip select signal and the macro enable chip select signal to the regional sleep module of the non-volatile memory according to the usage capacity requirement, and inputs the macro sleep chip select signal, the macro enable chip select signal and the control and data signals to the regional path module of the non-volatile memory according to the read and write operations.
[0009] Step S3: the regional sleep module of the non-volatile memory calculates the internal sleep control signal according to the macro sleep chip select signal and the macro enable chip select signal through the internal sleep control signal calculation method.
[0010] Step S4: the internal sleep control signal is transmitted to each non-volatile storage macro of the non-volatile storage array to control whether each non-volatile storage macro enters the sleep mode.
[0011] Step S5: The regional access module changes the transmission topology of the control and data signals according to the macro sleep chip select signal and the macro enable chip select signal, adjusts the address domain and bit width domain accessible to the non-volatile memory array, and ensures the normal use of the non-volatile memory array when the workable area is adjusted arbitrarily. According to the input macro sleep chip select signal and macro enable chip select signal, the transmission structure of the control and data signals is changed, and the internal control and data signals are generated to realize the normal read and write access to the non-volatile memory array.
[0012] Furthermore, the regional sleep module is externally connected to a macro sleep chip select signal and a macro enable chip select signal; the macro sleep chip select signal and the macro enable chip select signal are control signals for external application input memory; the macro sleep chip select signal controls a group of non-volatile storage macros, and the macro enable chip select signal controls the non-volatile storage macros in the group.
[0013] Furthermore, the nonvolatile storage array provides nonvolatile storage and is composed of multiple groups of nonvolatile storage macros, where one group of nonvolatile storage macros includes multiple intra-group nonvolatile storage macros; different groups of nonvolatile storage macros correspond to different address domains, and different intra-group nonvolatile storage macros correspond to different bit width domains.
[0014] Further, step S3 includes the following steps:
[0015] The regional sleep module calculates the internal sleep control signal according to the macro sleep chip select signal and the macro enable chip select signal, which is used to control the working mode of each non-volatile memory macro in the non-volatile memory array. The internal sleep control signal is calculated as follows:
[0016]
[0017] in, Indicates the internal sleep control signal. is the signal width of the macro sleep chip select signal, is the bit width of the macro enable chip select signal. The internal sleep control signal is high level, indicating that the corresponding non-volatile storage macro enters the normal working mode. The internal sleep control signal is low level, indicating that the corresponding non-volatile storage macro enters the sleep mode. Indicates the macro sleep chip select signal; Indicates the macro enable chip select signal; Represents a bitwise AND operation.
[0018] Compared with the prior art, the present invention has the following beneficial technical effects: the present invention saves power consumption by using regional control to put unused capacity into hibernation according to the used capacity. The non-volatile storage space is divided into address domains and bit width domains, the address domain controls the storage array row storage macro (inter-group storage macro); the bit width domain controls the storage array column storage macro (intra-group storage macro); and row and column (inter-group and intra-group) cross control is adopted to control each storage macro in the storage array. By controlling whether the address domain and the bit width domain are dormant, corresponding to a single non-volatile storage macro, the working capacity of the memory is determined according to the usage requirements, and the remaining unused capacity enters hibernation, saving unnecessary storage power consumption. When the non-volatile storage macro is in hibernation mode, the existing data is saved, the power consumption is greatly reduced, and no operation can be performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0020] Figure 1 It is a schematic diagram of the partition structure of the low-power non-volatile storage control memory of the present invention.
[0021] Figure 2 It is a schematic diagram of calculating the internal sleep control signal of the present invention.
[0022] Explanation of the marks in the figure: 1-Macro enable chip select signal, high level indicates that the enable is valid, and low level indicates that the enable is invalid; 2-Macro sleep chip select signal, high level indicates not in sleep, and low level indicates in sleep; 3-Internal sleep control signal, high level indicates normal operation without sleep, and low level indicates in sleep / not enabled; 4-Control and data signal; 5-Internal control and data signal. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The low-power non-volatile storage control method proposed by the present invention comprises the following steps: Figure 1 To explain:
[0025] Step S1: Divide the non-volatile memory into a regional sleep module, a non-volatile storage array, a regional access module and other functional modules; the other functional modules include a read-write control module and the like.
[0026] The regional sleep module is externally connected to the macro sleep chip select signal 2 and the macro enable chip select signal 1; the macro sleep chip select signal 2 and the macro enable chip select signal 1 are control signals for the external application input memory. The macro sleep chip select signal 2 controls a group of non-volatile storage macros, and the macro enable chip select signal 1 controls the non-volatile storage macros in the group.
[0027] The regional access module is externally connected to a macro sleep chip select signal 2, a macro enable chip select signal 1 and a control and data signal 4.
[0028] The non-volatile storage array provides non-volatile storage and is composed of multiple groups of non-volatile storage macros. One group of non-volatile storage macros contains multiple intra-group non-volatile storage macros. Different groups of non-volatile storage macros correspond to different address domains, and different intra-group non-volatile storage macros correspond to different bit width domains. The non-volatile storage array has two modes: normal working mode and sleep mode. The corresponding non-volatile storage macro is controlled to enter sleep mode through the internal sleep control signal 3. When the internal sleep control signal 3 is high, the corresponding non-volatile storage macro does not sleep and enters the normal working mode. When the internal sleep control signal 3 is low, the corresponding non-volatile storage macro enters the sleep mode or the disabled mode.
[0029] The regional access module adjusts the data path and control path according to the address domain and bit width domain of the non-volatile storage macro that enters the sleep mode in the non-volatile storage array. The normal use capacity of the non-volatile storage array is adjusted by controlling the available address domain and the available data bit width domain. If the non-volatile storage macro address domain is , the bit width is , and its control method is as follows:
[0030] The macro sleep chip select signal 2 performs address domain adjustment. The signal width of the macro sleep chip select signal 2 is , indicating that the non-volatile storage macro has When the macro sleep chip select signal 2 is high, the corresponding address domain is in a non-sleep state and can be accessed; when the macro sleep chip select signal 2 is low, the corresponding address domain is in a sleep state and cannot be accessed; the non-volatile storage array address domain is as follows:
[0031]
[0032] The macro enables the chip select signal 1 to adjust the bit width domain. The bit width of the macro enables the chip select signal 1 is , indicating that a group has The non-volatile storage macro in each group controls the data output bit width of the non-volatile storage macro in the group according to the macro enable chip select signal 1. When the macro enable chip select signal 1 is high, it means that the corresponding non-volatile storage macro enable in the group is valid and works normally; when the macro enable chip select signal 1 is high, the corresponding non-volatile storage macro enable in the group is invalid and unavailable.
[0033] The bit width of the non-volatile storage array is as follows:
[0034]
[0035] Step S2: The external application inputs the macro sleep chip select signal 2 and the macro enable chip select signal 1 to the regional sleep module of the non-volatile memory according to the usage capacity requirement, and inputs the macro sleep chip select signal 2, the macro enable chip select signal 1 and the control and data signal 4 to the regional path module of the non-volatile memory according to the read and write operation.
[0036] Step S3: the regional sleep module of the non-volatile memory calculates the internal sleep control signal 3 according to the macro sleep chip select signal 2 and the macro enable chip select signal 1 through the internal sleep control signal calculation method.
[0037] Specifically, the regional sleep module calculates the internal sleep control signal 3 according to the macro sleep chip select signal 2 and the macro enable chip select signal 1, which is used to control the working mode of each non-volatile storage macro in the non-volatile storage array. The internal sleep control signal 3 is calculated as follows:
[0038]
[0039] in, Indicates the internal sleep control signal 3. The internal sleep control signal 3 is at a high level, indicating that the corresponding non-volatile storage macro enters the normal working mode. The internal sleep control signal 3 is at a low level, indicating that the corresponding non-volatile storage macro enters the sleep mode. Indicates macro sleep chip select signal 2; Indicates macro enable chip select signal 1; Represents a bitwise AND operation.
[0040] Step S4: the internal sleep control signal 3 is transmitted to each non-volatile storage macro of the non-volatile storage array to control whether each non-volatile storage macro enters the sleep mode.
[0041] Step S5: The regional access module changes the transmission topology of the control and data signals 4 according to the macro sleep chip select signal 2 and the macro enable chip select signal 1, adjusts the address domain and bit width domain accessible to the non-volatile memory array, and ensures the normal use of the non-volatile memory array when the workable area is adjusted arbitrarily. According to the input macro sleep chip select signal 2 and the macro enable chip select signal 1, the transmission structure of the control and data signals 4 is changed to generate internal control and data signals 5, and normal read and write access to the non-volatile memory array is realized.
[0042] The control and data signals 4 include read and write control signals, read and write address signals and read and write data signals. Read and write operations are performed according to the above signals.
[0043] For read operations, the read / write control signal inputs the read command and read address, and the read / write data signal outputs the read data. For write operations, the read / write control signal inputs the write command and write address, and the read / write data signal inputs the write data.
[0044] The following briefly describes the low-power non-volatile storage control method proposed by the present invention using a specific embodiment.
[0045] Specifically, take a non-volatile storage array composed of 16 non-volatile storage macros as an example, each group contains 4 non-volatile storage macros. Each non-volatile storage macro address domain range is 0-1023, the bit width is 128-bit, and the macro sleep chip select signal ; Macro enable chip select signal .
[0046] like Figure 2 As shown, when the value of the external input macro sleep chip select signal 2 is , the value of the macro-enable chip select signal 1 is When the internal sleep control signal is calculated according to the internal sleep control signal calculation method, the value of the internal sleep control signal 3 is According to the value of internal sleep control signal 3, the non-volatile storage macro in group 2 of the first group is in sleep mode, the non-volatile storage macro in group 2 of the second group is all in sleep mode, the non-volatile storage macro in group 2 of the third group is in sleep mode, and the non-volatile storage macro in group 4 is all in sleep mode. , it can be seen that only the first and third groups of address domains are available, namely 0-1023, 2048-3071; according to the value of the macro enable chip select signal 1 It can be seen that only the bit width domains 1, 3, and 4 are available, that is, only the 1st, 3rd, and 4th segments of the original 512-bit={128'b0,128'b0,128'b0,128'b0} are available, and the remaining address domains and bit width domains are in a dormant state.
[0047] For the use of large-capacity non-internal sleep control signal volatile memory, its actual capacity is often greater than the used capacity, and there will be a lot of unnecessary storage power consumption. The present invention uses regional control to make the unused capacity sleep or power off according to the used capacity to save power consumption. By dividing the non-volatile storage space into address domains and bit width domains, the address domain controls the storage array row storage macro (inter-group storage macro); the bit width domain controls the storage array column storage macro (intra-group storage macro); and the row and column (inter-group and intra-group) cross control is adopted to control each storage macro in the storage array. By controlling whether the address domain and the bit width domain are dormant, corresponding to a single non-volatile storage macro, the memory working capacity is determined according to the use requirements, and the remaining unused capacity enters dormancy, saving unnecessary storage power consumption. When the non-volatile storage macro is in dormant mode, the existing data is saved, the power consumption is greatly reduced, and no operation can be performed.
[0048] It is to be understood that the present invention is described by some embodiments, and it is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the scope of protection of the present invention.
Claims
1. A low-power non-volatile storage control method, characterized in that: The steps include: Step S1: dividing the non-volatile memory into a regional sleep module, a non-volatile storage array, a regional access module and other functional modules; Step S2: the external application inputs the macro sleep chip select signal and the macro enable chip select signal to the regional sleep module of the non-volatile memory according to the usage capacity requirement, and inputs the macro sleep chip select signal, the macro enable chip select signal and the control and data signals to the regional path module of the non-volatile memory according to the read and write operation; Step S3: the regional sleep module of the non-volatile memory calculates the internal sleep control signal according to the macro sleep chip select signal and the macro enable chip select signal through the internal sleep control signal calculation method; Step S4: the internal sleep control signal is transmitted to each non-volatile storage macro of the non-volatile storage array to control whether each non-volatile storage macro enters the sleep mode; Step S5: The regional access module changes the transmission topology of the control and data signals according to the macro sleep chip select signal and the macro enable chip select signal, adjusts the address domain and the bit width domain accessible to the non-volatile memory array, and ensures the normal use of the non-volatile memory array when the working area is adjusted arbitrarily; changes the transmission structure of the control and data signals according to the input macro sleep chip select signal and the macro enable chip select signal, generates internal control and data signals, and realizes normal read and write access to the non-volatile memory array.
2. The low-power non-volatile storage control method according to claim 1, characterized in that: The regional sleep module is externally connected to a macro sleep chip select signal and a macro enable chip select signal; the macro sleep chip select signal and the macro enable chip select signal are control signals for external application input memory; the macro sleep chip select signal controls a group of non-volatile storage macros, and the macro enable chip select signal controls the non-volatile storage macros in the group.
3. The low-power non-volatile storage control method according to claim 1, characterized in that: The non-volatile storage array provides non-volatile storage and is composed of a plurality of groups of non-volatile storage macros, wherein a group of non-volatile storage macros includes a plurality of intra-group non-volatile storage macros; Different groups of non-volatile storage macros correspond to different address domains, and non-volatile storage macros in different groups correspond to different bit width domains.
4. The low-power non-volatile storage control method according to claim 2, characterized in that: Step S3 includes the following steps: The regional sleep module calculates the internal sleep control signal according to the macro sleep chip select signal and the macro enable chip select signal, which is used to control the working mode of each non-volatile memory macro in the non-volatile memory array. The internal sleep control signal is calculated as follows: in, Indicates the internal sleep control signal. is the signal width of the macro sleep chip select signal, is the bit width of the macro enable chip select signal. The internal sleep control signal is high level, indicating that the corresponding non-volatile storage macro enters the normal working mode. The internal sleep control signal is low level, indicating that the corresponding non-volatile storage macro enters the sleep mode. Indicates the macro sleep chip select signal; Indicates the macro enable chip select signal; Represents a bitwise AND operation.
Citation Information
Patent Citations
Composite storage array module with independent data movement channels and data scheduling method thereof
CN107544745A
Nonvolatile memory device
JP2004348891A
Semiconductor memory refreshing control method and semiconductor memory device
JP2006120251A
Storing System Data During Low Power Mode Operation
US20140281625A1
Memory with bit line control
US20160111142A1
