Write operation circuit, semiconductor memory and write operation method
By designing a write operation circuit in DRAM and using serial-to-parallel conversion and DBI decoding modules to reduce global bus flips under the Precharge pull-up architecture, the problem of signal integrity and data reliability being difficult to guarantee during DRAM's power saving process is solved, and the Power consumption is reduced and data transmission reliability is improved.
Patent Information
- Application Number
- CN201911021460.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-10-25
AI Technical Summary
While existing DRAM pursues power saving, it is difficult to ensure signal integrity and data transmission reliability, especially when the global bus flips many times, power consumption is high.
A write operation circuit is designed, including a serial-to-parallel conversion circuit, a data buffer module and a DBI decoding module. By reducing the number of global bus flips under the Precharge pull-up architecture, the DBI decoding module is used between the serial-to-parallel conversion circuit and the memory block. , decide whether to flip the global bus data based on the DBI signal, thereby reducing current consumption.
It effectively compresses the number of flips of the global bus, significantly reduces the power consumption of semiconductor memory, and improves the reliability and signal integrity of data transmission.
Smart Images

Figure CN112712833B_ABST
Abstract
Description
Technical field
[0001] The present application relates to the field of semiconductor memory technology, and in particular, to a write operation circuit, a semiconductor memory and a write operation method. Background technology
[0002] This section is intended to provide background or context for the embodiments of the application that are set forth in the claims. The description herein is not admitted to be prior art by inclusion in this section.
[0003] Semiconductor memories include Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and Synchronous Dynamic Random Access Memory (SDRAM). , Read-Only Memory (ROM), flash memory, etc.
[0004] In the DRAM protocol of the Solid State Technology Association (Joint Electron Device Engineering Council, JEDEC), there are specific requirements for the speed and power saving of DRAM. How to make DRAM more power-saving while ensuring signal integrity and reliability of data transmission and storage is an urgent issue in the industry that needs to be solved. Contents 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, embodiments of the present application provide a write operation circuit applied to a semiconductor memory. The semiconductor memory includes a DQ port, a DBI port and a memory block. The write operation circuit includes:
[0007] A serial-to-parallel conversion circuit, connected to the DBI port and the DQ port, for performing serial-to-parallel conversion on the first DBI data of the DBI port to generate second DBI data for transmission by the DBI signal line, and according to the second DBI data and the DQ port The input data generates the input data of the data buffer module;
[0008] The data buffer module includes a plurality of NMOS transistors. The gates of the NMOS transistors are connected to the serial-to-parallel conversion circuit to receive the input data of the data buffer module. The drains of the NMOS transistors are connected to the global bus. The data buffer module is used according to the data buffer module. The input data determines whether to flip the global bus;
[0009] The DBI decoding module is connected to the memory block. The DBI decoding module receives the global bus data on the global bus and receives the second DBI data through the DBI signal line, and is used to decode the global bus data according to the second DBI data and decode the After the data is written into the memory block, decoding includes determining whether to flip the global bus data;
[0010] The precharge module is connected to the precharge signal line and is used to set the initial state of the global bus to high.
[0011] In one implementation, when the number of bits of low data in the external data is greater than the preset value, the first DBI data is set to high, and the input data of the DQ port is the flipped data of the external data; in the external data When the number of bits of the medium-low data is less than or equal to the preset value, the first DBI data is set to low, and the input data of the DQ port is external data; and the serial-to-parallel conversion circuit is used to serialize the input data of the DQ port. and convert to generate converted data, and when the second DBI data is high, flip the converted data to generate the input data of the data buffer module, and when the second DBI data is low, flip the converted data As the input data of the data buffer module.
[0012] In one implementation, the serial-to-parallel conversion circuit is used to perform serial-to-parallel conversion on one-bit first DBI data to generate M-bit second DBI data. The global bus data is divided into M groups, and the M-bit second DBI data is M groups of global bus data correspond one to one; the DBI decoding module includes M DBI decoding sub-modules. The DBI decoding sub-modules are connected to the storage block. Each DBI decoding sub-module is used to decode the global bus of the corresponding group based on one bit of second DBI data. The data is decoded; where M is an integer greater than 1.
[0013] In one implementation, the DBI decoding submodule includes:
[0014] a first inverter, the input end of the first inverter is connected to the DBI signal line;
[0015] A decoding unit, the input end of the decoding unit is connected to the global bus, and the output end of the decoding unit is connected to the storage block, for outputting flipped data of the global bus data when the second DBI data is high; and when the second DBI data is high, When low, raw global bus data is output.
[0016] In one implementation, the decoding unit includes:
[0017] a second inverter, the input terminal of the second inverter is connected to the global bus;
[0018] A first logic AND gate, two input terminals of the first logic AND gate are respectively connected to the output terminal of the first inverter and the output terminal of the second inverter;
[0019] a second logic AND gate, the two input terminals of the second logic AND gate are respectively connected to the DBI signal line and the global bus;
[0020] The two input terminals of the logical NOR gate are respectively connected to the output terminal of the first logical AND gate and the output terminal of the second logical AND gate, and the output terminal of the logical NOR gate is connected to the memory block.
[0021] In one implementation, the precharge module includes a plurality of PMOS transistors and a plurality of holding circuits. The gates of the PMOS transistors are connected to the precharge signal line, the drains of the PMOS transistors are connected to the global bus, and the input and output terminals of the holding circuits are connected. Connected to the global bus.
[0022] In a second aspect, embodiments of the present application provide a semiconductor memory, including a DQ port, a DBI port, a memory block, and a write operation circuit for any of the above.
[0023] In a third aspect, embodiments of the present application provide a write operation method applied to a semiconductor memory. The semiconductor memory includes a DQ port, a DBI port and a memory block. The write operation method includes:
[0024] Set the initial state of the global bus to high;
[0025] Perform serial-to-parallel conversion on the first DBI data of the DBI port to generate the second DBI data;
[0026] Generate the input data of the data buffer module according to the second DBI data and the input data of the DQ port;
[0027] Determine whether to flip the global bus according to the input data of the data buffer module;
[0028] decode the global bus data on the global bus according to the second DBI data, and the decoding includes determining whether to flip the global bus data;
[0029] Write the decoded data to the memory block.
[0030] In one implementation, the input data of the data buffer module is generated according to the second DBI data and the input data of the DQ port, including:
[0031] Perform serial-to-parallel conversion on the input data of the DQ port to generate converted data;
[0032] When the second DBI data is high, flip the converted data to generate input data of the data buffer module;
[0033] When the second DBI data is low, the converted data is used as input data of the data buffer module.
[0034] In one implementation, decoding the global bus data on the global bus according to the second DBI data includes:
[0035] Perform serial-to-parallel conversion on the one-bit first DBI data of the DBI port to generate M-bit second DBI data, where M is an integer greater than;
[0036] Divide the global bus data into M groups;
[0037] According to one bit of the second DBI data, the global bus data of the corresponding group is decoded.
[0038] The embodiments of this application adopt the above technical solution to reduce the number of flips of the global bus under the Precharge pull-up architecture, thereby significantly compressing the current and reducing power consumption.
[0039] The above summary is for illustration 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 drawings and the following detailed description. Description of drawings
[0040] In the drawings, unless otherwise specified, the same reference numbers refer to the same or similar parts or elements throughout the several figures. The drawings are not necessarily to scale. It should be understood that these drawings depict only some embodiments disclosed in accordance with the present application and should not be considered as limiting the scope of the present application.
[0041] Figure 1 A block diagram schematically showing a partial structure of a semiconductor memory according to one implementation of this embodiment;
[0042] Figure 2 A block diagram schematically showing a partial structure of a semiconductor memory in another implementation of this embodiment;
[0043] Figure 3 Schematically shows the schematic diagram of DBI functionality;
[0044] Figure 4 Schematically shows the circuit diagram of the data buffer module and the precharge module (corresponding to one memory block) of an implementation of this embodiment;
[0045] Figure 5 Schematically shows the circuit diagram of the data buffer module and the precharge module (corresponding to multiple memory blocks) of an implementation of this embodiment;
[0046] Figure 6 Schematically shows a block diagram of the DBI decoding module of an implementation of this embodiment;
[0047] Figure 7 Schematically shows a block diagram of the DBI decoding submodule of an implementation of this embodiment;
[0048] Figure 8 A flowchart of a write operation method according to an implementation of this embodiment is schematically shown.
[0049] Explanation of reference symbols:
[0050] 10: Controller;
[0051] 20: Semiconductor memory;
[0052] 21: Serial to parallel conversion circuit;
[0053] 22: Data buffer module;
[0054] 23: DBI decoding module;
[0055] 24: DQ port;
[0056] 25: DBI port;
[0057] 26: storage block;
[0058] 27: Precharge module;
[0059] 221: PMOS tube;
[0060] 222: NMOS tube;
[0061] 223: Hold circuit;
[0062] 230: DBI decoding sub-module;
[0063] 231: first inverter;
[0064] 232: Decoding unit;
[0065] 232A: second inverter;
[0066] 232B: The first logical AND gate;
[0067] 232C: Second logic AND gate;
[0068] 232D: Logic NOR gate. Detailed implementation
[0069] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in various 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 concepts of the example embodiments. To those skilled in the art. The same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted.
[0070] Figure 1 A block diagram schematically shows a partial structure of a semiconductor memory according to one implementation of this embodiment. like Figure 1 As shown, the semiconductor memory 20 includes a DQ port 24, a data line inversion (Data Bus Inversion, DBI) port 25, a memory block (Bank) 26 and a write operation circuit, wherein the write operation circuit includes a global bus (Global Bus), DBI signal Line, serial-to-parallel conversion circuit 21, data buffer module (Data Buffer) 22 and DBI decoding module (Decoder) 23. In one implementation, the semiconductor memory is DRAM, such as fourth-generation double-rate synchronous dynamic random access memory (Double DataRate SDRAM 4, DDR4 for short).
[0071] In one example, as Figure 1 As shown, the 8-bit input data DQ<7:0> input from the DQ port 24 passes through the write operation circuit, and the write data D<127:0> is written into the memory block 26. An activation (Active) command opens a uniquely designated storage block 26, and a write operation can only be performed on one storage block 26. That is to say, when one of the eight memory blocks 26 (ie Bank<7:0>) is working, the other banks are not working. It should be noted that the number of memory blocks 26, the number of data bits in each memory block 26, and the number of data bits in the DQ port 24 are not limited in this embodiment. For example: there can be one DQ port 24, which is used to input 16-bit input data; there can also be two DQ ports 24, that is, each DQ port 24 is used to input 8-bit input data DQ<7:0> or DQ<15 :8>.
[0072] In another example, as Figure 2 As shown in the figure, among the 16-bit input data DQ<15:0> input from DQ port 24, the input data DQ<7:0> performs a write operation on a group of memory blocks Bank<7:0> through the above-mentioned write operation circuit. ;The input data DQ<15:8> performs a write operation on another group of memory blocks Bank<15:8> through another write operation circuit mentioned above. Correspondingly, among the eight memory blocks 26 (ie, Bank<15:8>) corresponding to DQ<15:8>, when one Bank is working, the other Banks are not working.
[0073] Combined below Figure 3 Introduce the role of DBI port 25. The on-die termination resistor (ODT) of the semiconductor memory 20 can absorb the current of the DQ port 24 through the ground pin to prevent signals from being reflected on the internal circuit of the semiconductor memory 20 . The size of the ODT is adjusted to match the controller 10 during operation of the semiconductor memory 20 . In one example, the ODT structure is a pull-up structure. When the data of DQ port 24 is "0", the leakage current through the ODT is large, which increases power consumption. Therefore, when the number of bits of the low data in the external data is greater than the preset value, the first DBI data of DBI port 25 is set to high, and the external data is flipped to obtain the input data of the DQ port; in the external data When the number of bits of the low data is less than or equal to the preset value, the first DBI data is set low, and the input data of the DQ port is external data.
[0074] For example: in the external data written to the DQ port 24, if there are more "0" data, each piece of external data will be flipped and input into the semiconductor memory 20. At the same time, the first DBI data of the DBI port is set high for Indicates that the input data is flipped external data. For example: If the input data DQ<7:0> is <11111111> And the first DBI data is equal to 0, which means that the input data DQ<7:0> is the original external data, that is, the external data is also <11111111> ;If the input data DQ<7:0> is <11111111> And the first DBI data is equal to 1, which means that the input data DQ<7:0> is the data after the external data is flipped, that is, the external data is <00000000> . The same is true for the input data DQ<15:8> of DQ port 24. Therefore, in the input data DQ<15:0> of the DQ port 24, there are many "1" data, so that the power consumption can be reduced.
[0075] Among them, the data being high can mean the data is equal to "1", and the data being "low" can be the data being equal to "0". The flipping of data can be understood as changing from "0" to "1", or from "1" to "0". The flipping of the data line or signal line can be understood as high level changing to low level, or low level changing to high level.
[0076] The semiconductor memory 20 has an array structure, and the structure of each unit may be the same. However, 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.
[0077] like Figure 1 As shown, the serial-to-parallel conversion circuit 21 is connected to the DBI port 25 and is used to perform serial-to-parallel conversion on the first DBI data of the DBI port 25 to generate second DBI data for transmission by the DBI signal line. The serial-to-parallel conversion circuit 21 is connected to the DQ port 24 and is used to generate input data of the data buffer module 22 according to the second DBI data and the input data DQ of the DQ port.
[0078] In one implementation, the serial-to-parallel conversion circuit 21 is used to perform serial-to-parallel conversion on the input data of the DQ port 24 to generate converted data, and determine whether to flip the converted data according to the second DBI data to generate a data buffer. Input data for the module.
[0079] For example: the serial-to-parallel conversion circuit 21 performs serial-to-parallel conversion on the input 8-bit input data DQ<7:0> to generate 128-bit converted data, and then determines based on the 16-bit second DBI data DBI<0:15> Whether to flip the converted data, and then output the 128-bit input data D2′<127:0> to the data buffer module 22.
[0080] In one example, 128-bit converted data is divided into 16 groups, each group of converted data is 8 bits, and one second DBI data corresponds to a group of 8-bit converted data, thereby generating a group of 8-bit input Data D2′.
[0081] It should be noted that the serial-to-parallel conversion circuit 21 may include two serial-to-parallel conversion modules, respectively used to perform serial-to-parallel conversion on the input data of the DQ port 24 and the first DBI data, which is not limited in this embodiment.
[0082] 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 high. That is to say, in this embodiment, the semiconductor memory 20 adopts a Precharge pull-up (High) global bus transmission structure.
[0083] Figure 4 The circuit diagram of the data buffer module 22 (corresponding to one memory block 26) is schematically shown in an implementation of this embodiment. Figure 5 The circuit diagram of the data buffer module 22 (corresponding to eight memory blocks 26) is schematically shown in an implementation of this embodiment.
[0084] like Figure 4 and Figure 5 As shown, the data buffer module 22 includes a plurality of NMOS (Negative Channel MetalOxide Semiconductor) transistors 222 , and the precharge module 27 includes a plurality of PMOS (Positive Channel MetalOxide Semiconductor) transistors 221 and a plurality of hold circuits 223 . Among them, the gate of the PMOS transistor 221 is connected to the precharge signal line, and the drain of the PMOS transistor 221 is connected to the global bus; the gate of the NMOS transistor 222 is connected to the serial-to-parallel conversion circuit 21 to receive the input data of the data buffer module 22, The drain of the NMOS transistor 222 is connected to the global bus, so the data buffer module 22 will determine whether to flip the global bus based on the input data of the data buffer module 22; the input and output terminals of the holding circuit 223 are connected to the global bus, thereby forming a positive feedback circuit .
[0085] The function of Precharge is to set the initial state of each global bus to high. The specific process is that Precharge generates a pull-up pulse (pulse, about 2ns), pulls up the corresponding global bus for a moment, and the holding circuit 223 forms positive feedback. And lock this global bus at a high level, but the ability of the holding circuit 223 to pull up and pull down current is relatively weak; when a certain global bus needs to become a low level, it will represent the corresponding The data line (that is, the data line connected to the gate of the corresponding NMOS transistor 222) is pulled up (also a pulse, about 2ns), so that the corresponding NMOS transistor 222 will pull down the global bus for a moment (the pull-down capability is greater than Maintain the pull-up capability of circuit 223), and then lock the global bus to a low level through positive feedback, completing the flipping action of the data line.
[0086] Since there are many “0” data in the input data D2′<127:0> of the data buffer module 22 (ie, the data on the data lines connected to the gates of the NMOS transistor 222), the number of global buses that need to be flipped is There will be less, and there are more data of “1” in the global bus data D1′<127:0>. Therefore, the IDD4W (write current) of the semiconductor memory will be reduced, thereby reducing the power consumption of the semiconductor memory. That is to say, if there are more "1" data in the global bus data, IDD4W can be reduced, thereby reducing power consumption.
[0087] Since there are many “1” data in the input data DQ<7:0> of DQ port 24, and it has not been decoded at this time, therefore, the 128-bit global bus data D1′<127:0> is “1”. 1" has more data. Correspondingly, in Figure 2 In the semiconductor memory 20 shown, the input data DQ<15:0> has a lot of “1” data. Since it has not been decoded at this time, the 256-bit global bus data (including DQ<7:0) >In the corresponding 128-bit global bus data and the 128-bit global bus data corresponding to DQ<15:8>), there are many data that are "1".
[0088] Further, the DBI decoding module 23 is connected to the storage block 26 and receives the second DBI data through the DBI signal line, and receives the global bus data through the global bus. The DBI decoding module 23 is configured to decode the global bus data according to the second DBI data, and write the decoded data into the storage block 26. The decoding includes determining whether to flip the global bus data. Among them, the decoded data is the write data, such as D<127:0>. That is to say, before the data is written into the memory block 26, more data of "1" is transmitted on the global bus.
[0089] In the related technology, when the DBI function is enabled, when the semiconductor memory performs a write operation and the input data first enters the semiconductor memory, the semiconductor memory will decode the input data according to the status of the DBI port. . If the status of DBI is "1", all input data will be inverted (flipped); if the status of DBI is "0", all input data will not be flipped, that is, it will be the original value. This decoding module is located at the point where the input data first enters the semiconductor memory, that is, before the serial-to-parallel conversion module. Therefore, in the related technology, the internal global bus of the semiconductor memory transmits more data "0", which will cause the IDD4W to be too large and the power consumption to be high.
[0090] In one implementation, the first DBI data has only one bit, and the serial-to-parallel conversion circuit 21 is used to perform serial-to-parallel conversion on the one-bit first DBI data to generate M-bit second DBI data. For example, the serial-to-parallel conversion circuit 21 can perform serial-to-parallel conversion on one-bit data of the DBI port 25 to generate 16-bit second DBI data DBI<15:0>.
[0091] The global bus data is divided into M groups, and the M-bit second DBI data corresponds to the M groups of global bus data one-to-one. like Figure 6 As shown, the DBI decoding module 23 includes M DBI decoding sub-modules 230. Each DBI decoding sub-module 230 is connected to a storage block 26. Each DBI decoding sub-module 230 is used to compare the corresponding group according to one bit of second DBI data. The global bus data is decoded; where M is an integer greater than 1.
[0092] The DBI decoding module 23 outputs the flipped data of the global bus data when the second DBI data is high; and outputs the original global bus data when the second DBI data is low.
[0093] For example: global bus data D1′<127:0> is divided into 16 groups, and each group of global bus data is 8 bits. Correspondingly, the second DBI data is 16 bits, such as DBI<15:0>. Each set of global bus data corresponds to one bit of DBI data. Therefore, when DBI<15>=1, the decoded data output from the DBI decoding module 23, that is, the write data D<127:120> written to the memory block 26 (such as Bank0) is the global bus data D1′ The flipped data of <127:120>; when DBI<15>=0, the written data D<127:120> is the global bus data D1′<127:120>. Similarly, when DBI<1>=1, the written data D<15:8> is the flipped data of the global bus data D1′<15:8>; when DBI<1>=0, the written data D< 15:8> is the global bus data D1′<15:8>. When DBI<0>=1, write data D<7:0> is the flipped data of global bus data D1′<7:0>; when DBI<0>=0, write data D<7:0 >That is the global bus data D1′<7:0>.
[0094] In one example, there are multiple global buses and they are divided into M (M is an integer greater than 1) groups. Each global bus transmits one bit of global bus data. For example: there are 128 global buses, and the 128 global buses are divided into 16 groups. Global bus <0> transmits global bus data D1′<0>; global bus <1> transmits global bus data D1′<1>; ...; global bus <127> transmits global bus data D1′<127>.
[0095] In one example, there are 16 DBI signal lines, and each DBI signal line transmits 1 bit of second DBI data. For example, DBI signal line <0> transmits second DBI data DBI <0>, which is used to represent the write data D < Whether 7:0> is the flipped data of global bus data D1′<7:0>; DBI signal line<1> transmits the second DBI data DBI<1>, which is used to indicate whether the written data D<8:15> It is the flipped data of global bus data D1′<8:15>; ...; DBI signal line <15> transmits the second DBI data DBI<15>, which is used to indicate whether the written data D<120:127> is global. Bus data D1′<120:127> flipped data.
[0096] According to the semiconductor memory 20 of this embodiment, when DQ<7:0> is input for the first time <11111111> And the first DBI data is equal to 0; the second input <11111111> And when the first DBI data is equal to 1, the corresponding set of global bus data (8 bits) will always be before writing to the storage block 26 <11111111> , only the corresponding second bit of DBI data is equal to 1. Therefore, in this embodiment, when the global bus data is 256 bits (including 128-bit global bus data corresponding to DQ<7:0> and 128-bit global bus data corresponding to DQ<15:8>), if necessary When the 256-bit global bus data is flipped, only the 32-bit second DBI data is flipped, and the IDD4W current will be greatly compressed.
[0097] In one embodiment, as Figure 7 As shown, the DBI decoding sub-module 230 may include a first inverter 231 and a decoding unit 232. The input terminal of the first inverter 231 is connected to the DBI signal line, the input terminal of the decoding unit 232 is connected to the global bus, and the output terminal of the decoding unit 232 is connected to the storage block 26 for when the second DBI data is high. , output the flipped data of the global bus data; and when the second DBI data is low, output the original global bus data.
[0098] In one implementation, the decoding unit 232 includes: a second inverter 232A, a first logical AND gate 232B, a second logical AND gate 232C, and a logical NOR gate 232D. Among them, the input terminal of the second inverter 232A is connected to the global bus; the two input terminals of the first logic AND gate 232B are respectively connected to the output terminal of the first inverter 231 and the output terminal of the second inverter 232A; The two input terminals of the second logical AND gate 232C are respectively connected to the DBI signal line and the global bus; the two input terminals of the logical NOR gate 232D are respectively connected to the output terminal of the first logical AND gate 232B and the second logical AND gate 232C. The output terminal of the logic NOR gate 232D is connected to the memory block 26 .
[0099] like Figure 7 As shown, taking the decoding unit 232 corresponding to DBI<0>, write data D<7:0> and global bus data D1′<7:0> as an example, when DBI<0>=1, D<7> Equal to the flipped data of D1′<7>,..., D<1> is equal to the flipped data of D1′<1>, D<0> is equal to the flipped data of D1′<0>; when DBI<0>=0, D<7> is equal to D1′<7>,…, D<1> is equal to D1′<1>, D<0> is equal to D1′<0>.
[0100] It should be noted that each DBI decoding sub-module 230 is the same, but due to different input data, the output data is different. Figure 7 The structure of one of the DBI decoding sub-modules 230 is shown. The data input to the DBI decoding sub-module are D1′<7:0> and DBI<0>, and the output data is D<7:0>. In addition, this embodiment does not limit the implementation circuit of the DBI decoding sub-module 230, as long as it can output the inverted data of the global bus data when the second DBI data is 1, and output the global bus data when the second DBI data is 0, that is, Can.
[0101] In practical applications, the semiconductor memory 20 of this embodiment also includes other structures such as a sense amplifier and a precharge circuit. Since they are all existing technologies, they will not be described again in this embodiment.
[0102] Figure 8 A flowchart schematically illustrating a write operation method according to an implementation manner of this embodiment is shown. This writing operation method can be applied to the above-mentioned semiconductor memory 20. like Figure 8 As shown, the write operation method may include:
[0103] Step S801: Set the initial state of the global bus to high;
[0104] Step S802: Perform serial-to-parallel conversion on the first DBI data of the DBI port to generate second DBI data;
[0105] Step S803: Generate input data of the data buffer module according to the second DBI data and the input data of the DQ port;
[0106] Step S804: Determine whether to flip the global bus according to the input data of the data buffer module;
[0107] Step S805: Decode the global bus data on the global bus according to the second DBI data. The decoding includes determining whether to flip the global bus data;
[0108] Step S806: Write the decoded data into the storage block.
[0109] In one implementation, step S803 may include: performing serial-to-parallel conversion on the input data of the DQ port to generate converted data; when the second DBI data is high, flipping the converted data to generate data The input data of the buffer module; when the second DBI data is low, the converted data is used as the input data of the data buffer module.
[0110] In one implementation, step S805 may include: performing serial-to-parallel conversion on one-bit first DBI data of the DBI port to generate M-bit second DBI data, where M is an integer greater than or equal to Divide into M groups; decode the global bus data of the corresponding group according to one bit of second DBI data.
[0111] The write operation circuit provided by the embodiment of the present application is applied to a semiconductor memory whose global bus transmission structure is Precharge pull-up. By arranging the DBI decoding module between the serial-to-parallel conversion circuit and the memory block, it can be realized that data is written into the memory block. Previously, more data of "1" was transmitted on the global bus, thus reducing the number of internal global bus flips, which can greatly compress the current and reduce power consumption.
[0112] In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
[0113] Furthermore, the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. 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 described, or other methods, components, materials, devices, steps, etc. may be employed. In other instances, well-known structures, methods, devices, implementations, materials, or operations have not been shown or described in detail to avoid obscuring aspects of the present application.
[0114] The terms “first” and “second” are used for descriptive purposes only and shall not be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of this application, "plurality" means two or more than two, unless otherwise explicitly and specifically limited.
[0115] It should be noted that although the various steps of the method in this application are described in a specific order in the 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. Achieve desired results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc. The above-mentioned drawings are only schematic illustrations of processes included in the methods according to the exemplary embodiments of the present application, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal sequence of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously in multiple modules, for example.
[0116] In addition, although the spirit and principles of the present application have been described with reference to several specific embodiments, it should be understood that the application is not limited to the disclosed specific embodiments, nor does the division of various aspects mean that features in these aspects cannot be combined. To benefit from this, this division is only for the convenience of presentation. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
[0117] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of various changes or modifications within the technical scope disclosed in the present application. Replacements, these should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A write operation circuit, applied to a semiconductor memory, characterized in that: The semiconductor memory comprises a DQ port, a DBI port and a storage block, and the write operation circuit comprises: a serial-to-parallel conversion circuit, connected to the DBI port and the DQ port, for performing serial-to-parallel conversion on first DBI data of the DBI port to generate second DBI data for transmission by the DBI signal line, and generating input data of the data buffer module according to the second DBI data and the input data of the DQ port; wherein, when the number of bits of low data in the external data is greater than a preset value, the first DBI data is set to high, and the input data of the DQ port is the flip data of the external data; when the number of bits of low data in the external data is less than or equal to the preset value, the first DBI data is set to low, and the input data of the DQ port is the external data; and the input data of the data buffer module is the flip data of the input data of the DQ port; A data buffer module, comprising a plurality of NMOS transistors, wherein the gates of the NMOS transistors are connected to the serial-to-parallel conversion circuit to receive input data of the data buffer module, and the drains of the NMOS transistors are connected to a global bus, and the data buffer module is used to determine whether to flip the global bus according to the input data of the data buffer module; A DBI decoding module is connected to the storage block, the DBI decoding module receives the global bus data on the global bus, receives the second DBI data through the DBI signal line, and is used to decode the global bus data according to the second DBI data, and write the decoded data into the storage block, wherein the decoding includes determining whether to flip the global bus data; wherein the DBI decoding module outputs the flipped data of the global bus data when the second DBI data is high; and outputs the original global bus data when the second DBI 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 high.
2. The write operation circuit according to claim 1, characterized in that: The serial-to-parallel conversion circuit is used to perform serial-to-parallel conversion on one bit of first DBI data to generate M bits of second DBI data, the global bus data is divided into M groups, and the M bits of second DBI data correspond one to one to the M groups of global bus data; the DBI decoding module includes M DBI decoding sub-modules, the DBI decoding sub-modules are connected to the storage block, and each of the DBI decoding sub-modules is used to decode the corresponding group of global bus data according to one bit of second DBI data; wherein M is an integer greater than 1.
3. The write operation circuit according to claim 2, characterized in that: The DBI decoding submodule includes: A first inverter, wherein an input terminal of the first inverter is connected to the DBI signal line; A decoding unit, wherein the input end of the decoding unit is connected to the global bus, and the output end of the decoding unit is connected to the storage block, and is used to output the flipped data of the global bus data when the second DBI data is high; and output the original global bus data when the second DBI data is low.
4. The write operation circuit according to claim 3, characterized in that: The decoding unit comprises: a second inverter, wherein an input terminal of the second inverter is connected to the global bus; A first logic AND gate, wherein two input terminals of the first logic AND gate are respectively connected to the output terminal of the first inverter and the output terminal of the second inverter; A second logic AND gate, wherein two input terminals of the second logic AND gate are respectively connected to the DBI signal line and the global bus; A logic NOR gate, wherein two input terminals of the logic NOR gate are respectively connected to the output terminal of the first logic AND gate and the output terminal of the second logic AND gate, and the output terminal of the logic NOR gate is connected to the storage block.
5. The write operation circuit according to any one of claims 1 to 4, characterized in that: The precharge module includes a plurality of PMOS transistors and a plurality of holding circuits, the gate of the PMOS transistor is connected to the precharge signal line, the drain of the PMOS transistor is connected to the global bus, and the input and output ends of the holding circuit are connected to the global bus.
6. A semiconductor memory, characterized in that: The device comprises a DQ port, a DBI port, a storage block and the write operation circuit according to any one of claims 1 to 5.
7. A write operation method, applied to a semiconductor memory, characterized in that: The semiconductor memory comprises a DQ port, a DBI port and a storage block, and the write operation method comprises: Set the initial state of the global bus to high; Performing serial-to-parallel conversion on the first DBI data of the DBI port to generate second DBI data; Generate input data of the data buffer module according to the second DBI data and the input data of the DQ port; wherein, when the number of bits of low data in the external data is greater than a preset value, the first DBI data is set to high, and the input data of the DQ port is the flip data of the external data; when the number of bits of low data in the external data is less than or equal to the preset value, the first DBI data is set to low, and the input data of the DQ port is the external data; the input data of the data buffer module is the flip data of the input data of the DQ port; Determining whether to flip the global bus according to the input data of the data buffer module; Decoding the global bus data on the global bus according to the second DBI data, the decoding comprising determining whether to flip the global bus data; wherein when the second DBI data is high, outputting the flipped data of the global bus data; and when the second DBI data is low, outputting the original global bus data; The decoded data is written into the storage block.
8. The write operation method according to claim 7, characterized in that: Decoding the global bus data on the global bus according to the second DBI data includes: Performing serial-to-parallel conversion on a first DBI data of the DBI port to generate M-bit second DBI data, where M is an integer greater than; Dividing the global bus data into M groups; The decoding is performed on the corresponding group of global bus data according to one bit of the second DBI data.
Citation Information
Patent Citations
Method and apparatus for simultaneous differential data sensing and capture in a high speed memory
CN101441888A
Data encoding and decoding method for DDR (double data rate) interface
CN104360976A
Data backup and recovery method for NVDIMM, NVDIMM controller and NVDIMM
CN109582507A
Data storage apparatus and control method thereof
CN1744001A
Write operation circuit and semiconductor memory
CN210575117U
