Memory device, peripheral circuit thereof and single-byte data write method thereof
Granted 31 Oct 2017 · no office action yet
Assignee: eMemory Technology Incorporated
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Yih-Lang Lin · Examiner: Pho M Luu · AU 2824 · TC 2800
Life of the application
7 dated eventsAbstract
A memory device, a peripheral circuit thereof and a single-byte data write method thereof are provided. The peripheral circuit includes a Y decoder, a page buffer, and a write circuit. The write circuit is coupled to a memory array and the page buffer through the Y decoder and receives a byte of program data. The write circuit is based on a memory address corresponding to the program data to receive a plurality of bytes of array data stored in the memory array through the Y decoder, and the read array data is written to page buffer through the Y decoder. Next, the program data is written to the memory array through the write circuit and Y decoder, and the array data is written to the memory array by the page buffer.
Description
8 parts›CROSS-REFERENCE TO RELATED APPLICATION
This application claims the priority benefit of U.S. provisional application Ser. No. 62/280,683, filed on Jan. 19, 2016. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
›BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a memory device, and more particular, to a memory device, a peripheral circuit thereof and a single-byte data write method thereof.
2. Description of Related Art
Along with the rapid development of science and technology at the present, a non-volatile memory has been widely used in an electronic apparatus. The non-volatile memory, for example a flash memory, is used to store information for the electronic apparatus, and the importance of a non-volatile memory to an electrical apparatus is increasing. However, due to the limitation of a non-volatile memory semiconductor structure, data is written to a non-volatile memory by a page rather than by a single byte, thus the write performance is affected.
›SUMMARY OF THE INVENTION
The invention provides a memory device, a peripheral circuit thereof and a single-byte data write method thereof, which can receive a single-byte of program data and refresh data of the memory array correspondingly.
The peripheral circuit of a memory device according to the present invention includes a Y decoder, a page buffer, a write circuit and a sense amplifier. The Y decoder is coupled to a memory array of the memory device. The page buffer is coupled to the memory array and the Y decoder. The write circuit is coupled to the memory array and the page buffer through the Y decoder and receives a byte of a program data. The sense amplifier is coupled between the Y decoder and the write circuit and reading a plurality of bytes of a array data stored by the memory array through the Y decoder to provide the read array data to the write circuit. The read array data is based on a memory address corresponding to the program data and the read array data is written to the page buffer through the Y decoder. Next, the program data is written to the memory array through the write circuit and the Y decoder, and the array data is written to the memory array by the page buffer.
A memory device in the present invention includes a memory array and the aforementioned peripheral circuit. The peripheral circuit is coupled to the memory array and receives a byte of a program data to write the program data to the memory array.
A single-byte data write method of a memory device in the present invention includes the following steps. A byte of a program data is received through a write circuit. A plurality of bytes of a array data stored by a memory array are read according to a memory address corresponding to the program data through a sense amplifier and a Y decoder and the array data is written to a page buffer through the write circuit and the Y decoder. The program data is written to the memory array through the write circuit and the Y decoder. The array data is written to the memory array through the page buffer.
In view of the above, in the embodiments of the invention, a memory device, a peripheral circuit thereof and a single-byte data write method thereof are provided. The unselected array data is read and then written to the page buffer by the write circuit. In addition, the selected program data is directly written to the memory array and the array data is written to the memory array through the page buffer. By this way, the data updating for a single-byte data in a one-page writing memory array can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the invention as claimed.
›BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram showing a system of a memory device according to an embodiment of the present invention.
FIG. 2 is a schematic circuit view of a memory array, a Y decoder, a page buffer and a write circuit according to an embodiment of the invention.
FIG. 3 is a schematic circuit diagram of a buffer unit according to an embodiment of the invention.
FIG. 4 is a schematic circuit diagram of a decoding unit according to an embodiment of the invention.
FIG. 5 is a schematic circuit diagram of a write unit according to an embodiment of the invention.
FIG. 6 is a flow diagram illustrating a single-byte data write method of a memory device according to an embodiment of the invention.
FIG. 7 is a flow diagram illustrating a single-byte data write method of a memory device according to another embodiment of the invention.
›DESCRIPTION OF THE EMBODIMENTS · 1 of 4
FIG. 1 is a schematic diagram showing a system of a memory device according to an embodiment of the invention. Please referring to FIG. 1 , a memory device 100 in the present embodiment includes a memory array 110 , a page buffer 120 , a Y decoder 130 , a sense amplifier 140 , a write circuit 150 and a word line decoder 160 , wherein the memory device 100 may be a non-volatile memory device and the memory array 110 , for example, includes a plurality of memory cells arranged in an array (as described below), but the invention is not limited thereto. The page buffer 120 , the Y decoder 130 , the sense amplifier 140 , the write circuit 150 and the word line decoder 160 may be viewed as a peripheral circuit which is coupled to the memory array 110 and receives a byte of program data PDATA from the outside to write the program data PDATA to the memory array 110 .
The memory array 110 is coupled to the page buffer 120 , the Y decoder 130 and the word line decoder 160 , wherein the memory array 110 , the page buffer 120 and the Y decoder 130 are coupled to each other. The sense amplifier 140 is coupled to the Y decoder 130 and the write circuit 150 , and the write circuit 150 is coupled to the Y decoder 130 .
The write circuit 150 receives the program data PDATA and the sense amplifier 140 is coupled to the memory array 110 through the Y decoder 130 to read a plurality of bytes of array data ARDATA stored by the memory array 110 according to a memory address corresponding to the program data PDATA, and to provide the read array data ARDATA to the write circuit 150 .
Next, the write circuit 150 writes the read array data ARDATA to the page buffer 120 through the Y decoder 130 and then the program data PDATA is written to the memory array 110 through the write circuit 150 and the Y decoder 130 , but the program data PDATA is not through the page buffer 120 . The array data ARDATA is written to the memory array 110 by the page buffer 120 and does not cover the program data PDATA.
In this embodiment, the memory address includes a word line address and a bit line address, and the program data PDATA and the array data ARDATA are corresponding to the same word line address, for example. Generally speaking, one page means the memory cells in one word line. Furthermore, when the sense amplifier 140 reads the memory array 110 , the word line decoder 160 may drive the memory array 110 according to the word line address of the memory address which is corresponding to the program data PDATA (i.e., the selected word line address) to enable the memory cells of an page in the memory array 110 (e.g., all memory cells in the same row for a control logic). Then, the bit line address increases gradually to make the sense amplifier 140 read the array data ARDATA stored in the memory cell of the page sequentially.
In this embodiment, when the write circuit 150 receives the array data ARDATA of the memory array 110 through the sense amplifier 140 , the memory array 110 and the Y decoder 130 are turned on and the page buffer 120 is turned off; when the write circuit 150 writes the array data ARDATA to the page buffer 120 , the page buffer 120 and the Y decoder 130 are turned on and the memory array 110 is turned off; when the write circuit 150 writes the program data PDATA to the memory array 110 , the memory array 110 , the page buffer 120 and the Y decoder 130 are turned on; when the array data ARDATA is written to the memory array 110 by the page buffer 120 , the memory array 110 and the page buffer 120 are turned on and the Y decoder 130 is turned off.
In an embodiment of present invention, the array data ARDATA read by the sense amplifier 140 may include the stored data in the memory cells to which the program data PDATA is to be written or may not include the stored data in the memory cells to which the program data PDATA is to be written. After the write circuit 150 has written the array data ARDATA to the page buffer 120 , the memory cells (i.e., one page) corresponding to the memory addresses of the program data PDATA and the array data ARDATA may be erased.
FIG. 2 is a schematic circuit view of a memory array, a Y decoder, a page buffer and a write circuit according to an embodiment of the invention. Please referring to FIG. 1 and FIG. 2 , wherein the same or similar elements use the same or similar labels. In the present embodiment, the memory array 110 includes a plurality of memory cells 111 , the Y decoder 130 includes a plurality of decoding units 131 , the page buffer 120 includes a plurality of buffer units 121 , and the write circuit 150 has a plurality of write units 151 .
In the present embodiment, the Y decoder 130 and the page buffer 120 are coupled to the memory array 110 through a plurality of bit lines (BL 1 , BL 2 , . . . ). In other words, each of the decoding units 131 and each of the buffer units 121 are coupled to the corresponding memory cell 111 through the corresponding bit line (such as BL 1 , BL 2 ). Besides, the Y decoder 130 is coupled to the sense amplifier 140 and the write circuit 150 through a plurality of data lines (DL 1 , DL 2 , . . . ). In one embodiment, the PDATA is 8 bits, and the write circuit 150 has 8 write units 151 , the sense amplifier 140 connected to DL 1 ˜DL 8 , thus sense amplifier send 8-bit ARDATA to write circuit 150 sequentially when the bit line address increase gradually.
FIG. 3 is a schematic circuit diagram of a buffer unit according to an embodiment of the invention. Please referring to FIGS. 1-3 , in the present embodiment, each buffer unit 121 includes a first transmission gate TR 1 , a first inverter INV 1 and a tri-state inverter 310 . The first end of the first transmission gate TR 1 is coupled to the corresponding bit line BL 1 , the second end of the first transmission gate TR 1 is coupled to a internal latch node IN_LAT, the positive control end of the first transmission gate TR 1 receives a page buffer enable signal ENPGBUF, and the negative control end of the first transmission gate TR 1 receives an inverted page buffer enable signal ZENPGBUF. The input end of the first inverter INV 1 is coupled to the internal latch node IN_LAT. An input end IE of the tri-state inverter 310 is coupled to the output end of the first inverter INV 1 and an output end OE of the tri-state inverter 310 is coupled to the internal latch node IN_LAT, wherein the tri-state inverter 310 is controlled by the page buffer enable signal ENPGBUF, the inverted page buffer enable signal ZENPGBUF, a Y decode signal YD 1 and an inverted Y decode signal ZYD 1 . The page buffer enable signal ENPGBUF and the inverted page buffer enable signal ZENPGBUF are complementary, and the Y decode signal YD 1 and the inverted Y decode signal ZYD 1 are complementary.
›DESCRIPTION OF THE EMBODIMENTS · 2 of 4
The tri-state inverter 310 includes transistors M 1 -M 6 (corresponding to the first transistor to the sixth transistor). The source of the transistor M 1 (corresponding to the first source/drain) receives a first reference voltage VCC and the gate of the transistor M 1 (corresponding to the first gate) receives the Y decode signal YD 1 . The source of the transistor M 2 (corresponding to the third source/drain) is coupled to the drain of the transistor M 1 (corresponding to the second source/drain), the gate of the transistor M 2 (corresponding to the second gate) is coupled to the input end IE of the tri-state inverter 310 , and the drain of the transistor M 2 (corresponding to the fourth source/drain) is coupled to the output end OE of the tri-state inverter 310 .
The drain of the transistor M 3 (corresponding to the fifth source/drain) is coupled to the output end OE of the tri-state inverter 310 , the gate of the transistor M 3 (corresponding to the third gate) is coupled to the input end IE of the tri-state inverter 310 . The drain of the transistor M 4 (corresponding to the seventh source/drain) is coupled to the source of the transistor M 3 (corresponding to the sixth source/drain), the gate of the transistor M 4 (corresponding to the fourth gate) receives the inverted Y decode signal ZYD 1 , and the source of the transistor M 4 (corresponding to the eighth source/drain) receives a second reference voltage GND.
The source of the transistor M 5 (corresponding to the ninth source/drain) receives the first reference voltage VCC, the gate of the transistor M 5 (corresponding to the fifth gate) receives the page buffer enable signal ENPGBUF, and the drain of the transistor M 5 (corresponding to the tenth source/drain) is coupled to the drain of the transistor M 1 . The drain of the transistor M 6 (corresponding to the eleventh source/drain) is coupled to the source of the transistor M 3 (corresponding to the sixth source/drain), the gate of the transistor M 6 (corresponding to the sixth gate) receives the inverted page buffer enable signal ZENPGBUF, and the source of the transistor M 6 (corresponding to the twelfth source/drain) receives the second reference voltage GND.
In the present embodiment, when the page buffer enable signal ENPGBUF is enabled (i.e., at a high voltage level) which means the inverted page buffer enable signal ZENPGBUF is disabled (i.e., at a low voltage level), the first transmission gate TR 1 is turned on and the page buffer 120 is also turned on. On the contrary, when the page buffer enable signal ENPGBUF is disabled, the first transmission gate TR 1 is turned off and the page buffer 120 is also turned off Besides, when the Y decode signal YD 1 and the page buffer enable signal ENPGBUF are both enabled (i.e., write circuit 150 write data to page buffer 120 or memory array 110 ), the data line DL 1 connects to the bit line BL 1 , the bit line BL 1 connects to internal latch node IN_LAT, the transistors M 1 , M 4 -M 6 are turned off, and the data on the bit line BL 1 can be easily written to the input end IE of the tri-state inverter 310 ; when the Y decode signal YD 1 is disabled and the page buffer enable signal ENPGBUF is enabled (i.e., page buffer 120 write data to memory array 110 ), the data line DL 1 disconnects from the bit line BL 1 , the bit line BL 1 connects to internal latch node IN_LAT, the transistors M 1 and M 4 are turned on, and the latched data will write to memory array 110 through the bit line BL 1 ; once the page buffer enable signal ENPGBUF is disabled, the bit line BL 1 disconnects from internal latch node IN_LAT, the transistors M 5 and M 6 are turned on, and the data is latched at the internal latch node IN_LAT in the buffer unit 121 .
FIG. 4 is a schematic circuit diagram of a decoding unit according to an embodiment of the invention. With reference to FIG. 1 , FIG. 2 , and FIG. 4 , in this embodiment, a decoding unit 131 includes a second transmission gate TR 2 . The first end of the second transmission gate TR 2 is coupled to the corresponding bit line BL 1 , the second end of the second transmission gate TR 2 is coupled to the corresponding data line DL 1 , the positive control end of the second transmission gate TR 2 receives the Y decode signal YD 1 , and the negative control end of the second transmission gate TR 2 receives the inverted Y decode signal ZYD 1 . When the Y decode signal YD 1 is enabled (i.e., at a high voltage level) which means the inverted Y decode signal ZYD 1 is disabled (i.e., at a low voltage level), the second transmission gate TR 2 is turned on and the Y decoder 130 is also turned on. On the contrary, when the Y decode signal YD 1 is disabled, the second transmission gate TR 2 is turned off and the Y decoder 130 is also turned off. In an embodiment of the invention, there are M bytes in one page, the number N of the bit lines (such as BL 1 , BL 2 ) is 8 times of M (i.e. N=8×M). Thus, one data line (such as DL 1 , DL 2 , . . . ) connects to M Decoding units 131 . And, the bit lines will be BL 1 ˜BL N , the Y decode signals will be YD 1 ˜YDN, and the inverted Y decode signals will be ZYD 1 ˜ZYDN.
In an embodiment of the invention, each of bit lines corresponds to a Y decode signal (such as YD 1 ˜YDN) and an inverted Y decode signal (such as ZYD 1 ˜ZYDN), and the decode signals (such as YD 1 ˜YDN) may be partially enabled, partially disabled, simultaneously enabled or simultaneously disabled. The first transmission gates (such as TR 1 ) of the the page units (such as 121 or 300 ) are received the same page buffer enable signal (such as ENPGBUF) and the same inverted page buffer enable signal (such as ZENPGBUF), i.e. the page buffer enable signals (such as ENPGBUF) received by the page units (such as 121 or 300 ) are simultaneously enabled or simultaneously disabled.
In an embodiment of the invention, the memory array 110 only performs a page erase operation or a page program operation, i.e. the memory cells (such as 111 ) in the same word line are simultaneously erased or simultaneously programmed. When a byte write scheme is performing (i.e. writing the program data PDATA into the memory array 110 ), the Y decode signals (such as YD 1 ˜YDN) corresponding to the bit lines (such as BL 1 ˜BL N ) for transmitting the program data PDATA are enabled, the other Y decode signals (such as YD 1 ˜YDN) are disabled, and the page buffer enable signal (such as ENPGBUF) is enabled. Therefore, the program data PDATA is written to the memory array 110 through the write circuit 150 and the Y decoder 130 while the array data ARDATA is written to the memory array 110 by the page buffer 120 .
›DESCRIPTION OF THE EMBODIMENTS · 3 of 4
FIG. 5 is a schematic circuit diagram of a write unit according to an embodiment of the invention. Referring to FIGS. 1, 2 and 4 , in the present embodiment, each writing unit 151 includes a third transmission gate TR 3 , a fourth transmission gate TR 4 , a second inverter INV 2 and a third inverter INV 3 . The first end of the third transmission gate TR 3 receives the array data ARDATA, the positive control end of the third transmission gate TR 3 receives an inverted data selection signal ZDSL, and the negative control end of the third transmission gate TR 3 receives a data selection signal DSL.
The first end of the fourth transmission gate TR 4 receives the program data PDATA, the second end of the fourth transmission gate TR 4 is coupled to the second end of the third transmission gate TR 3 , the positive control end of the fourth transmission gate TR 4 receives the data selection signal DSL, and the negative control end of the third transmission gate TR 3 receives the inverted data selection signal ZDSL. The input end of the second inverter INV 2 is coupled to the second end of the third transmission gate TR 3 . The input end of the third inverter INV 3 is coupled to the output end of the second inverter INV 2 and the output end of the third inverter INV 3 is coupled to the corresponding data line DL 1 , and the control end of the third inverter INV 3 receives a write enable signal ENWR.
In the present embodiment, when the data selection signal DSL is enabled (i.e., at a high voltage level) which means the inverted data selection signal ZDSL is disabled (i.e., at a low voltage level), the fourth transmission gate TR 4 is turned on, the third transmission gate TR 3 is turned off, and it also means the program data PDATA is provided to the second inverter INV 2 . On the contrary, when the data selection signal DSL is disabled, the third transmission gate TR 3 is turned on, the fourth transmission gate TR 4 is turned off, and it also means the array data ARDATA is provided to the second inverter INV 2 .
FIG. 6 is a flow diagram illustrating a single-byte data write method of a memory device according to an embodiment of the invention. Referring to FIG. 6 , a single-byte data write method comprises the following steps. In step S 610 , a byte of a program data is received through a write circuit. In step S 620 , a plurality of bytes of an array data stored by a memory array are read through a sense amplifier and a Y decoder according to a memory address corresponding to the program data and the array data is written to a page buffer through the write circuit and the Y decoder. Next, in step S 630 , memory cells of the memory array corresponding to the memory address of the read array data are erased after the write circuit has written the array data to the page buffer. In step S 640 , the program data is written to the memory array through the write circuit and the Y decoder. In the same time, the array data is written to the memory array through the page buffer.
FIG. 7 is a flow diagram illustrating a single-byte data write method of a memory device according to another embodiment of the invention. Referring to FIG. 7 , a single-byte data write method of the present embodiment comprises the following steps. In step S 710 , a selected word line address and a selected bit line address are set. In step S 720 , the bit line address gradually increases. In step S 730 , a byte of unselected array data in a page of a memory array is read. Next, in step S 740 , the array data is stored in a page buffer.
In step S 750 , it is determined whether the bit line address corresponds to the last unread and unselected array data in the page. When the bit line address doesn't correspond to the last unread and unselected array data in the page that means the result of the judgment at step S 750 is “NO”, the process returns to step S 720 . Otherwise, when the bit line address corresponds to the last unread and unselected array data in the page, the result of the judgment at step S 750 is “YES”, the reading of the array data is stopped and then step S 760 is executed.
In step S 760 , the page is erased. Finally, in step S 770 , the program data (i.e., the selected data) is directly written to the memory array to refresh the stored data in the page and the array data (i.e., the unselected data) is written to the memory array through the page buffer to rewrite the stored data in the page.
The sequence of aforementioned steps S 610 , S 620 , S 630 , S 640 , S 710 , S 720 , S 730 , S 740 , S 750 , S 760 and S 770 is used to describe the present invention, and the invention is not intended to limit thereto. Besides, the detail of aforementioned steps S 610 , S 620 , S 630 , S 640 , S 710 , S 720 , S 730 , S 740 , S 750 , S 760 and S 770 may be deduced by analogy according to the exemplary embodiments depicted in FIG. 1 to FIG. 5 , and therefore description is omitted here.
In an embodiment of the invention, assume the size of a page is M bytes, and the single-byte data write method may be counted from 1 to M, i.e. the array data in the page are read byte by byte, so as to determine whether the reading of the array data is performed. In other words, the reading of the array data is performed when the count result is smaller than M, and the reading of the array data is stopped when the count result is equal to or greater than M. Wherein, M is an integer, the reading of the array data are referred to the steps S 720 to S 750 of FIG. 7 , and therefore description is omitted here.
In summary, the embodiments of the invention provide a memory device, a peripheral circuit thereof and a single-byte data write method thereof. The write circuit receives an unselected array data and writes the unselected array to a page buffer. A selected program data is directly written to a memory array and the array data is written to the memory array through the page buffer. By this way, the data refreshment for a single-byte data in a one-page writing memory array can be realized.
›DESCRIPTION OF THE EMBODIMENTS · 4 of 4
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Claims as granted
20 claimsLog in to read the claims of this application.
Log in to unlockClassifications
21 codes- G11C7/06
- G11C8/10
- G11C7/10
- G11C7/22
- H10B69/00
- H10B41/70
- H10B41/60
- H10B41/40
- H10B41/35
- H10B41/30
- H10B41/20
- H10B41/10
- H10B41/00
- H10D30/01
- H10D30/68
- H10D30/69
- H10D62/10
- H10D62/13
- H10D62/17
- H10D64/27
- H10D84/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock