WO2023231437A1 - Memory, system-on-a-chip, terminal device and power supply control method - Google Patents

Memory, system-on-a-chip, terminal device and power supply control method Download PDF

Info

Publication number
WO2023231437A1
WO2023231437A1 PCT/CN2023/074226 CN2023074226W WO2023231437A1 WO 2023231437 A1 WO2023231437 A1 WO 2023231437A1 CN 2023074226 W CN2023074226 W CN 2023074226W WO 2023231437 A1 WO2023231437 A1 WO 2023231437A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage element
memory
power
storage
element group
Prior art date
Application number
PCT/CN2023/074226
Other languages
French (fr)
Chinese (zh)
Inventor
刘卓睿
Original Assignee
哲库科技(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 哲库科技(上海)有限公司 filed Critical 哲库科技(上海)有限公司
Publication of WO2023231437A1 publication Critical patent/WO2023231437A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit

Definitions

  • Embodiments of the present application relate to the field of storage technology, and in particular to a memory, a system on a chip, a terminal device, and a power supply control method.
  • Memory is an essential electronic component in terminal equipment.
  • a memory includes multiple storage elements. When the memory needs to work, all the storage elements included in the memory can be set to the powered-on state; when the memory does not need to work, all the storage elements included in the memory can be set to the powered-off state to save power consumption.
  • Embodiments of the present application provide a memory, system-on-chip, terminal and power supply control method.
  • the technical solutions are as follows:
  • a memory includes: m storage element groups, each of the storage element groups includes at least one storage element, and m is an integer greater than 1;
  • the m storage element groups and the m groups of power lines are in one-to-one correspondence, and the m groups of power lines are controlled respectively;
  • the storage elements in the i-th storage element group are at the upper level. Electrical state; when the power line corresponding to the i-th storage element group is disconnected, the storage elements in the i-th storage element group are in a power-off state, and i is a positive integer less than or equal to m.
  • a system-on-chip includes: a memory and a power management chip;
  • the memory is connected to the power management chip
  • the memory is a memory as described above;
  • the m sets of power lines are used to transmit the output voltage of the power management chip.
  • a terminal device is provided, and the terminal device is provided with the memory as described above.
  • a power supply control method is provided.
  • the method is executed by a control circuit, and the control circuit is used to control the memory as described above.
  • the method includes:
  • a control signal is sent to the switching element, and the control signal is used to control the switching element to be turned on or off, so as to independently control the power on or off of each of the storage element groups through the switching element.
  • Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements by dividing the memory into multiple storage element groups.
  • Each storage element group contains at least one storage element, and each storage element group Corresponding to different power lines, the power lines corresponding to each storage element group are controlled separately, so that power on and off control can be realized with the storage element group as the granularity, and a part of the storage elements in the memory can be flexibly selected to be in the powered on state.
  • Another part of the storage elements is in a power-off state; compared to the memory provided by the related art, all the storage elements are either in a power-on state. state, or both are in the power-off state.
  • the technical solution provided by this application can achieve more flexible and fine-grained power-on and power-off control, which is more conducive to saving power consumption.
  • Figure 1 is a schematic structural diagram of a system-on-chip including a memory provided by an embodiment of the present application
  • Figure 2 is a schematic structural diagram of a memory provided by an embodiment of the present application.
  • Figure 3 is a schematic diagram of a memory including two storage element groups provided by an embodiment of the present application.
  • Figure 4 is a schematic diagram of a memory including four storage element groups provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a memory including 8 storage element groups provided by an embodiment of the present application.
  • Figure 6 is a schematic diagram of a memory including three storage element groups provided by an embodiment of the present application.
  • Figure 7 is a schematic diagram of a power cord composition provided by an embodiment of the present application.
  • Figure 8 is a schematic diagram of functional components corresponding to different power lines provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of multiple sets of power lines connected to the same switching element according to an embodiment of the present application.
  • Figure 10 is a schematic diagram of each group of power lines connected to a switching element according to an embodiment of the present application.
  • Figure 11 is a schematic diagram of the setting position of the switch element provided by an embodiment of the present application.
  • Figure 12 is a schematic diagram of a memory provided by an embodiment of the present application divided into two storage element groups
  • Figure 13 is a schematic diagram of a memory provided by an embodiment of the present application divided into three storage element groups
  • Figure 14 is a flow chart of a power supply control method provided by an exemplary embodiment of the present application.
  • Figure 15 is a schematic diagram of a terminal device provided by an exemplary embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a system on chip (SoC) including a memory provided by an exemplary embodiment of the present application.
  • SoC system on chip
  • the system-on-chip in this application can be used in mobile terminals, such as smartphones, smart watches, e-book readers, tablet computers, laptop computers, desktop computers, televisions, game consoles, and augmented reality (Augmented Reality, AR) terminals. Taking at least one of a virtual reality (Virtual Reality, VR) terminal, a mixed reality (MR) terminal, a wearable device, etc. as an example for explanation.
  • the system-on-chip 100 in this embodiment includes: a main device 101, a main bus 103, a memory controller 105 and a memory 200.
  • the main device 101 is connected to the storage controller 105 through the main bus 103 (Primary Bus), and the storage controller 105 is connected to the memory 200 through a physical layer (Physical Layer, PHY) interface.
  • the memory 200 is a dynamic random access memory (Dynamic Random Access Memory, DRAM).
  • DRAM Dynamic Random Access Memory
  • the DRAM adopts Packaging on Packaging (PoP) packaging.
  • the master device 101 is a processor or non-processor with data reading and writing requirements.
  • the main device may include, but is not limited to, a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), a digital signal processor (Digital Signal Processors such as Processor (DSP), and non-processors such as Image Sensor (Image Sensor), Image Signal Processing Unit (ISP), and Video Processing Unit (VPU).
  • the above-mentioned main devices all have memory data reading and/or writing requirements during operation.
  • the processor includes CPU, GPU and NPU
  • the non-processor includes image sensor and VPU as an example for schematic illustration, but this is not a limitation.
  • the processor uses various interfaces and lines to connect various parts of the entire terminal device, and executes the terminal device by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. various functions and process data.
  • the processor may adopt at least one of digital signal processing (DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP digital signal processing
  • FPGA field-programmable gate array
  • PLA programmable logic array
  • the processor can integrate one or a combination of CPU, GPU, NPU and baseband chip.
  • the CPU mainly handles the operating system, user interface and applications;
  • the GPU is responsible for the rendering and drawing of the content that needs to be displayed on the display;
  • the NPU is used to implement AI (Artificial Intelligence, artificial intelligence) functions;
  • the baseband chip is used for processing Wireless communication.
  • m links using the AXI (Advanced eXtensible Interface, Advanced Extension Interface) protocol are established between the main device 101 and the main bus 103, and between the main bus 103 and the storage controller 105.
  • AXI Advanced eXtensible Interface, Advanced Extension Interface
  • FIG. 1 four AXI links with a width of 256 bits are established between each master device 101 and the main bus 103, and between the main bus 103 and the memory controller 105.
  • the storage controller 105 includes a secondary bus, k controllers (corresponding to k memory channels), and physical layer interfaces corresponding to each controller, where k is a positive integer.
  • a link using the AXI protocol is established between the slave bus and the controller, and the branching function is implemented at the slave bus. For example, after the slave bus is branched (k branches are n branches, n is a positive integer), 8 AXI links with a bit width of 128 bits are established between the slave bus and the controller. Correspondingly, eight AXI links with a bit width of 128 bits are established between the memory controller 105 and the memory 200 .
  • the memory 200 is a memory that supports n (n>k) memory channels, and the n storage elements in the memory 200 each have a working bus, that is, the working bus of each storage element is connected to the storage controller 105 in a concurrent manner.
  • Figure 1 takes a system on a chip that integrates a memory (that is, the memory is arranged inside the system on a chip) as an example.
  • the memory can be arranged outside the system on a chip. This is not limited in the embodiments of the present application.
  • Figure 2 is a schematic structural diagram of a memory provided by an exemplary embodiment of the present application.
  • the memory 200 includes n storage elements 201, where n is an integer greater than 1.
  • the memory 200 is a DRAM
  • the storage element 201 is a memory die.
  • the DRAM is packaged in TOP.
  • the embodiment of the present application does not limit the specific types of the memory 200 and the storage element 201.
  • the internal particles of the storage element 201 may be arranged in a 2D (Two Dimensional, two-dimensional) manner or a 3D (Three Dimensional, three-dimensional) manner.
  • the 3D arrangement can adopt simple stack (Simple Stack), vertical channel (Vertical Channel, VC) or vertical gate (Vertical Grid, VG) and other methods.
  • each storage element 201 has a specification of 16Gb ⁇ 16 data width (Datawidth).
  • Datawidth 16Gb ⁇ 16 data width
  • some storage elements have the same component parameters, some storage components have different component parameters, or different storage components have different component parameters. The embodiments of this application do not limit the specific component parameters of each storage component.
  • n storage elements 201 are packaged into a storage particle, such as a DRAM device using POP packaging.
  • the n storage elements 201 adopt 2D packaging or 3D packaging.
  • the embodiments of this application do not limit the specific packaging method.
  • the memory 200 in the embodiment of the present application supports n memory channels, so the number of storage elements 201 in the memory 200 is equal to n, and different storage elements 201 correspond to respective memory channels, that is, n storage elements correspond to n memory channels. .
  • n storage elements correspond to n memory channels.
  • the embodiments of the present application do not limit the specific number of storage elements (a positive integer is sufficient, and it can be an even number or an odd number).
  • the memory 200 includes: m storage element groups, each storage element group includes at least one storage element 201, and m is an integer greater than 1. That is to say, the n storage elements 201 included in the memory 200 are divided into m storage element groups.
  • One storage element group may have one and only one storage element 201, or may include multiple (two or more) storage elements 201. Storage element 201.
  • the number of storage elements 201 included in each storage element group is the same.
  • the memory 200 includes 8 storage elements 201, and the 8 storage elements 201 are divided into It is divided into two storage element groups, denoted as a first storage element group and a second storage element group, and each storage element group includes four storage elements 201 .
  • the first storage element group includes storage elements 201 corresponding to memory channels A, B, C and D respectively
  • the second storage element group includes storage elements 201 corresponding to memory channels E, F, G and H respectively.
  • the memory 200 includes 8 storage elements 201, which are divided into 4 storage element groups, denoted as a first storage element group, a second storage element group, and a third storage element group.
  • the storage element group and the fourth storage element group, each storage element group includes 2 storage elements 201 .
  • the first storage element group includes storage elements 201 corresponding to memory channels A and B respectively
  • the second storage element group includes storage elements 201 corresponding to memory channels C and D respectively
  • the third storage element group includes memory channel E. and F respectively correspond to storage elements 201.
  • the fourth storage element group includes storage elements 201 corresponding to memory channels G and H respectively.
  • each storage element group includes one storage element 201, and the memory 200 includes 8 storage elements 201, and the 8 storage elements 201 are divided into 8 storage element groups.
  • Each dotted box represents a storage element group, and each storage element group includes one storage element 201.
  • m storage element groups there are at least two storage element groups that contain different numbers of storage elements 201 .
  • the memory 200 includes 8 storage elements 201, which are divided into 3 storage element groups, denoted as a first storage element group, a second storage element group and a third storage element group.
  • Storage element group wherein, the first storage element group includes 2 storage elements 201, such as the storage elements 201 corresponding to memory channels A and B shown in Figure 6; the second storage element group includes 2 storage elements 201, as shown in Figure 6
  • Memory channels C and D shown in Figure 6 correspond to storage elements 201 respectively;
  • the third storage element group includes four storage elements 201, such as memory channels E, F, G and H shown in Figure 6 correspond to storage elements 201 respectively.
  • FIGS. 3 to 6 are only examples of how to divide several storage element groups.
  • This application specifies the number of storage element groups included in the memory 200 and the storage elements 201 included in each storage element group. There is no limit to the quantity, which can be designed and divided according to actual needs.
  • the m storage element groups and the m groups of power lines correspond one to one, and the m groups of power lines are controlled respectively. That is to say, each storage element group has a corresponding set of power lines. Since the m groups of power lines are controlled separately, the m storage element groups can be independently controlled to power on or off.
  • the storage elements in the i-th storage element group when the power line corresponding to the i-th storage element group is turned on, the storage elements in the i-th storage element group are at the upper level. Electrical state; when the power line corresponding to the i-th storage element group is disconnected, the storage elements in the i-th storage element group are in a power-off state, and i is a positive integer less than or equal to m.
  • the first storage element group corresponds to the first power supply line
  • the second storage element group corresponds to the second power supply line.
  • the first power line and the second power line are controlled separately.
  • the four storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A, B, C, and D respectively
  • the four storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A, B, C, and D respectively
  • the four storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A, B, C, and D respectively
  • the four storage elements 201 included in the second storage element group i.e., the storage elements 201 corresponding to the memory channels E, F, G, and H respectively
  • the four storage elements 201 included in the second storage element group that is, the storage elements 201 corresponding to the memory channels E, F, G, and H respectively
  • the four storage elements 201 included in the second storage element group are in a power-off state.
  • the first storage element group corresponds to the first power line
  • the second storage element group corresponds to the second power line
  • the third storage element group corresponds to the third power line
  • the fourth storage element Group corresponds to the fourth power cord.
  • the first power line, the second power line, the third power line and the fourth power line are controlled respectively.
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the second storage element group (that is, the storage elements corresponding to memory channels C and D respectively) 201) is in the powered-on state; when the second power line is disconnected, the two storage elements 201 included in the second storage element group (ie, the storage elements 201 corresponding to memory channels C and D respectively) are in the powered-off state.
  • the third storage element group and the fourth storage element group can be deduced in the same way.
  • 8 storage element groups and 8 groups of power lines correspond one to one, and the 8 groups of power lines are controlled respectively.
  • one storage element 201 included in the first storage element group that is, the storage element 201 corresponding to memory channel A
  • the first power line is turned off
  • one storage element 201 included in the first storage element group that is, the storage element 201 corresponding to memory channel A
  • one storage element 201 included in the second storage element group (that is, the storage element 201 corresponding to memory channel B) is in a powered state; when the second power line is turned off, In the case of , one storage element 201 included in the second storage element group (that is, the storage element 201 corresponding to memory channel B) is in a power-off state.
  • Other storage element groups can be deduced in this way.
  • the first storage element group corresponds to the first power line
  • the second storage element group corresponds to the second power line
  • the third storage element group corresponds to the third power line.
  • the first power line, the second power line and the third power line are controlled separately.
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the first storage element group that is, the storage elements 201 corresponding to memory channels A and B respectively
  • the two storage elements 201 included in the second storage element group when the second power line is turned on, the two storage elements 201 included in the second storage element group (that is, the storage elements 201 corresponding to memory channels C and D respectively) are in a powered-on state; when the second power supply When the line is disconnected, the two storage elements 201 included in the second storage element group (that is, the storage elements 201 corresponding to memory channels C and D respectively) are in a power-off state.
  • the four storage elements 201 included in the third storage element group i.e., the storage elements 201 corresponding to memory channels E, F, G, and H respectively
  • the four storage elements 201 included in the third storage element group that is, the storage elements 201 corresponding to the memory channels E, F, G, and H respectively
  • the four storage elements 201 included in the third storage element group are in a power-off state.
  • each set of power lines includes one power line, and the one power line is used to power each functional component in the storage element 201 .
  • each group of power lines includes a plurality of different power lines, and the plurality of different power lines are used to power different functional components in the storage element 201 .
  • each group of power cords includes three different power cords, denoted as power cord 1, power cord 2 and power cord 3.
  • the storage element 201 includes functional part 1, functional part 2, functional part 3, functional part 4 and function Component 5, for example, the power line 1 is used to supply power to the functional components 1 and 2 in the storage element 201, the power line 2 is used to supply power to the functional component 3 in the storage element 201, and the power line 3 is used to supply power to the storage element 201.
  • Functional components 4 and 5 in element 201 are powered.
  • each group of power lines includes a total of four different power lines: VDD1 power line, VDD2H power line, VDD2L power line, and VDDQ power line. These four different power lines are used to supply power to different functional components in the storage element 201 to provide different voltages. Each power wire is used to provide its corresponding functional component with a voltage suitable for the operation of the functional component.
  • the VDDQ power line is used to provide the VDDQ voltage, which may be called the input-output interface voltage, and is used to provide the input-output interface component in the storage element 201 .
  • the VDD1 power line is used to provide VDD1 voltage
  • the VDD2 power line is used to provide VDD2 voltage
  • the VDD2 power line can be divided into a VDD2H power line and a VDD2L power line.
  • the VDD2H power line is used to provide VDD2H voltage
  • the VDD2L power line is used to provide VDD2L.
  • Both the VDD1 voltage and the VDD2 voltage can be called core voltages and are used to provide core components in the storage element 201 .
  • the VDD2H voltage can be called the high-frequency core voltage
  • the VDD2L voltage can be called the low-frequency core voltage. There are differences in the operating frequencies of the core components corresponding to the two.
  • the VDD1 voltage is higher than the VDD2 voltage and is used to provide power supply voltage to some core components that require high-voltage operation.
  • the functional components indicated by diagonal filling in the storage element 201 are supplied with power supply voltage by VDDQ.
  • the functional components indicated by dotted filling in the storage element 201 are supplied with power supply voltage by VDD2H or VDD2L.
  • the crossed lines in the storage element 201 The features shown in the fill are powered by VDD1.
  • Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements by dividing the memory into multiple storage element groups.
  • Each storage element group contains at least one storage element, and each storage element group Corresponding to different power lines, the power lines corresponding to each storage element group are controlled separately, so that power on and off control can be realized with the storage element group as the granularity, and a part of the storage elements in the memory can be flexibly selected to be in the powered on state.
  • Another part of the storage elements is in a power-off state; compared with the related technology that all storage elements in the memory are either in the same power-on state or in the same power-off state, the technical solution provided by this application can achieve more flexible and fine-grained Power on and off control is more conducive to saving power consumption.
  • the number of storage element groups included in the memory and the number of storage elements included in each storage element group can be flexibly divided. In some embodiments, dividing multiple storage elements into the same storage element group can prevent the number of divided storage element groups in the memory from being too large, which helps to reduce complexity. In some embodiments, when there is only one storage element in each storage element group, power on and off control can be achieved at the granularity of a single storage element. This method is more flexible and more conducive to energy saving, but The corresponding complexity will also be higher.
  • the power line is connected to one end of the switching element 300, the other end of the switching element 300 is used to receive the input voltage, and the switching element 300 is used to control the power line to be turned on or off.
  • each group of power lines is connected to a switching element, and different power lines are connected to different switching elements; wherein, the i-th group of power lines in the m groups of power lines is connected to a switch.
  • the memory 200 includes 8 storage elements 201 , and the 8 storage elements 201 are divided into 2 storage element groups.
  • the first storage element group corresponds to the first power line
  • the first storage element group corresponds to the first power line.
  • the two storage element groups correspond to second power lines, the first power line is connected to the first switching element 301 , and the second power line is connected to the second switching element 302 .
  • the first switching element 301 and the second switching element 302 are two different switching elements.
  • the first switch element 301 is used to control the first power line to be turned on or off, so that the storage element 201 in the first storage element group is powered on or off.
  • the second switch element 302 is used to control the second power line to be turned on or off, so that the storage element 201 in the second storage element group is powered on or off.
  • storage element groups, power lines and switching elements correspond one to one, achieving independent and flexible control of the power on and off states of each storage element group.
  • the memory 200 includes 8 storage elements 201 , and the 8 storage elements 201 are divided into 2 storage element groups.
  • the first storage element group corresponds to the first power line
  • the first storage element group corresponds to the first power line.
  • the two storage element groups correspond to the second power lines, and the first power line and the second power line are connected to the same switching element 300 .
  • the switching element 300 can control the first power line and the second power line to be turned on or off independently.
  • the switching element 300 can control both the first power line and the second power line to be turned on, so that the storage elements 201 in the first storage element group and the second storage element group are both in a powered state; the switching element 300 can The first power line and the second power line are both controlled to be disconnected, so that the storage elements 201 in the first storage element group and the second storage element group are both in a power-off state; the switching element 300 can control the first power line to be turned on.
  • the switch element 300 can control the first power line
  • the power supply line is disconnected and the second power line is connected, so that the storage elements 201 in the first storage element group are in a power-off state, and the storage elements 201 in the second storage element group are in a power-on state.
  • multiple sets of power lines can be connected to the same switching element, and each group of power lines can be controlled to be independently turned on or off through the switching element. This can also achieve independent and flexible control of the power on and off states of each storage element group. , and can save the number of switching components.
  • the memory 200 includes eight storage elements 201 and the eight storage elements 201 are divided into two storage element groups as an example for introduction and explanation.
  • the method introduced above can also be adopted, and switching elements are used to control the conduction or disconnection of the power line.
  • the switching element is disposed inside the memory 200, as shown at position numbered (1) in FIG. 11 .
  • the switching element is disposed inside the power management chip (Power Management IC, PMIC) 400, as shown at the position numbered (2) in Figure 11.
  • the power management chip 400 is used to provide input voltage to the memory 200 .
  • the switching element is disposed between the memory 200 and the power management chip 400, as shown at the position numbered (3) in FIG. 11 .
  • the switching element can also be arranged on the circuit board; if the memory 200 and the power management chip 400 are arranged on two On different circuit boards, the switching element can be provided on the circuit board used to carry the memory 200, or can be provided on the circuit board used to carry the power management chip 400, or can also be provided in addition to the above two circuit boards. on another circuit board, this application does not limit this.
  • the embodiments of the present application provide a variety of setting methods for switching elements. In practical applications, an appropriate method can be selected to set the switching elements based on actual needs.
  • the power line is connected to one end of the switching element, and the other end of the switching element is used to receive the input voltage.
  • the input voltage can be provided by the power management chip 400 .
  • the wire between one end of the switching element and the memory 200 (or storage element 201) is called a power line
  • the wire between the other end of the switching element and the power management chip 400 is called a voltage transmission line. .
  • the power line when the switching element is inside the power management chip 400, the power line may include a wire between the power management chip 400 and the memory 200, and the voltage transmission line may include a wiring inside the power management chip 400; when the switching element is inside In the case inside the memory 200 , the power lines may include wiring inside the memory 200 , and the voltage transmission lines may include wires between the power management chip 400 and the memory 200 ; in the case where the switching element is between the memory 200 and the power management chip 400 , the power line may include a wire between the memory 200 and the switching element, and the voltage transmission line may include a wire between the switching element and the power management chip 400 .
  • control end of the switching element is connected to the control circuit 500.
  • the control circuit 500 is used to control the switching element to be turned on or off to independently control each storage element through the switching element. Power on or off the group.
  • the control circuit 500 may be any form of processor, controller, microprocessor, or integrated circuit chip with data processing capabilities. This application does not limit the implementation form of the control circuit 500.
  • control circuit 500 can be disposed inside the memory 200 , the control circuit 500 can also be disposed inside the power management chip 400 , and the control circuit 500 can also be disposed in a circuit used to carry the memory 200 and/or the power management chip 400 on the board. This application also does not limit the installation location of the control circuit 500.
  • control circuit 500 is used to send a control signal to the switching element according to the working mode, and the control signal is used to control the switching element to be turned on or off.
  • control circuit 500 please refer to the introduction in the method embodiment below for details.
  • the n storage elements in the memory are divided into at least two storage element groups (or storage regions), and different storage element groups do not affect each other.
  • different storage element groups are used for different objects, and the objects may include at least one of an operating system, a kernel space (Kernel Space), a reserved space (Reserved Space), and an application program.
  • Kernel Space Kernel Space
  • Reserve Space Reserve Space
  • application program an application program
  • first storage element group 51 is used to provide high Used by performance applications, which refer to applications with high memory requirements, such as game applications, AI applications, etc.
  • second storage element group 52 is used for default kernel (Kernel) space, reserved space and commonly used applications (Normal Usage Application), which can be default settings or customized or determined based on frequency of use, such as desktop applications, clock applications, etc.
  • Kernel Kernel space
  • Normal Usage Application Normal Usage Application
  • the second storage element group 52 in the memory is in the powered-on state, and the first storage element group 51 is in the powered-off state, thereby saving power consumption; when there is a high-performance application program running At this time, both the second storage element group 52 and the first storage element group 51 in the memory are in the powered-on state.
  • the high-performance application can either use the first storage element group 52 for data storage or the second storage element group 51 .
  • the storage element group 52 performs data storage; similarly, the default kernel space, reserved space, and commonly used applications can also use the first storage element group 52 and the second storage element group 52 for data storage.
  • the first storage element group 52 After the high-performance application switches from the running state to the stopped running state, if the first storage element group 52 stores the default kernel space, reserved space and data related to common applications, then the first storage element group 52 can be first The stored data related to the default kernel space, reserved space, and commonly used applications are migrated to the second storage element group 52, and then the first storage element group 52 is controlled to be powered off.
  • multiple storage elements in the memory are divided into a first storage element group 51, a second storage element group 52 and a third storage element group 53, where the first storage element group
  • the component group 51 and the third storage component group 53 are used for high-performance applications, which refer to applications with high memory requirements, such as game applications, AI applications, etc.
  • the second storage component group 52 is used for the default kernel space, reserved space and commonly used applications.
  • the commonly used applications can be default settings or customized or determined based on frequency of use, such as desktop applications, clock applications, etc.
  • the second storage element group 52 in the memory is in the powered-on state, and the first storage element group 51 and the third storage element group 53 are in the powered-off state, thereby saving power consumption;
  • the first storage element group 51 and/or the third storage element group 53 are also in the powered-on state.
  • the example shown in Figure 13 is that the high-performance application corresponds to multiple (such as 2) storage element groups, so that one of them can be flexibly selected as needed when the high-performance application is running. Or multiple storage element groups can be opened to achieve more flexible control.
  • At least one of the m storage element groups included in the memory 200 is configured to be enabled during system startup.
  • the above system may refer to the software and hardware system of the terminal device where the memory 200 is located, including the operating system, processor, etc. of the terminal device. That is to say, among the m storage element groups included in the memory 200, some of the storage element groups are configured to be enabled during the system startup process, while another part of the storage element groups are configured to not be enabled temporarily during the system startup process, and in the Enable it when needed.
  • the memory 200 includes a first storage element group 51 and a second storage element group 52 as shown in FIG. 12 , the second storage element group 52 is configured to be enabled during system startup, and the first storage element group 51 is configured to Disable it during system startup and enable it when high-performance applications are running.
  • Figure 14 is a flow chart of a power supply control method provided by an exemplary embodiment of the present application.
  • the method may be performed by the control circuit introduced above, which is used to control the memory introduced above.
  • the method may include the following steps:
  • Step 1410 The control circuit sends a control signal to the switching element.
  • the control signal is used to control the switching element to be turned on or off, so as to independently control the power on or off of each storage element group through the switching element.
  • the m storage element groups correspond to m groups of power lines one-to-one, each group of power lines is connected to a switching element, and different power lines are connected to different switching elements.
  • the switch element corresponding to the i-th storage element group that is, the switch element corresponding to the i-th storage element group
  • the switching element connected to the power line sends a control signal.
  • the control signal is used to control the switching element corresponding to the i-th storage element group to be on or off, so as to control each storage in the i-th storage element group through the switching element.
  • Components are powered on or off uniformly.
  • the m storage element groups correspond to m groups of power lines one-to-one, and there are at least two sets of power lines connected to the same switching element.
  • the control when the control When the circuit needs to control the power on or off of the i-th storage element group, it can send a signal to the switching element corresponding to the i-th storage element group (that is, the switching element connected to the power line corresponding to the i-th storage element group).
  • a control signal which is used to control the switching element to turn on or off the power line corresponding to the i-th storage element group, so as to control the unified power-on or power-off of each storage element in the i-th storage element group.
  • control signal is not limited.
  • the control signal may be a digital signal or an analog signal.
  • control circuit sends a control signal to the switching element according to the operating mode.
  • different storage element groups can be controlled to power on or off.
  • the basis for dividing the working modes is not limited.
  • the memory can be divided according to objects using the memory, which can include at least one of an operating system, a kernel space (Kernel Space), a reserved space (Reserved Space), and an application program.
  • kernel Space Kernel Space
  • Reserve Space Reserve Space
  • an application program For example, in the first working mode, no high-performance applications are running, and only the default kernel space, reserved space, and commonly used applications use memory; in the second working mode, there are high-performance applications running, except for the default kernel space, reserved space, and common applications. In addition to space and common applications using memory, there are also high-performance applications that also require memory.
  • kernel space Kerned Space
  • an application program for example, in the first working mode, no high-performance applications are running, and only the default kernel space, reserved space, and commonly used applications use memory; in the second working mode, there are high-performance applications running, except for the default kernel space, reserved space, and common applications. In addition to space and common applications using memory, there are also high-performance applications that also require memory.
  • FIG. 12
  • the working modes can be divided according to the operating status of the terminal device or processor. For example, in different working modes, the terminal device or processor is in different running states, such as different applications running in different running states, or the number of tasks executed by the processor in different running states is different.
  • the working modes can be divided according to the running requirements of the application program. For example, applications have different operating requirements in different working modes. Take game applications as an example. In different working modes, game applications have different refresh frame rates, which results in different memory usage requirements.
  • the memory can support two working modes, denoted as a first working mode and a second working mode.
  • the control circuit 500 sends a first control signal to the switching element 300.
  • the first control signal is used to control the first power line to be turned on and the second power line to be turned off, so that the first storage element group
  • the four storage elements 401 included in the second storage element group are in a power-on state, and the four storage elements 401 included in the second storage element group are in a power-down state.
  • the control circuit 500 sends a second control signal to the switching element 300.
  • the second control signal is used to control the first power line to be turned on, and the second power line is also turned on, so that the first storage element group
  • the four storage elements 401 included in are in the powered-on state, and the four storage elements 401 included in the second storage element group are also in the powered-on state.
  • the maximum number of working modes that a memory can support is related to the number of storage element groups contained in the memory. In different working modes, the power-on and power-off states of each storage element group included in the memory are not exactly the same.
  • the control circuit obtains power supply configuration information corresponding to the working mode, and the power supply configuration information is used to indicate the power supply status of each storage element group in the memory.
  • the control circuit generates a control signal adapted to the power supply status of each storage element group based on the power supply configuration information.
  • the control circuit sends the generated control signal to the switching element.
  • the mapping relationship between different working modes and power supply configuration information can be stored in the terminal device in advance, and the control circuit can determine the power supply configuration information corresponding to the working mode from the above mapping relationship according to the working mode.
  • the power supply configuration information defines the power supply status of each storage element group in the memory, that is, whether each storage element group in the memory is in the power-on state or the power-off state.
  • the control circuit generates corresponding control signals based on the power supply configuration information.
  • Each storage element group in the memory is controlled to work according to the above state.
  • the control circuit can accurately and efficiently obtain the power supply status of each storage element group and perform corresponding control, thereby improving the efficiency and robustness of the control.
  • each storage element group in the memory is used to store data generated in the same operating mode. In this way, for any storage element group, when the storage element group is not in the working mode corresponding to the storage element group, the control circuit 500 can control the storage element group to power off through the switching element.
  • the memory can support two working modes, denoted as a first working mode and a second working mode.
  • first operating mode the first storage element group is in a power-on state
  • second storage element group is in a power-down state. power state
  • both the first storage element group and the second storage element group are in the power-on state.
  • the first storage element group is used to store data generated in the first working mode, and is also used to store data generated in the second working mode.
  • the first storage element group is used to store data generated in the first working mode; in the second working mode, the first storage element group is used to store data generated in the second working mode.
  • the second storage element group is used to store data generated in the second operating mode. That is to say, in the second operating mode, the first storage element group and the second storage element group jointly store data generated in the second operating mode.
  • the power on and off status of each storage element group can be controlled according to different working modes, and the storage element group corresponding to the current working mode can be used to store the data generated in the current working mode, realizing the data generation in different working modes.
  • Storage isolation helps improve the security and reliability of data storage.
  • the memory includes a first storage element group and a second storage element group, supports two working modes, and in the first working mode and the second working mode, The power-on and power-off status of the storage element group is as described above.
  • the terminal device operates in the above-mentioned first working mode.
  • the second storage element group is in a power-off state in the first working mode
  • the first storage element group is in a power-on state in the first working mode
  • the first storage element group maintains normal operation.
  • the CPU sends the compressed audio file (usually 60 seconds) to memory (such as DDR (Double Data Rate, Double Data Rate) memory, DRAM, etc.) for decoding, and then the CPU enters a deep sleep state.
  • memory such as DDR (Double Data Rate, Double Data Rate) memory, DRAM, etc.
  • the memory uses the first storage element group to store the compressed data.
  • Audio DMA Direct Memory Access
  • SRAM Static Random-Access Memory
  • HIFI High-Fidelity, High Fidelity
  • HIFI5DSP takes out the compressed data from SRAM for decoding, and the frame length is 20 milliseconds. For different scenes, different mixing effects will be achieved.
  • the decoded audio data will be written back to SRAM with a frame length of 20 milliseconds.
  • ping-pong buffering may be used, for a total of 40 milliseconds.
  • Audio DMA moves data from SRAM to the CODEC (coder-decoder, codec) chip through the Soundwire bus.
  • Soundwire can be clock-gated when a block of data transfer is complete.
  • Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements, which is more conducive to saving power consumption.
  • the power consumption calculation formula of the memory is as follows:
  • N is the number of storage elements in the power-on state in the memory
  • IDDread is the memory current when data is read
  • Utilizationread is the memory usage when data is read
  • IDDwrite is the memory current when data is written
  • Utilizationwrite is the data Memory usage during writing
  • IDDstby is the standby memory current
  • Utilizationstby is the standby memory usage
  • IDDsr is the self-refresh (selfrefresh) current
  • Utilizationsr is the self-refresh usage
  • IDDref is the refresh (refresh) current
  • IDDactive Active current
  • VDD is the voltage value of the input voltage
  • VDD includes at least one of VDD1, VDD2H, VDD2L, and VDDQ.
  • the power consumption of the memory is positively correlated with the number N of storage elements in the powered-on state in the memory. Therefore, by controlling the power-off of unused storage elements, it helps to reduce the power consumption of the memory, thereby saving money. Terminal power.
  • Figure 15 is a schematic diagram of a terminal device provided by an exemplary embodiment of the present application. Take the terminal device 1500 in this embodiment including a main device and a memory as an example for explanation:
  • the terminal device 1500 is provided with a main device 101 and the memory 200 described in the above embodiment, and the main device 101 and the memory 200 are electrically connected.
  • the memory 200 may be provided inside the system-on-chip or outside the system-on-chip. It should be noted that in addition to the system on a chip, the terminal device 1500 may also include other necessary components, such as read-only memory (Read-Only Memory, ROM), display components, input units, audio circuits, speakers, microphones, Components such as power supply will not be described in detail in this embodiment.
  • the "plurality” mentioned in this article means two or more than two.
  • “And/or” describes the relationship between related objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • the character “/” generally indicates that the related objects are in an "or” relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Power Sources (AREA)

Abstract

A memory, a system-on-a-chip, a terminal device and a power supply control method, relating to the technical field of storage. The memory comprises m storage element groups, each storage element group comprising at least one storage element, and m being an integer greater than 1; the m storage element groups are in one-to-one correspondence with m groups of power cables, the m groups of power cables being separately controlled; for the ith storage element group of the m storage element groups, when the power cable corresponding to the ith storage element group is turned on, storage elements in the ith storage element group are in a power-on state, and when the power cable corresponding to the ith storage element group is disconnected, the storage elements in the ith storage element group are in a power-off state, i being a positive integer smaller than or equal to m. The present application provides the memory supporting flexible control of power-on or power-off of the storage elements, which can realize more flexible and fine-granularity power-on and power-off control, helping to reduce power consumption.

Description

存储器、片上系统、终端设备及供电控制方法Memory, system on chip, terminal equipment and power supply control method
本申请要求于2022年05月31日提交的申请号为202210613550.5、发明名称为“存储器、片上系统、终端设备及供电控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application with application number 202210613550.5 and the invention title "Memory, System-on-Chip, Terminal Equipment and Power Supply Control Method" submitted on May 31, 2022, the entire content of which is incorporated into this application by reference. middle.
技术领域Technical field
本申请实施例涉及存储技术领域,特别涉及一种存储器、片上系统、终端设备及供电控制方法。Embodiments of the present application relate to the field of storage technology, and in particular to a memory, a system on a chip, a terminal device, and a power supply control method.
背景技术Background technique
存储器是终端设备中必不可少的电子元件。Memory is an essential electronic component in terminal equipment.
相关技术中,存储器包含多个存储元件。当存储器需要工作时,可以将存储器包含的全部存储元件均置为上电状态;当存储器不需要工作时,可以将存储器包含的全部存储元件均置为下电状态,以节省功耗。In related art, a memory includes multiple storage elements. When the memory needs to work, all the storage elements included in the memory can be set to the powered-on state; when the memory does not need to work, all the storage elements included in the memory can be set to the powered-off state to save power consumption.
然而,上述方式已无法满足一些场景下的省电需求。However, the above method can no longer meet the power saving needs in some scenarios.
发明内容Contents of the invention
本申请实施例提供了一种存储器、片上系统、终端及供电控制方法。所述技术方案如下:Embodiments of the present application provide a memory, system-on-chip, terminal and power supply control method. The technical solutions are as follows:
根据本申请实施例的一个方面,提供了一种存储器,所述存储器包括:m个存储元件组,每个所述存储元件组包括至少一个存储元件,m为大于1的整数;According to an aspect of an embodiment of the present application, a memory is provided, the memory includes: m storage element groups, each of the storage element groups includes at least one storage element, and m is an integer greater than 1;
所述m个存储元件组和m组电源线一一对应,所述m组电源线被分别控制;The m storage element groups and the m groups of power lines are in one-to-one correspondence, and the m groups of power lines are controlled respectively;
对于所述m个存储元件组中的第i个存储元件组,在所述第i个存储元件组对应的电源线导通的情况下,所述第i个存储元件组内的存储元件处于上电状态;在所述第i个存储元件组对应的电源线断开的情况下,所述第i个存储元件组内的存储元件处于下电状态,i为小于或等于m的正整数。For the i-th storage element group among the m storage element groups, when the power line corresponding to the i-th storage element group is turned on, the storage elements in the i-th storage element group are at the upper level. Electrical state; when the power line corresponding to the i-th storage element group is disconnected, the storage elements in the i-th storage element group are in a power-off state, and i is a positive integer less than or equal to m.
根据本申请实施例的一个方面,提供了一种片上系统,所述片上系统包括:存储器和电源管理芯片;According to an aspect of an embodiment of the present application, a system-on-chip is provided. The system-on-chip includes: a memory and a power management chip;
所述存储器和所述电源管理芯片连接;The memory is connected to the power management chip;
所述存储器是如上所述的存储器;The memory is a memory as described above;
所述m组电源线用于传输所述电源管理芯片的输出电压。The m sets of power lines are used to transmit the output voltage of the power management chip.
根据本申请实施例的一个方面,提供了一种终端设备,所述终端设备中设置有如上所述的存储器。According to one aspect of the embodiment of the present application, a terminal device is provided, and the terminal device is provided with the memory as described above.
根据本申请实施例的一个方面,提供了一种供电控制方法,所述方法由控制电路执行,所述控制电路用于控制如上所述的存储器,所述方法包括:According to an aspect of an embodiment of the present application, a power supply control method is provided. The method is executed by a control circuit, and the control circuit is used to control the memory as described above. The method includes:
向所述开关元件发送控制信号,所述控制信号用于控制所述开关元件导通或断开,以通过所述开关元件独立地控制各个所述存储元件组的上电或下电。A control signal is sent to the switching element, and the control signal is used to control the switching element to be turned on or off, so as to independently control the power on or off of each of the storage element groups through the switching element.
本申请实施例提供的技术方案,可以带来如下技术效果:The technical solutions provided by the embodiments of this application can bring the following technical effects:
本申请实施例提供了一种支持灵活控制存储元件上电或下电的存储器,通过将存储器划分为多个存储元件组,每个存储元件组中包含至少一个存储元件,且每个存储元件组对应于不同的电源线,各个存储元件组分别对应的电源线被分别控制,这样就可以实现以存储元件组为粒度的上下电控制,能够灵活选择存储器中的一部分存储元件处于上电状态,同时另一部分存储元件处于下电状态;相比于相关技术给出的存储器中全部存储元件要么同为上电状 态,要么同为下电状态,本申请提供的技术方案能够实现更加灵活、细粒度的上下电控制,更有利于节省功耗。Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements by dividing the memory into multiple storage element groups. Each storage element group contains at least one storage element, and each storage element group Corresponding to different power lines, the power lines corresponding to each storage element group are controlled separately, so that power on and off control can be realized with the storage element group as the granularity, and a part of the storage elements in the memory can be flexibly selected to be in the powered on state. Another part of the storage elements is in a power-off state; compared to the memory provided by the related art, all the storage elements are either in a power-on state. state, or both are in the power-off state. The technical solution provided by this application can achieve more flexible and fine-grained power-on and power-off control, which is more conducive to saving power consumption.
附图说明Description of the drawings
图1是本申请一个实施例提供的包含存储器的片上系统的结构示意图;Figure 1 is a schematic structural diagram of a system-on-chip including a memory provided by an embodiment of the present application;
图2是本申请一个实施例提供的存储器的结构示意图;Figure 2 is a schematic structural diagram of a memory provided by an embodiment of the present application;
图3是本申请一个实施例提供的包括2个存储元件组的存储器的示意图;Figure 3 is a schematic diagram of a memory including two storage element groups provided by an embodiment of the present application;
图4是本申请一个实施例提供的包括4个存储元件组的存储器的示意图;Figure 4 is a schematic diagram of a memory including four storage element groups provided by an embodiment of the present application;
图5是本申请一个实施例提供的包括8个存储元件组的存储器的示意图;Figure 5 is a schematic diagram of a memory including 8 storage element groups provided by an embodiment of the present application;
图6是本申请一个实施例提供的包括3个存储元件组的存储器的示意图;Figure 6 is a schematic diagram of a memory including three storage element groups provided by an embodiment of the present application;
图7是本申请一个实施例提供的电源线组成的示意图;Figure 7 is a schematic diagram of a power cord composition provided by an embodiment of the present application;
图8是本申请一个实施例提供的不同电源线对应的功能部件的示意图;Figure 8 is a schematic diagram of functional components corresponding to different power lines provided by an embodiment of the present application;
图9是本申请一个实施例提供的多组电源线连接同一个开关元件的示意图;Figure 9 is a schematic diagram of multiple sets of power lines connected to the same switching element according to an embodiment of the present application;
图10是本申请一个实施例提供的每一组电源线和一个开关元件相连的示意图;Figure 10 is a schematic diagram of each group of power lines connected to a switching element according to an embodiment of the present application;
图11是本申请一个实施例提供的开关元件的设置位置的示意图;Figure 11 is a schematic diagram of the setting position of the switch element provided by an embodiment of the present application;
图12是本申请一个实施例提供的存储器划分为2个存储元件组的示意图;Figure 12 is a schematic diagram of a memory provided by an embodiment of the present application divided into two storage element groups;
图13是本申请一个实施例提供的存储器划分为3个存储元件组的示意图;Figure 13 is a schematic diagram of a memory provided by an embodiment of the present application divided into three storage element groups;
图14是本申请一个示例性实施例提供的供电控制方法的流程图;Figure 14 is a flow chart of a power supply control method provided by an exemplary embodiment of the present application;
图15是本申请一个示例性实施例提供的终端设备的示意图。Figure 15 is a schematic diagram of a terminal device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1是本申请一个示例性实施例提供的包含存储器的片上系统(System on Chip,SoC)的结构示意图。本申请中的片上系统以运用于移动终端,如智能手机、智能手表、电子书阅读器、平板电脑、膝上便携计算机、台式计算机、电视机、游戏机、增强现实(Augmented Reality,AR)终端、虚拟现实(Virtual Reality,VR)终端和混合现实(Mixed Reality,MR)终端、可穿戴式设备等中的至少一种为例进行说明。本实施例中的片上系统100包括:主设备101、主总线103、存储控制器105以及存储器200。Figure 1 is a schematic structural diagram of a system on chip (SoC) including a memory provided by an exemplary embodiment of the present application. The system-on-chip in this application can be used in mobile terminals, such as smartphones, smart watches, e-book readers, tablet computers, laptop computers, desktop computers, televisions, game consoles, and augmented reality (Augmented Reality, AR) terminals. Taking at least one of a virtual reality (Virtual Reality, VR) terminal, a mixed reality (MR) terminal, a wearable device, etc. as an example for explanation. The system-on-chip 100 in this embodiment includes: a main device 101, a main bus 103, a memory controller 105 and a memory 200.
主设备101通过主总线103(Primary Bus)与存储控制器105相连,存储控制器105通过物理层(Physical Layer,PHY)接口与存储器200相连。在一些实施例中,该存储器200为动态随机存取存储器(Dynamic Random Access Memory,DRAM)。可选地,该DRAM采用叠层(Packaging on Packaging,PoP)封装。The main device 101 is connected to the storage controller 105 through the main bus 103 (Primary Bus), and the storage controller 105 is connected to the memory 200 through a physical layer (Physical Layer, PHY) interface. In some embodiments, the memory 200 is a dynamic random access memory (Dynamic Random Access Memory, DRAM). Optionally, the DRAM adopts Packaging on Packaging (PoP) packaging.
主设备101是具有数据读写需求的处理器或者非处理器。主设备可以包括但不限于中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)、数字信号处理器(Digital Signal Processor,DSP)等处理器,以及图像传感器(Image Sensor)、图像信号处理单元(Image Signal Processing Unit,ISP)、视频处理单元(Video Processing Unit,VPU)等非处理器。上述主设备在运行过程中均具有内存数据读和/或写的需求。图1中以处理器包括CPU、GPU和NPU,非处理器包括图像传感器与VPU为例进行示意性说明,但并不对此构成限定。The master device 101 is a processor or non-processor with data reading and writing requirements. The main device may include, but is not limited to, a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), a digital signal processor (Digital Signal Processors such as Processor (DSP), and non-processors such as Image Sensor (Image Sensor), Image Signal Processing Unit (ISP), and Video Processing Unit (VPU). The above-mentioned main devices all have memory data reading and/or writing requirements during operation. In Figure 1, the processor includes CPU, GPU and NPU, and the non-processor includes image sensor and VPU as an example for schematic illustration, but this is not a limitation.
其中,处理器利用各种接口和线路连接整个终端设备内的各个部分,通过运行或执行存储在存储器内的指令、程序、代码集或指令集,以及调用存储在存储器内的数据,执行终端设备的各种功能和处理数据。Among them, the processor uses various interfaces and lines to connect various parts of the entire terminal device, and executes the terminal device by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. various functions and process data.
在一些实施例中,处理器可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。 In some embodiments, the processor may adopt at least one of digital signal processing (DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). A form of hardware implementation.
处理器可集成CPU、GPU、NPU和基带芯片等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;NPU用于实现AI(Artificial Intelligence,人工智能)功能;基带芯片用于处理无线通信。The processor can integrate one or a combination of CPU, GPU, NPU and baseband chip. Among them, the CPU mainly handles the operating system, user interface and applications; the GPU is responsible for the rendering and drawing of the content that needs to be displayed on the display; the NPU is used to implement AI (Artificial Intelligence, artificial intelligence) functions; the baseband chip is used for processing Wireless communication.
在一些实施例中,主设备101与主总线103之间,主总线103与存储控制器105之间建立有m条采用AXI(Advanced eXtensible Interface,高级扩展接口)协议的链路。示例性的如图1所示,各个主设备101与主总线103之间,主总线103与存储控制器105之间建立有4条位宽(Width)为256bits的AXI链路。In some embodiments, m links using the AXI (Advanced eXtensible Interface, Advanced Extension Interface) protocol are established between the main device 101 and the main bus 103, and between the main bus 103 and the storage controller 105. As shown in FIG. 1 , four AXI links with a width of 256 bits are established between each master device 101 and the main bus 103, and between the main bus 103 and the memory controller 105.
在一些实施例中,存储控制器105包括从总线(Secondary Bus)、k个控制器(对应k条内存通道)以及各个控制器对应的物理层接口,k为正整数。In some embodiments, the storage controller 105 includes a secondary bus, k controllers (corresponding to k memory channels), and physical layer interfaces corresponding to each controller, where k is a positive integer.
在一些实施例中,从总线与控制器之间建立有采用AXI协议的链路,且在从总线处实现分路功能。比如,经过从总线分路后(k条分路为n条,n为正整数),从总线与控制器之间建立有8条位宽为128bits的AXI链路。相应的,存储控制器105与存储器200之间建立8条位宽为128bits的AXI链路。In some embodiments, a link using the AXI protocol is established between the slave bus and the controller, and the branching function is implemented at the slave bus. For example, after the slave bus is branched (k branches are n branches, n is a positive integer), 8 AXI links with a bit width of 128 bits are established between the slave bus and the controller. Correspondingly, eight AXI links with a bit width of 128 bits are established between the memory controller 105 and the memory 200 .
存储器200是支持n(n>k)条内存通道的存储器,且存储器200中的n个存储元件分别具备工作总线,即各个存储元件的工作总线通过并发方式与存储控制器105相连。The memory 200 is a memory that supports n (n>k) memory channels, and the n storage elements in the memory 200 each have a working bus, that is, the working bus of each storage element is connected to the storage controller 105 in a concurrent manner.
图1以片上系统中集成有存储器(即存储器设置在片上系统内部)为例进行说明,在其他可能的设计中,存储器可以设置在片上系统外部,本申请实施例对此不作限定。Figure 1 takes a system on a chip that integrates a memory (that is, the memory is arranged inside the system on a chip) as an example. In other possible designs, the memory can be arranged outside the system on a chip. This is not limited in the embodiments of the present application.
图2是本申请一个示例性实施例提供的存储器的结构示意图。Figure 2 is a schematic structural diagram of a memory provided by an exemplary embodiment of the present application.
存储器200包括n个存储元件201,n为大于1的整数。在一些实施例中,该存储器200为DRAM,该存储元件201为存储晶片(Die)。可选地,该DRAM采用TOP封装。本申请实施例并不对存储器200以及存储元件201的具体类型进行限定。The memory 200 includes n storage elements 201, where n is an integer greater than 1. In some embodiments, the memory 200 is a DRAM, and the storage element 201 is a memory die. Optionally, the DRAM is packaged in TOP. The embodiment of the present application does not limit the specific types of the memory 200 and the storage element 201.
在一些实施例中,存储元件201的内部颗粒可以采用2D(Two Dimensional,二维)方式排列或者3D(Three Dimensional,三维)方式排列。其中,3D方式排列可以采用简单堆叠(Simple Stack)、垂直沟道(Vertical Channel,VC)或者垂直栅极(Vertical Grid,VG)等方式。In some embodiments, the internal particles of the storage element 201 may be arranged in a 2D (Two Dimensional, two-dimensional) manner or a 3D (Three Dimensional, three-dimensional) manner. Among them, the 3D arrangement can adopt simple stack (Simple Stack), vertical channel (Vertical Channel, VC) or vertical gate (Vertical Grid, VG) and other methods.
在一些实施例中,各个存储元件201的元件参数(比如容量)相同,比如,各个存储元件201均为16Gb×16数据位宽(Datawidth)的规格。在另一些实施例中,部分存储元件的元件参数相同,部分存储元件的元件参数不同,或者,不同存储元件的元件参数不同,本申请实施例并不对各个存储元件的具体元件参数进行限定。In some embodiments, the element parameters (such as capacity) of each storage element 201 are the same. For example, each storage element 201 has a specification of 16Gb×16 data width (Datawidth). In other embodiments, some storage elements have the same component parameters, some storage components have different component parameters, or different storage components have different component parameters. The embodiments of this application do not limit the specific component parameters of each storage component.
n个存储元件201被封装成一个存储颗粒,比如采用POP封装的DRAM器件。在一些可能的设计中,n个存储元件201采用2D封装或者3D封装,本申请实施例并不对具体封装方式进行限定。n storage elements 201 are packaged into a storage particle, such as a DRAM device using POP packaging. In some possible designs, the n storage elements 201 adopt 2D packaging or 3D packaging. The embodiments of this application do not limit the specific packaging method.
本申请实施例中的存储器200支持n条的内存通道,因此存储器200中的存储元件201的数量等于n,且不同存储元件201分别对应各自的内存通道,即n个存储元件对应n条内存通道。比如,对于支持8条内存通道的存储器,该存储器中设置有8个存储元件;对于支持6条内存通道的存储器,该存储器中设置有6个存储元件。本申请实施例并不对存储元件的具体数量(正整数即可,可以为偶数,也可以为奇数)进行限定。The memory 200 in the embodiment of the present application supports n memory channels, so the number of storage elements 201 in the memory 200 is equal to n, and different storage elements 201 correspond to respective memory channels, that is, n storage elements correspond to n memory channels. . For example, for a memory that supports 8 memory channels, 8 storage elements are provided in the memory; for a memory that supports 6 memory channels, 6 storage elements are provided with the memory. The embodiments of the present application do not limit the specific number of storage elements (a positive integer is sufficient, and it can be an even number or an odd number).
在一些实施例中,存储器200包括:m个存储元件组,每个存储元件组包括至少一个存储元件201,m为大于1的整数。也就是说,存储器200包括的n个存储元件201被划分为m个存储元件组,一个存储元件组中可以有且仅有一个存储元件201,也可以包括多个(两个或两个以上)存储元件201。In some embodiments, the memory 200 includes: m storage element groups, each storage element group includes at least one storage element 201, and m is an integer greater than 1. That is to say, the n storage elements 201 included in the memory 200 are divided into m storage element groups. One storage element group may have one and only one storage element 201, or may include multiple (two or more) storage elements 201. Storage element 201.
在一些实施例中,对于上述m个存储元件组,各个存储元件组中包含的存储元件201的数量相同。In some embodiments, for the above m storage element groups, the number of storage elements 201 included in each storage element group is the same.
示例性地,如图3所示,存储器200包括8个存储元件201,该8个存储元件201被划 分为2个存储元件组,记为第一存储元件组和第二存储元件组,每个存储元件组包括4个存储元件201。在图3中,第一存储元件组包括内存通道A、B、C和D分别对应的存储元件201,第二存储元件组包括内存通道E、F、G和H分别对应的存储元件201。Illustratively, as shown in FIG. 3, the memory 200 includes 8 storage elements 201, and the 8 storage elements 201 are divided into It is divided into two storage element groups, denoted as a first storage element group and a second storage element group, and each storage element group includes four storage elements 201 . In FIG. 3 , the first storage element group includes storage elements 201 corresponding to memory channels A, B, C and D respectively, and the second storage element group includes storage elements 201 corresponding to memory channels E, F, G and H respectively.
示例性地,如图4所示,存储器200包括8个存储元件201,该8个存储元件201被划分为4个存储元件组,记为第一存储元件组、第二存储元件组、第三存储元件组和第四存储元件组,每个存储元件组包括2个存储元件201。在图4中,第一存储元件组包括内存通道A和B分别对应的存储元件201,第二存储元件组包括内存通道C和D分别对应的存储元件201,第三存储元件组包括内存通道E和F分别对应的存储元件201,第四存储元件组包括内存通道G和H分别对应的存储元件201。For example, as shown in Figure 4, the memory 200 includes 8 storage elements 201, which are divided into 4 storage element groups, denoted as a first storage element group, a second storage element group, and a third storage element group. The storage element group and the fourth storage element group, each storage element group includes 2 storage elements 201 . In Figure 4, the first storage element group includes storage elements 201 corresponding to memory channels A and B respectively, the second storage element group includes storage elements 201 corresponding to memory channels C and D respectively, and the third storage element group includes memory channel E. and F respectively correspond to storage elements 201. The fourth storage element group includes storage elements 201 corresponding to memory channels G and H respectively.
示例性地,如图5所示,每个存储元件组包括一个存储元件201,存储器200包括8个存储元件201,该8个存储元件201被划分为8个存储元件组,在图5中,每一个虚线框代表一个存储元件组,每个存储元件组包括1个存储元件201。Exemplarily, as shown in Figure 5, each storage element group includes one storage element 201, and the memory 200 includes 8 storage elements 201, and the 8 storage elements 201 are divided into 8 storage element groups. In Figure 5, Each dotted box represents a storage element group, and each storage element group includes one storage element 201.
在一些实施例中,对于上述m个存储元件组,存在至少两个存储元件组中包含的存储元件201的数量不同。In some embodiments, for the above-mentioned m storage element groups, there are at least two storage element groups that contain different numbers of storage elements 201 .
示例性地,如图6所示,存储器200包括8个存储元件201,该8个存储元件201被划分为3个存储元件组,记为第一存储元件组、第二存储元件组和第三存储元件组;其中,第一存储元件组包括2个存储元件201,如图6示出的内存通道A和B分别对应的存储元件201;第二存储元件组包括2个存储元件201,如图6示出的内存通道C和D分别对应的存储元件201;第三存储元件组包括4个存储元件201,如图6示出的内存通道E、F、G和H分别对应的存储元件201。For example, as shown in Figure 6, the memory 200 includes 8 storage elements 201, which are divided into 3 storage element groups, denoted as a first storage element group, a second storage element group and a third storage element group. Storage element group; wherein, the first storage element group includes 2 storage elements 201, such as the storage elements 201 corresponding to memory channels A and B shown in Figure 6; the second storage element group includes 2 storage elements 201, as shown in Figure 6 Memory channels C and D shown in Figure 6 correspond to storage elements 201 respectively; the third storage element group includes four storage elements 201, such as memory channels E, F, G and H shown in Figure 6 correspond to storage elements 201 respectively.
当然,上述图3至图6仅是示例性给出了几种存储元件组的划分方式,本申请对存储器200中包含的存储元件组的数量,以及每个存储元件组中包含的存储元件201的数量不作限定,这可以结合实际需求进行设计和划分。Of course, the above-mentioned FIGS. 3 to 6 are only examples of how to divide several storage element groups. This application specifies the number of storage element groups included in the memory 200 and the storage elements 201 included in each storage element group. There is no limit to the quantity, which can be designed and divided according to actual needs.
在一些实施例中,上述m个存储元件组和m组电源线一一对应,该m组电源线被分别控制。也就是说,每一个存储元件组具有对应的一组电源线,由于m组电源线被分别控制,因此m个存储元件组能够被独立地控制上电或下电。In some embodiments, the m storage element groups and the m groups of power lines correspond one to one, and the m groups of power lines are controlled respectively. That is to say, each storage element group has a corresponding set of power lines. Since the m groups of power lines are controlled separately, the m storage element groups can be independently controlled to power on or off.
在一些实施例中,对于m个存储元件组中的第i个存储元件组,在第i个存储元件组对应的电源线导通的情况下,第i个存储元件组内的存储元件处于上电状态;在第i个存储元件组对应的电源线断开的情况下,第i个存储元件组内的存储元件处于下电状态,i为小于或等于m的正整数。In some embodiments, for the i-th storage element group among the m storage element groups, when the power line corresponding to the i-th storage element group is turned on, the storage elements in the i-th storage element group are at the upper level. Electrical state; when the power line corresponding to the i-th storage element group is disconnected, the storage elements in the i-th storage element group are in a power-off state, and i is a positive integer less than or equal to m.
示例性地,如图3所示,第一存储元件组对应于第一电源线,第二存储元件组对应于第二电源线。第一电源线和第二电源线被分别控制。例如,在第一电源线导通的情况下,第一存储元件组中包含的4个存储元件201(即内存通道A、B、C和D分别对应的存储元件201)处于上电状态;在第一电源线断开的情况下,第一存储元件组中包含的4个存储元件201(即内存通道A、B、C和D分别对应的存储元件201)处于下电状态。又例如,在第二电源线导通的情况下,第二存储元件组中包含的4个存储元件201(即内存通道E、F、G和H分别对应的存储元件201)处于上电状态;在第二电源线断开的情况下,第二存储元件组中包含的4个存储元件201(即内存通道E、F、G和H分别对应的存储元件201)处于下电状态。Exemplarily, as shown in FIG. 3 , the first storage element group corresponds to the first power supply line, and the second storage element group corresponds to the second power supply line. The first power line and the second power line are controlled separately. For example, when the first power line is turned on, the four storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A, B, C, and D respectively) are in a powered-on state; When the first power line is disconnected, the four storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A, B, C, and D respectively) are in a power-off state. For another example, when the second power line is turned on, the four storage elements 201 included in the second storage element group (i.e., the storage elements 201 corresponding to the memory channels E, F, G, and H respectively) are in the powered-on state; When the second power line is disconnected, the four storage elements 201 included in the second storage element group (that is, the storage elements 201 corresponding to the memory channels E, F, G, and H respectively) are in a power-off state.
示例性地,如图4所示,第一存储元件组对应于第一电源线,第二存储元件组对应于第二电源线,第三存储元件组对应于第三电源线,第四存储元件组对应于第四电源线。第一电源线、第二电源线、第三电源线和第四电源线被分别控制。例如,在第一电源线导通的情况下,第一存储元件组中包含的2个存储元件201(即内存通道A和B分别对应的存储元件201)处于上电状态;在第一电源线断开的情况下,第一存储元件组中包含的2个存储元件201(即内存通道A和B分别对应的存储元件201)处于下电状态。又例如,在第二电源线导通的情况下,第二存储元件组中包含的2个存储元件201(即内存通道C和D分别对应的存储元件 201)处于上电状态;在第二电源线断开的情况下,第二存储元件组中包含的2个存储元件201(即内存通道C和D分别对应的存储元件201)处于下电状态。第三存储元件组和第四存储元件组可以此类推。Exemplarily, as shown in Figure 4, the first storage element group corresponds to the first power line, the second storage element group corresponds to the second power line, the third storage element group corresponds to the third power line, and the fourth storage element Group corresponds to the fourth power cord. The first power line, the second power line, the third power line and the fourth power line are controlled respectively. For example, when the first power line is turned on, the two storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A and B respectively) are in a powered-on state; when the first power line When disconnected, the two storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A and B respectively) are in a power-off state. For another example, when the second power line is turned on, the two storage elements 201 included in the second storage element group (that is, the storage elements corresponding to memory channels C and D respectively) 201) is in the powered-on state; when the second power line is disconnected, the two storage elements 201 included in the second storage element group (ie, the storage elements 201 corresponding to memory channels C and D respectively) are in the powered-off state. The third storage element group and the fourth storage element group can be deduced in the same way.
示例性地,如图5所示,8个存储元件组和8组电源线一一对应,8组电源线被分别控制。例如,在第一电源线导通的情况下,第一存储元件组中包含的1个存储元件201(即内存通道A对应的存储元件201)处于上电状态;在第一电源线断开的情况下,第一存储元件组中包含的1个存储元件201(即内存通道A对应的存储元件201)处于下电状态。又例如,在第二电源线导通的情况下,第二存储元件组中包含的1个存储元件201(即内存通道B对应的存储元件201)处于上电状态;在第二电源线断开的情况下,第二存储元件组中包含的1个存储元件201(即内存通道B对应的存储元件201)处于下电状态。其他存储元件组可以此类推。For example, as shown in Figure 5, 8 storage element groups and 8 groups of power lines correspond one to one, and the 8 groups of power lines are controlled respectively. For example, when the first power line is turned on, one storage element 201 included in the first storage element group (that is, the storage element 201 corresponding to memory channel A) is in a powered-on state; when the first power line is turned off, In this case, one storage element 201 included in the first storage element group (that is, the storage element 201 corresponding to memory channel A) is in a power-off state. For another example, when the second power line is turned on, one storage element 201 included in the second storage element group (that is, the storage element 201 corresponding to memory channel B) is in a powered state; when the second power line is turned off, In the case of , one storage element 201 included in the second storage element group (that is, the storage element 201 corresponding to memory channel B) is in a power-off state. Other storage element groups can be deduced in this way.
示例性地,如图6所示,第一存储元件组对应于第一电源线,第二存储元件组对应于第二电源线,第三存储元件组对应于第三电源线。第一电源线、第二电源线和第三电源线被分别控制。例如,在第一电源线导通的情况下,第一存储元件组中包含的2个存储元件201(即内存通道A和B分别对应的存储元件201)处于上电状态;在第一电源线断开的情况下,第一存储元件组中包含的2个存储元件201(即内存通道A和B分别对应的存储元件201)处于下电状态。又例如,在第二电源线导通的情况下,第二存储元件组中包含的2个存储元件201(即内存通道C和D分别对应的存储元件201)处于上电状态;在第二电源线断开的情况下,第二存储元件组中包含的2个存储元件201(即内存通道C和D分别对应的存储元件201)处于下电状态。又例如,在第三电源线导通的情况下,第三存储元件组中包含的4个存储元件201(即内存通道E、F、G和H分别对应的存储元件201)处于上电状态;在第三电源线断开的情况下,第三存储元件组中包含的4个存储元件201(即内存通道E、F、G和H分别对应的存储元件201)处于下电状态。For example, as shown in FIG. 6 , the first storage element group corresponds to the first power line, the second storage element group corresponds to the second power line, and the third storage element group corresponds to the third power line. The first power line, the second power line and the third power line are controlled separately. For example, when the first power line is turned on, the two storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A and B respectively) are in a powered-on state; when the first power line When disconnected, the two storage elements 201 included in the first storage element group (that is, the storage elements 201 corresponding to memory channels A and B respectively) are in a power-off state. For another example, when the second power line is turned on, the two storage elements 201 included in the second storage element group (that is, the storage elements 201 corresponding to memory channels C and D respectively) are in a powered-on state; when the second power supply When the line is disconnected, the two storage elements 201 included in the second storage element group (that is, the storage elements 201 corresponding to memory channels C and D respectively) are in a power-off state. For another example, when the third power line is turned on, the four storage elements 201 included in the third storage element group (i.e., the storage elements 201 corresponding to memory channels E, F, G, and H respectively) are in the powered-on state; When the third power line is disconnected, the four storage elements 201 included in the third storage element group (that is, the storage elements 201 corresponding to the memory channels E, F, G, and H respectively) are in a power-off state.
在一些实施例中,每组电源线包括一根电源线,该一根电源线用于给存储元件201中的各个功能部件进行供电。In some embodiments, each set of power lines includes one power line, and the one power line is used to power each functional component in the storage element 201 .
在一些实施例中,每组电源线包括多根不同的电源线,该多根不同的电源线用于给存储元件201中的不同功能部件进行供电。例如,每组电源线包括3根不同的电源线,记为电源线1、电源线2和电源线3,假设存储元件201包括功能部件1、功能部件2、功能部件3、功能部件4和功能部件5,示例性地,电源线1用于给存储元件201中的功能部件1和2进行供电,电源线2用于给存储元件201中的功能部件3进行供电,电源线3用于给存储元件201中的功能部件4和5进行供电。In some embodiments, each group of power lines includes a plurality of different power lines, and the plurality of different power lines are used to power different functional components in the storage element 201 . For example, each group of power cords includes three different power cords, denoted as power cord 1, power cord 2 and power cord 3. It is assumed that the storage element 201 includes functional part 1, functional part 2, functional part 3, functional part 4 and function Component 5, for example, the power line 1 is used to supply power to the functional components 1 and 2 in the storage element 201, the power line 2 is used to supply power to the functional component 3 in the storage element 201, and the power line 3 is used to supply power to the storage element 201. Functional components 4 and 5 in element 201 are powered.
在一些实施例中,如图7和图8所示,每组电源线包括VDD1电源线、VDD2H电源线、VDD2L电源线、VDDQ电源线共4根不同的电源线。这4根不同的电源线用于给存储元件201中的不同功能部件进行供电,以提供不同的电压,每一根电源线用于给其对应的功能部件提供适合该功能部件工作的电压。示例性地,VDDQ电源线用于提供VDDQ电压,VDDQ电压可以称为输入输出接口电压,用于提供给存储元件201中的输入输出接口部件。VDD1电源线用于提供VDD1电压,VDD2电源线用于提供VDD2电压,VDD2电源线又可以分为VDD2H电源线和VDD2L电源线,其中VDD2H电源线用于提供VDD2H电压,VDD2L电源线用于提供VDD2L电压。VDD1电压和VDD2电压均可称为核心电压,用于提供给存储元件201中的核心部件。VDD2H电压可以称为高频核心电压,VDD2L电压可以称为低频核心电压,两者对应的核心部件的工作频率存在差异。另外,VDD1电压相比于VDD2电压更高一些,用于向一些需要高压工作的核心部件提供电源电压。在图8示例中,存储元件201中斜线填充所示的功能部件由VDDQ提供电源电压,存储元件201中点状填充所示的功能部件由VDD2H或VDD2L提供电源电压,存储元件201中交叉线填充所示的功能部件由VDD1提供电源电压。 In some embodiments, as shown in Figures 7 and 8, each group of power lines includes a total of four different power lines: VDD1 power line, VDD2H power line, VDD2L power line, and VDDQ power line. These four different power lines are used to supply power to different functional components in the storage element 201 to provide different voltages. Each power wire is used to provide its corresponding functional component with a voltage suitable for the operation of the functional component. For example, the VDDQ power line is used to provide the VDDQ voltage, which may be called the input-output interface voltage, and is used to provide the input-output interface component in the storage element 201 . The VDD1 power line is used to provide VDD1 voltage, the VDD2 power line is used to provide VDD2 voltage, and the VDD2 power line can be divided into a VDD2H power line and a VDD2L power line. The VDD2H power line is used to provide VDD2H voltage, and the VDD2L power line is used to provide VDD2L. Voltage. Both the VDD1 voltage and the VDD2 voltage can be called core voltages and are used to provide core components in the storage element 201 . The VDD2H voltage can be called the high-frequency core voltage, and the VDD2L voltage can be called the low-frequency core voltage. There are differences in the operating frequencies of the core components corresponding to the two. In addition, the VDD1 voltage is higher than the VDD2 voltage and is used to provide power supply voltage to some core components that require high-voltage operation. In the example of FIG. 8 , the functional components indicated by diagonal filling in the storage element 201 are supplied with power supply voltage by VDDQ. The functional components indicated by dotted filling in the storage element 201 are supplied with power supply voltage by VDD2H or VDD2L. The crossed lines in the storage element 201 The features shown in the fill are powered by VDD1.
本申请实施例提供了一种支持灵活控制存储元件上电或下电的存储器,通过将存储器划分为多个存储元件组,每个存储元件组中包含至少一个存储元件,且每个存储元件组对应于不同的电源线,各个存储元件组分别对应的电源线被分别控制,这样就可以实现以存储元件组为粒度的上下电控制,能够灵活选择存储器中的一部分存储元件处于上电状态,同时另一部分存储元件处于下电状态;相比于相关技术给出的存储器中全部存储元件要么同为上电状态,要么同为下电状态,本申请提供的技术方案能够实现更加灵活、细粒度的上下电控制,更有利于节省功耗。Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements by dividing the memory into multiple storage element groups. Each storage element group contains at least one storage element, and each storage element group Corresponding to different power lines, the power lines corresponding to each storage element group are controlled separately, so that power on and off control can be realized with the storage element group as the granularity, and a part of the storage elements in the memory can be flexibly selected to be in the powered on state. Another part of the storage elements is in a power-off state; compared with the related technology that all storage elements in the memory are either in the same power-on state or in the same power-off state, the technical solution provided by this application can achieve more flexible and fine-grained Power on and off control is more conducive to saving power consumption.
另外,存储器中包含的存储元件组的数量,以及每个存储元件组中包含的存储元件的数量可以灵活划分。在一些实施例中,将多个存储元件划分至同一个存储元件组中,可以使得存储器中划分的存储元件组的数量不至于过多,有助于降低复杂度。在一些实施例中,在每个存储元件组中有且仅有一个存储元件的情况下,可以达到以单个存储元件为粒度的上下电控制,这种方式更加灵活且更有助于节能,但相应的复杂度也会更高一些。In addition, the number of storage element groups included in the memory and the number of storage elements included in each storage element group can be flexibly divided. In some embodiments, dividing multiple storage elements into the same storage element group can prevent the number of divided storage element groups in the memory from being too large, which helps to reduce complexity. In some embodiments, when there is only one storage element in each storage element group, power on and off control can be achieved at the granularity of a single storage element. This method is more flexible and more conducive to energy saving, but The corresponding complexity will also be higher.
在一些实施例中,如图9所示,电源线和开关元件300的一端相连,开关元件300的另一端用于接收输入电压,开关元件300用于控制电源线导通或断开。In some embodiments, as shown in Figure 9, the power line is connected to one end of the switching element 300, the other end of the switching element 300 is used to receive the input voltage, and the switching element 300 is used to control the power line to be turned on or off.
在一些实施例中,上述m组电源线中,每一组电源线和一个开关元件相连,不同的电源线连接不同的开关元件;其中,m组电源线中的第i组电源线连接的开关元件,用于控制第i组电源线导通或断开。示例性地,如图10所示,以存储器200包括8个存储元件201,该8个存储元件201被划分为2个存储元件组为例,第一存储元件组对应于第一电源线,第二存储元件组对应于第二电源线,第一电源线和第一开关元件301相连,第二电源线和第二开关元件302相连。第一开关元件301和第二开关元件302是两个不同的开关元件。第一开关元件301用于控制第一电源线导通或断开,以使得第一存储元件组中的存储元件201上电或下电。第二开关元件302用于控制第二电源线导通或断开,以使得第二存储元件组中的存储元件201上电或下电。这种方式下,存储元件组、电源线和开关元件一一对应,实现了各个存储元件组的上下电状态的独立灵活控制。In some embodiments, in the above-mentioned m groups of power lines, each group of power lines is connected to a switching element, and different power lines are connected to different switching elements; wherein, the i-th group of power lines in the m groups of power lines is connected to a switch. Component, used to control the conduction or disconnection of the i-th group of power lines. For example, as shown in FIG. 10 , the memory 200 includes 8 storage elements 201 , and the 8 storage elements 201 are divided into 2 storage element groups. The first storage element group corresponds to the first power line, and the first storage element group corresponds to the first power line. The two storage element groups correspond to second power lines, the first power line is connected to the first switching element 301 , and the second power line is connected to the second switching element 302 . The first switching element 301 and the second switching element 302 are two different switching elements. The first switch element 301 is used to control the first power line to be turned on or off, so that the storage element 201 in the first storage element group is powered on or off. The second switch element 302 is used to control the second power line to be turned on or off, so that the storage element 201 in the second storage element group is powered on or off. In this way, storage element groups, power lines and switching elements correspond one to one, achieving independent and flexible control of the power on and off states of each storage element group.
在一些实施例中,上述m组电源线中,存在至少两组电源线连接同一个开关元件;其中,开关元件用于控制至少两组电源线中的每一组电源线独立地导通或断开。示例性地,如图9所示,以存储器200包括8个存储元件201,该8个存储元件201被划分为2个存储元件组为例,第一存储元件组对应于第一电源线,第二存储元件组对应于第二电源线,第一电源线和第二电源线连接同一个开关元件300。该开关元件300能够控制第一电源线和第二电源线独立地导通或断开。例如,该开关元件300能够控制第一电源线和第二电源线均导通,以使得第一存储元件组和第二存储元件组中的存储元件201均处于上电状态;该开关元件300能够控制第一电源线和第二电源线均断开,以使得第一存储元件组和第二存储元件组中的存储元件201均处于下电状态;该开关元件300能够控制第一电源线导通以及第二电源线断开,以使得第一存储元件组中的存储元件201处于上电状态,第二存储元件组中的存储元件201处于下电状态;该开关元件300能够控制第一电源线断开以及第二电源线导通,以使得第一存储元件组中的存储元件201处于下电状态,第二存储元件组中的存储元件201处于上电状态。这种方式下,多组电源线可以连接同一个开关元件,并通过该开关元件控制每一组电源线独立地导通或断开,同样能够实现各个存储元件组的上下电状态的独立灵活控制,且可以节省开关元件的数量。In some embodiments, among the above-mentioned m sets of power lines, there are at least two sets of power lines connected to the same switching element; wherein, the switching element is used to control each of the at least two sets of power lines to be turned on or off independently. open. For example, as shown in FIG. 9 , the memory 200 includes 8 storage elements 201 , and the 8 storage elements 201 are divided into 2 storage element groups. The first storage element group corresponds to the first power line, and the first storage element group corresponds to the first power line. The two storage element groups correspond to the second power lines, and the first power line and the second power line are connected to the same switching element 300 . The switching element 300 can control the first power line and the second power line to be turned on or off independently. For example, the switching element 300 can control both the first power line and the second power line to be turned on, so that the storage elements 201 in the first storage element group and the second storage element group are both in a powered state; the switching element 300 can The first power line and the second power line are both controlled to be disconnected, so that the storage elements 201 in the first storage element group and the second storage element group are both in a power-off state; the switching element 300 can control the first power line to be turned on. And the second power line is disconnected, so that the storage element 201 in the first storage element group is in the powered-on state, and the storage element 201 in the second storage element group is in the powered-off state; the switch element 300 can control the first power line The power supply line is disconnected and the second power line is connected, so that the storage elements 201 in the first storage element group are in a power-off state, and the storage elements 201 in the second storage element group are in a power-on state. In this way, multiple sets of power lines can be connected to the same switching element, and each group of power lines can be controlled to be independently turned on or off through the switching element. This can also achieve independent and flexible control of the power on and off states of each storage element group. , and can save the number of switching components.
在上述图9和图10所示的存储器200中,仅以该存储器200包括8个存储元件201,且该8个存储元件201被划分为2个存储元件组为例进行介绍说明。对于其他划分方式的存储器200,同样可以采用上文介绍的方式,利用开关元件来控制电源线导通或断开。In the above-mentioned memory 200 shown in FIG. 9 and FIG. 10 , the memory 200 includes eight storage elements 201 and the eight storage elements 201 are divided into two storage element groups as an example for introduction and explanation. For memories 200 in other partitioning modes, the method introduced above can also be adopted, and switching elements are used to control the conduction or disconnection of the power line.
下面,对开关元件的设置位置进行介绍说明。如图11所示,其示例性示出了开关元件的几种可能的设置位置。 Next, the setting positions of the switching elements are introduced and explained. As shown in FIG. 11 , several possible arrangement positions of the switching element are exemplarily shown.
在一些实施例中,开关元件设置在存储器200内部,如图11中编号为(1)的位置所示。In some embodiments, the switching element is disposed inside the memory 200, as shown at position numbered (1) in FIG. 11 .
在一些实施例中,开关元件设置在电源管理芯片(Power Management IC,PMIC)400内部,如图11中编号为(2)的位置所示。其中,电源管理芯片400用于为存储器200提供输入电压。In some embodiments, the switching element is disposed inside the power management chip (Power Management IC, PMIC) 400, as shown at the position numbered (2) in Figure 11. The power management chip 400 is used to provide input voltage to the memory 200 .
在一些实施例中,开关元件设置在存储器200和电源管理芯片400之间,如图11中编号为(3)的位置所示。可选地,在这种情况下,如果存储器200和电源管理芯片400设置在同一块电路板上,那么开关元件也可以设置在该电路板上;如果存储器200和电源管理芯片400设置在两块不同的电路板上,那么开关元件可以设置在用于承载存储器200的电路板上,也可以设置在用于承载电源管理芯片400的电路板上,还可以设置在除上述两块电路板之外的另一块电路板上,本申请对此不作限定。In some embodiments, the switching element is disposed between the memory 200 and the power management chip 400, as shown at the position numbered (3) in FIG. 11 . Optionally, in this case, if the memory 200 and the power management chip 400 are arranged on the same circuit board, the switching element can also be arranged on the circuit board; if the memory 200 and the power management chip 400 are arranged on two On different circuit boards, the switching element can be provided on the circuit board used to carry the memory 200, or can be provided on the circuit board used to carry the power management chip 400, or can also be provided in addition to the above two circuit boards. on another circuit board, this application does not limit this.
本申请实施例提供了开关元件的多种设置方式,在实际应用中,可以结合实际需求选择合适的方式对开关元件进行设置。The embodiments of the present application provide a variety of setting methods for switching elements. In practical applications, an appropriate method can be selected to set the switching elements based on actual needs.
另外,上文已经介绍,电源线和开关元件的一端相连,开关元件的另一端用于接收输入电压,输入电压可以由电源管理芯片400提供。在本申请实施例中,将开关元件的一端与存储器200(或者说存储元件201)之间的导线称为电源线,将开关元件的另一端与电源管理芯片400之间的导线称为电压传输线。In addition, as mentioned above, the power line is connected to one end of the switching element, and the other end of the switching element is used to receive the input voltage. The input voltage can be provided by the power management chip 400 . In the embodiment of the present application, the wire between one end of the switching element and the memory 200 (or storage element 201) is called a power line, and the wire between the other end of the switching element and the power management chip 400 is called a voltage transmission line. .
示例性地,在开关元件处于电源管理芯片400内部的情况下,电源线可以包括电源管理芯片400与存储器200之间的导线,电压传输线可以包括电源管理芯片400内部的走线;在开关元件处于存储器200内部的情况下,电源线可以包括存储器200内部的走线,电压传输线可以包括电源管理芯片400与存储器200之间的导线;在开关元件处于存储器200和电源管理芯片400之间的情况下,电源线可以包括存储器200与开关元件之间的导线,电压传输线可以包括开关元件与电源管理芯片400之间的导线。For example, when the switching element is inside the power management chip 400, the power line may include a wire between the power management chip 400 and the memory 200, and the voltage transmission line may include a wiring inside the power management chip 400; when the switching element is inside In the case inside the memory 200 , the power lines may include wiring inside the memory 200 , and the voltage transmission lines may include wires between the power management chip 400 and the memory 200 ; in the case where the switching element is between the memory 200 and the power management chip 400 , the power line may include a wire between the memory 200 and the switching element, and the voltage transmission line may include a wire between the switching element and the power management chip 400 .
在一些实施例中,如图9或图10所示,开关元件的控制端与控制电路500连接,控制电路500用于控制开关元件导通或断开,以通过开关元件独立地控制各个存储元件组的上电或下电。控制电路500可以是任意形式的处理器、控制器、微处理器或者具备数据处理能力的集成电路芯片,本申请对控制电路500的实现形式不作限定。In some embodiments, as shown in Figure 9 or Figure 10, the control end of the switching element is connected to the control circuit 500. The control circuit 500 is used to control the switching element to be turned on or off to independently control each storage element through the switching element. Power on or off the group. The control circuit 500 may be any form of processor, controller, microprocessor, or integrated circuit chip with data processing capabilities. This application does not limit the implementation form of the control circuit 500.
在一些实施例中,控制电路500可以设置在存储器200内部,控制电路500也可以设置在电源管理芯片400内部,控制电路500还可以设置在用于承载存储器200和/或电源管理芯片400的电路板上。本申请对控制电路500的设置位置也不作限定。In some embodiments, the control circuit 500 can be disposed inside the memory 200 , the control circuit 500 can also be disposed inside the power management chip 400 , and the control circuit 500 can also be disposed in a circuit used to carry the memory 200 and/or the power management chip 400 on the board. This application also does not limit the installation location of the control circuit 500.
在一些实施例中,控制电路500用于根据工作模式,向开关元件发送控制信号,该控制信号用于控制开关元件导通或断开。有关控制电路500的工作流程,具体可参见下文方法实施例中的介绍说明。In some embodiments, the control circuit 500 is used to send a control signal to the switching element according to the working mode, and the control signal is used to control the switching element to be turned on or off. Regarding the working process of the control circuit 500, please refer to the introduction in the method embodiment below for details.
在一些实施例中,存储器中的n个存储元件被划分为至少两个存储元件组(或称为存储区域(Region)),不同的存储元件组之间互不影响。In some embodiments, the n storage elements in the memory are divided into at least two storage element groups (or storage regions), and different storage element groups do not affect each other.
可选地,不同存储元件组用于供不同对象使用,该对象可以包括操作系统、内核空间(Kernel Space)、预留空间(Reserved Space)和应用程序中的至少一种。Optionally, different storage element groups are used for different objects, and the objects may include at least one of an operating system, a kernel space (Kernel Space), a reserved space (Reserved Space), and an application program.
在一个示意性的例子中,如图12所示,存储器中的多个存储元件被划分为第一存储元件组51和第二存储元件组52,其中,第一存储元件组51用于供高性能应用程序使用,该高性能应用程序指对内存需求较高的应用程序,比如游戏应用程序、AI应用程序等等;第二存储元件组52则用于供默认内核(Kernel)空间、预留空间以及常用应用程序(Normal Usage Application)使用,该常用应用程序可以为默认设置或者自定义或者基于使用频率确定得到,比如桌面应用、时钟应用等等。也就是说,在无高性能应用程序运行时,存储器中的第二存储元件组52处于上电状态,第一存储元件组51处于下电状态,从而节省功耗;在有高性能应用程序运行时,存储器中的第二存储元件组52和第一存储元件组51均处于上电状态。在 一些实施例中,在第二存储元件组52和第一存储元件组51均处于上电状态的情况下,高性能应用程序既可以使用第一存储元件组52进行数据存储,也可以使用第二存储元件组52进行数据存储;同样地,默认内核空间、预留空间以及常用应用程序也可以同时使用第一存储元件组52和第二存储元件组52进行数据存储。当高性能应用程序从运行状态切换至停止运行之后,如果第一存储元件组52中存储有默认内核空间、预留空间以及常用应用程序相关的数据,那么可以先将第一存储元件组52中存储的该默认内核空间、预留空间以及常用应用程序相关的数据迁移至第二存储元件组52中,然后再控制第一存储元件组52下电。In an illustrative example, as shown in Figure 12, multiple storage elements in the memory are divided into a first storage element group 51 and a second storage element group 52, where the first storage element group 51 is used to provide high Used by performance applications, which refer to applications with high memory requirements, such as game applications, AI applications, etc.; the second storage element group 52 is used for default kernel (Kernel) space, reserved space and commonly used applications (Normal Usage Application), which can be default settings or customized or determined based on frequency of use, such as desktop applications, clock applications, etc. That is to say, when no high-performance application program is running, the second storage element group 52 in the memory is in the powered-on state, and the first storage element group 51 is in the powered-off state, thereby saving power consumption; when there is a high-performance application program running At this time, both the second storage element group 52 and the first storage element group 51 in the memory are in the powered-on state. exist In some embodiments, when the second storage element group 52 and the first storage element group 51 are both powered on, the high-performance application can either use the first storage element group 52 for data storage or the second storage element group 51 . The storage element group 52 performs data storage; similarly, the default kernel space, reserved space, and commonly used applications can also use the first storage element group 52 and the second storage element group 52 for data storage. After the high-performance application switches from the running state to the stopped running state, if the first storage element group 52 stores the default kernel space, reserved space and data related to common applications, then the first storage element group 52 can be first The stored data related to the default kernel space, reserved space, and commonly used applications are migrated to the second storage element group 52, and then the first storage element group 52 is controlled to be powered off.
在一个示意性的例子中,如图13所示,存储器中的多个存储元件被划分为第一存储元件组51、第二存储元件组52和第三存储元件组53,其中,第一存储元件组51和第三存储元件组53用于供高性能应用程序使用,该高性能应用程序指对内存需求较高的应用程序,比如游戏应用程序、AI应用程序等等;第二存储元件组52则用于供默认内核空间、预留空间以及常用应用程序使用,该常用应用程序可以为默认设置或者自定义或者基于使用频率确定得到,比如桌面应用、时钟应用等等。也就是说,在无高性能应用程序运行时,存储器中的第二存储元件组52处于上电状态,第一存储元件组51和第三存储元件组53处于下电状态,从而节省功耗;在有高性能应用程序运行时,存储器中除了第二存储元件组52处于上电状态之外,第一存储元件组51和/或第三存储元件组53也处于上电状态。该图13所示示例相比于图12所示示例,高性能应用程序对应于多个(如2个)存储元件组,这样可以在高性能应用程序运行时,按需灵活地选择其中的一个或多个存储元件组打开,实现更为灵活的控制。In an illustrative example, as shown in Figure 13, multiple storage elements in the memory are divided into a first storage element group 51, a second storage element group 52 and a third storage element group 53, where the first storage element group The component group 51 and the third storage component group 53 are used for high-performance applications, which refer to applications with high memory requirements, such as game applications, AI applications, etc.; the second storage component group 52 is used for the default kernel space, reserved space and commonly used applications. The commonly used applications can be default settings or customized or determined based on frequency of use, such as desktop applications, clock applications, etc. That is to say, when no high-performance application is running, the second storage element group 52 in the memory is in the powered-on state, and the first storage element group 51 and the third storage element group 53 are in the powered-off state, thereby saving power consumption; When a high-performance application is running, in addition to the second storage element group 52 being in the powered-on state, the first storage element group 51 and/or the third storage element group 53 are also in the powered-on state. Compared with the example shown in Figure 12, the example shown in Figure 13 is that the high-performance application corresponds to multiple (such as 2) storage element groups, so that one of them can be flexibly selected as needed when the high-performance application is running. Or multiple storage element groups can be opened to achieve more flexible control.
在一些实施例中,存储器200包括的m个存储元件组中的至少一个存储元件组被配置为在系统启动过程中启用。上述系统可以是指存储器200所在的终端设备的软硬件系统,包括终端设备的操作系统、处理器等。也就是说,存储器200包括的m个存储元件组中,其中一部分存储元件组被配置为在系统启动过程中启用,而另一部分存储元件组被配置为在系统启动过程中暂不启用,而在有使用需求的时候再启用。例如,存储器200包括如图12所示的第一存储元件组51和第二存储元件组52,第二存储元件组52被配置为在系统启动过程中启用,第一存储元件组51被配置为在系统启动过程中暂不启用,而在有高性能应用程序运行的时候再启用。In some embodiments, at least one of the m storage element groups included in the memory 200 is configured to be enabled during system startup. The above system may refer to the software and hardware system of the terminal device where the memory 200 is located, including the operating system, processor, etc. of the terminal device. That is to say, among the m storage element groups included in the memory 200, some of the storage element groups are configured to be enabled during the system startup process, while another part of the storage element groups are configured to not be enabled temporarily during the system startup process, and in the Enable it when needed. For example, the memory 200 includes a first storage element group 51 and a second storage element group 52 as shown in FIG. 12 , the second storage element group 52 is configured to be enabled during system startup, and the first storage element group 51 is configured to Disable it during system startup and enable it when high-performance applications are running.
通过上述方式,可以保证在系统启动过程中,先启用一部分存储元件组以满足一些基础的数据读写需求,而不是直接启用全部的存储元件组,以达到节省功耗的目的。Through the above method, it can be ensured that during the system startup process, some storage element groups are first enabled to meet some basic data reading and writing requirements, instead of directly enabling all storage element groups to achieve the purpose of saving power consumption.
图14是本申请一个示例性实施例提供的供电控制方法的流程图。该方法可以由上文介绍的控制电路执行,该控制电路用于控制上文介绍的存储器。该方法可以包括如下步骤:Figure 14 is a flow chart of a power supply control method provided by an exemplary embodiment of the present application. The method may be performed by the control circuit introduced above, which is used to control the memory introduced above. The method may include the following steps:
步骤1410,控制电路向开关元件发送控制信号,该控制信号用于控制开关元件导通或断开,以通过开关元件独立地控制各个存储元件组的上电或下电。Step 1410: The control circuit sends a control signal to the switching element. The control signal is used to control the switching element to be turned on or off, so as to independently control the power on or off of each storage element group through the switching element.
在一些实施例中,如果存储器包括m个存储元件组,该m个存储元件组和m组电源线一一对应,每一组电源线和一个开关元件相连,不同的电源线连接不同的开关元件,在这种情况下,当控制电路需要控制第i个存储元件组的上电或下电时,可以向该第i个存储元件组对应的开关元件(即该第i个存储元件组对应的电源线所连接的开关元件)发送控制信号,该控制信号用于控制该第i个存储元件组对应的开关元件导通或断开,以通过该开关元件控制第i个存储元件组中各个存储元件统一进行上电或下电。In some embodiments, if the memory includes m storage element groups, the m storage element groups correspond to m groups of power lines one-to-one, each group of power lines is connected to a switching element, and different power lines are connected to different switching elements. , in this case, when the control circuit needs to control the power on or off of the i-th storage element group, the switch element corresponding to the i-th storage element group (that is, the switch element corresponding to the i-th storage element group The switching element connected to the power line) sends a control signal. The control signal is used to control the switching element corresponding to the i-th storage element group to be on or off, so as to control each storage in the i-th storage element group through the switching element. Components are powered on or off uniformly.
在一些实施例中,如果存储器包括m个存储元件组,该m个存储元件组和m组电源线一一对应,存在至少两组电源线连接同一个开关元件,在这种情况下,当控制电路需要控制第i个存储元件组的上电或下电时,可以向该第i个存储元件组对应的开关元件(即该第i个存储元件组对应的电源线所连接的开关元件)发送控制信号,该控制信号用于控制该开关元件针对第i个存储元件组对应的电源线进行导通或断开,以控制第i个存储元件组中各个存储元件统一进行上电或下电。 In some embodiments, if the memory includes m storage element groups, the m storage element groups correspond to m groups of power lines one-to-one, and there are at least two sets of power lines connected to the same switching element. In this case, when the control When the circuit needs to control the power on or off of the i-th storage element group, it can send a signal to the switching element corresponding to the i-th storage element group (that is, the switching element connected to the power line corresponding to the i-th storage element group). A control signal, which is used to control the switching element to turn on or off the power line corresponding to the i-th storage element group, so as to control the unified power-on or power-off of each storage element in the i-th storage element group.
在本申请实施例中,对控制信号的形式不作限定,该控制信号可以是数字信号,也可以是模拟信号。In the embodiment of the present application, the form of the control signal is not limited. The control signal may be a digital signal or an analog signal.
在一些实施例中,控制电路根据工作模式,向开关元件发送控制信号。针对不同的工作模式,可以控制不同的存储元件组进行上电或下电。In some embodiments, the control circuit sends a control signal to the switching element according to the operating mode. For different working modes, different storage element groups can be controlled to power on or off.
在本申请实施例中,对工作模式的划分依据不作限定。In the embodiment of the present application, the basis for dividing the working modes is not limited.
在一些实施例中,可以根据使用存储器的对象进行划分,该对象可以包括操作系统、内核空间(Kernel Space)、预留空间(Reserved Space)和应用程序中的至少一种。例如,第一工作模式下,无高性能应用程序运行,仅默认内核空间、预留空间以及常用应用程序使用存储器;第二工作模式下,有高性能应用程序运行,除了默认内核空间、预留空间以及常用应用程序使用存储器之外,还有高性能应用程序也需要使用存储器。如图12所示,在第一工作模式下,可以仅控制第二存储元件组52处于上电状态进行工作;在第二工作模式下,可以控制第二存储元件组52和第一存储元件组51均处于上电状态进行工作。In some embodiments, the memory can be divided according to objects using the memory, which can include at least one of an operating system, a kernel space (Kernel Space), a reserved space (Reserved Space), and an application program. For example, in the first working mode, no high-performance applications are running, and only the default kernel space, reserved space, and commonly used applications use memory; in the second working mode, there are high-performance applications running, except for the default kernel space, reserved space, and common applications. In addition to space and common applications using memory, there are also high-performance applications that also require memory. As shown in FIG. 12 , in the first working mode, only the second storage element group 52 can be controlled to work in the powered-on state; in the second working mode, the second storage element group 52 and the first storage element group can be controlled 51 are all powered on and working.
在一些实施例中,可以根据终端设备或处理器的运行状态,划分工作模式。例如,在不同的工作模式下,终端设备或处理器处于不同的运行状态,如不同运行状态下运行的应用程序不同,或者不同运行状态下处理器的执行任务数不同。In some embodiments, the working modes can be divided according to the operating status of the terminal device or processor. For example, in different working modes, the terminal device or processor is in different running states, such as different applications running in different running states, or the number of tasks executed by the processor in different running states is different.
在一些实施例中,可以根据应用程序的运行需求,划分工作模式。例如,在不同的工作模式下,应用程序具有不同的运行需求。以游戏应用程序为例,在不同的工作模式下,游戏应用程序的刷新帧率不同,从而导致对存储器的使用需求也不同。In some embodiments, the working modes can be divided according to the running requirements of the application program. For example, applications have different operating requirements in different working modes. Take game applications as an example. In different working modes, game applications have different refresh frame rates, which results in different memory usage requirements.
当然,上文仅是示例性介绍了几种工作模式的划分方式,本申请并不限定还可以依据其他维度对工作模式进行划分。Of course, the above is only an illustrative introduction to the division of several working modes, and this application is not limited to the division of working modes according to other dimensions.
示例性地,如图9或图12所示,存储器可以支持2种工作模式,记为第一工作模式和第二工作模式。在第一工作模式下,控制电路500向开关元件300发送第一控制信号,该第一控制信号用于控制第一电源线导通,第二电源线断开,从而使得第一存储元件组中包含的4个存储元件401处于上电状态,并且第二存储元件组中包含的4个存储元件401处于下电状态。在第二工作模式下,控制电路500向开关元件300发送第二控制信号,该第二控制信号用于控制第一电源线导通,第二电源线也导通,从而使得第一存储元件组中包含的4个存储元件401处于上电状态,并且第二存储元件组中包含的4个存储元件401也处于上电状态。另外,存储器最多可所支持的工作模式的数量,与该存储器包含的存储元件组的数量有关。在不同的工作模式下,存储器中包含的各个存储元件组的上下电状态不完全相同。通过上述方式,可以根据工作模式,灵活选择需要上电工作的存储元件组以及不需要上电工作的存储元件组,在满足应用程序的运行需求的前提下,尽可能地节省终端功耗。For example, as shown in Figure 9 or Figure 12, the memory can support two working modes, denoted as a first working mode and a second working mode. In the first operating mode, the control circuit 500 sends a first control signal to the switching element 300. The first control signal is used to control the first power line to be turned on and the second power line to be turned off, so that the first storage element group The four storage elements 401 included in the second storage element group are in a power-on state, and the four storage elements 401 included in the second storage element group are in a power-down state. In the second operating mode, the control circuit 500 sends a second control signal to the switching element 300. The second control signal is used to control the first power line to be turned on, and the second power line is also turned on, so that the first storage element group The four storage elements 401 included in are in the powered-on state, and the four storage elements 401 included in the second storage element group are also in the powered-on state. In addition, the maximum number of working modes that a memory can support is related to the number of storage element groups contained in the memory. In different working modes, the power-on and power-off states of each storage element group included in the memory are not exactly the same. Through the above method, the storage element group that needs to be powered on and the storage element group that does not need to be powered on can be flexibly selected according to the working mode, so as to save terminal power consumption as much as possible while meeting the operation requirements of the application program.
在一些实施例中,控制电路获取与工作模式相对应的供电配置信息,该供电配置信息用于指示存储器中各个存储元件组的供电状态。控制电路根据供电配置信息,生成与各个存储元件组的供电状态相适配的控制信号。控制电路向开关元件发送生成的控制信号。不同工作模式与供电配置信息之间的映射关系,可以预先存储在终端设备中,控制电路可以根据工作模式,从上述映射关系中确定与该工作模式相对应的供电配置信息。供电配置信息中定义了存储器中各个存储元件组的供电状态,也即存储器中每一个存储元件组是处于上电状态还是处于下电状态,控制电路根据该供电配置信息,生成相应的控制信号,以控制存储器中的各个存储元件组按照上述状态进行工作。通过上述方式,使得控制电路能够准确而又高效地获取各个存储元件组的供电状态并进行相应的控制,提升了控制的高效性和鲁棒性。In some embodiments, the control circuit obtains power supply configuration information corresponding to the working mode, and the power supply configuration information is used to indicate the power supply status of each storage element group in the memory. The control circuit generates a control signal adapted to the power supply status of each storage element group based on the power supply configuration information. The control circuit sends the generated control signal to the switching element. The mapping relationship between different working modes and power supply configuration information can be stored in the terminal device in advance, and the control circuit can determine the power supply configuration information corresponding to the working mode from the above mapping relationship according to the working mode. The power supply configuration information defines the power supply status of each storage element group in the memory, that is, whether each storage element group in the memory is in the power-on state or the power-off state. The control circuit generates corresponding control signals based on the power supply configuration information. Each storage element group in the memory is controlled to work according to the above state. Through the above method, the control circuit can accurately and efficiently obtain the power supply status of each storage element group and perform corresponding control, thereby improving the efficiency and robustness of the control.
在一些实施例中,存储器中每个存储元件组用于存储相同工作模式下产生的数据。这样,对于任一存储元件组,在未处于该存储元件组所对应的工作模式的情况下,控制电路500便可以通过开关元件控制该存储元件组下电。In some embodiments, each storage element group in the memory is used to store data generated in the same operating mode. In this way, for any storage element group, when the storage element group is not in the working mode corresponding to the storage element group, the control circuit 500 can control the storage element group to power off through the switching element.
示例性地,如图9或图12所示,存储器可以支持2种工作模式,记为第一工作模式和第二工作模式。在第一工作模式下,第一存储元件组处于上电状态,且第二存储元件组处于下 电状态;在第二工作模式下,第一存储元件组和第二存储元件组均处于上电状态。第一存储元件组用于存储第一工作模式下产生的数据,还用于存储第二工作模式下产生的数据。例如,在第一工作模式下,第一存储元件组用于存储第一工作模式下产生的数据;在第二工作模式下,第一存储元件组用于存储第二工作模式下产生的数据。第二存储元件组用于存储第二工作模式下产生的数据。也就是说,在第二工作模式下,第一存储元件组和第二存储元件组共同存储第二工作模式下产生的数据。通过上述方式,能够依据不同的工作模式,控制各存储元件组的上下电状态,并使用与当前工作模式相对应的存储元件组来存储当前工作模式下产生的数据,实现了不同工作模式下数据存储的隔离,有助于提升数据存储的安全性和可靠性。For example, as shown in Figure 9 or Figure 12, the memory can support two working modes, denoted as a first working mode and a second working mode. In the first operating mode, the first storage element group is in a power-on state, and the second storage element group is in a power-down state. power state; in the second working mode, both the first storage element group and the second storage element group are in the power-on state. The first storage element group is used to store data generated in the first working mode, and is also used to store data generated in the second working mode. For example, in the first working mode, the first storage element group is used to store data generated in the first working mode; in the second working mode, the first storage element group is used to store data generated in the second working mode. The second storage element group is used to store data generated in the second operating mode. That is to say, in the second operating mode, the first storage element group and the second storage element group jointly store data generated in the second operating mode. Through the above method, the power on and off status of each storage element group can be controlled according to different working modes, and the storage element group corresponding to the current working mode can be used to store the data generated in the current working mode, realizing the data generation in different working modes. Storage isolation helps improve the security and reliability of data storage.
下面,以音频数据的编解码场景为例,对存储器的工作状态进行介绍说明。在此示例中,仍然以图9或图12所示为例,存储器包括第一存储元件组和第二存储元件组,支持2种工作模式,且在第一工作模式和第二工作模式下,存储元件组的上下电状态如上文介绍。Next, taking the encoding and decoding scenario of audio data as an example, the working status of the memory is introduced and explained. In this example, still taking the example shown in Figure 9 or Figure 12, the memory includes a first storage element group and a second storage element group, supports two working modes, and in the first working mode and the second working mode, The power-on and power-off status of the storage element group is as described above.
在音频数据的编解码场景下,终端设备在上述第一工作模式下运行。第二存储元件组在第一工作模式下处于下电状态,第一存储元件组在第一工作模式下处于上电状态,第一存储元件组保持正常工作。In the audio data encoding and decoding scenario, the terminal device operates in the above-mentioned first working mode. The second storage element group is in a power-off state in the first working mode, the first storage element group is in a power-on state in the first working mode, and the first storage element group maintains normal operation.
CPU将压缩后的音频文件(一般为60秒)发送到存储器(如DDR(Double Data Rate,双倍数据速率)存储器、DRAM等)进行解码,然后CPU进入深度睡眠状态。存储器使用第一存储元件组对上述压缩数据进行存储。The CPU sends the compressed audio file (usually 60 seconds) to memory (such as DDR (Double Data Rate, Double Data Rate) memory, DRAM, etc.) for decoding, and then the CPU enters a deep sleep state. The memory uses the first storage element group to store the compressed data.
音频DMA(Direct Memory Access,直接存储器访问)将压缩数据从存储器提取到音频SRAM(Static Random-Access Memory,静态随机存取存储器)(通常为1秒),然后存储器进入深度睡眠状态(也称为自刷新状态)。每当SRAM中的缓冲区几乎为空时,HIFI(High-Fidelity,高保真)5DSP将向SRAM发送存储器唤醒请求。Audio DMA (Direct Memory Access) extracts compressed data from memory to audio SRAM (Static Random-Access Memory) (usually 1 second), and then the memory enters a deep sleep state (also known as self-refresh status). Whenever the buffer in SRAM is almost empty, HIFI (High-Fidelity, High Fidelity) 5DSP will send a memory wake-up request to SRAM.
HIFI5DSP从SRAM中取出压缩数据进行解码,帧长20毫秒。针对不同的场景,将实现不同的混音效果。解码后的音频数据将写回SRAM,帧长20毫秒。在一些实施例中,可以使用乒乓缓冲,总共40毫秒。HIFI5DSP takes out the compressed data from SRAM for decoding, and the frame length is 20 milliseconds. For different scenes, different mixing effects will be achieved. The decoded audio data will be written back to SRAM with a frame length of 20 milliseconds. In some embodiments, ping-pong buffering may be used, for a total of 40 milliseconds.
音频DMA通过Soundwire总线将数据从SRAM移动到CODEC(coder-decoder,编解码器)芯片。当一个块的数据传输完成时,Soundwire可以被时钟门控。Audio DMA moves data from SRAM to the CODEC (coder-decoder, codec) chip through the Soundwire bus. Soundwire can be clock-gated when a block of data transfer is complete.
本申请实施例提供了一种支持灵活控制存储元件上电或下电的存储器,更有利于节省功耗。示例性地,存储器的功耗计算公式如下:Embodiments of the present application provide a memory that supports flexible control of powering on or off storage elements, which is more conducive to saving power consumption. For example, the power consumption calculation formula of the memory is as follows:
N*(IDDread*Utilizationread+IDDwrite*Utilizationwrite+IDDstby*Utilizationstby+IDDsr*Utilizationsr+IDDref+IDDactive)*(VDD);N*(IDDread*Utilizationread+IDDwrite*Utilizationwrite+IDDstby*Utilizationstby+IDDsr*Utilizationsr+IDDref+IDDactive)*(VDD);
其中,N为存储器中处于上电状态的存储元件的数量,IDDread为数据读取时的内存电流,Utilizationread为数据读取时的内存使用率,IDDwrite为数据写入时的内存电流,Utilizationwrite为数据写入时的内存使用率,IDDstby为备用(standby)内存电流,Utilizationstby为备用内存使用率,IDDsr为自刷新(selfrefresh)电流,Utilizationsr为自刷新使用率,IDDref为刷新(refresh)电流,IDDactive为活跃电流,VDD为输入电压的电压值,VDD包括VDD1,VDD2H,VDD2L,VDDQ中的至少一种。Among them, N is the number of storage elements in the power-on state in the memory, IDDread is the memory current when data is read, Utilizationread is the memory usage when data is read, IDDwrite is the memory current when data is written, and Utilizationwrite is the data Memory usage during writing, IDDstby is the standby memory current, Utilizationstby is the standby memory usage, IDDsr is the self-refresh (selfrefresh) current, Utilizationsr is the self-refresh usage, IDDref is the refresh (refresh) current, and IDDactive is Active current, VDD is the voltage value of the input voltage, and VDD includes at least one of VDD1, VDD2H, VDD2L, and VDDQ.
从上述公式可以看出,存储器的功耗与存储器中处于上电状态的存储元件的数量N呈正相关关系,因此通过控制无需使用的存储元件下电,有助于降低存储器的功耗,从而节省终端电量。It can be seen from the above formula that the power consumption of the memory is positively correlated with the number N of storage elements in the powered-on state in the memory. Therefore, by controlling the power-off of unused storage elements, it helps to reduce the power consumption of the memory, thereby saving money. Terminal power.
图15是本申请一个示例性实施例提供的终端设备的示意图。以本实施例中的终端设备1500包含主设备和存储器为例进行说明:Figure 15 is a schematic diagram of a terminal device provided by an exemplary embodiment of the present application. Take the terminal device 1500 in this embodiment including a main device and a memory as an example for explanation:
终端设备1500设置有主设备101和上述实施例所述的存储器200,主设备101和存储器200电性相连。其中,该存储器200可以设置在片上系统的内部,或者,设置在片上系统的外部。需要说明的是,除了片上系统外,终端设备1500还可以包括其它必要组件,比如只读存储器(Read-Only Memory,ROM)、显示组件、输入单元、音频电路、扬声器、麦克风、 电源等部件,本实施例在此不作赘述。The terminal device 1500 is provided with a main device 101 and the memory 200 described in the above embodiment, and the main device 101 and the memory 200 are electrically connected. The memory 200 may be provided inside the system-on-chip or outside the system-on-chip. It should be noted that in addition to the system on a chip, the terminal device 1500 may also include other necessary components, such as read-only memory (Read-Only Memory, ROM), display components, input units, audio circuits, speakers, microphones, Components such as power supply will not be described in detail in this embodiment.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The "plurality" mentioned in this article means two or more than two. "And/or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the related objects are in an "or" relationship.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (18)

  1. 一种存储器,所述存储器包括:m个存储元件组,每个所述存储元件组包括至少一个存储元件,m为大于1的整数;A memory, the memory includes: m storage element groups, each of the storage element groups includes at least one storage element, m is an integer greater than 1;
    所述m个存储元件组和m组电源线一一对应,所述m组电源线被分别控制;The m storage element groups and the m groups of power lines are in one-to-one correspondence, and the m groups of power lines are controlled respectively;
    对于所述m个存储元件组中的第i个存储元件组,在所述第i个存储元件组对应的电源线导通的情况下,所述第i个存储元件组内的存储元件处于上电状态;在所述第i个存储元件组对应的电源线断开的情况下,所述第i个存储元件组内的存储元件处于下电状态,i为小于或等于m的正整数。For the i-th storage element group among the m storage element groups, when the power line corresponding to the i-th storage element group is turned on, the storage elements in the i-th storage element group are at the upper level. Electrical state; when the power line corresponding to the i-th storage element group is disconnected, the storage elements in the i-th storage element group are in a power-off state, and i is a positive integer less than or equal to m.
  2. 根据权利要求1所述的存储器,其中,所述电源线和开关元件的一端相连,所述开关元件的另一端用于接收输入电压,所述开关元件用于控制所述电源线导通或断开。The memory according to claim 1, wherein the power line is connected to one end of a switching element, the other end of the switching element is used to receive an input voltage, and the switching element is used to control the power line to be turned on or off. open.
  3. 根据权利要求2所述的存储器,其中,所述m组电源线中,每一组电源线和一个开关元件相连,不同的电源线连接不同的开关元件;The memory according to claim 2, wherein in the m groups of power lines, each group of power lines is connected to a switching element, and different power lines are connected to different switching elements;
    其中,所述m组电源线中的第i组电源线连接的开关元件,用于控制所述第i组电源线导通或断开。Wherein, the switching element connected to the i-th group of power lines in the m groups of power lines is used to control the i-th group of power lines to be turned on or off.
  4. 根据权利要求2所述的存储器,其中,所述m组电源线中,存在至少两组电源线连接同一个开关元件;The memory according to claim 2, wherein among the m groups of power lines, there are at least two groups of power lines connected to the same switching element;
    其中,所述开关元件用于控制所述至少两组电源线中的每一组电源线独立地导通或断开。Wherein, the switch element is used to control each group of power lines in the at least two groups of power lines to be turned on or off independently.
  5. 根据权利要求2至4任一项所述的存储器,其中,The memory according to any one of claims 2 to 4, wherein,
    所述开关元件设置在所述存储器内部;或者,The switching element is arranged inside the memory; or,
    所述开关元件设置在电源管理芯片内部;或者,The switching element is arranged inside the power management chip; or,
    所述开关元件设置在所述存储器和所述电源管理芯片之间;The switching element is arranged between the memory and the power management chip;
    其中,所述电源管理芯片用于为所述存储器提供所述输入电压。Wherein, the power management chip is used to provide the input voltage to the memory.
  6. 根据权利要求2至5任一项所述的存储器,其中,所述开关元件的控制端与控制电路连接,所述控制电路用于控制所述开关元件导通或断开,以通过所述开关元件独立地控制各个所述存储元件组的上电或下电。The memory according to any one of claims 2 to 5, wherein the control end of the switching element is connected to a control circuit, and the control circuit is used to control the switching element to be turned on or off to pass the switch. The components independently control the power on or off of each of the storage component groups.
  7. 根据权利要求6所述的存储器,其中,The memory of claim 6, wherein:
    所述控制电路设置在所述存储器内部;或者,The control circuit is arranged inside the memory; or,
    所述控制电路设置在电源管理芯片内部;或者,The control circuit is arranged inside the power management chip; or,
    所述控制电路设置在用于承载所述存储器和/或所述电源管理芯片的电路板上。The control circuit is disposed on a circuit board used to carry the memory and/or the power management chip.
  8. 根据权利要求6或7所述的存储器,其中,所述控制电路用于根据工作模式,向所述开关元件发送控制信号,所述控制信号用于控制所述开关元件导通或断开;The memory according to claim 6 or 7, wherein the control circuit is used to send a control signal to the switching element according to the working mode, and the control signal is used to control the switching element to be turned on or off;
    所述存储器中每个存储元件组用于存储相同所述工作模式下产生的数据。Each storage element group in the memory is used to store data generated in the same working mode.
  9. 根据权利要求1至8任一项所述的存储器,其中,所述m个存储元件组中的至少一个存储元件组被配置为在系统启动过程中启用。The memory of any one of claims 1 to 8, wherein at least one storage element group among the m storage element groups is configured to be enabled during system startup.
  10. 根据权利要求1至9任一项所述的存储器,其中,每个所述存储元件组包括一个所述 存储元件。The memory according to any one of claims 1 to 9, wherein each said storage element group includes one said storage element.
  11. 根据权利要求1至10任一项所述的存储器,其中,The memory according to any one of claims 1 to 10, wherein,
    每组所述电源线包括一根电源线;Each set of said power cords includes one power cord;
    或者,or,
    每组所述电源线包括多根不同的电源线,所述多根不同的电源线用于给所述存储元件中的不同功能部件进行供电。Each group of the power lines includes a plurality of different power lines, and the plurality of different power lines are used to power different functional components in the storage element.
  12. 一种片上系统,所述片上系统包括:存储器和电源管理芯片;A system on a chip, the system on a chip includes: a memory and a power management chip;
    所述存储器和所述电源管理芯片连接;The memory is connected to the power management chip;
    所述存储器包括如权利要求1至11任一项所述的存储器;The memory includes the memory according to any one of claims 1 to 11;
    所述m组电源线用于传输所述电源管理芯片的输出电压。The m sets of power lines are used to transmit the output voltage of the power management chip.
  13. 一种终端设备,所述终端设备中设置有如权利要求1至11任一项所述的存储器。A terminal device, which is provided with the memory according to any one of claims 1 to 11.
  14. 根据权利要求13所述的终端设备,其中,所述终端设备设置有片上系统,所述存储器设置在所述片上系统的外部,或者,所述存储器设置在所述片上系统的内部。The terminal device according to claim 13, wherein the terminal device is provided with a system on a chip, and the memory is provided outside the system on a chip, or the memory is provided inside the system on a chip.
  15. 一种供电控制方法,所述方法由控制电路执行,所述控制电路用于控制如权利要求6所述的存储器,所述方法包括:A power supply control method, the method is executed by a control circuit, the control circuit is used to control the memory as claimed in claim 6, the method includes:
    向所述开关元件发送控制信号,所述控制信号用于控制所述开关元件导通或断开,以通过所述开关元件独立地控制各个所述存储元件组的上电或下电。A control signal is sent to the switching element, and the control signal is used to control the switching element to be turned on or off, so as to independently control the power on or off of each of the storage element groups through the switching element.
  16. 根据权利要求15所述的方法,其中,所述向所述开关元件发送控制信号,包括:The method of claim 15, wherein sending a control signal to the switching element includes:
    根据工作模式,向所述开关元件发送所述控制信号。Depending on the operating mode, the control signal is sent to the switching element.
  17. 根据权利要求16所述的方法,其中,所述根据工作模式,向所述开关元件发送所述控制信号,包括:The method of claim 16, wherein sending the control signal to the switching element according to the operating mode includes:
    获取与所述工作模式相对应的供电配置信息,所述供电配置信息用于指示所述存储器中各个所述存储元件组的供电状态;Obtain power supply configuration information corresponding to the working mode, where the power supply configuration information is used to indicate the power supply status of each storage element group in the memory;
    根据所述供电配置信息,生成与各个所述存储元件组的供电状态相适配的控制信号;According to the power supply configuration information, generate a control signal adapted to the power supply status of each of the storage element groups;
    向所述开关元件发送所述控制信号。The control signal is sent to the switching element.
  18. 根据权利要求16或17所述的方法,其中,所述存储器中每个存储元件组用于存储相同所述工作模式下产生的数据。 The method according to claim 16 or 17, wherein each storage element group in the memory is used to store data generated in the same working mode.
PCT/CN2023/074226 2022-05-31 2023-02-02 Memory, system-on-a-chip, terminal device and power supply control method WO2023231437A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210613550.5A CN117193506A (en) 2022-05-31 2022-05-31 Memory, system on chip, terminal device and power supply control method
CN202210613550.5 2022-05-31

Publications (1)

Publication Number Publication Date
WO2023231437A1 true WO2023231437A1 (en) 2023-12-07

Family

ID=88989386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/074226 WO2023231437A1 (en) 2022-05-31 2023-02-02 Memory, system-on-a-chip, terminal device and power supply control method

Country Status (2)

Country Link
CN (1) CN117193506A (en)
WO (1) WO2023231437A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866764A (en) * 2011-07-05 2013-01-09 联想(北京)有限公司 Terminal equipment and power supply management method for memory unit of terminal equipment
US20180293011A1 (en) * 2017-04-10 2018-10-11 Intel Corporation Power management of memory chips based on working set size
WO2020155074A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Processing apparatus, method, and related device
CN112131175A (en) * 2020-08-28 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 SoC chip, power consumption control method and readable storage medium
CN114442788A (en) * 2022-04-08 2022-05-06 北京智芯半导体科技有限公司 Low power consumption system of chip, low power consumption management method, control device and storage medium
US20220171548A1 (en) * 2020-12-02 2022-06-02 Micron Technology, Inc. Power management for a memory device
US20220171547A1 (en) * 2020-12-02 2022-06-02 Micron Technology, Inc. Memory device power management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866764A (en) * 2011-07-05 2013-01-09 联想(北京)有限公司 Terminal equipment and power supply management method for memory unit of terminal equipment
US20180293011A1 (en) * 2017-04-10 2018-10-11 Intel Corporation Power management of memory chips based on working set size
WO2020155074A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Processing apparatus, method, and related device
CN112131175A (en) * 2020-08-28 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 SoC chip, power consumption control method and readable storage medium
US20220171548A1 (en) * 2020-12-02 2022-06-02 Micron Technology, Inc. Power management for a memory device
US20220171547A1 (en) * 2020-12-02 2022-06-02 Micron Technology, Inc. Memory device power management
CN114442788A (en) * 2022-04-08 2022-05-06 北京智芯半导体科技有限公司 Low power consumption system of chip, low power consumption management method, control device and storage medium

Also Published As

Publication number Publication date
CN117193506A (en) 2023-12-08

Similar Documents

Publication Publication Date Title
TWI740897B (en) Memory subsystem with narrow bandwidth repeater channel
US20230251794A1 (en) Buffer circuit with data bit inversion
JP5940735B2 (en) 3D memory configurable for performance and power
TW201418981A (en) Flexible command addressing for memory
KR102151178B1 (en) Serial communication apparatus and method thereof
CN108509361A (en) A kind of electronic equipment
US20220405228A1 (en) Data processing apparatus and method
EP4184287A1 (en) Role detection for usb-based charging
WO2023282941A1 (en) Stacked memory chip solution with reduced package inputs/outputs (i/os)
WO2023231437A1 (en) Memory, system-on-a-chip, terminal device and power supply control method
CN111406254A (en) Configurable data refresh from volatile memory to non-volatile memory
EP4227768A1 (en) Role detection for usb-based charging
EP4071583A1 (en) Avoiding processor stall when accessing coherent memory device in low power
CN206312022U (en) The server master board of aobvious and mass data storage more than support high definition
WO2024021657A1 (en) Storage control method and apparatus, device, storage medium, chip, and memory
WO2024001192A1 (en) System on chip, voltage control method for system on chip, and terminal
CN207689871U (en) A kind of mixed display controller based on Vxworks and Linux
TW202125973A (en) Low power flip-flop with reduced parasitic capacitance
CN111694532A (en) Display control method of single-chip heterogeneous system and wearable device
CN216352080U (en) High-density industrial control mainboard based on domestic processor
CN218158868U (en) Display card device and computer equipment
CN219456751U (en) Open bus type motion controller control circuit
CN205068359U (en) Solid state hard drives and terminal equipment
CN117409831A (en) Memory granule, related equipment and control method
CN104516857B (en) A kind of electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23814636

Country of ref document: EP

Kind code of ref document: A1