[go: up one dir, main page]

CN211404065U - Read operation circuit and semiconductor memory - Google Patents

Read operation circuit and semiconductor memory Download PDF

Info

Publication number
CN211404065U
CN211404065U CN201921804618.8U CN201921804618U CN211404065U CN 211404065 U CN211404065 U CN 211404065U CN 201921804618 U CN201921804618 U CN 201921804618U CN 211404065 U CN211404065 U CN 211404065U
Authority
CN
China
Prior art keywords
data
dbi
global bus
read
gate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201921804618.8U
Other languages
Chinese (zh)
Inventor
张良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changxin Memory Technologies Shanghai Inc
Original Assignee
Changxin Memory Technologies Shanghai Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changxin Memory Technologies Shanghai Inc filed Critical Changxin Memory Technologies Shanghai Inc
Priority to CN201921804618.8U priority Critical patent/CN211404065U/en
Application granted granted Critical
Publication of CN211404065U publication Critical patent/CN211404065U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dram (AREA)

Abstract

An embodiment of the present application provides a read operation circuit and a semiconductor memory, including: the DBI coding module is used for reading out read data from the storage block and determining whether the read data are inverted or not according to the high data bit number in the read data so as to output global bus data for global bus transmission and DBI data for DBI signal line transmission, and the DBI port is used for receiving the DBI data; the parallel-serial conversion circuit is used for carrying out parallel-serial conversion on the global bus data to generate output data of a DQ port; the data buffer module is connected to the storage block through a global bus; and the precharge module is connected to the precharge signal line and used for setting the initial state of the global bus to be low. According to the technical scheme of the embodiment of the application, more data of '0' can be transmitted on the global bus of the Precharge pull-down architecture, so that the turnover frequency of the internal global bus can be reduced, the current is greatly compressed, and the power consumption is reduced.

Description

读操作电路和半导体存储器Read operation circuit and semiconductor memory

技术领域technical field

本申请涉及半导体存储器技术领域,尤其涉及一种读操作电路、半导体存储器和读操作方法。The present application relates to the technical field of semiconductor memory, and in particular, to a read operation circuit, a semiconductor memory and a read operation method.

背景技术Background technique

本部分旨在为权利要求书中陈述的本申请的实施例提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context for the embodiments of the application that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section.

半导体存储器包括静态随机存取存储器(Static Random-Access Memory,简称SRAM)、动态随机存取存储器(Dynamic Random Access Memory,简称DRAM)、同步动态随机存取内存(Synchronous Dynamic Random Access Memory,简称SDRAM)、只读存储器(Read-Only Memory,简称ROM)、闪存等。Semiconductor memory includes Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and Synchronous Dynamic Random Access Memory (SDRAM) , Read-Only Memory (Read-Only Memory, ROM for short), flash memory, etc.

在固态技术协会(Joint Electron Device Engineering Council,JEDEC)的DRAM协议中,对DRAM的速度、省电都有具体要求。如何使DRAM更省电的同时,亦能保证信号的完整性以及数据传输和存储的可靠性,是行业内亟待解决的问题。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 also ensuring signal integrity and reliability of data transmission and storage is an urgent problem to be solved in the industry.

实用新型内容Utility model content

本申请实施例提供一种读操作电路和半导体存储器,以解决或缓解现有技术中的一项或更多项技术问题。Embodiments of the present application provide a read operation circuit and a semiconductor memory to solve or alleviate one or more technical problems in the prior art.

第一方面,本申请实施例提供一种读操作电路,应用于半导体存储器,半导体存储器包括DQ端口、DBI端口和存储块,读操作电路包括:In a first aspect, an embodiment of the present application provides a read operation circuit, which is applied to a semiconductor memory. The semiconductor memory includes a DQ port, a DBI port, and a storage block, and the read operation circuit includes:

DBI编码模块,连接于存储块,用于从存储块中读出读取数据,并根据读取数据中为高的数据的位数,确定是否翻转读取数据,以输出供全局总线传输的全局总线数据和供DBI信号线传输的DBI数据,DBI端口用于接收DBI数据;The DBI encoding module is connected to the storage block, and is used to read the read data from the storage block, and determine whether to flip the read data according to the number of bits of the high data in the read data, so as to output the global bus for global bus transmission. Bus data and DBI data for DBI signal line transmission, DBI port is used to receive DBI data;

并串转换电路,通过全局总线连接于DQ端口和DBI编码模块之间,用于对全局总线数据进行并串转换,以生成DQ端口的输出数据;The parallel-serial conversion circuit is connected between the DQ port and the DBI encoding module through the global bus, and is used to perform parallel-serial conversion on the global bus data to generate the output data of the DQ port;

数据缓冲模块,通过全局总线连接于存储块;The data buffer module is connected to the storage block through the global bus;

预充电模块,连接于预充电信号线,用于将全局总线的初始态设置为低。The precharge module, connected to the precharge signal line, is used to set the initial state of the global bus to be low.

在一种实施方式中,DBI编码模块用于在读取数据中为高的数据的位数大于预设值的情况下,将读取数据的翻转数据作为全局总线数据输出,并将DBI数据置为高;以及在读取数据中为高的数据的位数小于等于预设值的情况下,将原始的读取数据作为全局总线数据输出,并将DBI数据置为低。In one embodiment, the DBI encoding module is configured to output the inverted data of the read data as global bus data when the number of bits of the high data in the read data is greater than a preset value, and set the DBI data to and when the number of bits of the high data in the read data is less than or equal to the preset value, output the original read data as the global bus data, and set the DBI data to be low.

在一种实施方式中,M位DBI数据与M组读取数据一一对应,并且M位DBI数据与M组全局总线数据一一对应,并串转换电路还连接于DBI编码模块和DBI端口之间,用于将M位DBI数据并串转换后输出至DBI端口,其中,M为大于1的整数。In one embodiment, the M-bit DBI data is in one-to-one correspondence with M groups of read data, and the M-bit DBI data is in one-to-one correspondence with M groups of global bus data, and the parallel-to-serial conversion circuit is further connected between the DBI encoding module and the DBI port. It is used to convert the M-bit DBI data to the DBI port after parallel-serial conversion, where M is an integer greater than 1.

在一种实施方式中,每组读取数据为N位,其中,N为大于1的整数,DBI编码模块用于在输入的一组读取数据中为高的数据的位数大于N/2的情况下,将输入的一组读取数据的翻转数据作为对应的一组全局总线数据输出,并将输入的一组读取数据对应的一位DBI数据置为高;以及在输入的一组读取数据中为高的数据的位数小于等于N/2的情况下,将输入的一组读取数据作为对应的一组全局总线数据输出,并将输入的一组读取数据对应的一位DBI数据置为低。In one embodiment, each set of read data is N bits, where N is an integer greater than 1, and the number of bits used by the DBI encoding module for high data in an input set of read data is greater than N/2 In the case of the input set of read data, the inverted data of the input set of read data is output as a corresponding set of global bus data, and the one-bit DBI data corresponding to the input set of read data is set to high; and in the input set of read data In the case that the number of bits of the high data in the read data is less than or equal to N/2, the input set of read data is output as a corresponding set of global bus data, and a set of input read data corresponding to one set is output. bit DBI data is set low.

在一种实施方式中,DBI编码模块包括:In one embodiment, the DBI encoding module includes:

DBI编码单元,DBI编码单元的输入端连接于存储块,DBI编码单元的输出端与DBI信号线连接,DBI编码单元用于在读取数据中为高的数据的位数大于预设值的情况下,将DBI数据置为高;以及在读取数据中为高的数据的位数小于等于预设值的情况下,将DBI数据置为低;DBI encoding unit, the input end of the DBI encoding unit is connected to the storage block, the output end of the DBI encoding unit is connected to the DBI signal line, and the DBI encoding unit is used in the read data when the number of bits of the high data is greater than the preset value under the condition that the DBI data is set to high; and when the number of digits of the high data in the read data is less than or equal to the preset value, the DBI data is set to be low;

数据选择器,数据选择器的输入端连接于DBI编码单元,用于通过DBI编码单元接收读取数据,数据选择器的输入端还通过DBI信号线接收DBI数据,数据选择器的输出端通过全局总线连接于并串转换电路,数据选择器用于在DBI数据为高的情况下,将读取数据的翻转数据作为全局总线数据输出;以及在DBI数据为高的情况下,将原始的读取数据作为全局总线数据输出。Data selector, the input end of the data selector is connected to the DBI coding unit, and is used for receiving the read data through the DBI coding unit, the input end of the data selector also receives DBI data through the DBI signal line, and the output end of the data selector passes the global The bus is connected to the parallel-serial conversion circuit, and the data selector is used to output the inverted data of the read data as the global bus data when the DBI data is high; and when the DBI data is high, the original read data. Output as global bus data.

在一种实施方式中,数据选择器包括多个数据选择单元,数据选择单元包括:In one embodiment, the data selector includes a plurality of data selection units, and the data selection units include:

第一反相器,第一反相器的输入端通过DBI信号线接收DBI数据;The first inverter, the input end of the first inverter receives DBI data through the DBI signal line;

第二反相器,第二反相器的输入端连接于DBI编码单元,用于从DBI编码单元接收读取数据;The second inverter, the input end of the second inverter is connected to the DBI encoding unit for receiving read data from the DBI encoding unit;

第一传输门,第一传输门的输入端连接于第二反相器的输出端,第一传输门的输出端与全局总线连接,用于输出全局总线数据,第一传输门的反控制端连接于第一反相器的输出端,第一传输门的正控制端通过DBI信号线接收DBI数据;The first transmission gate, the input terminal of the first transmission gate is connected to the output terminal of the second inverter, the output terminal of the first transmission gate is connected to the global bus, and is used to output the global bus data, and the anti-control terminal of the first transmission gate be connected to the output end of the first inverter, and the positive control end of the first transmission gate receives DBI data through the DBI signal line;

第二传输门,第二传输门的输入端连接于DBI编码单元,用于从DBI编码单元接收读取数据,第二传输门的输出端与全局总线连接,用于输出全局总线数据,第二传输门的反控制端通过DBI信号线接收DBI数据,第二传输门的正控制端连接于第一反相器的输出端。The second transmission gate, the input end of the second transmission gate is connected to the DBI encoding unit, for receiving read data from the DBI encoding unit, the output end of the second transmission gate is connected to the global bus, for outputting the global bus data, the second transmission gate The negative control terminal of the transmission gate receives DBI data through the DBI signal line, and the positive control terminal of the second transmission gate is connected to the output terminal of the first inverter.

在一种实施方式中,数据选择器包括多个数据选择单元,数据选择单元包括:In one embodiment, the data selector includes a plurality of data selection units, and the data selection units include:

第三反相器,第三反相器的输入端通过DBI信号线接收DBI数据;The third inverter, the input end of the third inverter receives DBI data through the DBI signal line;

第四反相器,第四反相器的输入端连接于DBI编码单元,用于从DBI编码单元接收读取数据;the 4th inverter, the input end of the 4th inverter is connected to the DBI coding unit, for receiving read data from the DBI coding unit;

第一逻辑与门,第一逻辑与门的第一输入端连接于DBI编码单元,用于从DBI编码单元接收读取数据,第一逻辑与门的第二输入端连接于第三反相器的输出端;The first logical AND gate, the first input terminal of the first logical AND gate is connected to the DBI encoding unit for receiving read data from the DBI encoding unit, and the second input terminal of the first logical AND gate is connected to the third inverter the output terminal;

第二逻辑与门,第二逻辑与门的第一输入端通过DBI信号线接收DBI数据,第二逻辑与门的第二输入端连接于第四反相器的输出端;The second logic AND gate, the first input end of the second logic AND gate receives DBI data through the DBI signal line, and the second input end of the second logic AND gate is connected to the output end of the fourth inverter;

逻辑或门,逻辑或门的两个输入端分别连接于第一逻辑与门的输出端和第二逻辑与门的输出端,逻辑或门的输出端与全局总线连接,用于输出全局总线数据。A logical OR gate, the two input terminals of the logical OR 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 OR gate is connected to the global bus for outputting the global bus data .

在一种实施方式中,数据缓冲模块包括多个PMOS晶体管,PMOS晶体管的栅极连接于存储块,PMOS晶体管的漏极连接于全局总线;以及预充电模块包括多个NMOS晶体管和多个保持电路,NMOS晶体管的栅极连接于预充电信号线,NMOS晶体管的漏极连接于全局总线,保持电路的输入和输出端连接于全局总线。In one embodiment, the data buffer module includes a plurality of PMOS transistors, the gates of the PMOS transistors are connected to the memory block, and the drains of the PMOS transistors are connected to the global bus; and the precharge module includes a plurality of NMOS transistors and a plurality of hold 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 terminals of the holding circuit are connected to the global bus.

第二方面,本申请实施例提供一种半导体存储器,包括DQ端口、DBI端口、存储块以及以上任一的读操作电路。In a second aspect, an embodiment of the present application provides a semiconductor memory, including a DQ port, a DBI port, a memory block, and any of the above read operation circuits.

本申请实施例采用上述技术方案,可以实现在Precharge Low(下拉)架构的全局总线上传输为“0”的数据较多,从而可以减少内部全局总线翻转次数,大幅压缩电流,降低功耗。By adopting the above technical solutions, the embodiments of the present application can realize that more data is transmitted as "0" on the global bus of the Precharge Low (pull-down) architecture, thereby reducing the number of internal global bus flips, greatly compressing current, and reducing power consumption.

上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本申请进一步的方面、实施方式和特征将会是容易明白的。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 become apparent by reference to the drawings and the following detailed description.

附图说明Description of drawings

在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本申请公开的一些实施方式,而不应将其视为是对本申请范围的限制。In the drawings, unless stated otherwise, the same reference numbers refer to the same or like 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.

图1示意性地示出了本实施例一种实施方式的半导体存储器部分结构的框图;FIG. 1 schematically shows a block diagram of a partial structure of a semiconductor memory according to an implementation manner of this embodiment;

图2示意性地示出了本实施例另一种实施方式的半导体存储器部分结构的框图;FIG. 2 schematically shows a block diagram of a partial structure of a semiconductor memory in another implementation manner of this embodiment;

图3示意性地示出了本实施例一种实施方式的数据缓冲模块的电路图(对应于一个存储块);FIG. 3 schematically shows a circuit diagram (corresponding to one memory block) of a data buffer module in an implementation manner of this embodiment;

图4示意性地示出了本实施例一种实施方式的数据缓冲模块的电路图(对应于多个存储块);FIG. 4 schematically shows a circuit diagram (corresponding to a plurality of storage blocks) of a data buffer module according to an implementation manner of this embodiment;

图5示意性地示出了DBI功能的原理图;Figure 5 schematically shows a schematic diagram of the DBI function;

图6示意性地示出了本实施例一种实施方式的DBI编码模块的框图;FIG. 6 schematically shows a block diagram of a DBI encoding module in an implementation manner of this embodiment;

图7-1示意性地示出了本实施例一种实施方式的数据选择单元的框图;FIG. 7-1 schematically shows a block diagram of a data selection unit in an implementation manner of this embodiment;

图7-2示意性地示出了本实施例另一种实施方式的数据选择单元的框图。FIG. 7-2 schematically shows a block diagram of a data selection unit in another implementation manner of this embodiment.

附图标记说明:Description of reference numbers:

10:控制器;10: controller;

20:半导体存储器;20: semiconductor memory;

21:并串转换电路;21: Parallel-serial conversion circuit;

22:数据缓冲模块;22: data buffer module;

23:DBI编码模块;23: DBI encoding module;

24:DQ端口;24: DQ port;

25:DBI端口;25: DBI port;

26:存储块;26: memory block;

27:预充电模块;27: precharge module;

221:PMOS管;221: PMOS tube;

222:NMOS管;222: NMOS tube;

223:保持电路;223: hold circuit;

231:DBI编码单元;231: DBI coding unit;

232:数据选择器;232: data selector;

232′:数据选择单元;232': data selection unit;

232A:第一反相器;232A: the first inverter;

232B:第二反相器;232B: the second inverter;

232C:第一传输门;232C: the first transmission gate;

232D:第二传输门;232D: the second transmission gate;

232E:第三反相器;232E: the third inverter;

232F:第四反相器;232F: the fourth inverter;

232G:第一逻辑与门;232G: the first logic AND gate;

232F:第二逻辑与门;232F: The second logic AND gate;

232K:逻辑或门。232K: Logical OR gate.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本申请将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can 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 application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.

图1示意性地示出了本实施例一种实施方式的半导体存储器部分结构的框图。如图1所示,半导体存储器20包括DQ端口24、数据线翻转(Data Bus Inversion,DBI)端口25、存储块(Bank)26以及读操作电路。其中,读操作电路包括全局总线(Global Bus)、DBI信号线、并串转换电路21、数据缓冲模块(Data BufferData Buffer)22和DBI编码模块(Encoder)23。在一种实施方式中,半导体存储器20为DRAM,如第四代双倍速率同步动态随机存储器(Double Data Rate SDRAM 4,简称DDR4)。FIG. 1 schematically shows a block diagram of a partial structure of a semiconductor memory in an implementation manner of this embodiment. As shown in FIG. 1 , the semiconductor memory 20 includes a DQ port 24 , a data bus inversion (DBI) port 25 , a bank 26 and a read operation circuit. The read operation circuit includes a global bus (Global Bus), a DBI signal line, a parallel-serial conversion circuit 21 , a data buffer module (Data BufferData Buffer) 22 and a DBI encoding module (Encoder) 23 . In one embodiment, the semiconductor memory 20 is a DRAM, such as a fourth-generation double-rate synchronous dynamic random access memory (Double Data Rate SDRAM 4, DDR4 for short).

在一个示例中,如图1所示,一次激活(Active)命令打开唯一指定的存储块26,读操作也只能针对一个存储块26进行。也就是说,当八个存储块26(即Bank<7:0>)中有一个Bank工作的时候,其他Bank不工作。通过读操作电路,存储块26中的读取数据D<127:0>通过DQ端口24输出8位输出数据DQ<7:0>。需要说明的是,存储块26的数量、每个存储块26的数据位数以及DQ端口24的数据位数和数量,本实施例不作限定。例如:DQ端口24也可以为一个,用作输出16位输出数据;DQ端口24也可以为两个,即每个DQ端口24用作输出8位输出数据。In an example, as shown in FIG. 1 , an active (Active) command opens a uniquely designated storage block 26 , and a read operation can only be performed on one storage block 26 . That is, when one of the eight memory blocks 26 (ie, Bank<7:0>) is working, the other banks are not working. Through the read operation circuit, the read data D<127:0> in the memory block 26 outputs the 8-bit output data DQ<7:0> through the DQ port 24 . 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, one DQ port 24 may be used for outputting 16-bit output data; there may also be two DQ ports 24, that is, each DQ port 24 is used for outputting 8-bit output data.

例如,如图2所示,输出数据DQ<7:0>通过上述的一个读操作电路对一组存储块Bank<7:0>执行读操作而得到;输出数据DQ<15:8>通过上述的另一个读操作电路对另一组存储块Bank<15:8>执行读操作而得到。相应地,与DQ<15:8>对应的八个存储块26(即Bank<15:8>)中,当有一个Bank工作的时候,其他Bank不工作。For example, as shown in Figure 2, the output data DQ<7:0> is obtained by performing a read operation on a group of memory blocks Bank<7:0> by the above-mentioned one read operation circuit; the output data DQ<15:8> is obtained by the above-mentioned read operation Another read operation circuit of , is obtained by performing a read operation on another group of memory blocks Bank<15:8>. Correspondingly, in the eight memory blocks 26 (ie, Bank<15:8>) corresponding to DQ<15:8>, when one Bank is working, other Banks are not working.

半导体存储器20为阵列式结构,各单元结构可以相同,但因输入的数据不同,各单元输出的数据可能不同。下面以其中一个存储块为例,介绍本实施例的读操作电路。The semiconductor memory 20 has an array structure, and the structure of each unit may be the same, but due to different input data, the data output by each unit may be different. The read operation circuit of this embodiment is described below by taking one of the memory blocks as an example.

DBI编码模块23连接于存储块26,用于从存储块26中读出读取数据,如D<127:0>,并根据读取数据中为高的数据的位数,确定是否翻转读取数据,以输出供全局总线传输的全局总线数据和供DBI信号线传输的DBI数据。其中,数据为高可以是数据等于“1”,数据为“低”可以是数据等于“0”。数据的翻转可以理解为从“0”变为“1”,或者,从“1”变为“0”。数据线或信号线的翻转可以理解为高电平变为低电平,或低电平变为高电平。The DBI encoding module 23 is connected to the storage block 26, and is used for reading the read data from the storage block 26, such as D<127:0>, and according to the number of bits of the high data in the read data, to determine whether to reverse the read data to output global bus data for global bus transmission and DBI data for DBI signal line transmission. Wherein, when the data is high, the data can be equal to "1", and when the data is "low", the data can be equal to "0". The inversion of data can be understood as changing from "0" to "1", or, from "1" to "0". The inversion of a data line or a signal line can be understood as a high level to a low level, or a low level to a high level.

在一种实施方式中,DBI编码模块23用于在读取数据中为高的数据的位数大于预设值的情况下,将读取数据的翻转数据作为全局总线数据输出,并将DBI数据置为高;以及在读取数据中为高的数据的位数小于等于预设值的情况下,将原始的读取数据作为全局总线数据输出,并将DBI数据置为低。In one embodiment, the DBI encoding module 23 is configured to output the inverted data of the read data as global bus data when the number of bits of the high data in the read data is greater than a preset value, and output the DBI data set to high; and in the case that the number of bits of the high data in the read data is less than or equal to the preset value, output the original read data as the global bus data, and set the DBI data to be low.

在一个示例中,多位读取数据没有被分组,即DBI数据可以为一位,DBI编码模块23输出的DBI数据可以不经过并串转换电路21,而直接输出至DBI端口25中。在一个示例中,多位读取数据可以被分组。例如:在一种实施方式中,读取数据和全局总线数据均被划分为M组,DBI数据为M位,M位DBI数据与M组读取数据一一对应,并且M位DBI数据与M组全局总线数据一一对应,并串转换电路21还连接于DBI编码模块23和DBI端口25之间,用于将M位DBI数据并串转换后输出至DBI端口,其中,M为大于1的整数。需要说明的是,并串转换电路21可以包括两个并串转换模块,分别用于对全局总线数据和DBI数据进行并串转换,本实施例不作限定。In an example, the multi-bit read data is not grouped, that is, the DBI data may be one bit, and the DBI data output by the DBI encoding module 23 may be directly output to the DBI port 25 without going through the parallel-serial conversion circuit 21 . In one example, multi-bit read data may be grouped. For example: in one embodiment, read data and global bus data are divided into M groups, DBI data is M bits, M bits of DBI data are in one-to-one correspondence with M groups of read data, and M bits of DBI data are associated with M bits. The group global bus data is in one-to-one correspondence, and the parallel-to-serial conversion circuit 21 is also connected between the DBI encoding module 23 and the DBI port 25, and is used to output the M-bit DBI data to the DBI port after parallel-serial conversion, where M is greater than 1. Integer. It should be noted that the parallel-serial conversion circuit 21 may include two parallel-serial conversion modules, which are respectively used to perform parallel-serial conversion on the global bus data and DBI data, which is not limited in this embodiment.

进一步地,每组读取数据可以为N位,其中,N为大于1的整数,DBI编码模块23用于在输入的一组读取数据中为高的数据的位数大于N/2的情况下,将输入的一组读取数据的翻转数据作为对应的一组全局总线数据输出,并将输入的一组读取数据对应的一位DBI数据置为高;以及在输入的一组读取数据中为高的数据的位数小于等于N/2的情况下,将输入的一组读取数据作为对应的一组全局总线数据输出,并将输入的一组读取数据对应的一位DBI数据置为低。Further, each group of read data may be N bits, where N is an integer greater than 1, and the DBI encoding module 23 is used in the case where the number of bits of high data in the input group of read data is greater than N/2 Next, output the inverted data of the input group of read data as a corresponding group of global bus data, and set the one-bit DBI data corresponding to the input group of read data to high; and in the input group of read data When the number of bits of the high data in the data is less than or equal to N/2, the input set of read data is output as a corresponding set of global bus data, and the one-bit DBI corresponding to the input set of read data is output. data is set low.

例如:读取数据D<127:0>被划分为16组,每组读取数据为8位,每组读取数据与一位DBI数据对应。相应地,DBI数据为16位,如DBI<15:0>。全局总线数据D′<127:0>相应也会被划分为16组。每一位DBI数据与一组全局总线数据对应。对于一组读取数据D<127:120>,如果D<127:120>中等于“1”的位数大于4位,则对应的DBI<15>=1,输出的一组全局总线数据D′<120:127>等于D<127:120>的翻转数据;如果读取数据中等于“1”的位数小于等于4位,则对应的DBI<15>=0,输出的一组全局总线数据D′<120:127>即为D<127:120>。For example, the read data D<127:0> is divided into 16 groups, each group of read data is 8 bits, and each group of read data corresponds to one bit of DBI data. Accordingly, the DBI data is 16 bits, such as DBI<15:0>. The global bus data D'<127:0> is also divided into 16 groups accordingly. Each bit of DBI data corresponds to a set of global bus data. For a set of read data D<127:120>, if the number of bits equal to "1" in D<127:120> is greater than 4 bits, the corresponding DBI<15>=1, and a set of global bus data D is output '<120:127> is equal to the flip data of D<127:120>; if the number of bits equal to "1" in the read data is less than or equal to 4 bits, then the corresponding DBI<15>=0, and a set of global buses output The data D'<120:127> is D<127:120>.

于是,当DBI<15>=1时,从DBI编码模块23输出的全局总线数据D′<127:120>为存储块26(如Bank0)的读取数据D<127:120>的翻转数据;当DBI<15>=0时,从DBI编码模块23输出的全局总线数据D′<127:120>即为存储块26(如Bank0)的读取数据D<127:120>,即读取数据D′<127:120>=D<127:120>。类似地,当DBI<1>=1时,从DBI编码模块23输出的全局总线数据D′<15:8>为存储块26(如Bank0)的读取数据D<15:8>的翻转数据;当DBI<1>=0时,从DBI编码模块23输出的全局总线数据D′<15:8>即为存储块26(如Bank0)的读取数据D<15:8>,即全局总线数据D′<15:8>=D<15:8>。当DBI<0>=1时,从DBI编码模块23输出的全局总线数据D′<7:0>为存储块26(如Bank0)的读取数据D<7:0>的翻转数据;当DBI<0>=0时,从DBI编码模块23输出的全局总线数据D′<7:0>即为存储块26(如Bank0)的读取数据D<7:0>,即全局总线数据D′<7:0>=D<7:0>。Then, when DBI<15>=1, the global bus data D'<127:120> output from the DBI encoding module 23 is the inversion data of the read data D<127:120> of the storage block 26 (such as Bank0); When DBI<15>=0, the global bus data D'<127:120> output from the DBI encoding module 23 is the read data D<127:120> of the storage block 26 (such as Bank0), that is, the read data D'<127:120>=D<127:120>. Similarly, when DBI<1>=1, the global bus data D'<15:8> output from the DBI encoding module 23 is the inverted data of the read data D<15:8> of the storage block 26 (eg Bank0) ; When DBI<1>=0, the global bus data D'<15:8> output from the DBI encoding module 23 is the read data D<15:8> of the storage block 26 (such as Bank0), that is, the global bus Data D'<15:8>=D<15:8>. When DBI<0>=1, the global bus data D'<7:0> output from the DBI encoding module 23 is the inverted data of the read data D<7:0> of the storage block 26 (eg Bank0); when DBI When <0>=0, the global bus data D'<7:0> output from the DBI encoding module 23 is the read data D<7:0> of the storage block 26 (such as Bank0), that is, the global bus data D' <7:0>=D<7:0>.

在一个示例中,全局总线为多根且被划分为M(M为大于1的整数)组,每根全局总线传输一位全局总线数据。例如:全局总线为128根,128根全局总线分为16组。全局总线<0>传输全局总线数据D′<0>;全局总线<1>传输全局总线数据D′<1>;……;全局总线<127>传输全局总线数据D′<127>。In one example, the global bus is multiple and divided into M (M is an integer greater than 1) groups, and 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 D'<0>; global bus <1> transmits global bus data D'<1>; ...; global bus <127> transmits global bus data D'<127>.

在一个示例中,DBI信号线为16根,每根DBI信号线传输1位DBI数据,如DBI信号线<0>传输DBI数据DBI<0>,并且与全局总线数据D′<7:0>对应,表征D′<7:0>是否为翻转后的数据;DBI信号线<1>传输DBI数据DBI<1>,并且与全局总线数据D′<15:8>对应,表征D′<15:8>是否为翻转后的数据;……;DBI信号线<15>传输DBI数据DBI<15>,并且与全局总线数据D′<127:120>对应,表征D′<127:120>是否为翻转后的数据。In one example, there are 16 DBI signal lines, and each DBI signal line transmits 1-bit DBI data. For example, DBI signal line <0> transmits DBI data DBI<0>, and is associated with global bus data D'<7:0> Correspondingly, it indicates whether D'<7:0> is the inverted data; DBI signal line <1> transmits DBI data DBI<1>, and corresponds to the global bus data D'<15:8>, which indicates D'<15 :8> Whether it is the inverted data; ...; DBI signal line <15> transmits DBI data DBI<15>, and corresponds to the global bus data D'<127:120>, indicating whether D'<127:120> is the inverted data.

并串转换电路21通过全局总线连接于DQ端口24和DBI编码模块23之间,用于对全局总线数据进行并串转换,以生成DQ端口24的输出数据。例如:并串转换电路21对Bank0的128位的全局总线数据D′<127:0>进行并串转换,进而生成8位的输出数据DQ<7:0>,并通过数据总线(data bus)传输给DQ端口24。从而,在全局总线上传输的全局总线数据D′<127:0>中,为“0”的数据较多。相应地,在图2所示的半导体存储器20中,256位的全局总线数据(包括与DQ<7:0>对应的128位全局总线数据和与DQ<15:8>对应的128位全局总线数据)中,为“0”的数据较多。The parallel-serial conversion circuit 21 is connected between the DQ port 24 and the DBI encoding module 23 through the global bus, and is used for performing parallel-serial conversion on the global bus data to generate the output data of the DQ port 24 . For example, the parallel-serial conversion circuit 21 performs parallel-serial conversion on the 128-bit global bus data D'<127:0> of Bank0, and then generates 8-bit output data DQ<7:0>, which is passed through the data bus. transmitted to DQ port 24. Therefore, in the global bus data D'<127:0> transmitted on the global bus, there are many data "0". Accordingly, in the semiconductor memory 20 shown in FIG. 2 , 256-bit global bus data (including 128-bit global bus data corresponding to DQ<7:0> and 128-bit global bus data corresponding to DQ<15:8> data), there are many data with "0".

数据缓冲模块22通过全局总线连接于存储块26,预充电模块27连接于预充电信号线(Precharge),用于将全局总线的初始态设置为低。也就是说,本实施例中,半导体存储器20采用的是Precharge下拉的全局总线传输结构。The data buffer module 22 is connected to the storage block 26 through the global bus, and the precharge module 27 is connected to the precharge signal line (Precharge) for setting the initial state of the global bus to be low. That is to say, in this embodiment, the semiconductor memory 20 adopts the global bus transmission structure of the Precharge pull-down.

图3示意性地示出了本实施例一种实施方式的数据缓冲模块22和预充电模块27的电路图(对应于一个存储块26)。图4示意性地示出了本实施例一种实施方式的数据缓冲模块22和预充电模块27的电路图(对应于8个存储块26)。FIG. 3 schematically shows a circuit diagram (corresponding to one storage block 26 ) of the data buffering module 22 and the precharging module 27 in an implementation manner of this embodiment. FIG. 4 schematically shows a circuit diagram of the data buffer module 22 and the precharge module 27 (corresponding to 8 memory blocks 26 ) in an implementation manner of this embodiment.

如图3和图4所示,数据缓冲模块22包括多个PMOS(Positive Channel MetalOxide Semiconductor)晶体管221,预充电模块27包括多个NMOS(Negative Channel MetalOxide Semiconductor)晶体管222和多个保持(hold)电路223。其中,PMOS晶体管221的栅极连接于存储块26,PMOS晶体管221的漏极连接于全局总线;NMOS晶体管222的栅极连接于预充电信号线,NMOS晶体管222的漏极连接于全局总线;保持电路223的输入和输出端连接于全局总线,从而形成正反馈电路。As shown in FIG. 3 and FIG. 4 , the data buffer module 22 includes a plurality of PMOS (Positive Channel Metal Oxide Semiconductor) transistors 221 , and the precharge module 27 includes a plurality of NMOS (Negative Channel Metal Oxide Semiconductor) transistors 222 and a plurality of hold circuits 223. The gate of the PMOS transistor 221 is connected to the memory block 26, the drain of the PMOS transistor 221 is connected to the global bus; 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 terminals of circuit 223 are connected to the global bus, thereby forming a positive feedback circuit.

Precharge的作用是将每根全局总线的初始态设置为低,具体过程为Precharge产生一个下拉脉冲(pulse,大约2ns左右),将相应的某根全局总线下拉片刻,保持电路223形成正反馈并将这根全局总线锁在低电平,但是该保持电路223的上拉和下拉电流的能力比较弱;当某根全局总线需要变为高电平的时候,将这根全局总线对应的数据线(即对应的PMOS管221的栅极上连接的数据线)拉低一下(也是一个pulse,大约2ns左右),这样相应的PMOS晶体管221就会将这根全局总线上拉片刻(上拉能力大于保持电路223的下拉能力),然后会通过正反馈将这根全局总线锁到高电平,完成数据线的翻转动作。由于全局总线数据D′<127:0>中,为“0”的数据较多,因此需要的翻转动作就会较少。因此,半导体存储器的IDD4R(读出电流)将会被降低,从而可以降低半导体存储器的功耗。The function of Precharge is to set the initial state of each global bus to low. The specific process is that Precharge generates a pull-down pulse (pulse, about 2ns), pulls down a corresponding global bus for a while, and the hold circuit 223 forms a positive feedback and This global bus is locked at a low 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 high level, the data line ( That is, the data line connected to the gate of the corresponding PMOS transistor 221) is pulled down (also a pulse, about 2ns), so that the corresponding PMOS transistor 221 will pull up the global bus for a while (the pull-up capability is greater than the hold-up capability). The pull-down capability of the 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 many "0" data in the global bus data D'<127:0>, less flipping actions are required. Therefore, the IDD4R (read current) of the semiconductor memory will be reduced, so that the power consumption of the semiconductor memory can be reduced.

下面结合图5介绍DBI端口25的作用。从半导体存储器20输出的数据包括DBI端口25的DBI数据和DQ端口24的输出数据。当DBI端口25的DBI数据等于1时,输出数据如DQ<7:0>需要进行翻转后输出给控制器10;当DBI端口25的DBI数据等于0时,原始的输出数据可以直接发送给控制器10。半导体存储器20的片上终结电阻(On-Die Termination,ODT)可以将DQ端口24的电流吸收掉,防止信号在半导体存储器20的内部电路上形成反射。在半导体存储器20的工作过程中调节ODT的大小使之与控制器10匹配。在一个示例中,ODT结构为下拉结构,当DQ端口24的数据为“1”(即为高)时,通过ODT的漏电流较大,这会增加功耗。在本实施例中,由于DQ端口24的输出数据中,为“0”的数据较多,因此可以进一步降低半导体存储器的功耗。The function of the DBI port 25 is described below with reference to FIG. 5 . The data output from the semiconductor memory 20 includes the DBI data of the DBI port 25 and the output data of the DQ port 24 . When the DBI data of the DBI port 25 is equal to 1, the output data such as DQ<7:0> needs to be inverted and output to the controller 10; when the DBI data of the DBI port 25 is equal to 0, the original output data can be directly sent to the controller device 10. The on-die termination (ODT) of the semiconductor memory 20 can absorb the current of the DQ port 24 to prevent the signal 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 the operation of the semiconductor memory 20 . In one example, the ODT structure is a pull-down structure, and when the data of the DQ port 24 is "1" (ie, high), the leakage current through the ODT is large, which increases power consumption. In the present embodiment, since the output data of the DQ port 24 contains many "0" data, the power consumption of the semiconductor memory can be further reduced.

而相关技术中,DBI功能被使能(enable)的情况下,当半导体存储器在执行读操作时,对数据的翻转和编码的模块设置在数据快要出半导体存储器的位置,即位于并串转换的模块之后。因此,在相关技术中,半导体存储器内部全局总线传输的数据“1”较多,会造成IDD4R过大,功耗较高。In the related art, when the DBI function is enabled, when the semiconductor memory is performing a read operation, the module for inverting and encoding data is set at the position where the data is about to exit the semiconductor memory, that is, in the parallel-serial conversion area. after the module. Therefore, in the related art, there are many data "1"s transmitted by the global bus inside the semiconductor memory, which will cause the IDD4R to be too large and the power consumption to be high.

根据本实施例的半导体存储器20,在从半导体存储器20读出数据的过程中,当全局总线数据为256位时,需要256位全局总线数据翻转,将变成只有32位DBI数据在翻转,IDD4R电流将会大幅压缩。According to the semiconductor memory 20 of the present embodiment, in the process of reading data from the semiconductor memory 20, when the global bus data is 256 bits, the 256-bit global bus data needs to be inverted, and only the 32-bit DBI data is inverted, IDD4R The current will be greatly compressed.

在一种实施方式中,如图6所示,DBI编码模块23包括DBI编码单元231和数据选择器232。In one embodiment, as shown in FIG. 6 , the DBI encoding module 23 includes a DBI encoding unit 231 and a data selector 232 .

DBI编码单元231的输入端通过局部总线(local Bus)连接于存储块26,DBI编码单元231的输出端与DBI信号线连接,并与数据选择器232的输入端连接。DBI编码单元用于在读取数据中为高的数据的位数大于预设值的情况下,将DBI数据置为高;以及在读取数据中为高的数据的位数小于等于预设值的情况下,将DBI数据置为低。The input end of the DBI encoding unit 231 is connected to the storage block 26 through a local bus, the output end of the DBI encoding unit 231 is connected to the DBI signal line, and is connected to the input end of the data selector 232 . The DBI encoding unit is used to set the DBI data to be high when the number of digits of the high data in the read data is greater than the preset value; and the number of digits of the high data in the read data is less than or equal to the preset value case, set DBI data low.

在一个示例中,DBI编码单元231可以包括多个DBI编码子单元,每个DBI编码子单元用于处理一组读取数据,进而输出一位DBI数据。例如:数据选择单元DBI编码子单元可以有16个,分别对应于16组读取数据,进而输出16位DBI数据,其中,每组读取数据可以有8位。In one example, the DBI encoding unit 231 may include a plurality of DBI encoding subunits, and each DBI encoding subunit is used to process a set of read data, thereby outputting one bit of DBI data. For example, the data selection unit may have 16 DBI coding subunits, corresponding to 16 groups of read data respectively, and then output 16-bit DBI data, wherein each group of read data may have 8 bits.

数据选择器232的输入端连接于DBI编码单元231,用于通过DBI编码单元231接收读取数据,数据选择器232的输入端还通过DBI信号线接收DBI数据,数据选择器232的输出端通过全局总线连接于并串转换电路21。数据选择器232用于在DBI数据为高的情况下,将读取数据的翻转数据作为全局总线数据输出;以及在DBI数据为高的情况下,将原始的读取数据作为全局总线数据输出。The input end of the data selector 232 is connected to the DBI encoding unit 231 for receiving the read data through the DBI encoding unit 231, the input end of the data selector 232 also receives the DBI data through the DBI signal line, and the output end of the data selector 232 passes through the DBI signal line. The global bus is connected to the parallel-serial conversion circuit 21 . The data selector 232 is configured to output the inverted data of the read data as the global bus data when the DBI data is high; and output the original read data as the global bus data when the DBI data is high.

在一种实施方式中,数据选择器232包括多个数据选择单元232′,每个数据选择单元232′用于处理一位DBI数据和一组读取数据。例如:数据选择单元232′可以有16个,分别对应于16组读取数据和一位DBI数据,每组读取数据有8位。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 DBI data and a set of read data. For example, there may be 16 data selection units 232', corresponding to 16 groups of read data and one bit of DBI data, and each group of read data has 8 bits.

图7-1和图7-2示出了数据选择单元232′两种不同的实现方式。Figures 7-1 and 7-2 show two different implementations of the data selection unit 232'.

如图7-1所示,数据选择单元232′包括第一反相器232A、第二反相器232B、第一传输门232C和第二传输门232D。第一反相器232A的输入端通过DBI信号线接收DBI数据;第二反相器232B的输入端连接于DBI编码单元231,用于从DBI编码单元231接收读取数据;第一传输门232C的输入端连接于第二反相器232B的输出端,第一传输门232C的输出端与全局总线连接,用于输出全局总线数据,第一传输门232C的反控制端(图7-1中的上方控制端)连接于第一反相器232A的输出端,第一传输门232C的正控制端(图7-1中的下方控制端)通过DBI信号线接收DBI数据;第二传输门232D的输入端连接于DBI编码单元231,用于从DBI编码单元231接收读取数据,第二传输门232D的输出端与全局总线连接,用于输出全局总线数据,第二传输门232D的反控制端通过DBI信号线接收DBI数据,第二传输门232D的正控制端连接于第一反相器232A的输出端。As shown in FIG. 7-1, the data selection unit 232' includes a first inverter 232A, a second inverter 232B, a first transmission gate 232C and a second transmission gate 232D. The input end of the first inverter 232A receives DBI data through the DBI signal line; the input end of the second inverter 232B is connected to the DBI encoding unit 231 for receiving read data from the DBI encoding unit 231; the first transmission gate 232C The input terminal of the first transmission gate 232C is connected to the output terminal of the second inverter 232B, and the output terminal of the first transmission gate 232C is connected to the global bus for outputting the global bus data. The upper control terminal of the first inverter 232A is connected to the output terminal of the first inverter 232A, and the positive control terminal (the lower control terminal in FIG. 7-1 ) of the first transmission gate 232C receives DBI data through the DBI signal line; the second transmission gate 232D The input end is connected to the DBI coding unit 231, for receiving the read data from the DBI coding unit 231, the output end of the second transmission gate 232D is connected with the global bus, for outputting the global bus data, the anti-control of the second transmission gate 232D The terminal receives DBI data through the DBI signal line, and the positive control terminal of the second transmission gate 232D is connected to the output terminal of the first inverter 232A.

以DBI<0>和读取数据D<7:0>为例,如图7-1所示,当DBI=1时,全局总线数据D′<7:0>为读取数据D<7:0>的翻转数据;当DBI=0时,全局总线数据D′<7:0>即为读取数据D<7:0>。Taking DBI<0> and read data D<7:0> as an example, as shown in Figure 7-1, when DBI=1, the global bus data D'<7:0> is read data D<7: 0> inversion data; when DBI=0, the global bus data D'<7:0> is the read data D<7:0>.

需要说明的是,一组第二反相器232B、第一传输门232C和第二传输门232D用于处理一位读取数据,输出一位对应的全局总线数据。也就说说,对应于8位的读取数据D<7:0>,第二反相器232A、第一传输门232C和第二传输门232D也应当有8组,进而输出8位的全局总线数据D<7:0>。It should be noted that a group of second inverters 232B, first transmission gates 232C and second transmission gates 232D are used to process one bit of read data and output one bit of corresponding global bus data. That is to say, corresponding to the 8-bit read data D<7:0>, the second inverter 232A, the first transmission gate 232C and the second transmission gate 232D should also have 8 groups, and then output an 8-bit global Bus Data D<7:0>.

如图7-2所示,数据选择单元232′包括第三反相器232E、第四反相器232F、第一逻辑与门232G、第二逻辑与门232H和逻辑或门232K。第三反相器232E的输入端通过DBI信号线接收DBI数据;第四反相器232F的输入端连接于DBI编码单元231,用于从DBI编码单元231接收读取数据;,第一逻辑与门232G的第一输入端连接于DBI编码单元231,用于从DBI编码单元231接收读取数据,第一逻辑与门232G的第二输入端连接于第三反相器232E的输出端;第二逻辑与门232H的第一输入端通过DBI信号线接收DBI数据,第二逻辑与门232H的第二输入端连接于第四反相器232F的输出端;,逻辑或门232K的两个输入端分别连接于第一逻辑与门232G的输出端和第二逻辑与门232H的输出端,逻辑或门232K的输出端与全局总线连接,用于输出全局总线数据。As shown in FIG. 7-2, the data selection unit 232' includes a third inverter 232E, a fourth inverter 232F, a first logical AND gate 232G, a second logical AND gate 232H, and a logical OR gate 232K. The input end of the third inverter 232E receives DBI data through the DBI signal line; the input end of the fourth inverter 232F is connected to the DBI encoding unit 231 for receiving read data from the DBI encoding unit 231; the first logical AND The first input end of the gate 232G is connected to the DBI encoding unit 231 for receiving read data from the DBI encoding unit 231, and the second input end of the first logical AND gate 232G is connected to the output end of the third inverter 232E; The first input terminal of the second logical AND gate 232H receives DBI data through the DBI signal line, the second input terminal of the second logical AND gate 232H is connected to the output terminal of the fourth inverter 232F; the two inputs of the logical OR gate 232K The terminals are respectively connected to the output terminal of the first logical AND gate 232G and the output terminal of the second logical AND gate 232H, and the output terminal of the logical OR gate 232K is connected to the global bus for outputting global bus data.

以DBI<0>和读取数据D<7:0>为例,如图7-2所示,当DBI=1时,全局总线数据D′<7:0>为读取数据D<7:0>的翻转数据;当DBI=0时,全局总线数据D′<7:0>即为读取数据D<7:0>。Taking DBI<0> and read data D<7:0> as an example, as shown in Figure 7-2, when DBI=1, the global bus data D'<7:0> is read data D<7: 0> inversion data; when DBI=0, the global bus data D'<7:0> is the read data D<7:0>.

需要说明的是,一组第四反相器232F、第一逻辑与门232G、第二逻辑与门232H和逻辑或门232K用于处理一位读取数据,输出一位对应的全局总线数据。也就说说,对应于8位的读取数据D<7:0>,第三反相器232E、第四反相器232F、第一逻辑与门232G、第二逻辑与门232H和逻辑或门232K也应当有8组,进而输出8位的全局总线数据D<7:0>。It should be noted that a group of fourth inverters 232F, first logical AND gate 232G, second logical AND gate 232H and logical OR gate 232K are used to process one bit of read data and output one bit of corresponding global bus data. That is to say, corresponding to the 8-bit read data D<7:0>, the third inverter 232E, the fourth inverter 232F, the first logical AND gate 232G, the second logical AND gate 232H and the logical OR The gate 232K should also have 8 groups, and then output 8-bit global bus data D<7:0>.

本实施例的半导体存储器20在实际应用中还包括灵敏放大器、预充电电路等其他结构,因其均为现有技术本实施例在此不复赘述。In practical applications, the semiconductor memory 20 of this embodiment also includes other structures such as a sense amplifier, a precharge circuit, etc., which are all in the prior art and will not be described in detail here in this embodiment.

本申请实施例提供的读操作电路,应用于全局总线传输结构为Precharge下拉的半导体存储器,通过将DBI编码模块设置在并串转换电路与存储块之间,可以实现全局总线上传输为“0”的数据较多,从而减少内部全局总线翻转次数,可以大幅压缩电流,降低功耗。The read operation circuit provided by the embodiment of the present application is applied to a semiconductor memory whose global bus transmission structure is Precharge pull-down. By arranging the DBI encoding module between the parallel-serial conversion circuit and the storage block, the transmission on the global bus can be "0". There are more data, thus reducing the number of internal global bus flips, which can greatly compress the current and reduce power consumption.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有所述特定细节中的一个或更多,或者可以采用其它的方法、组元、材料、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免模糊本申请的各方面。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, or other methods, components, materials, devices, steps, etc. may be employed. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the application.

术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。The terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first", "second" may expressly or implicitly include one or more of that feature. In the description of the present application, "plurality" means two or more, unless otherwise expressly and specifically defined.

此外,虽然已经参考若干具体实施方式描述了本申请的精神和原理,但是应该理解,本申请并不限于所公开的具体实施方式,对各方面的划分也不意味着这些方面中的特征不能组合以进行受益,这种划分仅是为了表述的方便。本申请旨在涵盖所附权利要求的精神和范围内所包括的各种修改和等同布置。Furthermore, although the spirit and principles 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 specific embodiments disclosed, nor does the division of aspects mean that features in these aspects cannot be combined For the benefit, this division is for convenience of presentation only. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the technical field disclosed in the present application can easily think of various changes or Replacement, these should be covered within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (9)

1.一种读操作电路,应用于半导体存储器,其特征在于,所述半导体存储器包括DQ端口、DBI端口和存储块,所述读操作电路包括:1. A read operation circuit, applied to a semiconductor memory, is characterized in that, the semiconductor memory comprises a DQ port, a DBI port and a memory block, and the read operation circuit comprises: DBI编码模块,连接于所述存储块,用于从所述存储块中读出读取数据,并根据所述读取数据中为高的数据的位数,确定是否翻转所述读取数据,以输出供全局总线传输的全局总线数据和供DBI信号线传输的DBI数据,所述DBI端口用于接收所述DBI数据;A DBI encoding module, connected to the storage block, is configured to read out the read data from the storage block, and determine whether to flip the read data according to the number of bits of the high data in the read data, To output global bus data for global bus transmission and DBI data for DBI signal line transmission, the DBI port is used to receive the DBI data; 并串转换电路,通过所述全局总线连接于所述DQ端口和所述DBI编码模块之间,用于对所述全局总线数据进行并串转换,以生成所述DQ端口的输出数据;a parallel-serial conversion circuit, connected between the DQ port and the DBI encoding module through the global bus, for performing parallel-serial conversion on the global bus data to generate output data of the DQ port; 数据缓冲模块,通过所述全局总线连接于所述存储块;a data buffer module, connected to the storage block through the global bus; 预充电模块,连接于预充电信号线,用于将所述全局总线的初始态设置为低,所述预充电模块包括多个NMOS晶体管,所述NMOS晶体管的栅极连接于所述预充电信号线,所述NMOS晶体管的漏极连接于所述全局总线。a precharge module, connected to the precharge signal line, for setting the initial state of the global bus to be low, the precharge module includes a plurality of NMOS transistors, and the gates of the NMOS transistors are connected to the precharge signal line, the drain of the NMOS transistor is connected to the global bus. 2.根据权利要求1所述的读操作电路,其特征在于,所述DBI编码模块还用于输入预设值,并根据所述读取数据中为高的数据的位数与所述预设值输出所述DBI数据和所述全局总线数据。2. read operation circuit according to claim 1, is characterized in that, described DBI coding module is also used for inputting preset value, and according to the number of digits of high data in described read data and described preset value outputs the DBI data and the global bus data. 3.根据权利要求1所述的读操作电路,其特征在于,所述读取数据和所述全局总线数据均被划分为M组,所述DBI数据为M位,M位DBI数据与M组读取数据一一对应,并且M位DBI数据与M组全局总线数据一一对应,所述并串转换电路还连接于所述DBI编码模块和所述DBI端口之间,用于将M位DBI数据并串转换后输出至所述DBI端口,其中,M为大于1的整数。3. read operation circuit according to claim 1, is characterized in that, described read data and described global bus data are all divided into M group, described DBI data is M bit, M bit DBI data and M group The read data is in one-to-one correspondence, and the M-bit DBI data is in one-to-one correspondence with M groups of global bus data. The parallel-serial conversion circuit is also connected between the DBI encoding module and the DBI port, and is used to convert the M-bit DBI The data is output to the DBI port after parallel-serial conversion, wherein M is an integer greater than 1. 4.根据权利要求3所述的读操作电路,其特征在于,每组读取数据为N位,其中,N为大于1的整数,所述DBI编码模块用于根据输入的一组读取数据中为高的数据的位数与N/2的关系输出对应的一位DBI数据和对应的一组全局总线数据。4. The read operation circuit according to claim 3, wherein each group of read data is N bits, wherein N is an integer greater than 1, and the DBI encoding module is used for a group of read data according to the input The relationship between the number of bits of the high data and N/2 outputs a corresponding one-bit DBI data and a corresponding set of global bus data. 5.根据权利要求1所述的读操作电路,其特征在于,所述DBI编码模块包括:5. read operation circuit according to claim 1, is characterized in that, described DBI coding module comprises: DBI编码单元,所述DBI编码单元的输入端连接于所述存储块,所述DBI编码单元的输出端与所述DBI信号线连接,所述DBI编码单元用于输入预设值,并根据所述读取数据中为高的数据的位数与所述预设值输出所述DBI数据;DBI encoding unit, the input end of the DBI encoding unit is connected to the storage block, the output end of the DBI encoding unit is connected to the DBI signal line, the DBI encoding unit is used for inputting a preset value, and according to the The number of digits of the high data in the read data and the preset value output the DBI data; 数据选择器,所述数据选择器的输入端连接于所述DBI编码单元,用于通过所述DBI编码单元接收所述读取数据,所述数据选择器的输入端还通过所述DBI信号线接收所述DBI数据,所述数据选择器的输出端通过所述全局总线连接于所述并串转换电路,所述数据选择器用于根据所述DBI数据和所述读取数据输出所述全局总线数据。a data selector, the input end of the data selector is connected to the DBI encoding unit for receiving the read data through the DBI encoding unit, and the input end of the data selector is also passed through the DBI signal line receiving the DBI data, the output end of the data selector is connected to the parallel-serial conversion circuit through the global bus, and the data selector is configured to output the global bus according to the DBI data and the read data data. 6.根据权利要求5所述的读操作电路,其特征在于,所述数据选择器包括多个数据选择单元,所述数据选择单元包括:6. The read operation circuit according to claim 5, wherein the data selector comprises a plurality of data selection units, and the data selection unit comprises: 第一反相器,所述第一反相器的输入端通过所述DBI信号线接收所述DBI数据;a first inverter, the input end of the first inverter receives the DBI data through the DBI signal line; 第二反相器,所述第二反相器的输入端连接于所述DBI编码单元,用于从所述DBI编码单元接收所述读取数据;a second inverter, the input end of the second inverter is connected to the DBI encoding unit for receiving the read data from the DBI encoding unit; 第一传输门,所述第一传输门的输入端连接于所述第二反相器的输出端,所述第一传输门的输出端与所述全局总线连接,用于输出所述全局总线数据,所述第一传输门的反控制端连接于所述第一反相器的输出端,所述第一传输门的正控制端通过所述DBI信号线接收所述DBI数据;a first transmission gate, the input end of the first transmission gate is connected to the output end of the second inverter, and the output end of the first transmission gate is connected to the global bus for outputting the global bus data, the inverse control end of the first transmission gate is connected to the output end of the first inverter, and the positive control end of the first transmission gate receives the DBI data through the DBI signal line; 第二传输门,所述第二传输门的输入端连接于所述DBI编码单元,用于从所述DBI编码单元接收所述读取数据,所述第二传输门的输出端与所述全局总线连接,用于输出所述全局总线数据,所述第二传输门的反控制端通过所述DBI信号线接收所述DBI数据,所述第二传输门的正控制端连接于所述第一反相器的输出端。The second transmission gate, the input end of the second transmission gate is connected to the DBI encoding unit for receiving the read data from the DBI encoding unit, and the output end of the second transmission gate is connected to the global bus connection for outputting the global bus data, the inverse control terminal of the second transmission gate receives the DBI data through the DBI signal line, and the positive control terminal of the second transmission gate is connected to the first transmission gate the output of the inverter. 7.根据权利要求5所述的读操作电路,其特征在于,所述数据选择器包括多个数据选择单元,所述数据选择单元包括:7. The read operation circuit according to claim 5, wherein the data selector comprises a plurality of data selection units, the data selection units comprising: 第三反相器,所述第三反相器的输入端通过所述DBI信号线接收所述DBI数据;a third inverter, the input end of the third inverter receives the DBI data through the DBI signal line; 第四反相器,所述第四反相器的输入端连接于所述DBI编码单元,用于从所述DBI编码单元接收所述读取数据;a fourth inverter, the input end of the fourth inverter is connected to the DBI encoding unit for receiving the read data from the DBI encoding unit; 第一逻辑与门,所述第一逻辑与门的第一输入端连接于所述DBI编码单元,用于从所述DBI编码单元接收所述读取数据,所述第一逻辑与门的第二输入端连接于所述第三反相器的输出端;A first logical AND gate, the first input terminal of the first logical AND gate is connected to the DBI encoding unit, and is used for receiving the read data from the DBI encoding unit, and the first input terminal of the first logical AND gate is used to receive the read data from the DBI encoding unit. The two input terminals are connected to the output terminal of the third inverter; 第二逻辑与门,所述第二逻辑与门的第一输入端通过所述DBI信号线接收所述DBI数据,所述第二逻辑与门的第二输入端连接于所述第四反相器的输出端;a second logical AND gate, the first input terminal of the second logical AND gate receives the DBI data through the DBI signal line, and the second input terminal of the second logical AND gate is connected to the fourth inverter the output of the device; 逻辑或门,所述逻辑或门的两个输入端分别连接于所述第一逻辑与门的输出端和所述第二逻辑与门的输出端,所述逻辑或门的输出端与所述全局总线连接,用于输出所述全局总线数据。a logical OR gate, two input terminals of the logical OR 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 OR gate is connected to the output terminal of the logical OR gate A global bus connection for outputting the global bus data. 8.根据权利要求1至7任一项所述的读操作电路,其特征在于,所述数据缓冲模块包括多个PMOS晶体管,所述PMOS晶体管的栅极连接于所述存储块,所述PMOS晶体管的漏极连接于所述全局总线;以及所述预充电模块还包括多个保持电路,所述保持电路的输入和输出端连接于所述全局总线。8 . The read operation circuit according to claim 1 , wherein the data buffer module comprises a plurality of PMOS transistors, the gates of the PMOS transistors are connected to the memory block, and the PMOS transistors are connected to the memory block. 9 . The drains of the transistors are connected to the global bus; and the precharge module further includes a plurality of hold circuits whose input and output terminals are connected to the global bus. 9.一种半导体存储器,其特征在于,包括DQ端口、DBI端口、存储块以及权利要求1至8任一项所述的读操作电路。9. A semiconductor memory, comprising a DQ port, a DBI port, a memory block and the read operation circuit according to any one of claims 1 to 8.
CN201921804618.8U 2019-10-25 2019-10-25 Read operation circuit and semiconductor memory Active CN211404065U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921804618.8U CN211404065U (en) 2019-10-25 2019-10-25 Read operation circuit and semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921804618.8U CN211404065U (en) 2019-10-25 2019-10-25 Read operation circuit and semiconductor memory

Publications (1)

Publication Number Publication Date
CN211404065U true CN211404065U (en) 2020-09-01

Family

ID=72232399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921804618.8U Active CN211404065U (en) 2019-10-25 2019-10-25 Read operation circuit and semiconductor memory

Country Status (1)

Country Link
CN (1) CN211404065U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712839A (en) * 2019-10-25 2021-04-27 长鑫存储技术(上海)有限公司 Read operation circuit, semiconductor memory and read operation method
WO2022217797A1 (en) * 2021-04-13 2022-10-20 长鑫存储技术有限公司 Data transmission circuit, method, and storage apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712839A (en) * 2019-10-25 2021-04-27 长鑫存储技术(上海)有限公司 Read operation circuit, semiconductor memory and read operation method
CN112712839B (en) * 2019-10-25 2024-07-26 长鑫存储技术(上海)有限公司 Read operation circuit, semiconductor memory and read operation method
WO2022217797A1 (en) * 2021-04-13 2022-10-20 长鑫存储技术有限公司 Data transmission circuit, method, and storage apparatus
US11790960B2 (en) 2021-04-13 2023-10-17 Changxin Memory Technologies, Inc. Data transmission circuit, method and storage device

Similar Documents

Publication Publication Date Title
CN211404066U (en) Read operation circuit and semiconductor memory
CN210667806U (en) Read operation circuit and semiconductor memory
US11475928B2 (en) Read operation circuit, semiconductor memory, and read operation method
US11762579B2 (en) Read operation circuit, semiconductor memory, and read operation method
CN210575117U (en) Write operation circuit and semiconductor memory
CN211404065U (en) Read operation circuit and semiconductor memory
CN211125039U (en) Write operation circuit and semiconductor memory
CN211125037U (en) Write operation circuit and semiconductor memory
CN210667807U (en) Read operation circuit and semiconductor memory
CN210667805U (en) Write operation circuit and semiconductor memory
CN211125038U (en) Write operation circuit and semiconductor memory
WO2021077784A1 (en) Write operation circuit, semiconductor memory device, and write operation method
CN112712832B (en) Write operation circuit, semiconductor memory and write operation method
CN112712833B (en) Write operation circuit, semiconductor memory and write operation method
CN112712838B (en) Read operation circuit, semiconductor memory, and read operation method
CN112712842B (en) Read operation circuit, semiconductor memory, and read operation method
CN210667808U (en) Read operation circuit and semiconductor memory
CN112712834B (en) Write operation circuit, semiconductor memory and write operation method
CN112712841B (en) Write operation circuit, semiconductor memory, and write operation method
CN112712835B (en) Read operation circuit, semiconductor memory, and read operation method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant