Semiconductor device and method for operating the same
The integration of NOR and NAND flash memories with a controller for coordinated operations in a semiconductor device simplifies processing and reduces programming time by allowing simultaneous programming and reading across both memory types.
Patent Information
- Application Number
- JP2023097574
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-06-14
AI Technical Summary
Conventional stacked flash memory operations require individual selection and operation of NOR and NAND flash memories, complicating processing on the host device side.
A semiconductor device integrating NOR and NAND flash memories with a controller that coordinates operations based on commands received from the input/output circuit, allowing simultaneous programming and reading across both memory types.
This integration simplifies host device processing by enabling coordinated operation of NOR and NAND flash memories, reducing programming time and improving convenience.
Smart Images

Figure 0007569891000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a semiconductor device including a NOR flash memory and a NAND flash memory. [Background technology]
[0002] NOR flash memory allows random access and high-speed readout, whereas NAND flash memory allows for highly integrated memory cell arrays and allows large amounts of data to be programmed quickly, but requires longer read times than NOR flash memory.
[0003] In recent years, an increasing number of flash memories are equipped with serial interfaces that aim to increase the speed of input and output data with a small number of terminals. An example of a serial interface is the standard serial peripheral interface (SPI), which requires an 8-bit instruction code and a 24-bit address.
[0004] NOR type flash memory is equipped with a function for continuously inputting and outputting data, such as burst mode or page mode. For example, in a read operation, as shown in FIG. 1(A), when the chip select signal / CS is set to low active and a read command and address are input from an external terminal in synchronization with a serial clock signal, the column address is automatically incremented, and the read data is sequentially output from the external terminal in synchronization with the serial clock signal. In a program operation, when a program command and address are input from an external terminal, the column address is automatically incremented, and the program data input from the external terminal in synchronization with the serial clock signal is programmed into the memory cells. Such continuous read or write is terminated by setting the chip select signal / CS to a high level (Patent Document 1).
[0005] Meanwhile, NAND type flash memories equipped with a serial interface have also been put to practical use to ensure compatibility with NOR type serial flash. When performing continuous reading with NAND type flash memories, when a continuous read command and address are input from an external terminal, data read from a page of the memory cell array is held in a page buffer / sense circuit, the column address is automatically incremented, and the data held in the page buffer / sense circuit is output from an external terminal in synchronization with a serial clock signal.
[0006] FIG. 1B shows a timing chart of the continuous read operation of the NAND type flash memory. The chip select signal CS is made low active, an 8-bit page data read command (for example, "13h") and a 16-bit page address PA (row address for selecting a block and a page) are input, and after a latency corresponding to the time when the data of the selected page of the memory cell array is transferred to the page buffer / sense circuit, an 8-bit read command for continuous reading and a 16-bit address (this is an empty dummy address) are input. The NAND type flash memory is put into a continuous read mode by inputting these series of commands and addresses, the input page address PA is automatically incremented, and the page data read out sequentially is serially output to the outside in synchronization with the serial clock. During the period when the chip select signal CS is at a low level, that is, during the continuous read mode, the flash memory does not need to input a page data read command and a page address PA (Patent Document 1). [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Patent No. 6232109 Summary of the Invention [Problem to be solved by the invention]
[0008] NOR flash memory allows high-speed reads through random access and has excellent durability and retention characteristics, making it suitable for storing boot codes and firmware for system startup. On the other hand, NOR flash memory requires several tens of times longer programming time per byte than NAND flash memory, and consumes a lot of power when programming, so it is not considered to be an excellent storage memory.
[0009] Therefore, stacked flash memories in which a NOR flash memory chip (die) and a NAND flash memory chip (die) are stacked have been put to practical use. When using stacked flash memories, the host device activates either the NOR flash memory or the NAND flash memory using a chip select signal CS as shown in Figures 1(A) and 1(B), and, for example, programs a large amount of data into the NAND flash memory and a small amount of data that requires high-speed reading into the NOR flash memory.
[0010] However, the conventional operating method of stacked flash memories requires that the NOR flash memory and the NAND flash memory be selected and operated separately, which complicates the processing on the host device side, and there is a demand for an improvement in the operating method of stacked flash memories.
[0011] The present invention aims to solve such conventional problems and to improve the operation of semiconductor devices by integrating NAND type flash memory without lowering the performance of NOR type flash memory. [Means for solving the problem]
[0012] The semiconductor device of the present invention includes an input / output circuit, a NOR flash memory and a NAND flash memory connected to the input / output circuit via an internal bus, and a controller that controls operation of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit.
[0013] In one embodiment, the controller programs the data received from the input / output circuit into both the NOR flash memory and the NAND flash memory. In one embodiment, the controller programs the NAND flash memory while programming the data received from the input / output circuit into the NOR flash memory. In one embodiment, the controller reads the data programmed into the NAND flash memory and programs the read data into the NOR flash memory. In one embodiment, the controller programs the data into the NOR flash memory in succession in response to a successive program command. In one embodiment, the controller reads a first page of the NOR flash memory in response to a successive read command, and then reads a second page that is successive to the first page from the NAND flash memory. In one embodiment, the controller reads a first page of the NOR flash memory in response to a successive read command, and then reads a second page that is successive to the first page from the NAND flash memory. In one embodiment, the controller receives a command for the NOR flash memory from the input / output circuit and generates a command for the NAND flash memory in response to the command. In one embodiment, the controller receives an address for the NOR flash memory from the input / output circuit and generates an address for the NAND flash memory in response to the address. In one embodiment, a chip on which a NOR flash memory is formed and a chip on which a NAND flash memory is formed are stacked.
[0014] In the method of operating a semiconductor device including a NOR flash memory and a NAND flash memory according to the present invention, a controller of the NOR flash memory controls the operation of the NOR flash memory and the NAND flash memory based on a command received via an input / output circuit.
[0015] In one embodiment, the controller programs the data received from the input / output circuit into both the NOR flash memory and the NAND flash memory. In one embodiment, the controller programs the NAND flash memory while programming the data received from the input / output circuit into the NOR flash memory. In one embodiment, the controller reads the data programmed into the NAND flash memory and programs the read data into the NOR flash memory. In one embodiment, the controller programs the data received from the input / output circuit into the NAND flash memory, then reads data from the NAND flash memory and provides the read data to the NOR flash memory. In one embodiment, the controller continuously programs data into the NOR flash memory in response to a continuous program command. In one embodiment, when the unit of one page of the NOR flash memory is M bytes and the unit of one page of the NAND flash memory is M×k (k is a positive integer), the controller programs pages P0 and after of the NOR flash memory based on data read from the NAND flash memory after programming of the first page P0 of the NOR flash memory is completed. In one embodiment, when programming page P1 of the NOR flash memory, the controller selectively reads data corresponding to page P1 from data read from a selected page of the NAND flash memory. In one embodiment, the controller loads data to be programmed into the next page of the NAND flash memory from the input / output circuit while programming page P1. Effect of the Invention
[0016] According to the present invention, the operations of the NOR flash memory and the NAND flash memory are controlled based on commands received from the input / output circuit, enabling the NOR flash memory and the NAND flash memory to operate in cooperation with each other, thereby reducing the processing load of the host device and improving the convenience of the semiconductor device. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1A is a timing chart explaining the successive read operation of a NOR type flash memory, and FIG. 1B is a timing chart explaining the successive read operation of a NAND type flash memory. [Diagram 2] 1 is a block diagram showing an overall configuration of a stacked flash memory according to an embodiment of the present invention; [Diagram 3] 1 is a diagram showing an internal configuration of a stacked flash memory according to an embodiment of the present invention; [Figure 4] 4 is a timing chart showing a dual mode write / read operation of the stacked flash memory according to the embodiment of the present invention; [Diagram 5] 1A and 1B are diagrams for explaining a program operation in the stacked flash memory of the present embodiment; [Figure 6] 1A and 1B are diagrams for explaining a program operation in the stacked flash memory of the present embodiment; [Figure 7] 1A and 1B are diagrams for explaining a read operation in the stacked flash memory of the present embodiment. [Figure 8] FIG. 11 is a diagram showing another configuration example of the stacked flash memory according to the embodiment of the present invention. [Figure 9] FIG. 11 is a diagram showing another configuration example of the stacked flash memory according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] A semiconductor device according to the present invention includes at least one NOR flash memory and at least one NAND flash memory as different types of flash memories. In one embodiment, the semiconductor device includes a package in which a chip on which a NOR flash memory is formed and a chip on which a NAND flash memory is formed are stacked. EXAMPLES
[0019] Next, an embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 2, a stacked flash memory 10 according to the embodiment of the present invention is connected to a host device 30 via an external bus 20. The stacked flash memory 10 includes a NOR flash memory 100, a NAND flash memory 200, a controller 300, and an internal bus 400. The NOR flash memory 100, the NAND flash memory 200, and the controller 300 are connected to each other via the internal bus 400, and data can be transferred between them via the internal bus 400. The external bus 20 is not particularly limited, but may be, for example, an SPI, a quad SPI, or an octal SPI. If the external bus 20 is compatible with SPI, the internal bus 400 also corresponds to SPI.
[0020] The stacked flash memory 10 includes, but is not limited to, a stack of a chip (or die) on which a NOR flash memory 100 and a controller 300 are formed, and a chip (or die) on which a NAND flash memory 200 is formed. The stacked chips are electrically connected to each other, for example, a conductive pad formed on a surface of one chip is directly connected to a conductive pad formed on a surface of the other chip, or indirectly connected via a conductive member. Alternatively, the electrical connection between the chips may be realized by a conductive member penetrating between the stacked chips.
[0021] The stacked flash memory 10 includes a package (e.g., resin-sealed or ceramic-sealed) that houses stacked chips. The package includes external terminals for providing an electrical interface between the internal chips and the outside. The external terminals include, for example, a BGA or LGA formed on the back surface of the package, and may include data input / output terminals, address terminals, clock terminals, control terminals, power supply terminals, and the like.
[0022] The host device 30 outputs commands (instructions), addresses, clock signals, control signals, etc. to the stacked flash memory 10 via the external bus 20, causing the stacked flash memory 10 to execute desired operations. It should be noted here that the commands used by the host device 30 comply with the specifications of a NOR flash memory, that is, the host device 30 uses the stacked flash memory 10 as if it were a NOR flash memory, issues program commands, read commands, and erase commands for a NOR flash memory, and the NAND flash memory 200 is operated in a manner invisible to the user.
[0023] 3 is a diagram showing the internal configuration of a stacked-type flash memory 10 of this embodiment. The NOR-type flash memory 100 includes a NOR-type memory cell array 110 in which a plurality of memory cells are connected in parallel between a bit line and a source line, an X-DEC 120 that selects and drives a word line based on a row address, an SA / WA 130 that senses data read from a memory cell and writes data to the memory cell, a buffer 140 that holds one page of data received from an input / output circuit 330 during a program operation and transfers data selected based on a column address to the SA / WA 130, and a Y-DEC 150 that selects a bit line based on the column address.
[0024] The NOR flash memory 100 is equipped with a function for continuously inputting and outputting data, and can read and program data in units of pages. The unit of one page is not particularly limited and can be set arbitrarily, for example, 256 bytes. In one embodiment, the buffer 140 of the NOR flash memory 100 can store one page of data, and during a program operation, the buffer 140 holds data received via the input / output circuit 330. The data held in the buffer 140 is selected based on a column address of the Y-DEC 150, and the selected data is transferred to the SA / WA (sense amplifier / write amplifier) 130, and the SA / WA 130 programs a selected memory cell of a selected bit based on the transferred data.
[0025] The NAND type flash memory 200 includes a NAND type memory cell array 210 in which a plurality of memory cells arranged in a matrix are connected in series to form a NAND string, an X-DEC 220 that selects and drives blocks and word lines based on a row address, a page buffer / sense circuit 230 that holds data read from a selected page of the memory cell array 210 and holds data to be programmed into the selected page, a cache register 240 that transfers data (for example, in units of 1 / 2 page) between the page buffer / sense circuit 230, a Y-DEC 250 that selects bit lines based on a column address, and a controller 260 connected to an internal bus 400. Although not shown here, the stacked type flash memory 10 may also include a voltage generation circuit and a clock generation circuit that generate voltages required for reading, programming, erasing, and the like of data.
[0026] The controller 300 includes a NOR control 310 and a NAND control 320, and is connected to an input / output circuit 330 via an internal bus 400. The input / output circuit 330 is connected to a host device 30 via an external bus 20, and receives commands, addresses, data, and the like from the host device 30. The input / output circuit 330 is also connected to the NOR flash memory 100 and the NAND flash memory 200 via the internal bus 400.
[0027] The input / output circuit 330 supports SPI, more preferably quad SPI or octal SPI, and data transfer in the external bus 20 and the internal bus 400 is performed in synchronization with a clock signal.
[0028] In one embodiment, the input / output circuit 330 includes an input / output terminal, a clock terminal, etc., and inputs and outputs data in synchronization with the rising edge and / or the falling edge of a clock signal supplied to the clock terminal. During a program operation, data taken in through the input / output circuit 330 is provided to the NOR flash memory 100 or the NAND flash memory 200 via the internal bus 400, and programming into the NOR flash memory 100 or the NAND flash memory 200 is possible.
[0029] The controller 300 controls the operations of the NOR flash memory 100 and the NAND flash memory 200 based on commands received from the host device 30, and further controls data transfer over the internal bus 400. The NOR control 310 controls the operations of the NOR flash memory 100, and the NAND control 320 controls the operations of the NAND flash memory 200. More specifically, the NOR control 310 controls operations such as reading, programming, and erasing of the NOR flash memory 100 based on commands received via the input / output circuit 330, or causes the NAND control 320 to generate internal commands and internal addresses for controlling the NAND flash memory 200 based on specific commands received from the input / output circuit 330.
[0030] For example, when a specific command from the host device 30 corresponds to a command including a program to the NAND flash memory 200, the NOR control 310 causes the NAND control 320 to generate an internal command and an internal address for programming the NAND flash memory 200, and provides the generated internal command and internal address to the controller 260 of the NAND flash memory 200 via the input / output circuit 330 and the internal bus 400. The NAND control 320 generates an internal address corresponding to the address received from the host device 30, for example, by referring to the LUT. In response to the received internal command, the controller 260 of the NAND flash memory 200 programs the data received via the input / output circuit 330 and the internal bus 400 into the selected page of the NAND memory array 210.
[0031] Furthermore, if the specific command corresponds to a command including reading the NAND flash memory 200, the NOR control 310 causes the NAND control 320 to generate an internal command and an internal address for reading the NAND flash memory 200, and provides the generated internal command and internal address to the controller 260 of the NAND flash memory 200 via the input / output circuit 330 and the internal bus 400. In response to the received internal command, the controller 260 of the NAND flash memory 200 outputs data read from the selected page of the NAND memory array 210 to the external bus 20 via the internal bus 400 and the input / output circuit 330.
[0032] In one embodiment, when the stacked flash memory 10 receives an instruction (command) conforming to the NOR flash memory from the host device 30, the NOR control 310 controls the NOR flash memory 100 and / or the NAND flash memory 200 via the NAND control 320 in response to the instruction. For example, when the host device 30 programs data such as a boot code or firmware into the stacked flash memory 10, it issues a specific command (e.g., a continuous write command or a page mode write command), address, and data.
[0033] In one embodiment, upon receiving a specific command from the host device 30 via the I / O circuit 330, the NOR control 310 controls the programming of the NOR flash memory 100 and causes the NAND control 320 to issue an internal command and an internal address for programming the NAND flash memory 200. The NOR flash memory 100 writes data received from the I / O circuit 330 to the NOR array 110, and the NAND flash memory 200 writes data received from the I / O circuit 330 to the NAND array 210, either in parallel with the writing of the NOR flash memory 100 or independently.
[0034] In one embodiment, when the host device 30 reads data such as boot data or firmware from the stacked flash memory 10, it issues a specific command (e.g., a continuous read command or a page mode read command) and an address. When the NOR control 310 receives a specific command from the host device 30 via the input / output circuit 330, it controls the reading of the NOR flash memory and causes the NAND control 320 to issue an internal command and an internal address for reading the NAND flash memory 200. The NOR flash memory 100 outputs data read from the NOR array 110 from the input / output circuit 330, and the NAND flash memory 200 outputs data read from the NAND array 210 from the input / output circuit 330 after reading the NOR flash memory or independently.
[0035] Next, an example of continuously programming data into the stacked flash memory 10 of this embodiment will be described. Fig. 4 is a timing chart for programming data, and Figs. 5 and 6 are diagrams for explaining the operation transition of the NOR flash memory and the NAND flash memory. In the figures, Tpgm_NOR is the programming time for one page of the NOR flash memory, Tpgm_NAND is the programming time for two pages of the NAND flash memory, and Tread is the data read time from the NAND flash memory to the NOR flash memory.
[0036] As an example, it is assumed that one page of the NOR flash memory 100 is 256 bytes, and one page of the NAND flash memory 200 is 2 Kbytes. In other words, one page of data in the NAND flash memory 200 corresponds to eight pages of data in the NOR flash memory 100.
[0037] During a program operation, the NOR flash memory 100 stores 256 bytes of data in the buffer 140, and programs the data read from the buffer 140 in units of bits, bytes, or words into selected memory cells of a selected page. On the other hand, the NAND flash memory 200 stores 2K bytes of data in the cache register 240 / page buffer SA230, and programs the data held in the page buffer / SA230 into the selected page in units of pages. Therefore, the NAND flash memory is capable of high-speed programming, and the program time per unit bit of the NOR flash memory 100 is much greater than that of the NAND flash memory 200.
[0038] When the controller 300 receives a command and an address from the host device 30 via the input / output circuit 330, it writes data continuously in page mode to the NOR flash memory 100 and the NAND flash memory 200. In the continuous writing, for example, the first row address of the NOR flash memory 100 is specified, and then the row address and column address are automatically generated by a counter. The row address of the NAND flash memory 200 is automatically generated by the NAND control 320 or the controller 260. The continuous writing is ended, for example, by toggling the CS / signal as in the conventional case (see FIG. 1(A)), or by inputting a continuous writing end command to the stacked flash memory 10.
[0039] When the continuous write operation is started, data is fetched from the external bus 20 via the input / output circuit 330. During the period from time t0 to t1 in Fig. 4, two pages of data from the NAND flash memory 200 are fetched from the input / output circuit 330. The fetched data is sequentially stored in the buffer 140 of the NOR flash memory 100 via the internal bus 400, and in parallel with this, is also sequentially stored in the cache register 240 of the NAND flash memory 200. After storing one page of data, the cache register 240 transfers this one page of data to the page buffer / SA 230 and loads the next page of data.
[0040] The data stored in the buffer 140 is transferred to the SA / WA 140 in units of bits or in units of multiple bits, and the SA / WA 140 programs the received data into selected memory cells (one bit or multiple bits) of the selected page P0. This is shown in Fig. 5(A). At time t1, as shown in Fig. 5(B), loading of two pages of data from the external bus 20 to the cache register 240 of the NAND flash memory 200 is completed.
[0041] When data loading from the external bus 20 ends at time t1, the NAND flash memory 200 programs the stored two pages of data during the period from time t1 to t2. This is shown in Fig. 5(C). The first page of data held in the page buffer / SA 230 is programmed into the selected page P0 of the NAND array, and then the data held in the cache register 240 is transferred to the page buffer / SA 230, and this data is programmed into the selected page P1. While the NAND flash memory 200 is being programmed, the NOR flash memory 100 is programming page P0.
[0042] During the period from time t2 to t3, the next two pages of data are loaded into the NAND flash memory 200. This state is shown in Fig. 5(D). At time t3, when the data loading ends, the programming of page P0 in the NOR flash memory 100 ends. This state is shown in Fig. 5(E).
[0043] During the period from time t3 to t4, the NAND flash memory 200 programs the stored data for two pages. This state is shown in Fig. 5(F). Data is programmed into selected pages P2 and P3 of the NAND array 210. The state when the programming of the NAND flash memory 200 is completed at time t4 is shown in Fig. 6(G).
[0044] As soon as the program is completed at time t4, in the period from time t4 to time t5, data of page P0 of the NAND flash memory is read out to program page P1 of the NOR flash memory 100, and the read data is programmed into page P1 of the NOR flash memory 100. This is shown in FIG. 6(H). Data of the selected page P0 of the NAND memory array is read out to the page buffer / SA 230, and then the read data is transferred to the cache register 240. The data of page P0 held in the cache register 240 includes data for eight pages, pages P0 to P7 of the NOR flash memory 100. The controller 260 selects 256 bytes of data of column addresses 257-512 of the cache register 240 via the Y-DEC 250, and causes the 256 bytes of data to be output to the internal bus 400. The NOR flash memory 100 sequentially stores the 256 bytes of data received from the internal bus 400 in the buffer 140, then transfers the selected data in the buffer 140 to the SA / WA 130 via the Y-DEC 150, and programs the selected memory cells of page P1 of the NOR memory array.
[0045] At time t5, the data transfer to the buffer 140 is completed, as shown in Fig. 6(I). The data held in the page buffer / SA 230 and the cache register 240 of the NAND flash memory 200 is reset, and preparations are made for loading the next two pages of data.
[0046] During the period from time t5 to t6, the next two pages of data are loaded from the external bus 20 into the NAND flash memory 200. This state is shown in FIG. 6(J). During this period, programming of page P1 is being performed in the NOR flash memory 100. During the period from time t6 to t7, the NAND flash memory 200 programs the loaded two pages of data into pages P4 and P5. This state is shown in FIG. 6(K). At time t7, programming of page P5 in the NAND flash memory 200 is completed, and at approximately the same timing, programming of page P1 in the NOR flash memory 100 is completed. This state is shown in FIG. 6(L).
[0047] In this way, the data read from the NAND flash memory 200 is programmed into pages P1 and after of the NOR flash memory 100. Fig. 4 is a timing chart when two pages of data, pages P0 and P1, programmed in the NAND flash memory 200, are programmed into the NOR flash memory 100. Assuming that the SPI clock signal is 100 MHz, data output is performed in synchronization with DTR (rising edge and falling edge), Tpgm_NOR ≈ 0.7 ms, and Tread = 400 us, the time Ta required to program 16 pages (NOR_Page0 to Page15) into the NOR flash memory 100 in the stacked flash memory 10 of this embodiment is: Ta ≒ (400us × 16) + 0.7ms < 8ms. On the other hand, the time Tb required to program 16 pages in a NOR type flash memory in a conventional stack type flash memory is Tb ≒ 16 × 0.7 ms = 11.2 ms. In this way, by storing data in the high-speed programmable NAND flash memory during a program operation and using it as if it were a cache memory, the time required to program the NOR flash memory can be significantly reduced.
[0048] 6, if six pages of data, pages P0 to P5, programmed in the NAND flash memory 200, are programmed in the NOR flash memory 100, 48 pages of data will be programmed in the NOR flash memory 100. The larger the data size to be programmed in the NOR flash memory 100, the more the time required for programming can be reduced.
[0049] As described above, according to this embodiment, the NOR flash memory and the NAND flash memory are linked or cooperated with each other, and during a program operation, data is loaded into the NOR flash memory 100 and the NAND flash memory 200, the data programmed into the NAND flash memory 200 is read from there, and the read data is programmed into the NOR flash memory 100. As a result, the program time can be significantly reduced compared to the case where data is programmed into a NOR flash memory alone.
[0050] Next, an operation of continuously reading data from the stacked flash memory 10 of this embodiment will be described. Here, as shown in FIG. 4, it is assumed that the NOR flash memory 100 stores NOR_Page0 to Page15 (one page is 256 bytes, and NOR_Page0 to Page15 correspond to two pages, pages P0 and P1, of the NAND flash memory), and the NAND flash memory 200 stores pages P0 to P63 (one page is 2K bytes). Pages P0 to P63 correspond to, for example, one block of data of the NAND memory array, and the data to be read is, for example, 1 Mb (128 Kbytes) of boot data. The controller 300, for example, refers to the LUT and manages the addresses of NOR_Page0 to Page15 stored in the NOR flash memory and the addresses of pages P0 to P63 stored in the NAND flash memory.
[0051] FIG. 7A is a timing chart when data on pages P0 to P63 are successively read out, and FIGS. 7B to 7E are diagrams for explaining the operation transitions of a NOR type flash memory and a NAND type flash memory.
[0052] When the controller 300 receives a NOR-specification continuous read command from the host device 30, it controls the continuous read of the NOR flash memory 100 and the NAND flash memory 200 in response to the command. First, the NOR flash memory 100 successively reads 16 pages of 4K-byte data from NOR_Page0 to Page15 in order from the NOR memory array 110 based on the address received from the host device 30, or based on the predetermined address if the address to read is predetermined. As described above, NOR_Page0 to Page15 correspond to the 4K-byte data of pages P0 and P1 of the NAND flash.
[0053] The unit of reading from the NOR memory array 110 may be a bit unit, a byte unit, a word unit, or any other unit. The X-DEC 120 generates row addresses for reading NOR_Page0 to Page15. The Y-DEC 150, for example, automatically increments an address counter, generates column addresses 0 to 255 for reading NOR_Page0, and when reading of NOR_Page0 is completed, resets the address counter again, and generates column addresses 1 to 255 for continuous reading of NOR_Page1. The data read from the NOR memory array 110 may be temporarily stored in the buffer 140, or may be output to the input / output circuit 330 via the internal bus 400 without being stored in the buffer 140.
[0054] While the NOR flash memory 100 is continuously reading NOR_Page0 to Page15, the NAND flash memory 200 in the ready state selects page P2 of the NAND memory array 210 via the X-DEC 220, reads page P2, transfers the data of page P2 to the cache register 240, and then selects the next page P3 and reads page P3. This is shown in FIG. 7B.
[0055] When the continuous reading of NOR_Page0 to Page15 by the NOR flash memory 100 is completed, the NAND flash memory 200 then starts reading of Pages P2 to P63.
[0056] For example, when the clock signal by SPI is 100 MHz and data is read in synchronization with the DTR, the time required to read 4 KB of NOR_Page0 to Page15 from the NOR flash memory 100 is about 40 us, as shown in Fig. 7(A). This read time is roughly equal to or slightly longer than the latency of the array read of the NAND flash memory 200. Therefore, by the time the NOR flash memory 100 performs continuous reads of NOR_Page0 to Page15, the NAND flash memory 200 finishes the array read of page P2 and sets the data of page P2 in the cache register 240 via the page buffer / SA 230.
[0057] In this way, as soon as the NOR flash memory 100 finishes the continuous reading of 4 KB (2 x 2 KB) of NOR_Page0 to Page15, the NAND flash memory 200 starts continuous reading of page P2. This is shown in Figure 7 (C). After that, the NAND flash memory sequentially performs continuous reading from page P3 to page P63. This is shown in Figures 7 (D) and (E).
[0058] If the time required to read one page of a NAND flash memory is 40 us, then the time required for the NAND flash memory 200 to continuously read 62 pages from P2 to P63 is 40 us x 62 = 2480, and as a result, the time required to continuously read 64 pages is 40 us + (40 us x 62) ≈ 2.6 ms.
[0059] Such continuous reading according to this embodiment effectively offsets the array read latency of the NAND flash memory, enabling faster reading than continuous reading of 64 pages of data from a single NAND flash memory.
[0060] In the above embodiment, an example has been shown in which part of the data loaded from the external bus is programmed into the NOR flash memory 100, and the remaining data is programmed from the NAND flash memory 200, but the data programmed into the NAND flash memory 200 can also be copied to the NOR flash memory 100, for example, when the stacked flash memory 10 is not being used, or by background processing, etc. In this case, a backup of the data written into the NOR flash memory 100 can be left in the NAND flash memory 200, and data that requires reliability, such as boot data, can be guaranteed.
[0061] In the above embodiment, an example of programming the stack type flash memory 10 has been described, but in reading, data can be read from either the NOR type flash memory 100 or the NAND type flash memory 200. For example, boot data programmed in the NOR type flash memory 100 can be read at high speed by SPI, as in the conventional case. The buffer 140 either functions to pass data through or is bypassed so as not to affect the reading speed.
[0062] In the above embodiment, as shown in Fig. 3, the input / output circuit 330 is connected to the controller 300 via the internal bus 400, but this is not limiting, and as shown in Fig. 8, the controller 300A may include the input / output circuit 330 and be connected to the external bus 20. Also, although the NAND flash memory 200 is configured to include the controller 260, the controller 300A may directly control the NAND flash memory 200 via the input / output circuit 330 as shown in Fig. 8. In this case, the internal command and internal address generated by the NAND control 320 are provided to the NAND flash memory 200 via the input / output circuit 330 and the internal bus 400.
[0063] Furthermore, in the above embodiment, the NOR flash memory 100 is configured to include a buffer 140 for holding program data, but the buffer 140 may be included in the input / output circuit 330 as shown in Fig. 9. In this case, data read from the NAND flash memory 200 is held in the buffer 140 of the input / output circuit 330, and the data is provided from the input / output circuit 330 to the NOR flash memory 100 via the internal bus 400. Furthermore, as shown at times t5-t6 in Fig. 5, since it is necessary to load data from the external bus 200 into the NAND flash memory 200, the input / output circuit 330 provides the data taken in from the external bus 200 to the NAND flash memory 200 via the internal bus 400 without interfering with the buffer 140.
[0064] In the above embodiment, an example of programming a boot code or firmware into a stacked flash memory is shown, but this is only an example, and the size and type of data to be programmed are not particularly limited. The memory capacity of the NOR flash memory 100 and the NAND flash memory 200 can be appropriately selected according to the data to be programmed and the usage environment. Furthermore, the data size of one page of the NOR flash memory 100 and the data size of one page of the NAND flash memory 200 shown in the above embodiment are only an example, and these data sizes can be appropriately changed according to the operation design of the stacked flash memory.
[0065] Although a preferred embodiment of the present invention has been described in detail, the present invention is not limited to the specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0066] 10, 10A: Stacked flash memory 20: External bus 30: Host device 100: NOR type flash memory 200: NAND flash memory 300: Controller 400: Internal bus
Claims
1. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; The controller programs the data received from the input / output circuit into both the NOR type flash memory and the NAND type flash memory.
2. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; The controller programs the data received from the input / output circuit into a NAND type flash memory while programming the data into a NOR type flash memory.
3. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; The controller reads data programmed in a NAND type flash memory and programs the read data in a NOR type flash memory.
4. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; The controller sequentially programs data into a NOR type flash memory in response to a sequential program command.
5. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; In the semiconductor device, the controller reads a first page of a NOR flash memory in response to a successive read command, and then reads a second page that is consecutive to the first page from a NAND flash memory.
6. 6. The semiconductor device according to claim 5, wherein array reading of the second page is performed while read data of the first page is being output.
7. An input / output circuit; a NOR type flash memory and a NAND type flash memory connected to the input / output circuit via an internal bus; a controller that controls operations of the NOR flash memory and the NAND flash memory based on commands received from the input / output circuit; The controller receives a command for a NOR type flash memory from the input / output circuit, and generates a command for a NAND type flash memory in response to the command.
8. 8. The semiconductor device according to claim 1, wherein said controller receives an address for a NOR type flash memory from said input / output circuit, and generates an address for a NAND type flash memory in response to said address.
9. 8. The semiconductor device according to claim 1, wherein a chip on which a NOR type flash memory is formed and a chip on which a NAND type flash memory is formed are stacked.
10. A method for operating a semiconductor device including a NOR flash memory and a NAND flash memory, comprising: The controller controls the operations of the NOR type flash memory and the NAND type flash memory based on commands received via the input / output circuit; The method of operation, wherein the controller programs the data received from the input / output circuit into both a NOR type flash memory and a NAND type flash memory.
11. A method for operating a semiconductor device including a NOR flash memory and a NAND flash memory, comprising: The controller controls the operations of the NOR type flash memory and the NAND type flash memory based on commands received via the input / output circuit; The method of operation, wherein the controller programs a NAND type flash memory while programming data received from the input / output circuitry into a NOR type flash memory.
12. A method for operating a semiconductor device including a NOR flash memory and a NAND flash memory, comprising: The controller controls the operations of the NOR type flash memory and the NAND type flash memory based on commands received via the input / output circuit; The operating method includes the controller reading data programmed in a NAND flash memory and programming the read data in a NOR flash memory.
13. 13. The method of claim 12, wherein the controller programs the data received from the input / output circuit into a NAND flash memory, and then reads the data from the NAND flash memory and provides the read data to a NOR flash memory.
14. A method for operating a semiconductor device including a NOR flash memory and a NAND flash memory, comprising: The controller controls the operations of the NOR type flash memory and the NAND type flash memory based on commands received via the input / output circuit; The controller sequentially programs data into a NOR type flash memory in response to a sequential program command.
15. When the unit of one page of a NOR type flash memory is M bytes and the unit of one page of a NAND type flash memory is M×k (k is a positive integer), 13. The operating method according to claim 12, wherein the controller programs pages P0 and after of the NOR flash memory based on data read from the NAND flash memory after programming of the first page P0 of the NOR flash memory is completed.
16. 16. The method of claim 15, wherein the controller selectively reads data corresponding to page P1 from data read from a selected page of a NAND flash memory when programming page P1 of a NOR flash memory.
17. 17. The method of claim 16, wherein the controller loads data to be programmed into the next page of the NAND flash memory from an input / output circuit while programming page P1.
18. A method for operating a semiconductor device including a NOR flash memory and a NAND flash memory, comprising: The controller controls the operations of the NOR type flash memory and the NAND type flash memory based on commands received via the input / output circuit; The method includes the controller reading a first page of a NOR flash memory in response to a successive read command, and then reading a second page consecutive to the first page from a NAND flash memory.
Citation Information
Patent Citations
Copolymer containing methallyl alcohol unit
JP1987032109A
Data recording and reproducing apparatus
JP1995093980A
Hard disk drive cache memory and playback device
JP2007183961A
One-chip integrated memory system with NAND-based NOR, NAND flash, and SRAM for hybrid data, code, and cache storage.
JP2012532373A
Multiprocessor System Having an Input / Output (I / O) Bridge Circuit for Transferring Data Between Volatile and Non-Volatile Memory
US20100312952A1
