Write operation circuit, semiconductor memory and write operation method

By designing the write operation circuit in DRAM and using circuit elements such as data judgment and buffer modules to optimize data transmission, the contradiction between power saving and signal integrity of DRAM is solved, and the effect of reducing power consumption is achieved.

CN112712834BActive Publication Date: 2024-09-06CHANGXIN MEMORY TECH (SHANGHAI) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911021470.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-25
Publication Date
2024-09-06
Estimated Expiration
2039-10-25

AI Technical Summary

Technical Problem

While existing DRAM ensures signal integrity and data transmission reliability, it is difficult to achieve a more power-saving design, resulting in high power consumption.

Method used

A write operation circuit is designed, including a data judgment module, a data buffer module, a data receiving module and a precharge module. Through circuit components such as serial-to-parallel conversion and inverters, it is decided whether to flip the data according to the number of bits in the input data, thereby reducing The number of flips of the global bus uses the Precharge pull-down architecture to reduce current consumption.

Benefits of technology

It effectively reduces the number of flips on the global bus, significantly reduces current consumption, and reduces the power consumption of semiconductor memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112712834B
    Figure CN112712834B
Patent Text Reader

Abstract

The embodiment of the present application at least provides a write operation circuit, including: a data judgment module, which determines whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory to generate flip identification data and first intermediate data; a data buffer module, which determines whether to flip the global bus according to the second intermediate data, wherein the second intermediate data is the inverted data of the first intermediate data; a data receiving module, which decodes the global bus data according to the flip identification data and writes the decoded data into the storage block of the semiconductor memory, and the decoding includes determining whether to flip the global bus data; a precharge module, which sets the initial state of the global bus to low. The technical solution of the embodiment of the present application can reduce the number of flips of the internal global bus under the Precharge pull-down architecture, thereby greatly compressing the current and reducing power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of semiconductor memory, and in particular to a write operation circuit, a semiconductor memory and a write operation method. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the application that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.

[0003] Semiconductor memory includes static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), read-only memory (ROM), flash memory, etc.

[0004] The DRAM protocol of the Joint Electron Device Engineering Council (JEDEC) has specific requirements for DRAM speed and power saving. How to make DRAM more power-efficient while ensuring signal integrity and the reliability of data transmission and storage is an urgent problem to be solved in the industry. Summary of the invention

[0005] Embodiments of the present application provide a write operation circuit, a semiconductor memory, and a write operation method to solve or alleviate one or more technical problems in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a write operation circuit, which is applied to a semiconductor memory, including:

[0007] A data judgment module, used for determining whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory, so as to generate flip identification data and first intermediate data;

[0008] A data buffer module, comprising a plurality of PMOS transistors and a plurality of first inverters, wherein the gate of the PMOS transistor is connected to the data judgment module through the first inverter to receive the second intermediate data, and the drain of the PMOS transistor is connected to the global bus, and the data buffer module is used to determine whether to flip the global bus according to the second intermediate data, wherein the second intermediate data is the inverted data of the first intermediate data;

[0009] A data receiving module is connected to the storage block. The data receiving module receives global bus data on the global bus and receives flip identification data through a flip identification signal line. The module is used to decode the global bus data according to the flip identification data and write the decoded data into the storage block of the semiconductor memory. The decoding includes determining whether to flip the global bus data.

[0010] The pre-charge module is connected to the pre-charge signal line and is used to set the initial state of the global bus to low.

[0011] In one embodiment, it also includes a serial-to-parallel conversion circuit, which is connected between the DQ port of the semiconductor memory and the data judgment module, and is used to perform serial-to-parallel conversion on the first input data of the DQ port to generate second input data; the data judgment module is used to determine whether to flip the second input data according to the number of bits of high data in the second input data, so as to generate flip identification data and first intermediate data.

[0012] In one embodiment, the second input data is divided into M groups, the flip identification data is M bits, the M bits of flip identification data correspond one-to-one to the M groups of second input data, each group of second input data is N bits, wherein M and N are integers greater than 1, and the data judgment module is used to output the flip data of a group of second input data as a corresponding group of first intermediate data when the number of bits of high data in a group of second input data is greater than N / 2, and set the one-bit flip identification data corresponding to the group of second input data to high; and when the number of bits of high data in a group of second input data is less than or equal to N / 2, output the group of second input data as a corresponding group of first intermediate data, and set the one-bit flip identification data corresponding to the group of second input data to low.

[0013] In one embodiment, the data determination module includes:

[0014] A data judgment unit, wherein the input end of the data judgment unit is connected to the serial-to-parallel conversion circuit, the output end of the data judgment unit is connected to the flip flag signal line, and the data judgment unit is used to set the flip flag data to high when the number of bits of the high data in the second input data is greater than a preset value; and to set the flip flag data to low when the number of bits of the high data in the second input data is less than or equal to the preset value;

[0015] A data selector, wherein the input end of the data selector is connected to the data judgment unit, and is used to receive the second input data through the data judgment unit. The input end of the data selector also receives the flip identification data through the flip identification signal line. The output end of the data selector is connected to the input end of the first inverter. The data selector is used to output the flip data of the second input data as the first intermediate data when the flip identification data is high; and to output the original second input data as the first intermediate data when the flip identification data is low.

[0016] In one embodiment, the data selector includes a plurality of data selection units, and the data selection units include:

[0017] A second inverter, wherein an input end of the second inverter receives flip flag data via a flip flag signal line;

[0018] A third inverter, an input end of the third inverter is connected to the data judgment unit, and is used to receive second input data from the data judgment unit;

[0019] A first transmission gate, wherein the input end of the first transmission gate is connected to the output end of the third inverter, the output end of the first transmission gate is connected to the input end of the first inverter, and is used to output the first intermediate data, the negative control end of the first transmission gate is connected to the output end of the second inverter, and the positive control end of the first transmission gate receives the flip flag data through the flip flag signal line;

[0020] A second transmission gate, an input end of the second transmission gate is connected to the data judgment unit, and is used to receive second input data from the data judgment unit. An output end of the second transmission gate is connected to the input end of the first inverter, and is used to output first intermediate data. An inverting control end of the second transmission gate receives the flipping identification data through the flipping identification signal line, and a positive control end of the second transmission gate is connected to the output end of the second inverter.

[0021] In one embodiment, the global bus data is M groups, the M-bit flip identification data corresponds one-to-one to the M groups of global bus data, the data receiving module includes M data receiving units, the data receiving units are connected to the storage blocks, and the data receiving units are used to decode the corresponding group of global bus data according to the one-bit flip identification data.

[0022] In one embodiment, the data receiving unit includes:

[0023] a fourth inverter, wherein an input end of the fourth inverter receives the flip flag data via the flip flag signal line;

[0024] a fifth inverter, wherein an input terminal of the fifth inverter receives global bus data through the global bus;

[0025] A third transmission gate, wherein the input end of the third transmission gate is connected to the output end of the fifth inverter, the output end of the third transmission gate is connected to the storage block, and is used to output the decoded data to the storage block, the negative control end of the third transmission gate is connected to the output end of the fourth inverter, and the positive control end of the third transmission gate receives the flip flag data through the flip flag signal line;

[0026] A fourth transmission gate, an input end of the fourth transmission gate receives global bus data through the global bus, an output end of the fourth transmission gate is connected to the storage block, and is used to output decoded data to the storage block, an inverting control end of the fourth transmission gate receives the flip flag data through the flip flag signal line, and a positive control end of the fourth transmission gate is connected to the output end of the fourth inverter.

[0027] In one embodiment, the precharge module includes multiple NMOS transistors and multiple holding circuits, the gate of the NMOS transistor is connected to the precharge signal line, the drain of the NMOS transistor is connected to the global bus, and the input and output ends of the holding circuit are connected to the global bus.

[0028] In a second aspect, an embodiment of the present application provides a semiconductor memory, comprising a write operation circuit of any of the above embodiments.

[0029] In a third aspect, an embodiment of the present application provides a write operation method, which is applied to a semiconductor memory, comprising:

[0030] Set the initial state of the global bus to low;

[0031] Determine whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory to generate flip identification data and first intermediate data;

[0032] Determine whether to flip the global bus according to the second intermediate data, wherein the second intermediate data is the inverted data of the first intermediate data;

[0033] Decoding the global bus data according to the flip identification data, the decoding including determining whether to flip the global bus data;

[0034] Write the decoded data to the memory block.

[0035] In one embodiment, determining whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory to generate flip identification data and first intermediate data includes:

[0036] Performing serial-to-parallel conversion on the first input data of the DQ port to generate second input data;

[0037] According to the number of bits of high data in the second input data, it is determined whether to invert the second input data to generate inversion identification data and first intermediate data.

[0038] In one implementation, determining whether to flip the second input data according to the number of bits of high data in the second input data to generate flip identification data and first intermediate data includes:

[0039] Divide the second input data into M groups, each group of second input data is N bits, where M and N are integers greater than 1;

[0040] When the number of bits of high data in the input set of second input data is greater than N / 2, the flip data of the input set of second input data is output as a corresponding set of first intermediate data, and the one-bit flip flag data corresponding to the input set of second input data is set to high;

[0041] When the number of high bits of a set of second input data is less than or equal to N / 2, the set of second input data is output as a corresponding set of first intermediate data, and the one-bit flip identification data corresponding to the set of second input data is set to low.

[0042] The embodiment of the present application adopts the above-mentioned technical solution, which can reduce the number of flips on the global bus under the Precharge pull-down architecture, thereby significantly compressing the current and reducing power consumption.

[0043] The above summary is for illustrative purposes 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 accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0045] Figure 1 A block diagram schematically shows a partial structure of a semiconductor memory device according to an implementation mode of the present embodiment;

[0046] Figure 2 A block diagram schematically shows a partial structure of a semiconductor memory device according to another implementation mode of the present embodiment;

[0047] Figure 3 The circuit diagram of a data buffer module and a pre-charge module of one implementation mode of this embodiment is schematically shown (corresponding to one storage block);

[0048] Figure 4 The circuit diagram of a data buffer module and a pre-charge module of one implementation mode of this embodiment is schematically shown (corresponding to a plurality of storage blocks);

[0049] Figure 5 A block diagram of a data judgment module in one implementation of this embodiment is schematically shown;

[0050] Figure 6 A block diagram of a data selection unit according to an implementation mode of this embodiment is schematically shown;

[0051] Figure 7 A block diagram schematically shows a data receiving module of an implementation mode of this embodiment.

[0052] Figure 8 A block diagram of a data receiving unit in accordance with an implementation of this embodiment is schematically recorded;

[0053] Fig. 9 A flowchart of a write operation method according to an implementation manner of this embodiment is schematically shown.

[0054] Description of reference numerals:

[0055] 20: Semiconductor memory;

[0056] 21: Serial-to-parallel conversion circuit;

[0057] 22: data buffer module;

[0058] 23: Data judgment module;

[0059] 24: DQ port;

[0060] 25: data receiving module;

[0061] 26: storage block;

[0062] 221: PMOS tube;

[0063] 222: NMOS tube;

[0064] 223: hold circuit;

[0065] 224: first inverter;

[0066] 231: data judgment unit;

[0067] 232: data selector;

[0068] 232′: data selection unit;

[0069] 232A: second inverter;

[0070] 232B: third inverter;

[0071] 232C: first transmission gate;

[0072] 232D: second transmission gate;

[0073] 250: data receiving unit;

[0074] 251: fourth inverter;

[0075] 252: fifth inverter;

[0076] 253: third transmission gate;

[0077] 254: The fourth transmission gate. DETAILED DESCRIPTION

[0078] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0079] Figure 1 The block diagram schematically shows a partial structure of a semiconductor memory device according to an implementation mode of the present embodiment. Figure 1 As shown, the semiconductor memory 20 includes a DQ port 24, a storage 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-to-parallel conversion circuit 21, a data judgment module 23, a data buffer module (Data Bus Buffer) 22, a data receiving module 25 and a precharge module 27. In one embodiment, the semiconductor memory 20 is a DRAM, such as the fourth generation double data rate synchronous dynamic random access memory (Double Data Rate SDRAM4, referred to as DDR4).

[0080] In one example, if Figure 1As shown, the 8-bit first input data DQ<7:0> input from the DQ port 24 is written into the storage block 26 through the write operation circuit, and the write data (i.e., decoded data) D<127:0> is written. An Activate command opens the uniquely designated storage block 26, and the write operation can only be performed on one storage block 26. That is, when one of the eight storage blocks 26 (i.e., Bank<7:0>) is working, the other banks are not working. It should be noted that the number of storage blocks 26, the number of data bits of each storage block 26, and the number and number of data bits of the DQ port 24 are not limited in this embodiment. For example: there can also be one DQ port 24, which is used to input the 8-bit first input data; there can also be two DQ ports 24, that is, each DQ port 24 is used to input the 8-bit first input data DQ<7:0> or DQ<15:8>, and then input the 16-bit first input data DQ<15:0>.

[0081] For example, Figure 2 As shown, the first input data DQ<7:0> performs a write operation on a group of storage blocks Bank<7:0> through one of the above-mentioned write operation circuits; the first input data DQ<15:8> performs a write operation on another group of storage blocks Bank<15:8> through another of the above-mentioned write operation circuits. Accordingly, among the eight storage blocks 26 (i.e., Bank<15:8>) corresponding to DQ<15:8>, when only one Bank works, the other Banks do not work.

[0082] The semiconductor memory 20 is an array structure, and each unit structure may be the same, but due to different input data, the data output by each unit may be different. The following takes one of the memory blocks as an example to introduce the write operation circuit of this embodiment.

[0083] like Figure 1 and Figure 2 As shown, the write operation circuit of this embodiment includes a data judgment module 23, which is used to determine whether to flip the input data according to the number of high data bits in the input data of the semiconductor memory 20 to generate flip identification data and first intermediate data.

[0084] In one embodiment, the data judgment module 23 is used to output the flipped data of the input data as the first intermediate data and set the Flag data to high when the number of bits of high data in the input data is greater than a preset value; and to output the original input data as the first intermediate data and set the Flag data to low when the number of bits of high data in the input data is less than or equal to a preset value.

[0085] For example, if the input data is 8 bits, if the number of bits equal to "1" in the input data exceeds half, that is, exceeds 4 bits (such as 5 bits), then Flag = 1, and the output first intermediate data is equal to the flipped data of the input data. If the number of bits equal to "1" in the written data is less than half, such as 3 bits of data equal to "1", then Flag = 0, and the output first intermediate data is equal to the original input data.

[0086] Among them, data high can be data equal to "1", and data "low" can be data equal to "0". Data flip can be understood as changing from "0" to "1", or from "1" to "0". The flip of the data line or signal line can be understood as a high level changing to a low level, or a low level changing to a high level.

[0087] 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 used to perform serial-to-parallel conversion on the first input data of the DQ port 24 to generate the second input data. For example, the serial-to-parallel conversion circuit 21 performs serial-to-parallel conversion on the 8-bit first input data DQ<7:0>, and then generates the 128-bit second input data D2′<127:0> corresponding to Bank0.

[0088] In one embodiment, the second input data D2′<127:0> is divided into M groups, the Flag data is M bits, the M bits of Flag data correspond to the M groups of second input data one by one, each group of second input data is N bits, wherein M and N are integers greater than 1. The data judgment module 23 is used to output the flip data of the input group of second input data as a corresponding group of first intermediate data when the number of bits of high data in the input group of second input data is greater than N / 2, and set the one-bit flip identification data corresponding to the input group of second input data to high; and when the number of bits of high data in the input group of second input data is less than or equal to N / 2, output the input group of second input data as a corresponding group of first intermediate data, and set the one-bit flip identification data corresponding to the input group of second input data to low.

[0089] For example, the second input data D2′<127:0> is divided into 16 groups, each group of second input data is 8 bits, and each group of second input data corresponds to one Flag data. Accordingly, the Flag data is 16 bits, such as Flag<15:0>. The first intermediate data D1′<127:0> is also divided into 16 groups accordingly. Each Flag data corresponds to a group of first intermediate data. For a group of second input data D2′<127:120>, if the number of bits equal to "1" in D2′<127:120> is greater than 4 bits, the corresponding Flag <15> =1, the outputted set of first intermediate data D1′<120:127> is equal to the flipped data of D2′<127:120>; if the number of bits equal to “1” in the second input data is less than or equal to 4 bits, the corresponding Flag <15> =0, the outputted 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 equal to “1” in D2′<15:8> is greater than 4 bits, the corresponding Flag <1> =1, the outputted 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 “1” in the second input data is less than or equal to 4 bits, the corresponding Flag <1> =0, the output first intermediate data D1′<15:8> is D2′<15:8>. For a second input data D2′<7:0>, if the number of bits equal to “1” in D2′<7:0> is greater than 4, the corresponding Flag <0> =1, the outputted set of first intermediate data D1′<7:0> is equal to the flipped data of D2′<7:0>; if the number of bits equal to “1” in the second input data is less than or equal to 4 bits, the corresponding Flag <0> = 0, the outputted set of first intermediate data D1′<7:0> is D2′<7:0>. Therefore, in the first intermediate data D1′<127:0>, there are more data of “0”.

[0090] Furthermore, the semiconductor memory 20 of this embodiment further includes a data buffer module 22 and a pre-charge module 27 . Figure 3 The circuit diagram of the data buffer module 22 of one implementation manner of this embodiment is schematically shown (corresponding to one storage block 26 ). Figure 4 The circuit diagram of the data buffer module 22 of one implementation manner of this embodiment is schematically shown (corresponding to 8 storage blocks 26 ).

[0091] like Figure 3 and Figure 4As shown, the data buffer module 22 includes a plurality of PMOS (Positive Channel Metal Oxide Semiconductor) transistors 221 and a plurality of first inverters 24. The gate of the PMOS transistor 221 is connected to the data judgment module 23 through the first inverter 24, and the drain of the PMOS transistor 221 is connected to the global bus. The first inverter 24 is used to invert the first intermediate data to generate the second intermediate data, so that the data buffer module 22 will determine whether to flip the global bus according to the second intermediate data. Since there are more "0" data in the first intermediate data, there are more "1" data in the second intermediate data.

[0092] The precharge module 27 is connected to the precharge signal line (Precharge) and is used to set the initial state of the global bus to low. That is to say, in this embodiment, the semiconductor memory 20 adopts a global bus transmission structure with a Precharge pull-down (Low). Specifically, the precharge module 27 includes a plurality of NMOS (Negative Channel Metal Oxide Semiconductor) transistors 222 and a plurality of hold circuits 223. Among them, the gate of the NMOS transistor 222 is connected to the precharge signal line, and the drain of the NMOS transistor 222 is connected to the global bus; the input and output ends of the hold circuit 223 are connected to the global bus, thereby forming a positive feedback circuit.

[0093] The function of Precharge is to set the initial state of each global bus to low. The specific process is that the Precharge signal generates a pull-down pulse (pulse, about 2ns), pulls down the corresponding global bus for a moment, and the holding circuit 223 forms positive feedback and locks the global bus at a low level, but the pull-up and pull-down current capabilities of the holding circuit 223 are relatively weak; when a global bus needs to be changed to a high level, the data line corresponding to the global bus (that is, the data line connected to the gate of the PMOS transistor 221 corresponding to the global bus) is pulled down (also a pulse, about 2ns), so that the corresponding PMOS transistor 221 will pull up the global bus for a moment (the pull-up capability is greater than the pull-down capability of the holding circuit 223), and then the global bus will be locked to a high level through positive feedback to complete the flipping action of the data line. Since there are more "0" data in the second intermediate data, the required flipping action will be less. Therefore, the IDD4W (write current) of the semiconductor memory will be reduced, thereby reducing the power consumption of the semiconductor memory.

[0094] In one example, there are multiple global buses, which are divided into M (M is an integer greater than 1) groups, and each global bus transmits one bit of the global bus data. <0> Transmit global bus data D′ <0> ; Global bus <1> Transmit global bus data D′ <1> ; ...; Global bus <127> Transmit global bus data D′ <127> The 128 global buses are divided into 16 groups.

[0095] In one example, each bit of Flag data corresponds to a set of global bus data. Accordingly, there are 16 Flag signal lines, and the Flag data is 16 bits, such as Flag<15:0>. Each Flag signal line transmits 1 bit of Flag data, such as Flag signal line <0> Transmit Flag dataFlag <0> , and corresponds to the global bus data D′<0:7>, indicating whether D′<0:7> is the data after the second intermediate data is flipped; Flag signal line <1> Transmit Flag dataFlag <1> , and corresponds to the global bus data D′<8:15>, indicating whether D′<8:15> is the data after the second intermediate data is flipped; ...; Flag signal line <15> Transmit Flag dataFlag <15> , and corresponds to the global bus data D′<120:127>, indicating whether D′<120:127> is the data after the second intermediate data is flipped.

[0096] Since the second intermediate data is the inverted data of the first intermediate data D1′<120:127>, when Flag <15> = 1, the global bus data D′<127:120>=D1′<127:120>; when Flag <15> = 0, the global bus data D′<127:120> is the flip data of D1′<127:120>. Similarly, when Flag <1> = 1, D′<15:8> = D1′<15:8>; when Flag <1> = 0, D′<15:8> is the flip data of D1′<15:8>. <0> = 1, D′<7:0> = D1′<7:0>; when Flag <0> =0, D′<7:0> is the inverted data of D1′<7:0>.

[0097] Therefore, in the global bus data D′<127:0> transmitted on the global bus, there are more data of “0”. Figure 2 In the semiconductor memory 20 shown, among the 256-bit global bus data (including the 128-bit global bus data corresponding to DQ<7:0> and the 128-bit global bus data corresponding to DQ<15:8>), many of the data are "0".

[0098] In one embodiment, Figure 5As shown, the data judgment module 230 includes a data judgment unit 231 and a data selector 232 .

[0099] The input end of the data judgment unit 231 is connected to the serial-to-parallel conversion circuit 21, and the output end of the data judgment unit 231 is connected to the Flag signal line and to the input end of the data selector 232. The data judgment unit 231 is used to set the Flag data to high when the number of bits of high data in the second input data is greater than a preset value; and to set the Flag data to low when the number of bits of high data in the second input data is less than or equal to a preset value.

[0100] The input end of the data selector 232 is connected to the data judgment unit 231, and is used to receive the second input data through the data judgment unit 231. The input end of the data selector 232 also receives the Flag data through the Flag signal line, and the output end of the data selector 232 is connected to the input end of the first inverter 224. The data selector 232 is used to output the flipped data of the second input data as the first intermediate data when the Flag data is high; and to output the original second input data as the first intermediate data when the Flag data is high.

[0101] In one embodiment, the data selector 232 includes a plurality of data selection units 232', each of which is used to process one bit of Flag data and one set of second input data. For example, there may be 16 data selection units 232', corresponding to 16 sets of second input data and one bit of Flag data respectively.

[0102] Figure 6 FIG. 2 shows an implementation of the data selection unit 232′. Figure 6 As shown, 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.

[0103] The input end of the second inverter 232A receives the Flag data through the Flag signal line; the input end of the third inverter 232B is connected to the data judgment unit 231, and is used to receive the second input data from the data judgment unit 231; the input end of the first transmission gate 232C is connected to the output end of the third inverter 232B, and the output end of the first transmission gate 232C is connected to the input end of the first inverter 224, and is used to output the first intermediate data. The inverting control end ( Figure 6 The upper control terminal in the middle) is connected to the output terminal of the second inverter 232A, and the positive control terminal ( Figure 6The lower control end in the second transmission gate 232D receives Flag data through the Flag signal line; the input end of the second transmission gate 232D is connected to the data judgment unit 231, and is used to receive the second input data from the data judgment unit 231, the output end of the second transmission gate 232D is connected to the input end of the first inverter 224, and is used to output the first intermediate data, the negative control end of the second transmission gate 232D receives Flag data through the Flag signal line, and the positive control end of the second transmission gate 232D is connected to the output end of the second inverter 232A.

[0104] Flag <0> Taking the second input data D2′<7:0> as an example, Figure 6 As shown, when Flag=1, the first intermediate data D1′<7:0> is the inverted data of the second input data D2′<7:0>; when Flag=0, the first intermediate data D1′<7:0> is the second input data D2′<7:0>.

[0105] 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 to process one bit of the second input data and output one bit of the corresponding first intermediate data. In other words, corresponding to the 8-bit second input data D2′<7:0>, there should also be 8 sets of the third inverter 232B, the first transmission gate 232C and the second transmission gate 232D, and then output the 8-bit first intermediate data D1′<7:0>.

[0106] Thus, when the Flag data is 1, the global bus data D′<127:0> is the inverted 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>.

[0107] like Figure 1 , Figure 2 and Figure 7 As shown, the write operation circuit in this embodiment further includes a data receiving module 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 used 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: when the Flag data is high, the flip data of the global bus data is output as the write data; and when the Flag data is low, the original global bus data is output as the write data.

[0108] Thus, the written data is restored to the input data of the semiconductor memory 20. Furthermore, the data and functions of the external ports of the semiconductor memory 20, such as the DQ port 24 and the DBI port (not shown in the figure), will not be changed.

[0109] In one embodiment, the data receiving module 25 may include multiple data receiving units 250, each of which is used to process one bit of Flag data and one set of global bus data. For example, there may be 16 data receiving units 250, corresponding to 16 sets of global bus data and one bit of Flag data respectively. Figure 8 An implementation of the data receiving unit 250 is shown.

[0110] like Figure 8 As shown, 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 .

[0111] The input end of the fourth inverter 251 receives the Flag data through the Flag signal line; the input end of the fifth inverter 252 receives the global bus data through the global bus; the input end of the third transmission gate 253 is connected to the output end of the fifth inverter 252, and the output end of the third transmission gate 253 is connected to the storage block 26 for outputting write data to the storage block 26. The inverting control end ( Figure 8 The upper control end in the middle) is connected to the output end of the third inverter 251, the positive control end of the third transmission gate 253 receives the Flag data through the Flag signal line; the input end of the fourth transmission gate 254 receives the global bus data through the global bus, the output end of the fourth transmission gate 254 is connected to the storage block 26, and is used to output write data to the storage block 26, and the negative control end ( Figure 8 The upper control terminal in the fourth transmission gate 254 receives the Flag data through the Flag signal line, and the positive control terminal ( Figure 8 The lower control terminal in the circuit) is connected to the output terminal of the fourth inverter 251.

[0112] Flag <0> Take the global bus data D′<7:0> as an example. Figure 8 As shown, when Flag=1, the written data D<7:0> is the flipped data of the global bus data D′<7:0>; when Flag=0, the written data D<7:0> is the global bus data D′<7:0>, that is, D<7:0>=D′<7:0>.

[0113] It should be noted that a group of fifth inverters 252, third transmission gates 253 and fourth transmission gates 254 are used to process one-bit global bus data and output one-bit corresponding write data. That is to say, corresponding to the 8-bit global bus data D′<7:0>, there should also be 8 groups of fifth inverters 252, third transmission gates 253 and fourth transmission gates 254, and then output 8-bit write data D<7:0>.

[0114] According to the semiconductor memory 20 of this embodiment, when writing data (DQ<7:0> = <1111111>1>; DQ<15:8> = <1111111>1>) into the semiconductor memory 20, the global bus data is 256 bits. If 256-bit global bus data flipping is required, it will become that only 32-bit Flag data is flipping, and IDD4W will be greatly compressed.

[0115] The semiconductor memory 20 of this embodiment also includes other structures such as sense amplifiers and precharge circuits in actual applications. Since they are all prior arts, they will not be elaborated in this embodiment.

[0116] Fig. 9 FIG. schematically shows a flowchart of a write operation method according to an implementation manner of this embodiment. This write operation method can be applied to the above-mentioned semiconductor memory 20. As Fig. 9 shown, this write operation method may include:

[0117] Step S901: Set the initial state of the global bus to low;

[0118] Step S902: Determine whether to flip the input data according to the number of high bits in the input data of the semiconductor memory to generate flip identification data and first intermediate data;

[0119] Step S903: Determine whether to flip the global bus according to the second intermediate data, where the second intermediate data is the inverted data of the first intermediate data;

[0120] Step S904: Decode the global bus data according to the flip identification data, and the decoding includes determining whether to flip the global bus data;

[0121] Step S905: Write the decoded data into the storage block.

[0122] In an implementation manner, in step S902, it may include: performing serial-to-parallel conversion on the first input data of the DQ port to generate second input data; determining whether to flip the second input data according to the number of high bits in the second input data to generate flip identification data and first intermediate data.

[0123] In one embodiment, the above-mentioned step of determining whether to flip the second input data according to the number of bits of high data in the second input data to generate flip identification data and first intermediate data includes: dividing the second input data into M groups, each group of second input data is N bits; when the number of bits of high data in a group of input second input data is greater than N / 2, outputting the flipped data of the group of input second input data as a corresponding group of first intermediate data, and setting the one-bit flip identification data corresponding to the group of input second input data to high; when the number of bits of high data in a group of input second input data is less than or equal to N / 2, outputting the group of input second input data as a corresponding group of first intermediate data, and setting the one-bit flip identification data corresponding to the group of input second input data to low.

[0124] The write operation circuit provided in the embodiment of the present application is applied to a semiconductor memory whose global bus transmission structure is a Precharge pull-down, which can reduce the number of internal global bus flips before data is written to the storage block, and can greatly compress the current and reduce power consumption.

[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0126] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, materials, devices, steps, etc. may be adopted. In other cases, well-known structures, methods, devices, implementations, materials or operations are not shown or described in detail to avoid blurring various aspects of the present application.

[0127] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0128] It should be noted that although the various steps of the method in the present application are described in a specific order in the accompanying drawings, this does not require or imply that these steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution, etc. The above-mentioned drawings are only schematic illustrations of the processing included in the method according to the exemplary embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processing shown in the above-mentioned drawings does not indicate or limit the time sequence of these processing. In addition, it is also easy to understand that these processing can be, for example, performed synchronously or asynchronously in multiple modules.

[0129] In addition, although the spirit and principle of the present application have been described with reference to several specific embodiments, it should be understood that the present application is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present application is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

[0130] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A write operation circuit, applied to a semiconductor memory, characterized in that: include: A data judgment module, used for determining whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory, so as to generate flip identification data and first intermediate data; wherein the data judgment module is used for outputting the flip data of the input data as the first intermediate data and setting the flip identification data to high when the number of bits of high data in the input data is greater than a preset value; and for outputting the original input data as the first intermediate data and setting the flip identification data to low when the number of bits of high data in the input data is less than or equal to a preset value; A data buffer module, comprising a plurality of PMOS transistors and a plurality of first inverters, wherein the gate of the PMOS transistor is connected to the data judgment module through the first inverter to receive second intermediate data, and the drain of the PMOS transistor is connected to a global bus, and the data buffer module is used to determine whether to flip the global bus according to the second intermediate data, wherein the second intermediate data is inverted data of the first intermediate data; A data receiving module connected to the storage block, the data receiving module receives the global bus data on the global bus, and receives the flip identification data through the flip identification signal line, and is used to decode the global bus data according to the flip identification data, and write the decoded data into the storage block of the semiconductor storage, wherein the decoding includes determining whether to flip the global bus data; wherein the data receiving module outputs the flip data of the global bus data as the write data when the flip identification data is high; and outputs the original global bus data as the write data when the flip identification data is low; The pre-charging module is connected to the pre-charging signal line and is used to set the initial state of the global bus to low.

2. The write operation circuit according to claim 1, characterized in that: Also included is a serial-to-parallel conversion circuit, connected between the DQ port of the semiconductor memory and the data judgment module, for performing serial-to-parallel conversion on the first input data of the DQ port to generate second input data; The data judgment module is used to determine whether to flip the second input data according to the number of high bits of data in the second input data, so as to generate the flip identification data and the first intermediate data.

3. The write operation circuit according to claim 2, characterized in that: The second input data is divided into M groups, the flip identification data is M bits, the M bits of flip identification data correspond one-to-one to the M groups of second input data, each group of second input data is N bits, wherein M and N are integers greater than 1, and the data judgment module is used to output the flip data of a group of second input data as a corresponding group of first intermediate data when the number of bits of high data in a group of second input data is greater than N / 2, and set the one-bit flip identification data corresponding to the group of second input data to high; and output the group of second input data as a corresponding group of first intermediate data when the number of bits of high data in a group of second input data is less than or equal to N / 2, and set the one-bit flip identification data corresponding to the group of second input data to low.

4. The write operation circuit according to claim 2, characterized in that: The data judgment module comprises: a data judgment unit, wherein the input end of the data judgment unit is connected to the serial-to-parallel conversion circuit, the output end of the data judgment unit is connected to the flip flag signal line, and the data judgment unit is used to set the flip flag data to high when the number of bits of high data in the second input data is greater than a preset value; and to set the flip flag data to low when the number of bits of high data in the second input data is less than or equal to the preset value; A data selector, wherein the input end of the data selector is connected to the data judgment unit, and is used to receive the second input data through the data judgment unit. The input end of the data selector also receives the flip identification data through the flip identification signal line. The output end of the data selector is connected to the input end of the first inverter. The data selector is used to output the flip data of the second input data as the first intermediate data when the flip identification data is high; and to output the original second input data as the first intermediate data when the flip identification data is low.

5. The write operation circuit according to claim 4, characterized in that: The data selector comprises a plurality of data selection units, wherein the data selection units comprise: a second inverter, wherein an input end of the second inverter receives the flip flag data through the flip flag signal line; a third inverter, an input end of the third inverter being connected to the data judgment unit, and being used for receiving the second input data from the data judgment unit; a first transmission gate, wherein the input end of the first transmission gate is connected to the output end of the third inverter, the output end of the first transmission gate is connected to the input end of the first inverter, and is used to output the first intermediate data; the negative control end of the first transmission gate is connected to the output end of the second inverter, and the positive control end of the first transmission gate receives the flip flag data through the flip flag signal line; A second transmission gate, wherein the input end of the second transmission gate is connected to the data judgment unit, and is used to receive the second input data from the data judgment unit; the output end of the second transmission gate is connected to the input end of the first inverter, and is used to output the first intermediate data; the negative control end of the second transmission gate receives the flip flag data through the flip flag signal line; and the positive control end of the second transmission gate is connected to the output end of the second inverter.

6. The write operation circuit according to claim 3, characterized in that: The global bus data is M groups, and the M-bit flip identification data corresponds one-to-one to the M groups of global bus data. The data receiving module includes M data receiving units, and the data receiving units are connected to the storage blocks. The data receiving units are used to decode the corresponding group of global bus data according to the one-bit flip identification data.

7. The write operation circuit according to claim 6, characterized in that: The data receiving unit comprises: a fourth inverter, wherein an input end of the fourth inverter receives the flip flag data through the flip flag signal line; a fifth inverter, wherein an input terminal of the fifth inverter receives the global bus data through the global bus; a third transmission gate, wherein the input end of the third transmission gate is connected to the output end of the fifth inverter, the output end of the third transmission gate is connected to the storage block, and is used to output the decoded data to the storage block, the negative control end of the third transmission gate is connected to the output end of the fourth inverter, and the positive control end of the third transmission gate receives the flip flag data through the flip flag signal line; A fourth transmission gate, wherein 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 to the storage block, and is used to output the decoded data to the storage block, the negative control end of the fourth transmission gate receives the flip flag data through the flip flag signal line, and the positive control end of the fourth transmission gate is connected to the output end of the fourth inverter.

8. The write operation circuit according to any one of claims 1 to 7, characterized in that: The precharge module includes multiple NMOS transistors and multiple holding circuits, the gate of the NMOS transistor is connected to the precharge signal line, the drain of the NMOS transistor is connected to the global bus, and the input and output ends of the holding circuit are connected to the global bus.

9. A semiconductor memory, characterized in that: The write operation circuit comprises the write operation circuit as claimed in any one of claims 1 to 7.

10. A write operation method, applied to a semiconductor memory, characterized in that: include: Set the initial state of the global bus to low; Determine whether to flip the input data according to the number of bits of high data in the input data of the semiconductor memory to generate flip identification data and first intermediate data; wherein, when the number of bits of high data in the input data is greater than a preset value, the flip data of the input data is output as the first intermediate data, and the flip identification data is set to high; and when the number of bits of high data in the input data is less than or equal to a preset value, the original input data is output as the first intermediate data, and the flip identification data is set to low; Determine whether to flip the global bus according to second intermediate data, wherein the second intermediate data is inverted data of the first intermediate data; Decoding the global bus data according to the flip identification data, wherein the decoding includes determining whether to flip the global bus data; wherein, when the flip identification data is high, the flip data of the global bus data is output as the write data; and when the flip identification data is low, the original global bus data is output as the write data; Write the decoded data to the memory block.

11. The write operation method according to claim 10, characterized in that: According to the number of bits of high data in the input data of the semiconductor memory, determining whether to flip the input data to generate flip identification data and first intermediate data includes: Performing serial-to-parallel conversion on the first input data of the DQ port to generate second input data; According to the number of bits of high data in the second input data, it is determined whether to invert the second input data to generate the inversion identification data and the first intermediate data.

12. The write operation method according to claim 11, characterized in that: Determining whether to flip the second input data according to the number of bits of high data in the second input data to generate the flip identification data and the first intermediate data includes: Dividing the second input data into M groups, each group of second input data is N bits, where M and N are integers greater than 1; When the number of bits of high data in the input set of second input data is greater than N / 2, the flip data of the input set of second input data is output as a corresponding set of first intermediate data, and the one-bit flip flag data corresponding to the input set of second input data is set to high; When the number of high bits of a set of second input data is less than or equal to N / 2, the set of second input data is output as a corresponding set of first intermediate data, and the one-bit flip identification data corresponding to the set of second input data is set to low.