This application relates to but is not limited to a memory.
As memory technologies develop, memories are widely used in various fields, for example, the dynamic random access memory (DRAM) is widely used.
An address circuit and a bank are disposed in the memory, and an address received by the memory is processed by the address circuit and then transmitted to the bank. Therefore, improvements to the address circuit are beneficial to optimizing memory performance.
A memory is provided in this application, including multiple group regions, a command decoding circuit, and a control circuit.
Each group region includes multiple bank groups, and each bank group corresponds to one bank group address.
An active instruction is received by the command decoding circuit, and the active instruction is decoded to obtain an active command signal.
The bank group address, a row address, and the active command signal are received by the control circuit, and the row address is sent to one of the group regions based on the active command signal and the bank group address.
In some embodiments, the control circuit is configured to: send the row address to the one of the group regions based on the active command signal and at least one target bit of the bank group address.
The target bit of the bank group address is the same address bit as a corresponding address bit in any other bank group address in the group region.
In some embodiments, the bank group address has one target bit, and the memory includes a first group region and a second group region.
The control circuit includes a first address processing circuit and two row address transmission circuits, denoted as a first row address transmission circuit and a second row address transmission circuit.
The first address processing circuit is configured to obtain a complementary target bit based on the target bit.
The complementary target bit is received at an input terminal of the first row address transmission circuit, and the row address is sent to the first group region based on the complementary target bit and the active command signal.
The target bit is received at an input terminal of the second row address transmission circuit, and the row address is sent to the second group region based on the target bit and the active command signal.
In some embodiments, the first address processing circuit includes:
In some embodiments, the first address processing circuit includes:
In some embodiments, the first row address transmission circuit includes:
The second row address transmission circuit includes:
In some embodiments, the bank group address has n target bits, the n target bits are denoted as a first target bit, a second target bit, . . . , and an nth target bit, the memory includes 2n group regions, and n is an integer greater than 1.
The control circuit includes a second address processing circuit, 2n control signal circuits, and 2n row address transmission circuits. The 2n control signal circuits are in a one-to-one correspondence with the 2n row address transmission circuits, and the 2n row address transmission circuits are in a one-to-one correspondence with the 2n group regions.
The second address processing circuit is configured to obtain complementary target bits of the n target bits.
Each control signal circuit is configured to generate one control signal based on n input signals. The n input signals are denoted as a first input signal, a second input signal, . . . , and an nth input signal. If an ith target bit of a bank group address in a group region corresponding to the control signal circuit is at a first level, an ith input signal is the ith target bit; and if the ith target bit of the bank group address in the group region corresponding to the control signal circuit is at a second level, the ith input signal is a complementary target bit of the ith target bit. 1≤i≤n, and i is an integer.
A corresponding control signal is received by each row address transmission circuit, which is configured to send the row address to a corresponding group region based on the control signal and the active command signal.
In some embodiments, the second address processing circuit includes n fourth flip-flops, denoted as a first fourth flip-flop, a second fourth flip-flop, . . . , and an nth fourth flip-flop.
An ith target bit is received at an input terminal of an ith fourth flip-flop, the active command signal is received at a clock terminal of the ith fourth flip-flop, the ith target bit is output through an output terminal of the ith fourth flip-flop, and a complementary target bit of the ith target bit is output through a complementary output terminal of the ith fourth flip-flop.
In some embodiments, the second address processing circuit includes n second inverters, denoted as a first second inverter, a second inverter, . . . , and an nth second inverter.
An ith target bit is received at an input terminal an ith second inverter, and a complementary target bit of the ith target bit is output through an output terminal of the ith second inverter.
In some embodiments, when the first level is a low level and the second level is a high level, the control signal circuit includes:
In some embodiments, when the first level is a high level and the second level is a low level, the control signal circuit includes:
In some embodiments, the row address transmission circuit includes:
In some embodiments, the memory includes:
The memory provided in this application includes multiple group regions, a command decoding circuit, and a control circuit. Each group region includes multiple bank groups, and each bank group corresponds to one bank group address. An active instruction is received by the command decoding circuit, and the active instruction is decoded to obtain an active command signal. The bank group address, a row address, and the active command signal are received by the control circuit, and the row address is sent to one of the group regions based on the active command signal and the bank group address. The row address is sent to only one of the multiple group regions, and therefore row address sending paths are reduced, thereby reducing power consumption of the memory.
The accompanying drawings herein, which are incorporated in and constitute a part of the specification, illustrate embodiments conforming to this application, and are used together with the specification to explain the principles of this application.
100. command decoding circuit; 200. control circuit; 210. first address processing circuit; 220. first row address transmission circuit; 230. second row address transmission circuit; 221. first AND gate; 222. second flip-flop; 231. second AND gate; 232. third flip-flop; 300. window signal circuit; 410. second address processing circuit; 420. control signal circuit; 430. row address transmission circuit; 411. fourth flip-flop; 431. fourth AND gate; and 432. fifth flip-flop.
The foregoing accompanying drawings already show clear embodiments of this application, which are described in more detail below. These accompanying drawings and text descriptions are not intended to limit the scope of the concept of this application in any manner, but to describe the concept of this application for a person skilled in the art with reference to specific embodiments.
Example embodiments are described herein in detail, and examples thereof are shown in the accompanying drawings. When the following descriptions relate to the accompanying drawings, unless otherwise indicated, the same numbers in different accompanying drawings represent the same or similar elements. Implementations described in the following example embodiments do not represent all implementations consistent with this application. On the contrary, they are merely examples of apparatuses and methods that are consistent with some aspects of this application as detailed in the appended claims.
In actual application, the array region circuit of the memory includes multiple groups of banks, and each group of banks is referred to as a bank group. Each bank group is provided with one address, which is referred to as a bank group address. Each bank is provided with one address, which is referred to as a bank address. Three types of addresses are received by the address circuit. The first type is a row address or a column address, the second type is a bank address, and the third type is a bank group address.
An input command is decoded by the command decoding circuit to output a corresponding operation signal, and then a corresponding operation is performed on data in the bank in the array region circuit with reference to an address received by a memory pin. When the operation signal is an active instruction, the row address, the bank group address, and the bank address are received by the pin of the memory. A corresponding bank is activated by the memory based on the bank group address and the bank address, that is, a bank to which the bank group address and the bank address point is activated. In addition, the row address is transmitted to each bank by the memory, and then a corresponding word line is activated by a row decoder in the activated bank after the row address is received, to perform an operation on a storage unit in the corresponding bank. When the row address is transmitted to each bank by the address circuit in a peripheral region, there are a relatively large quantity of transmission paths, causing current consumption and an increase in power consumption of the memory.
It should be noted that the figure is merely an example, and a specific region architecture may be adjusted based on an actual requirement, but is not limited to the example in the figure. Some aspects of the embodiments of the present disclosure relate to the foregoing considerations. Example descriptions of the solutions are provided below with reference to some embodiments of the present disclosure.
Each group region includes multiple bank groups, and each bank group corresponds to one bank group address. An active instruction is received by the command decoding circuit 100, and the active instruction is decoded to obtain an active command (ACT CMD) signal. The bank group address (BG), a row address (RA), and the active command (ACT CMD) signal are received by the control circuit 200, and the row address is sent to one of the group regions based on the active command signal and the bank group address. The row address is sent to only one of the multiple group regions, and therefore row address sending paths are reduced, thereby reducing power consumption of the memory.
Further, the row address is sent to the one of the group regions by the control circuit 200 based on the active command signal and at least one target bit of the bank group address. The target bit of the bank group address is the same address bit as a corresponding address bit in any other bank group address in the group region. In other words, if an address bit has the same level in all bank group addresses in the group region, the address bit is a target bit, and the target bit may be configured to represent the group region. The row address is sent to a bank group whose target bit level is the same as a target bit level at the bank group address received by the control circuit 200, to send the row address to a group region in which a bank group corresponding to the bank group address received by the control circuit 200 is located, so that row address sending paths are reduced, thereby reducing power consumption of the memory.
As shown in
Address bits BG<2> in the bank group addresses in the first group region RG0 are fixed and are all at a low level. Therefore, BG<2> is a target bit of the bank group address in the first group region RG0, and a target bit level is a low level. Address bits BG<2> in the bank group addresses in the second group region RG1 are fixed and are all at a high level. Therefore, BG<2> is a target bit of the bank group address in the second group region RG1, and a target bit level is a high level.
For example, the bank group address BG<2:0>=001 is received by the control circuit 200. For BG<2:0>=001, the target bit is BG<2>=0. The row address is sent to all bank group addresses including the target bit BG<2>=0, that is, the row address is sent to BG<2:0>=000, BG<2:0>=001, BG<2:0>=010, and BG<2:0>=011. In this way, the row address is sent to the first group region RG0, and the row address is not sent to the second group region RG1.
Address bits BG<2> and BG<0> in the bank group addresses in each group region are fixed, and therefore BG<2> and BG<0> are target bits of the bank group addresses. The target bit BG<2> of the bank group address in the first group region RG0 is at a low level, and BG<0> is also at a low level. The target bit BG<2> of the bank group address in the second group region RG1 is at a low level, and BG<0> is at a high level. The target bit BG<2> of the bank group address in the third group region RG2 is at a high level, and BG<0> is at a low level. The target bit BG<2> of the bank group address in the fourth group region RG3 is at a high level, and BG<0> is at a high level.
For example, the bank group address BG<2:0>=001 is received by the control circuit 200. For BG<2:0>=001, the target bit BG<2>=0 and the target bit BG<0>=1. The row address is sent to bank groups corresponding to all bank group addresses including the target bit BG<2>=0 and the target bit BG<0>=1, that is, the row address is sent to BG<2:0>=001 and BG<2:0>=011. In this way, the row address is sent to the second group region RG1, and the row address is not sent to the first group region RG0, the third group region RG2, and the fourth group region RG3.
Address bits BG<3>, BG<1>, and BG<0> in the bank group addresses in each group region are fixed, and therefore BG<3>, BG<1>, and BG<0> are target bits of the bank group addresses. The target bit BG<3> of the bank group address in the first group region RG0 is at a low level, BG<1> is at a low level, and BG<0> is also at a low level. The target bit BG<3> of the bank group address in the second group region RG1 is at a low level, BG<1> is at a low level, and BG<0> is at a high level. The target bit BG<3> of the bank group address in the third group region RG2 is at a low level, BG<1> is at a high level, and BG<0> is at a low level. BG<3> of the bank group address in the fourth group region RG3 is at a low level, BG<1> is at a high level, and BG<0> is at a high level. The target bit BG<3> of the bank group address in the fifth group region RG4 is at a high level, BG<1> is at a low level, and BG<0> is also at a low level. The target bit BG<3> of the bank group address in the sixth group region RG5 is at a high level, BG<1> is at a low level, and BG<0> is at a high level. The target bit BG<3> of the bank group address in the seventh group region RG6 is at a high level, BG<1> is at a high level, and BG<0> is at a low level. BG<3> of the bank group address in the eighth group region RG7 is at a high level, BG<1> is at a high level, and BG<0> is at high level.
For example, the bank group address BG<3:0>=0001 is received by the control circuit 200. For BG<3:0>=0001, the target bits BG<3>=0, BG<1>=0, and BG<0>=1. The row address is sent to bank groups corresponding to all bank group addresses including the target bits BG<3>=0, BG<1>=0, and BG<0>=1, that is, the row address is sent to a bank group corresponding to BG<3:0>=0001 and BG<3:0>=0101. In this way, the row address is sent to the second group region RG1, and the row address is not sent to the first group region RG0 and the third group region RG2 to the eighth group region RG7.
It may be learned from the foregoing description that, when there is one target bit, there are two group regions in the memory; when there are two target bits, there are four group regions in the memory; and when there are three target bits, there are eight group regions in the memory. By analogy, when there are n target bits, there are 2n group regions in the memory.
The control circuit 200 may be designed based on a requirement, to send the row address to one of the group regions based on the active command signal and at least one target bit of the bank group address. The control circuit 200 is designed through an example in which the memory includes only two group regions and the bank group address has one target bit.
Still referring to
The complementary target bit may be designed based on an actual requirement to control logic for sending the row address by the first row address transmission circuit 220, and the target bit may be designed based on an actual requirement to control logic for sending the row address by the second row address transmission circuit 230. For example, when the target bit is at a low level and the complementary target bit is at a high level, the first row address transmission circuit 220 is enabled to send the row address to the first group region RG0 under control of the active command signal, and the second row address transmission circuit 230 is enabled to stop sending the row address to the second group region RG1. When the target bit is at a high level and the complementary target bit is at a low level, the first row address transmission circuit 220 is enabled to stop sending the row address to the first group region RG0, and the second row address transmission circuit 230 is enabled to send the row address to the second group region RG1 under control of the active command signal.
Further,
As shown in
As shown in
When a level of the target bit in the bank group address received by the control circuit 200 is at a high level, the complementary target bit is at a low level. After an AND logical operation is performed by the first AND gate 221 on the complementary target bit and the active command signal, an output signal continues to be at a low level, and the row address is not output to the first group region RG0 by the second flip-flop 222. After an AND logical operation is performed by the second AND gate 231 on the target bit and the active command signal, an output signal is a clock pulse signal, and the row address is output to the second group region RG1 by the third flip-flop 232.
Through the control circuit described above, the row address is sent to a group region in which a bank group corresponding to the bank group address received by the control circuit 200 is located, so that row address sending paths are reduced, thereby reducing power consumption of the memory.
The control circuit 200 is designed through an example in which the bank group address has n target bits and the memory includes 2n group regions, where n is an integer greater than 1. The n target bits are denoted as a first target bit, a second target bit, . . . , and an nth target bit. A second address processing circuit 410, 2n control signal circuits, and 2n row address transmission circuits are included in the control circuit 200. The 2n control signal circuits are in a one-to-one correspondence with the 2n row address transmission circuits, and the 2n row address transmission circuits are in a one-to-one correspondence with the 2n group regions.
The second address processing circuit is configured to obtain complementary target bits of the n target bits, each control signal circuit is configured to generate one control signal based on n input signals, and a corresponding control signal is received by each row address transmission circuit, which is configured to send the row address to a corresponding group region based on the control signal and the active command signal. The n input signals are denoted as a first input signal, a second input signal, . . . , and an nth input signal. If an ith target bit of a bank group address in a group region corresponding to the control signal circuit is at a first level, the ith input signal is an ith target bit. If the ith target bit of the bank group address in the group region corresponding to the control signal circuit is at a second level, the ith input signal is a complementary target bit of the ith target bit. 1≤i≤n, and i is an integer.
Control logic of the control signal circuit is described with any control signal circuit as an example. If a bank group to which the received bank group address points is in the group region corresponding to the control signal circuit, the n input signals in the control signal circuit are all at the first level. When it is determined by the control signal circuit that all the n input signals are at the first level, a control signal output by the control signal circuit is a valid value, and the row address transmission circuit may be controlled by the control signal to send the row address to the corresponding group region. If the bank group to which the received bank group address points is not in the group region corresponding to the control signal circuit, at least one of the n input signals in the control signal circuit is not at the first level. When it is determined by the control signal circuit that at least one of the n input signals is not at the first level, the control signal output by the control signal circuit is an invalid value, and the row address transmission circuit cannot be controlled by the control signal to send the row address to the corresponding group region. In this way, the row address can be sent to a group region based on the received bank group address, so that row address sending paths are reduced, thereby reducing power consumption of the memory.
The second address processing circuit 410 includes n fourth flip-flops, denoted as a first fourth flip-flop, a second fourth flip-flop, . . . , and an nth fourth flip-flop. An ith target bit is received at an input terminal of an ith fourth flip-flop, the active command signal is received at a clock terminal of the ith fourth flip-flop, the ith target bit is output through an output terminal of the ith fourth flip-flop, and a complementary target bit of the ith target bit is output through a complementary output terminal of the ith fourth flip-flop.
The second address processing circuit 410 includes n second inverters, denoted as a first second inverter, a second inverter, . . . , and an nth second inverter. The ith target bit is received at an input terminal of an ith second inverter, and the complementary target bit of the ith target bit is output through an output terminal of the ith second inverter.
When the first level is a low level and the second level is a high level, the control signal circuit includes a NOR gate. The NOR gate includes n input terminals. One input signal is received at each input terminal, and the control signal is output after a NOR operation is performed on the n input signals. When all the n input signals are at a low level, the control signal output by the NOR gate is at a high level, the control signal is a valid value, and the row address transmission circuit may be controlled by the control signal to send the row address to the corresponding group region. When one of the n input signals is at a high level, the control signal output by the NOR gate is at a low level, the control signal is an invalid value, and the row address transmission circuit cannot be controlled by the control signal to send the row address to the corresponding group region.
When the first level is a high level and the second level is a low level, the control signal circuit includes a third AND gate. The third AND gate includes n input terminals. One input signal is received at each input terminal, and the control signal is output after an AND operation is performed on the n input signals. When all the n input signals are at a high level, the control signal output by the third AND gate is at a high level, the control signal is a valid value, and the row address transmission circuit may be controlled by the control signal to send the row address to the corresponding group region. When one of the n input signals is at a low level, the control signal output by the third AND gate is at a low level, the control signal is an invalid value, and the row address transmission circuit cannot be controlled by the control signal to send the row address to the corresponding group region.
The row address transmission circuit 430 includes a fourth AND gate 431 and a fifth flip-flop 432. The fourth AND gate 431 includes two input terminals. The control signal is received at a first input terminal of the fourth AND gate 431, the active command signal is received at a second input terminal of the fourth AND gate 431, and an output terminal of the fourth AND gate 431 is connected to a clock terminal of the fifth flip-flop 432. The row address is received at an input terminal of the fifth flip-flop 432, which is configured to output the row address under triggering of a signal received at the clock terminal.
Control logic of the row address transmission circuit is described with any row address transmission circuit as an example. When the received control signal is at a high level, after an AND logical operation is performed by the fourth AND gate 431 on the control signal and the active command signal, an output signal is a clock pulse signal, and the row address is output to a corresponding group region by the fifth flip-flop 432. When the received control signal is at a low level, after an AND logical operation is performed by the fourth AND gate 431 on the control signal and the active command signal, an output signal continues to be at a low level, and the row address stops to be output to the corresponding group region by the fifth flip-flop 432.
As shown in
As shown in
As shown in
When the bank group address is BG<2:0>=000, both input terminals of the NOR gate in the first control signal circuit are at a low level, and an output control signal is at a high level. One input terminal of the NOR gate in the second control signal circuit is at a high level, the other input terminal is at a low level, and an output control signal is at a low level. One input terminal of the NOR gate in the third control signal circuit is at a high level, the other input terminal is at a low level, and an output control signal is at a low level. Two input terminals of the NOR gate in the fourth control signal circuit are at a high level, and an output control signal is at a low level.
As shown in
When the bank group address is BG<2:0>=000, both input terminals of the third AND gate in the first control signal circuit are at a high level, and an output control signal is at a high level. One input terminal of the third AND gate in the second control signal circuit is at a high level, the other input terminal is at a low level, and an output control signal is at a low level. One input terminal of the third AND gate in the third control signal circuit is at a high level, the other input terminal is at a low level, and an output control signal is at a low level. Two input terminals of the third AND gate in the fourth control signal circuit are at a low level, and an output control signal is at a low level.
A control signal output by the first control signal circuit is at a high level, and control signals output by the second control signal circuit to the fourth control signal circuit are all at a low level. The row address is sent to the first group region RG0 by the first row address transmission circuit under control of the corresponding control signal, and the row address stops to be sent by the second row address transmission circuit to the fourth row address transmission circuit to the corresponding group regions under control of the corresponding control signals.
As shown in
As shown in
BG<3>, BG<1>, and BG<0> of the bank group address in the fifth group region RG4 are respectively at a high level, a low level, and a low level. BG<0> is received at a first input terminal of the NOR gate in the fifth control signal circuit, BG<1> is received at a second input terminal, and the complementary signal of BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the sixth group region RG5 are respectively at a high level, a low level, and a high level. The complementary signal of BG<0> is received at a first input terminal of the NOR gate in the sixth control signal circuit, BG<1> is received at a second input terminal, and the complementary signal of BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the seventh group region RG6 are respectively at a high level, a high level, and a low level. BG<0> is received at a first input terminal of the NOR gate in the seventh control signal circuit, the complementary signal of BG<1> is received at a second input terminal, and the complementary signal of BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the eighth group region RG7 are all at a high level, a high level, and a high level. The complementary signal of BG<0> is received at a first input terminal of the NOR gate in the eighth control signal circuit, the complementary signal of BG<1> is received at a second input terminal, and the complementary signal of BG<3> is received at a third input terminal.
When the bank group address is BG<3:0>=0000, three input terminals of the NOR gate in the first control signal circuit are all at a low level, and an output control signal is at a high level. One input terminal of each of the NOR gates in the second control signal circuit, the third control signal circuit, and the fifth control signal circuit is at a high level, two input terminals are at a low level, and an output control signal is at a low level. Two input terminals of the NOR gates in the fourth control signal circuit, the sixth control signal circuit, and the seventh control signal circuit are at a high level, the other input terminal is at a low level, and an output control signal is at a low level. Three input terminals of the NOR gate in the eighth control signal circuit are at a high level, and an output control signal is at a low level.
As shown in
BG<3>, BG<1>, and BG<0> of the bank group address in the fifth group region RG4 are respectively at a high level, a low level, and a low level. The complementary signal of BG<0> is received at a first input terminal of the third AND gate in the fifth control signal circuit, the complementary signal of BG<1> is received at a second input terminal, and BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the sixth group region RG5 are respectively at a high level, a low level, and a high level. BG<0> is received at a first input terminal of the third AND gate in the sixth control signal circuit, the complementary signal of BG<1> is received at a second input terminal, and BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the seventh group region RG6 are respectively at a high level, a high level, and a low level. The complementary signal of BG<0> is received at a first input terminal of the third AND gate in the seventh control signal circuit, BG<1> is received at a second input terminal, and BG<3> is received at a third input terminal. BG<3>, BG<1>, and BG<0> of the bank group address in the eighth group region RG7 are all at a high level, a high level, and a high level. BG<0> is received at a first input terminal of the third AND gate in the eighth control signal circuit, BG<1> is received at a second input terminal, and BG<3> is received at a third input terminal.
When the bank group address is BG<3:0>=0000, three input terminals of the third AND gate in the first control signal circuit are all at a high level, and an output control signal is at a high level. Two input terminals of each of the third AND gates in the second control signal circuit, the third control signal circuit, and the fifth control signal circuit are at a high level, one input terminal is at a low level, and an output control signal is at a low level. One input terminal of each of the third AND gates in the fourth control signal circuit, the sixth control signal circuit, and the seventh control signal circuit is at a high level, two input terminals are at a low level, and an output control signal is at a low level. Three input terminals of the third AND gate in the eighth control signal circuit are at a low level, and an output control signal is at a low level.
A control signal output by the first control signal circuit is at a high level, and control signals output by the second control signal circuit to the eighth control signal circuit are all at a low level. The row address is sent to the first group region RG0 by the first row address transmission circuit under control of the corresponding control signal, and the row address stops to be sent by the second row address transmission circuit to the eighth row address transmission circuit to the corresponding group regions under control of the corresponding control signals.
A person skilled in the art can easily figure out other implementation solutions of this application after considering the specification and practice of the present disclosure herein. This application aims to cover any variations, uses, or adaptations of this application. These variations, uses, or adaptations follow the general principles of this application and include common knowledge or conventional technical means in the art that are not disclosed in this application. The specification and embodiments are merely considered as examples, and the true scope and spirit of this application are pointed out in the following claims.
It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of this application is limited only by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202310003129.7 | Jan 2023 | CN | national |
This application is a continuation of PCT/CN2023/076975, filed on Feb. 17,2023, which claims priority to Chinese Patent Application No. 202310003129.7, filed with the China National Intellectual Property Administration on Jan. 3, 2023 and entitled “MEMORY”, which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/076975 | Feb 2023 | WO |
Child | 18890760 | US |