CN211125037U - Write operation circuit and semiconductor memory - Google Patents
Write operation circuit and semiconductor memory Download PDFInfo
- Publication number
- CN211125037U CN211125037U CN201921804570.0U CN201921804570U CN211125037U CN 211125037 U CN211125037 U CN 211125037U CN 201921804570 U CN201921804570 U CN 201921804570U CN 211125037 U CN211125037 U CN 211125037U
- Authority
- CN
- China
- Prior art keywords
- data
- input
- global bus
- transmission gate
- inverter
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- Dram (AREA)
Abstract
An embodiment of the present application provides a write operation circuit and a semiconductor memory, including: a data judgment module determining whether to invert the input data according to a bit number of data which is low in the input data of the semiconductor memory to generate inversion identification data and first intermediate data; the data buffer module is used for determining whether the global bus is overturned according to second intermediate data, wherein the second intermediate data are inverse data of the first intermediate data; the data receiving module decodes the global bus data according to the turnover identification data, writes the decoded data into a storage block stored in the semiconductor, and the decoding comprises determining whether the global bus data is turned over or not; and a precharge module setting an initial state of the global bus to high. According to the technical scheme of the embodiment of the application, the turnover frequency of the internal global bus can be reduced under the Precharge pull-up structure, so that the current is greatly compressed, and the power consumption is reduced.
Description
Technical Field
The present application relates to the field of semiconductor memory technologies, and in particular, to a write operation circuit and a semiconductor memory.
Background
This section is intended to provide a background or context to the embodiments of the application that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The semiconductor Memory includes a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), a Synchronous Dynamic Random Access Memory (SDRAM), a Read-Only Memory (ROM), and a flash Memory.
In the DRAM protocol of Joint Electron Device Engineering Council (JEDEC), there are specific requirements for DRAM speed and power saving. How to save more power for the DRAM and ensure the integrity of the signal and the reliability of data transmission and storage is an urgent problem to be solved in the industry.
SUMMERY OF THE UTILITY MODEL
Embodiments of the present application provide a write operation circuit and a semiconductor memory to solve or alleviate one or more technical problems in the prior art.
In a first aspect, an embodiment of the present application provides a write operation circuit applied to a semiconductor memory, including:
a data judgment module for determining whether to invert the input data according to the number of bits of data which is low in the input data of the semiconductor memory to generate inversion identification data and first intermediate data;
the data buffer module comprises a plurality of NMOS transistors and a plurality of first inverters, the grid electrodes of the NMOS transistors are connected to the data judgment module through the first inverters so as to receive second intermediate data, the drain electrodes of the NMOS transistors are connected to the global bus, and the data buffer module is used for determining whether the global bus is turned over or not according to the second intermediate data, wherein the second intermediate data are inverse data of the first intermediate data;
the data receiving module is connected with the storage block, receives global bus data on the global bus, receives the overturning identification data through the overturning identification signal line, and is used for decoding the global bus data according to the overturning identification data and writing the decoded data into the storage block stored in the semiconductor, wherein the decoding comprises the step of determining whether the global bus data is overturned or not;
and the precharge module is connected to the precharge signal line and used for setting the initial state of the global bus to be high.
In one embodiment, the data processing circuit further comprises a serial-to-parallel conversion circuit connected between a DQ port of the semiconductor memory and the data judgment module, and configured to perform serial-to-parallel conversion on first input data of the DQ port to generate second input data; the data judgment module is used for determining whether the second input data is inverted or not according to the low data digit number in the second input data so as to generate inverted identification data and first intermediate data.
In one embodiment, the second input data is divided into M groups, the flip identification data is M bits, the M-bit flip identification data corresponds to the M groups of second input data one to one, each group of second input data is N bits, where M and N are integers greater than 1, and the data judgment module is configured to output the flip data of the input group of second input data as a corresponding group of first intermediate data and set a one-bit flip identification data corresponding to the input group of second input data to high when the number of bits of low data in the input group of second input data is greater than N/2; and under the condition that the bit number of data which is low in the input group of second input data is less than or equal to N/2, outputting the input group of second input data as a corresponding group of first intermediate data, and setting the one-bit flip identification data corresponding to the input group of second input data to be low.
In one embodiment, the data determination module comprises:
the data judgment unit is used for setting the overturn identification data to be high under the condition that the digit of the data which is low in the second input data is greater than a preset value; and setting the flip identification data to be low when the digit of the data which is low in the second input data is less than or equal to a preset value;
the input end of the data selector is connected with the data judgment unit and used for receiving second input data through the data judgment unit, the input end of the data selector also receives the overturning identification data through an overturning identification signal line, the output end of the data selector is connected with the input end of the first phase inverter, and the data selector is used for outputting the overturning data of the second input data as first intermediate data under the condition that the overturning identification data is high; and outputting the original second input data as the first intermediate data in the case where the flip flag data is low.
In one embodiment, the data selector includes a plurality of data selection units, the data selection units including:
the input end of the second inverter receives the overturning identification data through the overturning identification signal line;
the input end of the third inverter is connected to the data judging unit and used for receiving second input data from the data judging unit;
the input end of the first transmission gate is connected to the output end of the third phase inverter, the output end of the first transmission gate is connected with the input end of the first phase inverter and used for outputting first intermediate data, the reverse control end of the first transmission gate is connected to the output end of the second phase inverter, and the positive control end of the first transmission gate receives the overturning identification data through the overturning identification signal line;
and the input end of the second transmission gate is connected with the data judgment unit and is used for receiving second input data from the data judgment unit, the output end of the second transmission gate is connected with the input end of the first phase inverter and is used for outputting first intermediate data, the reverse control end of the second transmission gate receives the overturning identification data through the overturning identification signal line, and the positive control end of the second transmission gate is connected with the output end of the second phase inverter.
In one embodiment, the global bus data is M groups, M bit flip identification data corresponds to the M groups of global bus data one to one, the data receiving module includes M data receiving units, the data receiving units are connected to the storage block, and the data receiving units are configured to decode the corresponding groups of global bus data according to the one bit flip identification data.
In one embodiment, a data receiving unit includes:
the input end of the fourth inverter receives the overturning identification data through the overturning identification signal line;
the input end of the fifth inverter receives global bus data through a global bus;
the input end of the third transmission gate is connected to the output end of the fifth phase inverter, the output end of the third transmission gate is connected with the storage block and used for outputting decoded data to the storage block, the inverse control end of the third transmission gate is connected to the output end of the fourth phase inverter, and the positive control end of the third transmission gate receives the overturning identification data through the overturning identification signal line;
and the input end of the fourth transmission gate receives global bus data through a global bus, the output end of the fourth transmission gate is connected with the storage block and used for outputting decoded data to the storage block, the inverse control end of the fourth transmission gate receives the overturning identification data through an overturning identification signal line, and the positive control end of the fourth transmission gate is connected with the output end of the fourth phase inverter.
In one embodiment, the precharge module includes a plurality of PMOS transistors whose gates are connected to the precharge signal line, whose drains are connected to the global bus, and a plurality of holding circuits whose input and output terminals are connected to the global bus.
In a second aspect, an embodiment of the present application provides a semiconductor memory, including the write operation circuit of any one of the above embodiments.
By adopting the technical scheme, the embodiment of the application can reduce the turnover frequency on the global bus under the Precharge pull-up structure, thereby greatly compressing the current and reducing the power consumption.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present application will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 is a block diagram schematically showing the structure of a semiconductor memory portion of one embodiment of the present embodiment;
fig. 2 is a block diagram schematically showing the structure of a semiconductor memory portion of another embodiment of the present embodiment;
FIG. 3 schematically shows a circuit diagram (corresponding to one memory block) of a data buffer module and a precharge module according to an embodiment of the present embodiment;
FIG. 4 schematically shows a circuit diagram (corresponding to a plurality of memory blocks) of a data buffer module and a precharge module according to an embodiment of the present embodiment;
FIG. 5 is a block diagram schematically illustrating a data determination module according to an embodiment of the present invention;
FIG. 6 schematically shows a block diagram of a data selection unit of an embodiment of the present embodiment;
FIG. 7 is a block diagram schematically illustrating a data receiving module according to an embodiment of the present invention
Fig. 8 schematically shows a block diagram of a data receiving unit according to an embodiment of the present invention.
Description of reference numerals:
20: a semiconductor memory;
21: a serial-to-parallel conversion circuit;
22: a data buffer module;
23: a data judgment module;
24: a DQ port;
25: a data receiving module;
26: a storage block;
221: a PMOS tube;
222: an NMOS tube;
223: a holding circuit;
224: a first inverter;
231: a data judgment unit;
232: a data selector;
232': a data selection unit;
232A: a second inverter;
232B: a third inverter;
232C: a first transmission gate;
232D: a second transmission gate;
250: a data receiving unit;
251: a fourth inverter;
252: a fifth inverter;
253: a third transmission gate;
254: and a fourth transmission gate.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Fig. 1 schematically shows a block diagram of a structure of a semiconductor memory portion of one embodiment of the present embodiment. As shown in fig. 1, the semiconductor memory 20 includes a DQ port 24, a memory block (Bank)26, and a write operation circuit. The write operation circuit includes a Global Bus (Global Bus), a flip Flag (Flag) signal line, a serial-parallel conversion circuit 21, a Data determination module 23, a Data Buffer module (Data Buffer)22, a Data receiving module 25, and a precharge module 27. In one embodiment, the semiconductor memory 20 is a DRAM, such as a fourth generation Double Data RateSDRAM4 (DDR 4).
In one example, as shown in FIG. 1, 8 bits of first input data DQ <7:0> input from DQ port 24 are passed through the write operation circuitry to write data (i.e., decoded data) D <127:0> into memory block 26. An Active command opens a uniquely specified memory block 26, and a write operation can be performed to only one memory block 26. That is, when one Bank among eight memory blocks 26 (i.e., Bank <7:0>) is active, the other banks are inactive. It should be noted that the number of memory blocks 26, the number of data bits per memory block 26, and the number and number of data bits of the DQ port 24 are not limited in this embodiment. For example: the DQ port 24 may also be one, serving as input 8-bit first input data; the DQ ports 24 may also be two, i.e., each DQ port 24 is used to input 8 bits of first input data DQ <7:0> or DQ <15:8>, which in turn is input 16 bits of first input data DQ <15:0 >.
For example, as shown in FIG. 2, the first input data DQ <7:0> is written to a set of memory blocks Bank <7:0> by one of the write operation circuits described above; the first input data DQ <15:8> is written to another set of memory blocks Bank <15:8> by another write operation circuit as described above. Accordingly, of the eight memory blocks 26 corresponding to DQ <15:8> (i.e., Bank <15:8>), only one Bank is active and the other banks are inactive.
The semiconductor memory 20 has an array structure, and each unit structure may be the same, but the data output from each unit may be different due to the difference in the input data. The write operation circuit of the present embodiment will be described below by taking one of the memory blocks as an example.
As shown in fig. 1 and 2, the write operation circuit of the present embodiment includes a data judgment block 23 for determining whether to flip input data to generate flip flag data and first intermediate data, according to the number of bits of data that is low in the input data of the semiconductor memory 20.
In one embodiment, the data determining module 23 is configured to output the flipped data of the input data as the first intermediate data and set Flag data to be high when the number of bits of the low data in the input data is greater than a preset value; and under the condition that the digit of the data which is low in the input data is less than or equal to a preset value, outputting the original input data as first intermediate data, and setting Flag data to be low.
For example: the input data is 8 bits. If the number of bits in the input data equal to "0" exceeds half, i.e., exceeds 4 bits (e.g., 5 bits), Flag is equal to 1, and the first intermediate data output is equal to the inverted data of the input data. If the number of bits equal to "0" in the written data is less than half, for example, the data equal to "1" has 3 bits, Flag is equal to 0, and the first intermediate data output is equal to the original input data.
Where data high may be data equal to "1" and data low may be data equal to "0". The flipping of data may be understood as a change from "0" to "1", or, from "1" to "0". The inversion of the data line or the signal line may be understood as a change from a high level to a low level, or a change from a low level to a high level.
In one embodiment, the write operation circuit includes a serial-to-parallel conversion circuit 21. The serial-to-parallel conversion circuit 21 is connected between the DQ port 24 and the data judgment module 24, and is configured to perform serial-to-parallel conversion on first input data of the DQ port 24 to generate second input data. For example: the serial-parallel conversion circuit 21 performs serial-parallel conversion on the 8-bit first input data DQ <7:0> to generate 128-bit second input data D2' <127:0> corresponding to Bank 0.
In one embodiment, the second input data D2' <127:0> is divided into M groups, the Flag data is M bits, the M bit Flag data corresponds to the M groups of second input data one by one, each group of second input data is N bits, where M and N are integers greater than 1. The data judgment module 23 is configured to, when the bit number of the low data in the input group of second input data is greater than N/2, output the inverted data of the input group of second input data as a corresponding group of first intermediate data, and set the one-bit inverted flag data corresponding to the input group of second input data to be high; and under the condition that the bit number of data which is low in the input group of second input data is less than or equal to N/2, outputting the input group of second input data as a corresponding group of first intermediate data, and setting the one-bit flip identification data corresponding to the input group of second input data to be low.
For example: the second input data D2' <127:0> is divided into 16 groups of 8 bits each corresponding to one bit Flag data. Accordingly, the Flag data is 16 bits, such as Flag <15:0 >. The first intermediate data D1' <127:0> would also be divided into 16 groups accordingly. Each bit Flag data corresponds to a set of first intermediate data. For a set of second input data D2 '< 127:120>, if the number of bits of D2' <127:120> equal to "0" is greater than 4 bits, the corresponding Flag <15> <1, and the output set of first intermediate data D1 '< 120:127> is equal to the flip data of D2' <127:120 >; if the number of bits equal to "0" in the second input data is less than or equal to 4 bits, the corresponding Flag <15> is 0, and the output set of first intermediate data D1 '< 120:127> is D2' <127:120 >. Similarly, for a set of second input data D2 '< 15:8>, if the number of bits of D2' <15:8> equal to "0" is greater than 4 bits, the corresponding Flag <1> -1, and the output set of first intermediate data D1 '< 15:8> is equal to the flipped data of D2' <15:8 >; if the number of bits equal to "0" in the second input data is less than or equal to 4 bits, the corresponding Flag <1> is 0, and the output set of first intermediate data D1 '< 15:8> is D2' <15:8 >. For a set of second input data D2 '< 7:0>, if the number of bits of D2' <7:0> equal to "0" is greater than 4 bits, the corresponding Flag <0> is 1, and the output set of first intermediate data D1 '< 7:0> is equal to the flip data of D2' <7:0 >; if the number of bits equal to "0" in the second input data is less than or equal to 4 bits, the corresponding Flag <0> is 0, and the output set of first intermediate data D1 '< 7:0> is D2' <7:0 >. Accordingly, the first intermediate data D1' <127:0> includes more data of "0".
Further, the semiconductor memory 20 of the present embodiment further includes a data buffer block 22 and a precharge block 27. Fig. 3 schematically shows a circuit diagram (corresponding to one memory block 26) of the data buffer module 22 of one embodiment of the present embodiment. Fig. 4 schematically shows a circuit diagram (corresponding to 8 memory blocks 26) of the data buffer module 22 of one embodiment of the present embodiment.
As shown in fig. 3 and 4, the data buffer module 22 includes a plurality of nmos (negative Channel metal oxide semiconductor) transistors 222 and a plurality of first inverters 24. The gate of the NMOS transistor 222 is connected to the data determination module 23 through the first inverter 24, and the drain of the NMOS transistor 222 is connected to the global bus. The first inverter 24 is configured to perform an inversion operation on the first intermediate data to generate second intermediate data, so that the data buffering module 22 determines whether to flip the global bus according to the second intermediate data. Since there are more data of "1" in the first intermediate data, there are more data of "0" in the second intermediate data.
The Precharge module 27 is connected to a Precharge signal line (Precharge) for setting an initial state of the global bus to low. That is, in the present embodiment, the semiconductor memory 20 employs a Precharge pull-up (High) global bus transfer structure. Specifically, the precharge module 27 includes a plurality of pmos (positive Channel Metal oxide semiconductor) transistors 221 and a plurality of hold (hold) circuits 223. Wherein, the grid of the PMOS transistor 221 is connected to the pre-charge signal line, and the drain of the PMOS transistor 221 is connected to the global bus; the input and output terminals of the hold circuit 223 are connected to the global bus, thereby forming a positive feedback circuit.
The Precharge is used for setting the initial state of each global bus to be high, and the specific process is that a Precharge signal generates a pull-up pulse (pulse, about 2 ns), a corresponding certain global bus is pulled up for a moment, the holding circuit 223 forms positive feedback and locks the global bus at a high level, but the pull-up and pull-down current capability of the holding circuit 223 is relatively weak; when a global bus needs to be changed to a low level, the data line corresponding to the global bus (i.e., the data line connected to the gate of the NMOS transistor 222 corresponding to the global bus) is pulled up by one (also a pulse, about 2 ns), so that the corresponding NMOS transistor 222 pulls down the global bus for a moment (the pull-down capability is greater than the pull-up capability of the holding circuit 223), and then the global bus is locked to a low level through positive feedback, thereby completing the flip action of the data line. Since the second intermediate data includes more data of "1", the required flip operation is less. Therefore, the IDD4W (write current) of the semiconductor memory will be reduced, so that the power consumption of the semiconductor memory can be reduced.
In one example, the global bus is a plurality of buses and is divided into M (M is an integer greater than 1) groups, and each global bus transmits one bit of the global bus data. For example: the number of the global buses is 128, and the global bus <0> transmits global bus data D' <0 >; global bus <1> transfers global bus data D' <1 >; … …, respectively; global bus <127> transfers global bus data D' <127 >. The 128 global buses are divided into 16 groups.
In one example, each bit of Flag data corresponds to a set of global bus data. Accordingly, the Flag signal line has 16 bits, and the Flag data has 16 bits, such as Flag <15:0 >. Each Flag signal line transmits 1-bit Flag data, for example, the Flag signal line <0> transmits Flag data Flag <0>, corresponds to global bus data D '< 0:7>, and represents whether D' <0:7> is data after the second intermediate data is inverted; the Flag signal line <1> transmits Flag data Flag <1>, corresponds to global bus data D '< 8:15> and represents whether D' <8:15> is data after second intermediate data is turned over; … …, respectively; the Flag signal line <15> transmits Flag data Flag <15> and, corresponding to the global bus data D '< 120:127>, characterizes whether D' <120:127> is data after the second intermediate data flip.
Since the second intermediate data is the inverted data of the first intermediate data D1 '< 120:127>, when Flag <15> is 1, the global bus data D' <127:120> -D1' <127:120 >; when Flag <15> is 0, the global bus data D '< 127:120> is the flip data of D1' <127:120 >. Similarly, when Flag <1>, D '< 15:8> < D1' <15:8 >; when Flag <1> is 0, D '< 15:8> is the flip data of D1' <15:8 >. When Flag <0> <1, D '< 7:0> < D1' <7:0 >; when Flag <0> is 0, D '< 7:0> is flip data of D1' <7:0 >.
Accordingly, more data "1" is included in the global bus data D' <127:0> transmitted on the global bus. Accordingly, in the semiconductor memory 20 shown in fig. 2, of the 256-bit global bus data (including 128-bit global bus data corresponding to DQ <7:0> and 128-bit global bus data corresponding to DQ <15:8>), there is a large amount of data that is "1".
In one embodiment, as shown in fig. 5, the data determination module 230 includes a data determination unit 231 and a data selector 232.
The input terminal of the data judging unit 231 is connected to the serial-to-parallel conversion circuit 21, and the output terminal of the data judging unit 231 is connected to the Flag signal line and to the input terminal of the data selector 232. The data judging unit 231 is configured to set Flag data to be high when the number of bits of data that is low in the second input data is greater than a preset value; and setting Flag data to be low when the number of bits of data which is low in the second input data is less than or equal to a preset value.
An input terminal of the data selector 232 is connected to the data determining unit 231 for receiving the second input data through the data determining unit 231, an input terminal of the data selector 232 also receives the Flag data through the Flag signal line, and an output terminal of the data selector 232 is connected to an input terminal of the first inverter 224. The data selector 232 is configured to output the flip data of the second input data as the first intermediate data when the Flag data is high; and outputting the original second input data as the first intermediate data in the case where the Flag data is high.
In one embodiment, the data selector 232 includes a plurality of data selection units 232 ', each data selection unit 232' for processing one bit of Flag data and a set of second input data. For example: there may be 16 data selection units 232', corresponding to 16 sets of the second input data and one bit of Flag data, respectively.
Fig. 6 shows one implementation of the data selection unit 232'. As shown in fig. 6, the data selection unit 232' includes a second inverter 232A, a third inverter 232B, a first transmission gate 232C, and a second transmission gate 232D.
The input end of the second inverter 232A receives Flag data through a Flag signal line; an input end of the third inverter 232B is connected to the data judging unit 231, and is configured to receive the second input data from the data judging unit 231; an input end of the first transmission gate 232C is connected to an output end of the third inverter 232B, an output end of the first transmission gate 232C is connected to an input end of the first inverter 224 for outputting the first intermediate data, an inverted control end (upper control end in fig. 6) of the first transmission gate 232C is connected to an output end of the second inverter 232A, and an positive control end (lower control end in fig. 6) of the first transmission gate 232C receives Flag data through a Flag signal line; an input terminal of the second transmission gate 232D is connected to the data judging unit 231 for receiving the second input data from the data judging unit 231, an output terminal of the second transmission gate 232D is connected to an input terminal of the first inverter 224 for outputting the first intermediate data, an inverted control terminal of the second transmission gate 232D receives the Flag data through the Flag signal line, and an positive control terminal of the second transmission gate 232D is connected to an output terminal of the second inverter 232A.
Taking Flag <0> and the second input data D2 ' <7:0> as an example, as shown in fig. 6, when Flag is 1, the first intermediate data D1 ' <7:0> is the flip data of the second input data D2 ' <7:0 >; when Flag is equal to 0, the first intermediate data D1 '< 7:0> is the second input data D2' <7:0 >.
It should be noted that a set of the third inverter 232B, the first transmission gate 232C and the second transmission gate 232D is used for processing a second input data with one bit and outputting a corresponding first intermediate data with one bit. That is, corresponding to the 8-bit second input data D2 '< 7:0>, the third inverter 232B, the first transmission gate 232C and the second transmission gate 232D should have 8 sets, and then the 8-bit first intermediate data D1' <7:0> is outputted.
Thus, when the Flag data is 1, the global bus data D '< 127:0> is the flip data of the second input data D2' <127:0 >; when the Flag data is 0, the global bus data D '< 127:0> is the original second input data D2' <127:0 >.
As shown in fig. 1, fig. 2, and fig. 7, the write operation circuit in the present embodiment further includes a data receiving block 25. The input end of the data receiving module 25 is connected to the global bus and the flip identification signal line, and the output end of the data receiving module 25 is connected to the storage block 26, and is configured to determine whether to flip the global bus data (decode the global bus data) according to the Flag data, and write the decoded data (write data) into the storage block 26. For example: outputting the turning data of the global bus data as write data under the condition that the Flag data is high; and outputting the original global bus data as write data in the case where the Flag data is low.
Thereby, the write data is restored as the input data of the semiconductor memory. Further, data and functions of external ports of the semiconductor memory 20, such as the DQ port 24 and the DBI port (not shown in the drawings), are not changed.
In one embodiment, the data receiving module 25 may include a plurality of data receiving units 250, each data receiving unit 250 being configured to process one bit of Flag data and one set of global bus data. For example: the number of the data receiving units 250 may be 16, corresponding to 16 sets of global bus data and one bit of Flag data, respectively. Fig. 8 shows one implementation of the data receiving unit 250.
As shown in fig. 8, the data receiving unit 250 includes a fourth inverter 251, a fifth inverter 252, a third transmission gate 253, and a fourth transmission gate 254.
The input end of the fourth inverter 251 receives Flag data through a Flag signal line; the input of the fifth inverter 252 receives global bus data via the global bus; an input end of the third transmission gate 253 is connected to an output end of the fifth inverter 252, an output end of the third transmission gate 253 is connected to the memory block 26 and is used for outputting write data to the memory block 26, an inverted control end (an upper control end in fig. 8) of the third transmission gate 253 is connected to an output end of the third inverting 251 unit, and a positive control end of the third transmission gate 253 receives Flag data through a Flag signal line; an input terminal of the fourth transmission gate 254 receives global bus data through a global bus, an output terminal of the fourth transmission gate 254 is connected to the memory block 26 for outputting write data to the memory block 26, an inverted control terminal (upper control terminal in fig. 8) of the fourth transmission gate 254 receives Flag data through a Flag signal line, and an positive control terminal (lower control terminal in fig. 8) of the fourth transmission gate 254 is connected to an output terminal of the fourth inverter 251.
Taking Flag <0> and global bus data D '< 7:0> as an example, as shown in fig. 8, when Flag is 1, write data D <7:0> is flip data of the global bus data D' <7:0 >; when Flag is equal to 0, the write data D <7:0> is the global bus data D '< 7:0>, i.e. D <7:0> -D' <7:0 >.
It should be noted that a set of the fifth inverter 252, the third transmission gate 253, and the fourth transmission gate 254 is used for processing one bit of global bus data and outputting one bit of corresponding write data. That is, corresponding to the 8 bits of global bus data D' <7:0>, the fifth inverter 252, the third transfer gate 253, and the fourth transfer gate 254 should have 8 sets, and then 8 bits of write data D <7:0> are outputted.
According to the semiconductor memory 20 of the present embodiment, in the process of writing data (DQ <7:0> <00000000 >; DQ <15:8> < 000000000000 >) into the semiconductor memory 20, the global bus data is 256 bits, and if 256-bit global bus data is required to be flipped, only 32-bit Flag data is flipped, and the IDD4W is greatly compressed.
In practical applications, the semiconductor memory 20 of the present embodiment further includes other structures such as a sense amplifier, a precharge circuit, etc., which are all the prior art and are not repeated herein.
The write operation circuit provided by the embodiment of the application is applied to a semiconductor memory with a Precharge pull-up global bus transmission structure, can reduce the turnover frequency of an internal global bus before data is written into a memory block, can greatly compress current, and reduces power consumption.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Furthermore, while the spirit and principles of the application have been described with reference to several particular embodiments, it is to be understood that the application is not limited to the disclosed embodiments, nor is the division of aspects, which is merely for convenience of presentation, to imply that features in these aspects cannot be combined to advantage. The application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A write operation circuit applied to a semiconductor memory, comprising:
a data judgment module for determining whether to flip the input data of the semiconductor memory according to the bit number of the data which is low in the input data to generate flip identification data and first intermediate data;
the data buffer module comprises a plurality of NMOS transistors and a plurality of first inverters, the grid electrodes of the NMOS transistors are connected to the data judgment module through the first inverters so as to receive second intermediate data, the drain electrodes of the NMOS transistors are connected to a global bus, and the data buffer module is used for determining whether to overturn the global bus according to the second intermediate data, wherein the second intermediate data are inverse data of the first intermediate data;
the data receiving module is connected with the storage block, receives global bus data on the global bus, receives the overturning identification data through the overturning identification signal line, and is used for decoding the global bus data according to the overturning identification data and writing the decoded data into the storage block stored in the semiconductor, wherein the decoding comprises determining whether the global bus data is overturned;
and the precharge module is connected to a precharge signal line and used for setting the initial state of the global bus to be high.
2. The write operation circuit according to claim 1, further comprising a serial-to-parallel conversion circuit connected between a DQ port of the semiconductor memory and the data determination module, for performing serial-to-parallel conversion on first input data of the DQ port to generate second input data; the data judgment module is used for determining whether the second input data is overturned according to the low data digit in the second input data so as to generate the overturning identification data and the first intermediate data.
3. The write operation circuit according to claim 2, wherein the second input data is divided into M groups, each group of the second input data is N bits, where M and N are integers greater than 1, the data judgment module is configured to output M-bit flip flag data and M groups of the first intermediate data, the M-bit flip flag data corresponds to the M groups of the second input data one to one, and the M-bit flip flag data corresponds to the M groups of the first intermediate data one to one.
4. The write operation circuit according to claim 2, wherein the data judging module includes:
the input end of the data judgment unit is connected with the serial-parallel conversion circuit, the output end of the data judgment unit is connected with the turnover identification signal line, and the data judgment unit is used for inputting a preset value and outputting the turnover identification data according to the number of bits of low data in the second input data and the preset value;
the input end of the data selector is connected to the data judgment unit and used for receiving the second input data through the data judgment unit, the input end of the data selector also receives the overturning identification data through the overturning identification signal line, the output end of the data selector is connected with the input end of the first phase inverter, and the data selector is used for outputting the first intermediate data according to the overturning identification data and the second input data.
5. The write operation circuit according to claim 4, wherein the data selector includes a plurality of data selection units, the data selection units including:
the input end of the second inverter receives the overturning identification data through the overturning identification signal line;
the input end of the third inverter is connected to the data judging unit and used for receiving the second input data from the data judging unit;
a first transmission gate, an input end of which is connected to an output end of the third inverter, an output end of which is connected to an input end of the first inverter and is configured to output the first intermediate data, an inverted control end of which is connected to an output end of the second inverter, and an positive control end of which receives the flip flag data through the flip flag signal line;
and the input end of the second transmission gate is connected with the data judgment unit and is used for receiving the second input data from the data judgment unit, the output end of the second transmission gate is connected with the input end of the first phase inverter and is used for outputting the first intermediate data, the reverse control end of the second transmission gate receives the overturning identification data through the overturning identification signal line, and the positive control end of the second transmission gate is connected with the output end of the second phase inverter.
6. The write operation circuit according to claim 3, wherein the global bus data is M groups, M bit flip flag data corresponds to M groups of global bus data one to one, the data receiving module includes M data receiving units, the data receiving units are connected to the memory block, and the data receiving unit is configured to perform the decoding on the corresponding group of global bus data according to the one bit flip flag data.
7. The write operation circuit according to claim 6, wherein the data receiving unit includes:
the input end of the fourth inverter receives the overturning identification data through the overturning identification signal line;
a fifth inverter, an input of which receives the global bus data through the global bus;
an input end of the third transmission gate is connected to an output end of the fifth inverter, an output end of the third transmission gate is connected to the storage block and used for outputting decoded data to the storage block, an inverted control end of the third transmission gate is connected to an output end of the fourth inverter, and an positive control end of the third transmission gate receives the flip identification data through the flip identification signal line;
and the input end of the fourth transmission gate receives the global bus data through the global bus, the output end of the fourth transmission gate is connected with the storage block and used for outputting the decoded data to the storage block, the reverse control end of the fourth transmission gate receives the overturning identification data through the overturning identification signal line, and the positive control end of the fourth transmission gate is connected with the output end of the fourth phase inverter.
8. The write operation circuit according to any one of claims 1 to 7, wherein the precharge module includes a plurality of PMOS transistors whose gates are connected to the precharge signal line and whose drains are connected to the global bus, and a plurality of hold circuits whose input and output terminals are connected to the global bus.
9. A semiconductor memory characterized by comprising the write operation circuit according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921804570.0U CN211125037U (en) | 2019-10-25 | 2019-10-25 | Write operation circuit and semiconductor memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921804570.0U CN211125037U (en) | 2019-10-25 | 2019-10-25 | Write operation circuit and semiconductor memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211125037U true CN211125037U (en) | 2020-07-28 |
Family
ID=71690519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921804570.0U Active CN211125037U (en) | 2019-10-25 | 2019-10-25 | Write operation circuit and semiconductor memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211125037U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112712841A (en) * | 2019-10-25 | 2021-04-27 | 长鑫存储技术(上海)有限公司 | Write operation circuit, semiconductor memory and write operation method |
-
2019
- 2019-10-25 CN CN201921804570.0U patent/CN211125037U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112712841A (en) * | 2019-10-25 | 2021-04-27 | 长鑫存储技术(上海)有限公司 | Write operation circuit, semiconductor memory and write operation method |
CN112712841B (en) * | 2019-10-25 | 2024-07-26 | 长鑫存储技术(上海)有限公司 | Write operation circuit, semiconductor memory, and write operation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN210667806U (en) | Read operation circuit and semiconductor memory | |
CN211404066U (en) | Read operation circuit and semiconductor memory | |
CN112712839B (en) | Read operation circuit, semiconductor memory, and read operation method | |
CN210575117U (en) | Write operation circuit and semiconductor memory | |
CN211125039U (en) | Write operation circuit and semiconductor memory | |
CN211125038U (en) | Write operation circuit and semiconductor memory | |
CN210667805U (en) | Write operation circuit and semiconductor memory | |
US11816351B2 (en) | Write operation circuit, semiconductor memory, and write operation method | |
CN211404065U (en) | Read operation circuit and semiconductor memory | |
CN112712840B (en) | Read operation circuit, semiconductor memory, and read operation method | |
CN211125037U (en) | Write operation circuit and semiconductor memory | |
CN210667808U (en) | Read operation circuit and semiconductor memory | |
CN112712834B (en) | Write operation circuit, semiconductor memory, and write operation method | |
CN112712833B (en) | Write operation circuit, semiconductor memory, and write operation method | |
CN112712832B (en) | Write operation circuit, semiconductor memory, and write operation method | |
CN210667807U (en) | Read operation circuit and semiconductor memory | |
CN112712842B (en) | Read operation circuit, semiconductor memory, and read operation method | |
CN112712841B (en) | Write operation circuit, semiconductor memory, and write operation method | |
CN112712835B (en) | Read operation circuit, semiconductor memory, and read operation method | |
CN112712838B (en) | Read operation circuit, semiconductor memory, and read operation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |