DATA READING/WRITING METHOD, MEMORY, STORAGE APPARATUS, AND TERMINAL
20220406348 · 2022-12-22
Assignee
Inventors
Cpc classification
G11C2207/005
PHYSICS
G11C5/025
PHYSICS
G11C11/4093
PHYSICS
G11C7/12
PHYSICS
G11C11/413
PHYSICS
G11C8/08
PHYSICS
G11C5/063
PHYSICS
G11C11/4097
PHYSICS
G11C7/1012
PHYSICS
International classification
G11C7/12
PHYSICS
G11C7/06
PHYSICS
G11C7/10
PHYSICS
Abstract
A memory includes S storage blocks, N global bitlines, and a signal amplification circuit. Each of the S storage blocks is connected to the N global bitlines, the N global bitlines are connected to the signal amplification circuit, the signal amplification circuit is configured to amplify electrical signals on the N global bitlines, and each storage block includes N columns of storage units, N local bitlines, and N bitline switches. In each storage block, storage units in an i.sup.th column are connected to an i.sup.th local bitline, the i.sup.th local bitline is connected to an i.sup.th global bitline by using an i.sup.th bitline switch in the N bitline switches. A memory array is fine-grained, so that i.sup.th local bitlines in the S storage blocks can share one global bitline.
Claims
1. A memory, comprising: S storage blocks; N global bitlines; a signal amplification circuit, wherein: each of the S storage blocks is connected to the N global bitlines, the N global bitlines are connected to the signal amplification circuit, the signal amplification circuit is configured to amplify electrical signals on the N global bitlines, S and N are positive integers and S≥2, each storage block comprises N columns of storage units, N local bitlines, and N bitline switches; and in each storage block: storage units in an i.sup.th column in the N columns of storage units are connected to an i.sup.th local bitline in the N local bitlines, an i.sup.th bitline switch of the N bitline switches, the i.sup.th local bitline is connected to an i.sup.th global bitline in the N global bitlines via the i.sup.th bitline switch in the N bitline switches, N is a positive integer, and i is a positive integer not greater than N.
2. The memory according to claim 1, wherein the signal amplification circuit comprises N differential amplifiers, and an i.sup.th differential amplifier in the N differential amplifiers is configured to amplify an electrical signal on the i.sup.th global bitline.
3. The memory according to claim 1, wherein the signal amplification circuit comprises P multiplexers and P differential amplifiers, an input end of a kt.sup.h multiplexer in the P multiplexers is connected to at least two of the N global bitlines, an output end of the k.sup.th multiplexer in the P multiplexers is connected to a k.sup.th differential amplifier in the P differential amplifiers, the k.sup.th multiplexer in the P multiplexers is configured to select, for outputting, one electrical signal from electrical signals transmitted on the at least two global bitlines, P is a positive integer not greater than N, and k is a positive integer not greater than P.
4. The memory according to claim 1, wherein each storage block further comprises N first control lines separately connected to control inputs of the N bitline switches, the N first control lines are all connected to a first control circuit, and the first control circuit is configured to control the N bitline switches to be turned on or off.
5. The memory according to claim 1, wherein the memory further comprises a bitline drive circuit, and the bitline drive circuit is connected to the N global bitlines, and is configured to input electrical signals to the N global bitlines.
6. The memory according to claim 1, wherein the storage units in each storage block are arranged in M rows×N columns, each storage block further comprises M wordlines, storage units in a j.sup.th row in the M rows×N columns of storage units are connected to a j.sup.th wordline in the M wordlines, M is a positive integer, and j is a positive integer not greater than M.
7. The memory according to claim 6, wherein the memory further comprises a wordline drive circuit, and the wordline drive circuit is connected to wordlines in the S storage blocks, and is configured to control a potential of the wordline.
8. The memory according to claim 1, wherein each storage block is divided into T storage sub-blocks, the storage sub-blocks in the memory are arranged in S rows×T columns, each column of storage sub-blocks forms one storage domain, the memory comprises T storage domains, the memory further comprises W global wordlines, T and W are positive integers, T≥2, and each of the T storage domains comprises W rows of storage units, W local wordlines, and W wordline switches; and in each storage domain, storage units in a v.sup.th row in the W rows of storage units are connected to a v.sup.th local wordline in the W local wordlines, the v.sup.th local wordline is connected to a v.sup.th global wordline in the W global wordlines by using a v.sup.th wordline switch in the W wordline switches, W is a positive integer, and v is a positive integer not greater than W.
9. The memory according to claim 8, wherein each storage domain further comprises W second control lines separately connected to the W wordline switches, the W second control lines are all connected to a second control circuit, and the second control circuit is configured to control the W wordline switches to be turned on or off
10. The memory according to claim 8, wherein the memory further comprises a wordline drive circuit, and the wordline drive circuit is connected to global wordlines in the T storage domains, and is configured to control a potential of the global wordline.
11. A storage apparatus, comprising: a memory; a storage controller coupled to the memory; the memory comprises: S storage blocks, N global bitlines, and a signal amplification circuit, each of the S storage blocks is connected to the N global bitlines, the N global bitlines are connected to the signal amplification circuit, the signal amplification circuit is configured to amplify electrical signals on the N global bitlines, S and N are positive integers, and S≥2, each storage block comprises N columns of storage units, N local bitlines, N bitline switches coupled to the N local bitlines and N global bitlines; and in each storage block, storage units in an i.sup.th column in the N columns of storage units are connected to an i.sup.th local bitline in the N local bitlines, the i.sup.th local bitline is connected to an i.sup.th global bitline in the N global bitlines via an i.sup.th bitline switch in the N bitline switches, N is a positive integer, and i is a positive integer not greater than N.
12. The memory according to claim 11, wherein the signal amplification circuit comprises N differential amplifiers, and an i.sup.th differential amplifier in the N differential amplifiers is configured to amplify an electrical signal on the i.sup.th global bitline.
13. The memory according to claim 11, wherein the signal amplification circuit comprises P multiplexers and P differential amplifiers, an input end of a kt.sup.h multiplexer in the P multiplexers is connected to at least two of the N global bitlines, an output end of the k.sup.th multiplexer in the P multiplexers is connected to a k.sup.th differential amplifier in the P differential amplifiers, the k.sup.th multiplexer in the P multiplexers is configured to select, for outputting, one electrical signal from electrical signals transmitted on the at least two global bitlines, P is a positive integer not greater than N, and k is a positive integer not greater than P.
14. The memory according to claim 11, wherein each storage block further comprises N first control lines separately connected to control inputs of the N bitline switches, the N first control lines are all connected to a first control circuit, and the first control circuit is configured to control the N bitline switches to be turned on or off.
15. The memory according to claim 11, wherein the memory further comprises a bitline drive circuit, and the bitline drive circuit is connected to the N global bitlines, and is configured to input electrical signals to the N global bitlines.
16. A terminal, comprising a processor, a storage controller and a memory, wherein the memory is coupled to the processor, wherein the memory comprises S storage blocks, N global bitlines, and a signal amplification circuit, wherein each of the S storage blocks is connected to the N global bitlines, the N global bitlines are connected to the signal amplification circuit, the signal amplification circuit is configured to amplify electrical signals on the N global bitlines, S and N are positive integers, S≥2, and each storage block comprises N columns of storage units, N local bitlines, and N bitline switches; and in each storage block, storage units in an i.sup.th column in the N columns of storage units are connected to an i.sup.th local bitline in the N local bitlines, the i.sup.th local bitline is connected to an i.sup.th global bitline in the N global bitlines by using an i.sup.th bitline switch in the N bitline switches, N is a positive integer, and i is a positive integer not greater than N.
17. The memory according to claim 16, wherein the signal amplification circuit comprises N differential amplifiers, and an i.sup.th differential amplifier in the N differential amplifiers is configured to amplify an electrical signal on the i.sup.th global bitline.
18. The memory according to claim 16, wherein the signal amplification circuit comprises P multiplexers and P differential amplifiers, an input end of a k.sup.th multiplexer in the P multiplexers is connected to at least two of the N global bitlines, an output end of the k.sup.th multiplexer in the P multiplexers is connected to a k.sup.th differential amplifier in the P differential amplifiers, the k.sup.th multiplexer in the P multiplexers is configured to select, for outputting, one electrical signal from electrical signals transmitted on the at least two global bitlines, P is a positive integer not greater than N, and k is a positive integer not greater than P.
19. The memory according to claim 16, wherein each storage block further comprises N first control lines separately connected to control ends of the N bitline switches, the N first control lines are all connected to a first control circuit, and the first control circuit is configured to control the N bitline switches to be turned on or off.
20. The memory according to claim 16, wherein the memory further comprises a bitline drive circuit, and the bitline drive circuit is connected to the N global bitlines, and is configured to input electrical signals to the N global bitlines.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0058] To describe technical solutions in embodiments of the present application or in the background more clearly, the following briefly describes the accompanying drawings for describing embodiments of the present application or the background.
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
DESCRIPTION OF EMBODIMENTS
[0075] A memory shown in embodiments of this application may be a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), a high bandwidth memory (HBM), a read-only memory (ROM), a cache, a flash memory, a hard disk drive (HDD), a solid-state disk (SSD), or the like.
[0076] An architecture of a memory array may be fine-grained, to reduce a delay of the memory.
[0077] However, although a capacity of each memory array is reduced through fine graining, more areas need to be occupied to configure logic circuits. Consequently, a storage capacity in a same chip area is reduced, and costs per bit are greatly increased.
[0078] To reduce a delay and costs of the memory, this application provides a memory. A memory array in the memory is fine-grained, to shorten a length of a bitline in the memory array, and reduce parasitic capacitance. In addition, a bitline (which is also referred to as a local bitline) in each memory array is connected to a global bitline by using a switch, so that bitlines in memory arrays can share a global bitline, a signal amplification signal, a bitline drive circuit, and the like. This can reduce drive time of a circuit, and reduce costs of the memory.
[0079] Key terms related to this application are first described.
[0080] (1) Memory Array
[0081] The memory array is a memory array including storage units. In the memory array, each row of storage units is connected to a wordline, and each column of storage units is connected to a bitline.
[0082] (2) Storage Domain and Storage Block
[0083] In this application, the storage block or the storage domain may be a memory array, or may be a plurality of memory arrays arranged in a bitline direction or a wordline direction.
[0084] (3) Local Bitline (LBL), Global Bitline (GBL), and Bitline Switch
[0085] Bitlines are divided into a local bitline and a global bitline based on different locations of the bitlines. A bitline located only in a memory array or connected only to a storage unit in the memory array is referred to as a local bitline. A bitline located in a plurality of memory arrays or connected to storage units in the plurality of memory arrays is referred to as a global bitline.
[0086] It should be understood that in this application, the global bitline is not directly connected to the storage unit, but is connected to the local bitline by using a switch. The switch is referred to as a bitline switch in this application. In other words, the bitline switch is a switch used to connect the local bitline and the global bitline.
[0087] (4) Local Wordline (LWL), global Wordline (GWL), and Wordline switch
[0088] Wordlines are divided into a local wordline and a global wordline based on different locations of the wordlines. A wordline located only in a memory array or connected only to a storage unit in the memory array is referred to as a local wordline. A wordline located in a plurality of memory arrays or connected to storage units in the plurality of memory arrays is referred to as a global wordline.
[0089] It should be understood that in this application, the global wordline is not directly connected to the storage unit, but is connected to the local wordline by using a switch. The switch is referred to as a wordline switch in this application. In other words, the wordline switch is a switch used to connect the local wordline and the global wordline.
[0090] The following describes the memory provided in this application with reference to the accompanying drawings.
[0091]
[0092] It should be noted that although
[0093] For example, when data needs to be written into a storage unit, an electrical signal corresponding to the written data is input, by using the bitline drive circuit, to a global bitline that is electrically connected to the storage unit. The storage unit has two states: “0” and “1”. For example, when the storage unit needs to be set to the “1” state, the bitline drive circuit inputs a high potential to the global bitline connected to the storage unit. On the contrary, when the storage unit needs to be set to the “0” state, the bitline drive circuit inputs a low potential to the global bitline connected to the storage unit.
[0094] Each of the S storage blocks includes N columns of storage units, N local bitlines, and N bitline switches. In each storage block, storage units in an i.sup.th column in the N columns of storage units are connected to an j.sup.th local bitline in the N local bitlines, the j.sup.th local bitline is connected to an j.sup.th global bitline in the N global bitlines by using an j.sup.th bitline switch in the N bitline switches, N is a positive integer, and i is a positive integer not greater than N. A value of i may be 1, 2, . . . , or N.
[0095] In the memory shown in
[0096] In an embodiment of this application, each storage block is a storage unit array including N columns of storage units, the S storage blocks are arranged in a bitline direction to form a storage block array, and the storage block array also includes N columns of storage units. In this case, storage units in an j.sup.th column in each storage block are still in an j.sup.th column in the storage block array including the S storage blocks. For one storage block, each of storage units in an j.sup.th column is connected to an i.sup.th local bitline, and the j.sup.th local bitline is connected to an j.sup.th global bitline by using an i.sup.th bitline switch.
[0097] It can be learned that the i.sup.th local bitline in each storage block is connected to the same global bitline, namely, the i.sup.th global bitline by using one bitline switch. In this case, the i.sup.th local bitline and the i.sup.th global bitline in each storage block may be controlled to be turned on or off by controlling the i.sup.th bitline switch in each storage block to be turned on or off. Therefore, i.sup.th local bitlines in the S storage blocks can share one global bitline, and the S storage blocks can share one signal amplification circuit and a bitline drive circuit, to reduce a quantity of signal amplification circuits and a quantity of bitline drive circuits in the memory, and reduce preparation costs of the memory. In addition, a memory array is fine-grained. This can shorten the local bitline, reduce parasitic capacitance caused by the local bitline, and reduce a delay of a read/write operation.
[0098] In some embodiments, the storage unit may be a 1T1C (one-transistor one-capacitor) storage unit, namely, including one transistor and one capacitor.
[0099] In some embodiments, the bitline switch may include a switch that includes at least one transistor and that has functions of turning on and turning off. For example, the bitline switch is a transistor.
[0100] It should be understood that the transistor in the storage unit or the transistor in the bitline switch may include a triode, a field effect transistor, and the like.
[0101] In some embodiments, in the memory shown in
[0102] For example, when a read/write operation needs to be performed on a storage unit in a storage block, the storage unit needs to be turned on by using a bitline switch connected to a local bitline. In this case, the first control circuit may apply a high potential to a first control line connected to the bitline switch, to turn on the bitline switch. On the contrary, if a read/write operation does not need to be performed, a storage unit on which the read/write operation does not need to be performed is turned off by using a bitline switch connected to a local bitline. In this case, the first control circuit may apply a low potential to a first control line connected to the bitline switch, to turn off the bitline switch. It should be understood that the foregoing is described by using an example in which the bitline switch is an N-type MOS transistor.
[0103] In this embodiment of this application, one storage block may include a plurality of storage units arranged in an array, and each storage block includes N columns of storage units. However, storage units in storage blocks may have the same or different rows. For example, as shown in
[0104]
[0105] An example in which both the transistor T.sub.b and the transistor T.sub.c are N-type MOS transistors is used for description. Selecting the WL means that a high potential is input to the WL, to turn on the transistor T, and the capacitor C may perform charging/discharging. Selecting the LBL means that a high potential is input to SC1 connected to the LBL, to turn on the transistor T.sub.b, the LBL and the GBL connected to the LBL are turned on, and the GBL is selected to output or input an electrical signal, to separately perform the read operation or the write operation.
[0106] It should be noted that the memory shown in
[0107] In some embodiments, the memory further includes the wordline drive circuit, and the wordline drive circuit is connected to all wordlines in the S storage blocks, and is configured to control a potential of the wordline connected to the wordline drive circuit, to control transistors on the wordlines to be turned on and off. For example, a transistor in a storage unit of the wordline drive circuit is an N-type MOS transistor. When a row of storage units needs to be selected, the wordline drive circuit applies a high potential to a wordline connected to the row of storage units. On the contrary, when the row of storage units does not need to be selected, the wordline drive circuit applies a low potential to the wordline connected to the row of storage units.
[0108]
[0109] In each storage domain, storage units in a v.sup.th row in the W rows of storage units are connected to a v.sup.th local wordline in the W local wordlines, the v.sup.th local wordline is connected to a with local wordline in the W global wordlines by using a v.sup.th wordline switch in the W wordline switches, W is a positive integer, and v is a positive integer not greater than W.
[0110]
[0111] An example in which both the transistor T.sub.b, the transistor T.sub.c, and a transistor Tr are N-type MOS transistors is used for description. Selecting the LWL means that a high potential is input to SC2 connected to the LWL, to turn on the transistor T.sub.r, the LWL and the GWL connected to the LWL are turned on, and a high potential is input to the GWL, to turn on the transistor T.sub.c, and the capacitor C may perform charging/discharging. Selecting the LBL means that a high potential is input to SC1 connected to the LBL, to turn on the transistor T.sub.b, the LBL and the GBL connected to the LBL are turned on, and the GBL is selected to output or input an electrical signal, to separately perform the read operation or the write operation.
[0112] It should be understood that quantities of columns of storage units in storage domains may be the same or different. This is not limited herein. As shown in
[0113] In the memory shown in
[0114] In an embodiment, each storage block is a storage unit array including N columns of storage units, the S storage blocks are arranged in a bitline direction to form a storage block array, and the storage block array also includes N columns of storage units. In this case, each storage block is divided into T storage sub-blocks, each storage sub-block is a storage unit array smaller than a storage block, and a quantity of columns of storage units in a t.sup.th storage sub-block in each storage block is the same. All storage sub-blocks in the memory are arranged into S rows×T columns of storage sub-blocks. Herein, an area including one column of storage sub-blocks is referred to as a storage domain, and the memory includes T storage domains. Storage units in a v.sup.th row in each storage domain are still in a v.sup.th row in the memory array including the T storage domains. For one storage domain, each of storage units in a v.sup.th row is connected to a v.sup.th local wordline, and the v.sup.th local wordline is connected to a v.sup.th global wordline by using a v.sup.th wordline switch.
[0115] It can be learned that the v.sup.th local wordline in each storage domain is connected to the same global wordline, namely, the v.sup.th global wordline, by using one wordline switch. In this case, the v.sup.th local wordline and the v.sup.th global wordline in each storage domain may be controlled to be turned on or off by controlling the v.sup.th wordline switch in each storage domain to be turned on or off. Therefore, v.sup.th local wordlines in the T storage domains can share one global wordline, and the T storage domains can share one wordline drive circuit, to reduce a quantity of wordline drive circuits in the memory, and reduce preparation costs of the memory. In addition, a memory array is fine-grained. This can shorten the local wordline, reduce parasitic capacitance caused by the local wordline, and reduce a delay of a read/write operation.
[0116] Optionally, in the memory shown in
[0117] In each storage domain, the W second control lines are represented as SC2 (1), SC2 (2), . . . , and SC2 (W), and SC2 (v) indicates a v.sup.th second control line in a storage domain. It should be understood that although the W second control lines in each storage domain are represented in the same manner, SC2 (v) in any two different storage domains in the T storage domains are actually two different second control lines.
[0118] In some embodiments, the memory may further include the wordline drive circuit, and the wordline drive circuit is connected to global wordlines in the T storage domains, and is configured to control potentials of the global wordlines in the T storage domains. It should be understood that the wordline drive circuit controls, by controlling the potentials of the global wordlines, potentials of T local wordlines connected to the global wordlines, and further selects, by turning on one or more wordline switches in T wordline switches connected to the global wordlines, storage units on a local wordline connected to the one or more wordline switches.
[0119] For example, when a read/write operation needs to be performed on a storage unit, the storage unit needs to be turned on by using a wordline switch connected to a local wordline. In this case, the second control circuit may apply a high potential to a second control line connected to the wordline switch, to turn on the wordline switch; and apply, by using the wordline drive circuit, a high potential to a global wordline connected to the storage unit. In this case, the global wordline connected to the storage unit and the local wordline connected to the storage unit are turned on, and a high potential is applied to a control end of a transistor in the storage unit, to select the storage unit. On the contrary, if a read/write operation does not need to be performed, a storage unit on which the read/write operation does not need to be performed is turned off by using a wordline switch connected to a local wordline. In this case, the second control circuit may apply a low potential to a second control line connected to the wordline switch, to turn off the wordline switch. It should be understood that the foregoing is described by using an example in which the wordline switch is an N-type MOS transistor.
[0120] It should be understood that the signal amplification circuit works when a read operation is performed on the storage unit in the memory.
[0121]
[0122] During actual application, an input end of the i.sup.th differential amplifier is connected to the i.sup.th global bitline, the electrical signal on the i.sup.th global bitline is input, and another input end is connected to a reference signal. The i.sup.th differential amplifier outputs a signal obtained after the reference signal is removed from the electrical signal on the i.sup.th global bitline, and further identifies data corresponding to the output signal.
[0123] The memory combined with the signal amplification circuit shown in
[0124] In some embodiments, the signal amplification circuit may include P multiplexers and P differential amplifiers. The multiplexers are in a one-to-one correspondence with the differential amplifiers, an input end of a k.sup.th multiplexer in the P multiplexers is connected to at least two of the N global bitlines, an output end of the k.sup.th multiplexer in the P multiplexers is connected to a k.sup.th differential amplifier in the P differential amplifiers, the k.sup.th multiplexer in the P multiplexers is configured to select, for outputting, one electrical signal from electrical signals transmitted on the global bitlines connected to the k.sup.th multiplexer, P is a positive integer not greater than N, and k is a positive integer not greater than P.
[0125] In the memory using the signal amplification circuit, data in a plurality of storage units indirectly connected to different multiplexers may be simultaneously read. This can increase a read operation speed and reduce costs.
[0126]
[0127] It should be understood that the memory may further include another functional unit, for example, a decoder, configured to implement data reading and writing of the memory. This is not limited herein.
[0128]
[0129] In some embodiments, the storage apparatus 100 may be a memory. The storage controller is a memory controller, and is configured to receive a request sent by a processor for a target storage unit, and respond to the request by using the target storage unit in the storage apparatus. The request includes a read request and a write request.
[0130] In some embodiments, the storage apparatus may be another memory, for example, a cache memory or a DRAM. This is not limited herein.
[0131]
[0132]
[0133] The computing device may be a terminal, for example, a mobile phone, a tablet computer, a notebook computer, a personal computer, a smart television, a set-top box, a smartwatch, a smart band, a virtual reality (VR) device, an augmented reality (AR) device, or a smart speaker. Alternatively, the computing device may be a device that includes a memory and has a data processing function, such as a router, a server, a cloud server, or a cloud computing device.
[0134] With reference to the memory in
[0135] S12: Select a target storage unit in a target storage block, where the target storage unit is connected to a y.sup.th local bitline in the target storage block, and y is a positive integer not greater than N.
[0136] Optionally, selecting the target storage unit means that a transistor, for example, the transistor T.sub.c in the storage unit in
[0137] In an implementation of this embodiment of this application, the storage controller receives a read request from a processor. The read request is used to request to read data in the target storage unit in the target storage block, and the read request carries address information indicating a location of the target storage unit. After receiving the read request, the storage controller may determine a row address and a column address of the target storage unit in a memory based on the address information. The column address indicates an identifier of a column in which the target storage unit is located, and the row address indicates an identifier of a row in which the target storage unit is located.
[0138] It should be understood that one local bitline and one wordline in a storage block may determine a location of a storage unit, and the column address in which the target storage unit is located may include an identifier of the local bitline connected to the target storage unit. Similarly, the row address in which the target storage unit is located may include an identifier of the wordline or the local wordline connected to the target storage unit.
[0139] For example, when the memory is the memory shown in
[0140] For another example, when the memory is the memory shown in
[0141] Optionally, the storage controller may obtain, by using a decoder, the row address and the column address in which the target storage unit is located and that are determined by using the address information, and further determine the local bitline, the wordline, or the local wordline connected to the target storage unit. The following separately describes two implementations for selecting the target memory for the memory shown in
Implementation 1
[0142] When the memory is the memory shown in
[0143] For example, a transistor in a storage unit is an N-type MOS transistor. When a row of storage units needs to be selected, the wordline drive circuit applies a high potential to the x1.sup.th wordline connected to the target storage unit. In this case, the storage units in the x1.sup.th row in the target storage block are selected, and the target storage unit is selected.
Implementation 2
[0144] When the memory is the memory shown in
[0145] An implementation in which the storage controller turns on the x2.sup.th wordline switch in the target storage domain may be: The storage controller inputs, to a second control line, namely, SC2 (x2), connected to the x2.sup.th wordline switch, a control signal used to turn on the x2.sup.th wordline switch. If the wordline switch is an N-type MOS transistor, the control signal may be a high potential.
[0146] It should be understood that the storage controller may first input the control signal to the x2.sup.th global wordline in the W global wordlines, and then turn on the x2.sup.th wordline switch.
[0147] If the transistor in the storage unit is an N-type MOS transistor, the control signal may be a high potential. When the wordline drive circuit applies a high potential to the x2.sup.th global wordline, because the x2.sup.th wordline switch in the target storage domain is turned on, the high potential on the x2.sup.th global wordline is applied to all storage units in an x2.sup.th row in the target storage domain by using the x2.sup.th local wordline in the target storage domain, all storage units in the x2.sup.th row in the target storage domain are selected, and the target storage unit is also selected.
[0148] S14: Turn on a y.sup.th bitline switch in the target storage block, to transmit an electrical signal in the target storage unit in the target memory to a y.sup.th global bitline in N global bitlines by using the y.sup.th local bitline.
[0149] It may be understood that after the y.sup.th bitline switch in the target storage block is turned on, the y.sup.th local bitline in the target memory and the y.sup.th global bitline in the N global bitlines are turned on.
[0150] An implementation in which the storage controller turns on the y.sup.th bitline switch in the target storage block may be: The storage controller inputs, to a first control line, namely, SC1 (y), connected to the y.sup.th bitline switch in the target storage block, a control signal used to turn on the y.sup.th bitline switch. If the bitline switch is an N-type MOS transistor, the control signal may be a high potential.
[0151] S16: The signal amplification circuit amplifies the electrical signal on the y.sup.th global bitline.
[0152] For the signal amplification circuit (as shown in
[0153] For the signal amplification circuit (as shown in
[0154] Further, the storage controller may read data corresponding to the electrical signal, and send the read data to the processor.
[0155] It should be understood that an objective of amplifying the electrical signal on the y.sup.th global bitline is to remove a reference signal from the electrical signal, so that an amplified signal is closer to a signal stored in the target storage unit in the target storage block, to accurately identify data in the target storage unit.
[0156] With reference to the memory in
[0157] S22: Select a target storage unit in a target storage block, where the target storage unit is connected to a y.sup.th local bitline in the target storage block, and y is a positive integer not greater than N.
[0158] In an implementation of this embodiment of this application, the storage controller receives a write request from a processor. The write request is used to request to write target data into the target storage unit in the target storage block, and the write request carries address information indicating a location of the target storage block. After receiving the write request, the storage controller may determine a row address and a column address of the target storage unit in a memory based on the address information. The column address indicates an identifier of a column in which the target storage unit is located, and the row address indicates an identifier of a row in which the target storage unit is located.
[0159] An implementation of determining the row address and the column address of the target storage unit in the target storage block based on the address information carried in the write request is the same as an implementation of determining the row address and the column address of the target storage unit in the target storage block based on the address information carried in the read request. For details, refer to related descriptions in the embodiment of the data reading method shown in
[0160] It should be understood that one local bitline and one wordline in a storage block may determine a location of a storage unit, and the column address in which the target storage unit is located may include an identifier of the local bitline connected to the target storage unit. Similarly, the row address in which the target storage unit is located may include an identifier of the wordline or the local wordline connected to the target storage unit.
[0161] For example, when the memory is the memory shown in
[0162] Although descriptions such as y, x1, x2, the target storage block, the target storage unit, and the target storage domain are used in both the embodiment of the data reading method shown in
[0163] For a specific implementation of selecting the target storage unit, refer to the specific implementation of selecting the target storage unit in the embodiment of the data reading method shown in
[0164] S24: Turn on a y.sup.th bitline switch in the target storage block, to turn on the y.sup.th local bitline and a y.sup.th global bitline in N global bitlines.
[0165] For a specific implementation of S24, refer to related descriptions in step S14 in the method embodiment shown in
[0166] S26: Input an electrical signal corresponding to target data to the y.sup.th global bitline, to store the electrical signal in the target storage unit.
[0167] For example, the storage unit includes only two states: “0” and “1”. Stage “1” corresponds to a high potential, and the data “0” corresponds to a low potential.
[0168] It should be understood that when the target storage unit is selected, the electrical signal corresponding to the target data may be input to the y.sup.th global bitline by using a bitline drive circuit. Because the y.sup.th bitline switch in the target storage block is turned on, the electrical signal may be transmitted to the target storage unit by using the y.sup.th local bitline in the target storage block, and the electrical signal may be stored in a capacitor in the target storage unit.
[0169]
[0170] a selecting module 1401, configured to select a target storage unit in a target storage block, where the target storage unit is connected to a y.sup.th local bitline in the target storage block, and y is a positive integer not greater than N;
[0171] a turning-on module 1402, configured to turn on a y.sup.th bitline switch in the target storage block, to transmit an electronic signal in the target storage unit to a y.sup.th global bitline in N global bitlines by using the y.sup.th local bitline; and
[0172] an amplification module 1403, configured to amplify, by using a signal amplification circuit, the electrical signal on the y.sup.th global bitline.
[0173] In an optional implementation, in correspondence with the memory including the signal amplification circuit shown in
[0174] In an optional implementation, in correspondence with the memory (the memory including the signal amplification circuit shown in
[0175] In an optional implementation, each storage block further includes N first control lines separately connected to control ends of N bitline switches, and the turning-on module 1402 is specifically configured to input, to a first control line connected to the y.sup.th bitline switch, a control signal used to turn on the y.sup.th bitline switch.
[0176] In an optional implementation, in correspondence with the memory shown in
[0177] In an optional implementation, in correspondence with the memory shown in
[0178] Optionally, the storage domain further includes W second control lines separately connected to W wordline switches, the turning-on module 1402 is specifically configured to input, to a second control line connected to the x2.sup.th wordline switch, a control signal used to turn on the x2.sup.th wordline switch.
[0179] For specific implementations of modules in the storage controller 1400, refer to related descriptions in the memory shown in
[0180]
[0181] a selecting module 1501, configured to select a target storage unit in a target storage block, where the target storage unit is connected to a y.sup.th local bitline in the target storage block, and y is a positive integer not greater than N;
[0182] a turning-on module 1502, configured to turn on a y.sup.th bitline switch in the target storage block, to turn on the y.sup.th local bitline and a y.sup.th global bitline in the N global bitlines; and
[0183] a write module 1503, configured to input an electrical signal corresponding to target data to the y.sup.th global bitline, to store the electrical signal in the target storage unit.
[0184] In an optional implementation, each storage block further includes N first control lines separately connected to control ends of N bitline switches, the turning-on module 1502 is specifically configured to input, to a first control line connected to the y.sup.th bitline switch, a control signal used to turn on the y.sup.th bitline switch.
[0185] In an optional implementation, in correspondence with the memory shown in
[0186] In an optional implementation, in correspondence with the memory shown in
[0187] Optionally, the storage domain further includes W second control lines separately connected to W wordline switches, the turning-on module 1502 is specifically configured to input, to a second control line connected to the x2.sup.th wordline switch, a control signal used to turn on the x2.sup.th wordline switch.
[0188] For specific implementations of modules in the storage controller 1500, refer to related descriptions in the memory shown in
[0189] The foregoing is described by using an example in which the transistor is an N-type MOS transistor. It should be understood that transistors of different types are controlled to be turned on and cut off in different manners. Specific implementation is the conventional technology, and details are not described herein. In addition, in this application, the “control end of the transistor” may be a gate of a field effect transistor, a base of a triode, or the like, and is respectively configured to control a source and a drain of the field effect transistor to be turned on, and a collector and an emitter to be turned on.
[0190] A person of ordinary skill in the art may be aware that, with reference to the examples described in embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
[0191] A person skilled in the art can appreciate that functions described with reference to various illustrative logical blocks, modules, and algorithm steps disclosed and described herein may be implemented by hardware, software, firmware, or any combination thereof. If implemented by software, the functions described with reference to the illustrative logical blocks, modules, and steps may be stored in or transmitted over a computer-readable medium as one or more instructions or code and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium such as a data storage medium, or may include any communications medium that facilitates transmission of a computer program from one place to another (for example, according to a communications protocol). In this manner, the computer-readable medium may generally correspond to: (1) a non-transitory tangible computer-readable storage medium, or (2) a communications medium such as a signal or a carrier. The data storage medium may be any usable medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and/or data structures for implementing the technologies described in this application. A computer program product may include a computer-readable medium.
[0192] An instruction may be executed by one or more processors such as one or more digital signal processors (DSP), a general microprocessor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or an equivalent integrated circuit or discrete logic circuits. Therefore, the term “processor” used in this specification may refer to the foregoing structure, or any other structure that may be applied to implementation of the technologies described in this specification. In addition, in some aspects, the functions described with reference to the illustrative logical blocks, modules, and steps described in this specification may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or may be incorporated into a combined codec. In addition, the technologies may be completely implemented in one or more circuits or logic elements.
[0193] The technologies in this application may be implemented in various apparatuses or devices, including a wireless handset, an integrated circuit (IC), or a set of ICs (for example, a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Actually, as described above, various units may be combined in an encoder and decoder hardware unit in combination with appropriate software and/or firmware, or may be provided by interoperable hardware units (including one or more processors described above).
[0194] The terms used in the following embodiments are merely intended to describe specific embodiments, but are not intended to limit this application. The terms “one”, “a” and “this” of singular forms used in this specification and the appended claims of this application are also intended to include expressions such as “one or more”, unless otherwise specified in the context clearly. It should be further understood that, in the following embodiments of this application, “at least one” or “one or more” means one, two, or more. The term “and/or” is used to describe an association relationship between associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists, where A and B may be singular or plural. The character “/” generally indicates an “or” relationship between the associated objects.
[0195] Reference to “one embodiment” or “some embodiments” described in this specification or the like means that one or more embodiments of this application include a particular feature, structure, or characteristic described in combination with the embodiment. Therefore, statements such as “in an embodiment”, “in some embodiments”, “in some other embodiments”, and “in other embodiments” that appear at different places in this specification do not necessarily mean referring to a same embodiment. Instead, the statements mean “one or more but not all of embodiments”, unless otherwise specifically emphasized in another manner. The terms “include”, “have”, and their variants all mean “include but are not limited to”, unless otherwise specifically emphasized in another manner.
[0196] The foregoing descriptions are merely example specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.