[go: up one dir, main page]

TW202226250A - Control method for flash memory, flash memory die and flash memory - Google Patents

Control method for flash memory, flash memory die and flash memory Download PDF

Info

Publication number
TW202226250A
TW202226250A TW109146755A TW109146755A TW202226250A TW 202226250 A TW202226250 A TW 202226250A TW 109146755 A TW109146755 A TW 109146755A TW 109146755 A TW109146755 A TW 109146755A TW 202226250 A TW202226250 A TW 202226250A
Authority
TW
Taiwan
Prior art keywords
flash memory
state
output
command
data bus
Prior art date
Application number
TW109146755A
Other languages
Chinese (zh)
Other versions
TWI746331B (en
Inventor
阮士洲
紀旻志
Original Assignee
旺宏電子股份有限公司
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 旺宏電子股份有限公司 filed Critical 旺宏電子股份有限公司
Priority to TW109146755A priority Critical patent/TWI746331B/en
Application granted granted Critical
Publication of TWI746331B publication Critical patent/TWI746331B/en
Publication of TW202226250A publication Critical patent/TW202226250A/en

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

A control method for flash memory is provided. The control method comprises: in a setup stage, under an operation mode of command input, issuing by a host a setup command to map each port of an external data bus of each flash memory die respectively to a status index of each flash memory die; and in a request stage, under the operation mode of command input, issuing by the host a request command to each flash memory dies, and under the operation mode of data output, transmits status of the status index of each flash memory die to the host through the ports of the external data bus respectively.

Description

快閃記憶體的控制方法、快閃記憶體晶粒以及快閃記憶體Flash memory control method, flash memory die, and flash memory

本發明是有關於一種快閃記憶體,且特別是有關於一種快閃記憶體的控制方法及其快閃記憶體晶粒。The present invention relates to a flash memory, and more particularly, to a control method of the flash memory and a flash memory die thereof.

目前NAND快閃記憶體控制器面臨要控制的NAND快閃記憶體晶粒數目的大為增加,這造成控制器接墊(pad)數目的增加,而且晶粒大小也會隨著增加。並且,所有邏輯單元的備妥/忙碌(ready/busy,R/B)訊號也會連接到共享的R/B訊號線。因此,如果在共享R/B訊號線忙碌下要知道哪一個邏輯單元是忙碌的,需要發出 “讀取狀態(read status)命令”去詢問指定的邏輯單元是備妥或忙碌狀態。Currently, NAND flash memory controllers face a large increase in the number of NAND flash memory dies to be controlled, which results in an increase in the number of controller pads and an increase in die size. Also, the ready/busy (R/B) signals of all logic units are also connected to the shared R/B signal line. Therefore, if you want to know which logic unit is busy when the shared R/B signal line is busy, you need to issue a "read status command" to inquire whether the specified logic unit is ready or busy.

一般而言,NAND快閃記憶體的R/B狀態的實施是使用汲極開路(open drain)設計。圖1繪示NAND快閃記憶體之汲極開路的電路示意圖。如圖1所示,一通道中有多個NAND快閃記憶體晶粒0、1、2、…並且其R/B狀態輸出分別連接到共同的汲極開路輸出。圖2A與圖2B繪出目前多通道NAND快閃記憶體有兩種設計方式。In general, the R/B state of NAND flash memory is implemented using an open drain design. FIG. 1 is a schematic circuit diagram of an open drain of a NAND flash memory. As shown in Figure 1, there are multiple NAND flash memory dies 0, 1, 2, . . . in a channel and their R/B state outputs are respectively connected to a common open-drain output. 2A and 2B illustrate that there are currently two design methods for multi-channel NAND flash memory.

如圖2A所示,在此架構中,每一通道中的各NAND快閃記憶體晶粒(NAND flash die)的R/B訊號線是各自獨立,亦即各快閃記憶體晶粒10_0~10_m-1均各自設置一條R/B訊號線來與多通道快閃記憶體控制器20連接,故在每一通道,多通道快閃記憶體控制器20也要設置與R/B訊號線相對應的接墊數。As shown in FIG. 2A, in this structure, the R/B signal lines of each NAND flash die in each channel are independent, that is, each flash die 10_0~ Each of 10_m-1 is provided with an R/B signal line to connect with the multi-channel flash memory controller 20. Therefore, in each channel, the multi-channel flash memory controller 20 is also set to be connected to the R/B signal line. The corresponding number of pads.

圖2B是繪示另外一種架構的多通道NAND快閃記憶體,如圖2B所示,在此設計中各通道中的每一快閃記憶體晶粒10_0~10_m-1是共用一條R/B訊號線,亦即短路在一起。但是,在此架構下,多通道快閃記憶體控制器20將無法知道哪一個NAND快閃記憶體晶粒10_0~10_m-1是處於忙碌狀態,必須另外花額外的時間去確認各快閃記憶體晶粒10_0~10_m-1的備妥/忙碌狀態。換句話說,在此架構下,雖然可以省下接墊的數目,但是需外增加時間來確認各快閃記憶體晶粒10_0~10_m-1的備妥/忙碌狀態。FIG. 2B illustrates a multi-channel NAND flash memory of another architecture. As shown in FIG. 2B , in this design, each flash memory die 10_0 to 10_m-1 in each channel shares one R/B Signal lines, that is, shorted together. However, under this architecture, the multi-channel flash memory controller 20 will not be able to know which NAND flash memory die 10_0~10_m-1 is in a busy state, and additional time must be spent to confirm each flash memory Ready/busy status of bulk die 10_0~10_m-1. In other words, in this structure, although the number of pads can be saved, additional time is required to confirm the ready/busy status of each of the flash memory chips 10_0 to 10_m-1.

因此,本技術領域有需要一種技術手段,其可以一方面減少接墊數量,一方面不需要額外的時間去確認各快閃記憶體是否處於忙碌狀態。Therefore, there is a need in the technical field for a technical means, which can reduce the number of pads on the one hand, and on the other hand, does not require extra time to confirm whether each flash memory is in a busy state.

根據一實施例,本發明提供一種快閃記憶體的控制方法,其中快閃記憶體具有連接多個快閃記憶體晶粒的外部資料匯流排。控制方法包括:在設定階段,於命令輸入之操作模式下,由主控器送出設定命令,將所述外部資料匯流排的各埠分別映射到各所述快閃記憶體晶粒的狀態指標;以及於要求階段,於命令輸入之操作模式下,由所述主控器向各所述多個快閃記憶體晶粒送出要求命令,並且於資料輸出之操作模式下,將各所述快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。According to an embodiment, the present invention provides a control method of a flash memory, wherein the flash memory has an external data bus connecting a plurality of flash memory dies. The control method includes: in the setting stage, in the operation mode of command input, a setting command is sent from the host controller, and each port of the external data bus is respectively mapped to the state index of each of the flash memory chips; and in the request stage, in the operation mode of command input, the host controller sends a request command to each of the plurality of flash memory chips, and in the operation mode of data output, each of the flash The state of the state indicator of the memory die is transmitted to the host controller through the corresponding ports of the external data bus.

在上述多通道快閃記憶體的控制方法,設定階段中,由主控器送出設定命令更包括:於命令輸入之操作模式下,所述主控器送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒的所述狀態指標;以及於位址輸入之操作模式下,所述主控器送出位址訊號,藉此將所述外部資料匯流排的各埠分別映射到各所述多個快閃記憶體晶粒的狀態指標。In the above control method of multi-channel flash memory, in the setting stage, sending a setting command from the master controller further comprises: in the operation mode of command input, the master controller sends a ready command to notify each of the plurality of The flash memory die is ready to perform the state indicator of assigning each port of the external data bus to each of the plurality of flash memory die; and in the address input mode of operation, the The host controller sends out an address signal, thereby mapping each port of the external data bus to the status indicators of each of the plurality of flash memory chips.

在上述快閃記憶體的控制方法中,各所述快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠;在所述設定階段,所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標。其中,所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態;所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。In the above control method of a flash memory, each of the flash memory chips has a plurality of output ports respectively coupled to the ports of the external data bus; in the setting stage, the plurality of flash memory A first output port of one of the first flash memory dies of one of the flash memory dies is selected to transmit the status indicator. Wherein, the output port corresponding to the first output port of each flash memory die other than the first flash memory die among the plurality of flash memory die is in an output high impedance state ; Output ports other than the first output port of the first flash memory output a high impedance state.

在上述快閃記憶體的控制方法中,狀態指標可為主控器用備妥/忙碌狀態。在上述快閃記憶體的控制方法中,設定命令與要求命令可以是由廠商特定命令所定義。在上述快閃記憶體的控制方法中,主控器可為多通道快閃記憶體控制器。 根據另一實施例,本發明提供一種快閃記憶體晶粒,至少包括:具有多個埠,所述多個埠耦接到一外部資料匯流排;控制邏輯單元,提供所述快閃記憶體晶粒的狀態指標;映射狀態暫存器,用以儲存資料,所述資料用以選擇與所述快閃記憶體晶粒的所述狀態指標相對應的所述多個埠之一;以及輸入/輸出控制單元。所述輸入/輸出控制單元更包括第一多工器與解多工器。第一多工器,具有多個輸入以及輸出,所述多個輸入分別接收來自多組內部匯流排的資料,所述輸出耦接至所述多個埠,其中所述第一多工器依據所述控制邏輯單元提供的選擇訊號,選擇所述多個輸入之一且輸出至所述外部資料匯流排,所述多組內部匯流排至少包括內部資料匯流排、狀態指標匯流排與映射狀態匯流排。解多工器具有輸入、多個輸出與選擇線,其中所述輸入接收所述狀態指標,所述選擇線接收來自所述映射狀態暫存器所儲存的所述資料,所述解多工器的輸出經由所述映射狀態匯流連接到所述第一多工器的輸入,其中所述解多工器基於所述選擇線接收的所述資料來選擇所述解多工器的多個輸出之一來傳送所述狀態指標,所述解多工器的未被選擇的輸出以高阻抗輸出。 In the above control method of the flash memory, the state indicator can be a ready/busy state for the master. In the above control method of a flash memory, the setting command and the request command may be defined by manufacturer-specific commands. In the above method for controlling a flash memory, the main controller may be a multi-channel flash memory controller. According to another embodiment, the present invention provides a flash memory chip, which at least includes: a plurality of ports coupled to an external data bus; a control logic unit for providing the flash memory a state index of a die; a map state register for storing data used to select one of the plurality of ports corresponding to the state index of the flash memory die; and an input /output control unit. The input/output control unit further includes a first multiplexer and a demultiplexer. A first multiplexer has a plurality of inputs and outputs, the plurality of inputs respectively receive data from a plurality of sets of internal busbars, the outputs are coupled to the plurality of ports, wherein the first multiplexer is based on The selection signal provided by the control logic unit selects one of the multiple inputs and outputs it to the external data bus, and the multiple groups of internal bus at least include an internal data bus, a state indicator bus and a mapping state bus Row. A demultiplexer has an input, a plurality of outputs and select lines, wherein the input receives the state indicator, the select line receives the data stored from the map state register, the demultiplexer The output of the demultiplexer is connected via the map state bus to the input of the first multiplexer, wherein the demultiplexer selects one of the multiple outputs of the demultiplexer based on the data received by the select line Once the state indicator is communicated, the unselected outputs of the demultiplexer are output at high impedance.

在上述快閃記憶體晶粒中,當所述快閃記憶體晶粒接收由主控器所送出的設定命令,所述快閃記憶體晶粒的所述狀態指標映射到所述多個埠之一。In the above-mentioned flash memory die, when the flash memory die receives a setting command sent by a host controller, the state indicators of the flash memory die are mapped to the plurality of ports one.

在上述快閃記憶體晶粒中,當所述快閃記憶體晶粒從所述主控器接收要求命令,所述輸入/輸出控制單元之所述解多工器依據所述映射狀態暫存器所儲存的所述資料,選擇與所述快閃記憶體晶粒的狀態指標相對應的所述埠,將所述狀態指標的狀態經由選擇的所述埠傳送到所述主控器。In the above-mentioned flash memory die, when the flash memory die receives a request command from the host controller, the demultiplexer of the input/output control unit temporarily stores according to the mapping state selecting the port corresponding to the state indicator of the flash memory chip according to the data stored in the device, and transmitting the state of the state indicator to the host controller via the selected port.

在上述快閃記憶體晶粒中,在接收所述要求命令時,所述多個埠中未被選擇者處於高阻抗狀態。In the above-mentioned flash memory die, when the request command is received, the unselected one of the plurality of ports is in a high impedance state.

在上述快閃記憶體晶粒中,設定命令與要求命令可以是由廠商特定命令所定義。在上述快閃記憶體晶粒中,主控器可為多通道快閃記憶體控制器。在上述快閃記憶體晶粒中,狀態指標為主控器用備妥/忙碌狀態。In the above flash memory die, the set command and the request command may be defined by vendor specific commands. In the above flash memory die, the main controller may be a multi-channel flash memory controller. In the above flash memory die, the status indicator is ready/busy for the master.

在上述快閃記憶體晶粒中,輸入/輸出控制單元更包括第二多工器,所述第二多工器的輸出耦接至所述解多工器的輸入,用以從多個狀態暫存器擇一輸出給所述解多工器。In the above-mentioned flash memory die, the input/output control unit further includes a second multiplexer, the output of the second multiplexer is coupled to the input of the demultiplexer, and is used for switching from a plurality of states The register selects one output to the demultiplexer.

在上述快閃記憶體晶粒中,所述輸入/輸出控制單元更包括:與所述解多工器耦接的多工器單元,其中所述多工器單元包括多個多工器。所述多個多工器的每一個接收多個狀態暫存器所儲存的狀態,並從所述多個狀態暫存器擇一輸出給所述解多工器。所述多個多工器的輸出提供給所述解多工器,並經由所述映射狀態匯流排輸入所述第一多工器。In the above flash memory die, the input/output control unit further includes: a multiplexer unit coupled to the demultiplexer, wherein the multiplexer unit includes a plurality of multiplexers. Each of the plurality of multiplexers receives states stored in a plurality of state registers, and outputs one selected from the plurality of state registers to the demultiplexer. The outputs of the multiplexers are provided to the demultiplexer and input to the first multiplexer via the map state bus.

根據另一實施例,本發明提供一種快閃記憶體的控制方法,其中快閃記憶體具有連接多個快閃記憶體晶粒的外部資料匯流排。所述控制方法包括: 由主控器送出設定命令,將外部資料匯流排的各埠與各所述快閃記憶體晶粒的狀態指標分別相對應;以及由所述主控器向各所述快閃記憶體晶粒送出要求命令;當各所述多個快閃記憶體晶粒接收到所述要求命令,將各所述多個快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。According to another embodiment, the present invention provides a control method of a flash memory, wherein the flash memory has an external data bus connecting a plurality of flash memory dies. The control method includes: sending a setting command from a main controller to correspond each port of an external data bus with a state index of each of the flash memory chips; and sending from the main controller to each of the The flash memory die sends a request command; when each of the plurality of flash memory die receives the request command, the state of the state index of each of the plurality of flash memory die is passed through the phase The corresponding ports of the external data bus are sent to the host controller.

在上述快閃記憶體的控制方法中,由主控器送出設定命令更包括:送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒;以及送出位址訊號,藉此將各所述多個快閃記憶體晶粒的所述外部資料匯流排的各埠與各所述多個快閃記憶體晶粒的狀態指標分別相對應。In the above method for controlling a flash memory, sending a setting command from the host controller further comprises: sending a prepare command to notify each of the plurality of flash memory chips to prepare for each port of the external data bus. respectively assigning each of the plurality of flash memory chips; and sending out address signals, thereby connecting the ports of the external data bus of each of the plurality of flash memory chips to each of the plurality of flash memory chips The state indicators of each flash memory die correspond respectively.

在上述快閃記憶體的控制方法中,各所述快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠;所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標。其中,所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態;所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。In the above-mentioned control method of a flash memory, each of the flash memory chips has a plurality of output ports respectively coupled to the ports of the external data bus; among the plurality of flash memory chips One of the first output ports of one of the first flash memory dies is selected to transmit the status indicator. Wherein, the output port corresponding to the first output port of each flash memory die other than the first flash memory die among the plurality of flash memory die is in an output high impedance state ; Output ports other than the first output port of the first flash memory output a high impedance state.

在上述快閃記憶體的控制方法中,狀態指標可為主控器用備妥/忙碌狀態。在上述快閃記憶體的控制方法中,設定命令與要求命令可以是由廠商特定命令所定義。在上述快閃記憶體的控制方法中,主控器可為快閃記憶體控制器。In the above control method of the flash memory, the state indicator can be a ready/busy state for the master. In the above control method of a flash memory, the setting command and the request command may be defined by manufacturer-specific commands. In the above method for controlling a flash memory, the main controller may be a flash memory controller.

根據另一實施例,本發明提供一種快閃記憶體,其包括:至少一外部資料匯流排,具有多埠;多個快閃記憶體晶粒,分別耦接於所述至少一外部匯流排;以及主控制器,與所述至少一外部匯流排耦接,用以控制所述多個快閃記憶體晶粒。其中,在設定階段,所述主控器送出設定命令,將所述外部資料匯流排的各埠與各所述快閃記憶體晶粒的狀態指標分別相對應;在要求階段,由所述主控器向各所述快閃記憶體晶粒送出要求命令,且在各所述多個快閃記憶體晶粒接收到所述要求命令,將各所述多個快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。According to another embodiment, the present invention provides a flash memory, comprising: at least one external data bus with multiple ports; a plurality of flash memory chips coupled to the at least one external bus, respectively; and a main controller, coupled to the at least one external bus, for controlling the plurality of flash memory chips. Wherein, in the setting stage, the host controller sends a setting command to correspond each port of the external data bus with the status indicators of the flash memory chips respectively; in the request stage, the host The controller sends a request command to each of the flash memory dies, and receives the request command in each of the plurality of flash memory dies, and sends all of the plurality of flash memory dies to the request command. The state of the state indicator is transmitted to the host controller through the corresponding ports of the external data bus.

在上述快閃記憶體中,由主控器送出設定命令更包括:送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒;以及送出位址訊號,藉此將各所述多個快閃記憶體晶粒的所述外部資料匯流排的各埠與各所述多個快閃記憶體晶粒的狀態指標分別相對應。In the above-mentioned flash memory, sending the setting command by the host controller further comprises: sending a prepare command to notify each of the plurality of flash memory chips to prepare for assigning the ports of the external data bus to the respective ports of the external data bus. each of the plurality of flash memory dies; and sending an address signal, thereby connecting each port of the external data bus of each of the plurality of flash memory dies with each of the plurality of flashes The state indicators of the memory die correspond respectively.

在上述快閃記憶體的控制方法中,在上述快閃記憶體的控制方法中,各所述快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠;所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標。其中,所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態;所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。In the above control method of a flash memory, in the above control method of a flash memory, each of the flash memory chips has a plurality of output ports respectively coupled to the ports of the external data bus; A first output port of one of a first flash memory die of one of the plurality of flash memory dies is selected to transmit the status indicator. Wherein, the output port corresponding to the first output port of each flash memory die other than the first flash memory die among the plurality of flash memory die is in an output high impedance state ; Output ports other than the first output port of the first flash memory output a high impedance state.

在上述快閃記憶體中,狀態指標可為主控器用備妥/忙碌狀態。在上述快閃記憶體的控制方法中,設定命令與要求命令可以是由廠商特定命令所定義。In the above flash memory, the status indicator can be used as a ready/busy status for the master. In the above control method of a flash memory, the setting command and the request command may be defined by manufacturer-specific commands.

綜上所述,在本實施例的架構下,利用廠商特定命令且利用資料匯流排來兼做快閃記憶體晶粒的R/B訊號線,故可以省下原本各快閃記憶體晶粒的R/B訊號線與接墊,故快閃記憶體控制器也就相對應地不需要此R/B接墊,控制器的接墊數可以有效底減少。To sum up, under the structure of the present embodiment, the manufacturer-specific command and the data bus are used as the R/B signal lines of the flash memory chips, so the original flash memory chips can be saved. Therefore, the flash memory controller does not need this R/B pad correspondingly, and the number of the controller pads can be effectively reduced.

圖3A繪示本發明實施例之快閃記憶體架構示意圖。圖3B繪示本發明實施例之NAND快閃記憶體晶粒的架構示意圖,亦即圖3A中每一通道中各NAND快閃記憶體晶粒的架構示意圖。雖然圖3A是繪示出一個多通道快閃記憶體的架構,但是本實施例說明將以其中一通道為說明對象。本實施例的方法與架構均適用於單通道或多通道的情況。FIG. 3A is a schematic diagram illustrating a structure of a flash memory according to an embodiment of the present invention. FIG. 3B is a schematic structural diagram of a NAND flash memory die according to an embodiment of the present invention, that is, a schematic structural diagram of each NAND flash memory die in each channel in FIG. 3A . Although FIG. 3A shows the structure of a multi-channel flash memory, the description of this embodiment will take one of the channels as an object of description. Both the method and the architecture of this embodiment are applicable to single-channel or multi-channel situations.

如圖3A所示,NAND快閃記憶體控制器200或主控器(host) 200可以連接有n條通道(0~n-1)的快閃記憶體串,每一通道的快閃記憶體串均可以包含多個快閃記憶體晶粒。例如,在每個NAND快閃記憶體通道0~n-1均具有m個NAND快閃記憶體晶粒100_0~100_m-1。此外,每個通道的m個NAND快閃記憶體晶粒100_0~100_m-1均至少具有晶片致能訊號(chip enable) CE_0~CE_m-1,分別連接到NAND快閃記憶體控制器200。此外,各NAND快閃記憶體晶粒100_0~100_m-1的輸入輸入控制單元可以通過資料匯流排(外部資料匯流排)DQ與NAND快閃記憶體控制器200進行資料的收發。As shown in FIG. 3A , the NAND flash memory controller 200 or host 200 can be connected to n channels (0˜n−1) of flash memory strings, and each channel of flash memory Each string may contain multiple flash memory dies. For example, each of the NAND flash memory channels 0 to n-1 has m NAND flash memory dies 100_0 to 100_m-1. In addition, the m NAND flash memory chips 100_0 to 100_m-1 of each channel have at least chip enable signals CE_0 to CE_m-1, which are respectively connected to the NAND flash memory controller 200 . In addition, the input and input control units of each of the NAND flash memory dies 100_0 to 100_m-1 can transmit and receive data with the NAND flash memory controller 200 through the data bus (external data bus) DQ.

再者,如圖3A所示,在此架構中,每一個NAND快閃記憶體晶粒100_0~100_m-1並沒有使用如先前技術中的R/B接墊來進行與每一個NAND快閃記憶體晶粒100_0~100_m-1相應的備妥與忙碌狀態(狀態指標訊號)之傳送。根據本發明實施例,本實施例將使用資料匯流排DQ的各埠(以8個埠為例端,如DQ[7:0])來進行每一個NAND快閃記憶體晶粒100_0~100_m-1之R/B訊號的傳送。換句話說,本實施例將內部 R/B #埠映射到指定的DQ埠的方式來進行NAND快閃記憶體晶粒100_0~100_m-1的R/B狀態檢測。Furthermore, as shown in FIG. 3A, in this structure, each NAND flash memory die 100_0~100_m-1 does not use the R/B pads in the prior art to communicate with each NAND flash memory. The corresponding ready and busy states (status indicator signals) of the bulk dies 100_0~100_m-1 are transmitted. According to the embodiment of the present invention, each port of the data bus DQ (take 8 ports as an example, such as DQ[7:0]) is used for each NAND flash memory die 100_0~100_m- 1 for the transmission of R/B signals. In other words, in this embodiment, the R/B state detection of the NAND flash memory chips 100_0 to 100_m-1 is performed by mapping the internal R/B # port to the designated DQ port.

此處的狀態指標可以是各通道快閃記憶體的內部各種狀態、參數等,例如主控器用備妥/忙碌狀態(R/B# for host)、快閃陣列用備妥/忙碌狀態(R/B# for flash array)等。在本實施例中,將以主控器用備妥/忙碌狀態(R/B# for host)做為狀態指標的說明例子。通過此方式,本實施例將不在使用外部的R/B接墊與訊號線,故可以減少控制器之接墊的數量。關於詳細操作方式,後面會再詳述。主控器用備妥/忙碌狀態是指快閃記憶體晶粒中的資料緩衝器(如圖3B之資料緩衝器118)是否有清空的狀態,以表示是否可以接收主控器給的下一筆資料,但該資料尚未寫入記憶體陣列。快閃陣列用備妥/忙碌狀態則是表示資料是否真的寫入記憶體陣列。The status indicators here can be various internal states and parameters of the flash memory of each channel, such as the ready/busy status for the master (R/B# for host), the ready/busy status for the flash array (R/ B# for flash array) etc. In this embodiment, the ready/busy state (R/B# for host) for the host is used as an example of the description of the state indicator. In this way, the present embodiment does not use external R/B pads and signal lines, so the number of pads of the controller can be reduced. The detailed operation method will be described in detail later. The ready/busy state used by the master refers to whether the data buffer in the flash memory die (such as the data buffer 118 in FIG. 3B ) is empty, indicating whether the next data from the master can be received. , but the data has not been written to the memory array. The flash array uses the ready/busy state to indicate whether data is actually written to the memory array.

圖3B繪示本發明實施例之NAND快閃記憶體晶粒的架構示意圖。如圖3B所示,NAND快閃記憶體晶粒100_0 (NAND快閃記憶體晶粒100_1~100_m-1的結構均相同)基本上與一般NAND快閃記憶體晶粒的架構相同,差異點在於增設將R/B訊號線與DQ埠彼此映射的電路方塊。FIG. 3B is a schematic structural diagram of a NAND flash memory die according to an embodiment of the present invention. As shown in FIG. 3B , the structure of the NAND flash memory die 100_0 (the structures of the NAND flash memory die 100_1 to 100_m-1 are all the same) is basically the same as that of the general NAND flash memory die, and the difference lies in Add a circuit block that maps R/B signal lines and DQ ports to each other.

如圖3B所示,本實施例之NAND快閃記憶體晶粒100_0同樣地具有控制邏輯單元102、輸入輸出控制單元104、記憶體陣列120、X-解碼器124、Y-解碼器122、頁緩衝器126、高壓電路110、命令暫存器112、位址暫存器114、狀態暫存器116、資料緩衝器118、資料匯流排DQ等等的基本電路方塊。NAND快閃記憶體晶粒100_0的基本電路方塊的功能與運作方式基本上與既有架構相同或類似,其實際架構也不影響本實施例之實施,故在此省略其詳細說明。As shown in FIG. 3B , the NAND flash memory die 100_0 of this embodiment also has a control logic unit 102 , an input/output control unit 104 , a memory array 120 , an X-decoder 124 , a Y-decoder 122 , a page Basic circuit blocks of buffer 126, high voltage circuit 110, command register 112, address register 114, status register 116, data buffer 118, data bus DQ, etc. The functions and operation modes of the basic circuit blocks of the NAND flash memory die 100_0 are basically the same as or similar to the existing structure, and the actual structure does not affect the implementation of this embodiment, so the detailed description thereof is omitted here.

根據本實施例,NAND快閃記憶體晶粒100_0至少具有映射狀態暫存器106,在此實施例以R/B映射至DQ埠106作為說明例。映射狀態暫存器106用以儲存將資料匯流排DQ的各埠DQ0~DQ7與快閃記憶體晶粒100_0~100_m-1的內部R/B線分別一對一相對應的關係。亦即,在NAND快閃記憶體晶粒100_0中的映射狀態暫存器106會儲存用來指示該NAND快閃記憶體晶粒100_0要以哪一個DQ埠來輸出主控器用R/B狀態的資料。例如,如果NAND快閃記憶體晶粒100_0要以DQ0作為輸出,則映射狀態暫存器106內儲存的資料會記錄著例如數值 “0”,其他各NAND快閃記憶體晶粒100_1~100_m-1則以此類推。亦即,每個NAND快閃記憶體晶粒僅會在自己的映射狀態暫存器106中儲存自己要使用的DQ埠。在主控器 (快閃記憶體控制器200)則可以儲存一對應表,此對應表可以記錄通道中的每一埠 (DQ [7:0])是用來輸出哪一個NAND快閃記憶體晶粒的狀態指標。According to this embodiment, the NAND flash memory die 100_0 has at least a mapping state register 106 , and in this embodiment, R/B is mapped to the DQ port 106 as an illustration example. The mapping state register 106 is used for storing the one-to-one correspondence between the ports DQ0 ˜ DQ7 of the data bus DQ and the internal R/B lines of the flash memory chips 100_0 ˜ 100_m-1 respectively. That is, the mapping state register 106 in the NAND flash memory die 100_0 stores the data used to indicate which DQ port the NAND flash memory die 100_0 uses to output the R/B state for the master. material. For example, if the NAND flash memory die 100_0 is to use DQ0 as the output, the data stored in the mapping state register 106 will record, for example, the value "0", and the other NAND flash memory die 100_1~100_m- 1 and so on. That is, each NAND flash memory die will only store the DQ port to be used in its own mapping state register 106 . In the main controller (flash memory controller 200 ), a correspondence table can be stored, and the correspondence table can record which NAND flash memory each port (DQ[7:0]) in the channel is used to output. The state indicator of the die.

藉此,當NAND快閃記憶體控制器200送出要求訊號(後將詳述的要求階段)給各快閃記憶體晶粒100_0~100_m-1以取得R/B訊號之狀態時,各快閃記憶體晶粒100_0~100_m-1之輸入輸出控制單元104便可以在相應的DQ埠送出R/B訊號。如此,NAND快閃記憶體控制器200從資料匯流排DQ中各埠DQ0~DQ7一次取得各快閃記憶體晶粒100_0~100_m-1的R/B訊號狀態。Thereby, when the NAND flash memory controller 200 sends a request signal (request stage which will be described in detail later) to each of the flash memory chips 100_0 to 100_m-1 to obtain the state of the R/B signal, each flash The I/O control units 104 of the memory chips 100_0 to 100_m-1 can send R/B signals at the corresponding DQ ports. In this way, the NAND flash memory controller 200 obtains the R/B signal state of each flash memory die 100_0 to 100_m-1 from each port DQ0 to DQ7 in the data bus DQ at one time.

通過上述架構,邏輯控制單元102便不需要利用內部R/B訊號,通過輸入輸出控制單元104的R/B接墊來傳送R/B狀態,故而也不需要外部的R/B訊號線與接墊。因此,NAND快閃記憶體控制器200也不需要設置相應的R/B接墊,故接墊數目可以減少。如同圖3B左下角的虛線所示,本實施例便可以完全省略掉此部分的硬體架構。Through the above structure, the logic control unit 102 does not need to use the internal R/B signal to transmit the R/B state through the R/B pads of the I/O control unit 104, so no external R/B signal line and connection are required. pad. Therefore, the NAND flash memory controller 200 does not need to set corresponding R/B pads, so the number of pads can be reduced. As shown by the dotted line in the lower left corner of FIG. 3B , this embodiment can completely omit the hardware structure of this part.

圖3C與3D進一步繪示圖3B所示之NAND快閃記憶體晶粒中的I/O控制單元104 的電路結構示意圖。圖3C與圖3D所示之NAND快閃記憶體晶粒只繪出與本實施例有關連的電路方塊,其餘部分則省略。如圖3C所示,I/O控制單元104可以更包括多工器131 (第一多工器),其可以具有作為輸入的多組內部匯流排。每一組匯流排例如是由8條訊號線構成。通過這些內部匯流排,多工器131可以根據邏輯控制單元102之選擇訊號線,選擇多組輸入的其中之一,即選擇內部資料匯流排(一般資料傳送)、狀態匯流排(快閃記憶體的狀態指標)或是映射狀態匯流排(如RB至DQ埠)之一來輸出至埠(DQ[7:0])輸出。DQ匯流排可以輸出多種輸出訊號,例如資料、快閃記憶體的狀態或本實施例之RB狀態 (即RB至DQ埠)。在本實施例中,狀態指標是使用主控器用R/B狀態。此外,映射狀態暫存器106是儲存了用來指示哪個埠要作為輸出R/B(狀態)使用的資料。如圖3D所示,解多工130器具有輸入、多個輸出與選擇線。解多工器130的輸出與多工器131的其中一輸入可以映射狀態匯流排([7:0])連接。解多工器130的輸入接收到主控器用R/B狀態的訊號。解多工器130的選擇線接收來自映射狀態暫存器106所儲存的資料,據此將快閃記憶體晶粒的主控器用R/B狀態從相對應的埠(映射狀態匯流排([7:0])的其中一條)輸出。據此,圖3C的多工器131便可以從對應的埠來輸出主控器用R/B狀態。3C and 3D further illustrate a schematic diagram of the circuit structure of the I/O control unit 104 in the NAND flash memory die shown in FIG. 3B. The NAND flash memory chips shown in FIG. 3C and FIG. 3D only depict circuit blocks related to this embodiment, and the rest are omitted. As shown in FIG. 3C, the I/O control unit 104 may further include a multiplexer 131 (first multiplexer), which may have multiple sets of internal busbars as inputs. Each group of bus bars is composed of, for example, 8 signal lines. Through these internal busbars, the multiplexer 131 can select one of the multiple sets of inputs according to the selection signal line of the logic control unit 102, that is, select the internal data busbar (general data transfer), status busbar (flash memory) status indicator) or map one of the status busses (such as RB to DQ port) to output to port (DQ[7:0]) output. The DQ bus can output various output signals, such as data, the status of the flash memory, or the RB status in this embodiment (ie, RB to DQ port). In this embodiment, the state indicator is to use the R/B state for the master. In addition, the mapping state register 106 stores data used to indicate which port is to be used as the output R/B (state). As shown in Figure 3D, the demultiplexer 130 has an input, multiple outputs and select lines. The output of demultiplexer 130 and one of the inputs of multiplexer 131 can be connected to the map state bus ([7:0]). The input of the demultiplexer 130 receives a signal in the R/B state of the master. The select line of the demultiplexer 130 receives the data stored from the map state register 106, and accordingly transfers the master of the flash memory die from the corresponding port (the map state bus ([ 7:0])) output. Accordingly, the multiplexer 131 of FIG. 3C can output the R/B state for the master from the corresponding port.

此外,圖3E繪示3D中之解多工器130的電路結構示意圖。如圖3E所示,解多工器130可以更包括解碼器130a和多個選通閘(pass gate)。在此例子中,以三態閘作為選通閘的一個例子。三態閘130b_0~130b_7 (在此例中為8個,分別對應到DQ [7:0])。每個三態閘130b_0~130b_7的輸出均連接到各自對應的DQ埠DQ [7:0]。解碼器130a可接收並解碼來自R/B至DQ埠暫存器106的資料,據此使輸入解多工器130的主控器用R/B狀態便可以通過與該資料對應的三態閘130b_0~130b_7之一,而從對應的DQ埠輸出。例如,如果NAND快閃記憶體晶粒100_1要以DQ1作為主控器用R/B狀態的輸出埠,則映射狀態暫存器106便會記錄著 “1”。舉例來說,當映射狀態暫存器106所存的數值為1,表示解多工器130會經由解碼器130a轉成0000_0010,而三態閘130b_0~130b_7會根據收到的訊號0000_0010,而將DQ1導通,其餘的埠都會成為高阻抗狀態。也就是說,DQ1會輸出R/B(狀態)。此時,解碼器130a便會據此使三態閘130b_1致能,其餘的三態閘130b_0, 130b_2~130b_7則禁能而成為高阻抗狀態。據此埠DQ1會被選擇用來輸出主控器用R/B狀態。In addition, FIG. 3E is a schematic diagram of the circuit structure of the demultiplexer 130 in 3D. As shown in FIG. 3E, the demultiplexer 130 may further include a decoder 130a and a plurality of pass gates. In this example, a tri-state gate is used as an example of a gate gate. Tri-state gates 130b_0~130b_7 (8 in this example, corresponding to DQ[7:0] respectively). The output of each tri-state gate 130b_0~130b_7 is connected to its corresponding DQ port DQ[7:0]. The decoder 130a can receive and decode the data from the R/B to DQ port register 106, thereby enabling the master of the input demultiplexer 130 to use the R/B state to pass through the tri-state gate 130b_0 corresponding to the data One of ~130b_7, and output from the corresponding DQ port. For example, if the NAND flash memory die 100_1 uses DQ1 as the output port for the R/B state of the master, the mapping state register 106 will record “1”. For example, when the value stored in the mapping state register 106 is 1, it means that the demultiplexer 130 will convert the value into 0000_0010 through the decoder 130a, and the tri-state gates 130b_0~130b_7 will convert the DQ1 to DQ1 according to the received signal 0000_0010. On, the rest of the ports will be in a high-impedance state. That is, DQ1 outputs R/B (status). At this time, the decoder 130a will enable the tri-state gate 130b_1 accordingly, and the other tri-state gates 130b_0, 130b_2~130b_7 are disabled and become a high-impedance state. Accordingly, port DQ1 will be selected to output the R/B status for the master.

此外,在此實施例中,每一個NAND快閃記憶體晶粒只選擇一個DQ埠作為狀態指標(在本例為主控器用R/B狀態)的輸出。此時,沒有被選中的DQ埠會處於高阻抗狀態。In addition, in this embodiment, each NAND flash memory die selects only one DQ port as the output of the state indicator (in this example, the master uses the R/B state). At this time, the DQ ports that are not selected will be in a high impedance state.

如上所述,通過本實施例的方式可以將內部R/B訊號線的狀態利用相對應的DQ埠,通過資料匯流排DQ,再傳送到NAND快閃記憶體控制器200。例如,快閃記憶體晶粒100_0的R/B訊號線映射到DQ埠DQ0,快閃記憶體晶粒100_1的R/B訊號映射到DQ埠DQ1等。As described above, the state of the internal R/B signal line can be transmitted to the NAND flash memory controller 200 through the data bus DQ through the corresponding DQ port by the method of this embodiment. For example, the R/B signal line of the flash memory die 100_0 is mapped to the DQ port DQ0, the R/B signal of the flash memory die 100_1 is mapped to the DQ port DQ1 and so on.

因此,通過此方式,對於每一個通道的多個快閃記憶體晶粒100_0~100_m-1,NAND快閃記憶體控制器200便可以在資料匯流排DQ上一次從各埠DQ0~DQ7取得各快閃記憶體晶粒100_0~100_m-1的R/B狀態。因此,NAND快閃記憶體控制器200不需要外部R/B訊號線和接墊,進而可以有效地減少控制器之接墊的數量。Therefore, in this way, for the plurality of flash memory dies 100_0 to 100_m-1 of each channel, the NAND flash memory controller 200 can obtain the data from the ports DQ0 to DQ7 on the data bus DQ at one time. The R/B states of the flash memory die 100_0~100_m-1. Therefore, the NAND flash memory controller 200 does not need external R/B signal lines and pads, thereby effectively reducing the number of pads in the controller.

圖4A繪示另一此實施的NAND快閃記憶體晶粒的架構示意圖,圖4B繪示圖4A中之I/O控制器單元的電路結構示意圖。如圖4A所示,除了映射狀態暫存器106a,I/O控制器單元104還包括狀態選擇暫存器106b。映射狀態暫存器106a內儲存的資料可以提示NAND快閃記憶體晶粒100_0 (…100_m-1)的多個DQ埠中的哪一個要作為狀態指標的輸出,而狀態選擇暫存器106b內儲存的資料可以提示NAND快閃記憶體晶粒100_0 (…100_m-1)的多個狀態指標中的哪一個要被輸出。FIG. 4A is a schematic diagram of the structure of another NAND flash memory die of this implementation, and FIG. 4B is a schematic diagram of the circuit structure of the I/O controller unit in FIG. 4A . As shown in FIG. 4A, in addition to the mapping state register 106a, the I/O controller unit 104 also includes a state selection register 106b. The data stored in the mapping state register 106a can indicate which of the multiple DQ ports of the NAND flash memory die 100_0 (...100_m-1) is to be used as the output of the state indicator, and the state selection register 106b The stored data may indicate which of a plurality of status indicators of the NAND flash memory die 100_0 (...100_m-1) is to be output.

在圖3B至3E的說明中,均以單一狀態指標為例,亦即以主控器用R/B狀態來做為說明例。但是,如前所述,本發明的應用並不僅限於主控器用R/B狀態,也可以是NAND快閃記憶體晶粒100_0 (…100_m-1)的其他狀態指標或參數。換句話說,在此實施例中,可以從各快閃記憶體晶粒100_0 (…100_m-1)的多個狀態指標中選擇其中一個狀態指標來從對應的DQ埠輸出。In the descriptions of FIGS. 3B to 3E , a single state indicator is used as an example, that is, the R/B state used by the master is used as an illustration. However, as mentioned above, the application of the present invention is not limited to the R/B state for the master controller, but may also be other state indicators or parameters of the NAND flash memory die 100_0 (...100_m-1). In other words, in this embodiment, one state indicator can be selected from a plurality of state indicators of each flash memory die 100_0 (...100_m-1) to be output from the corresponding DQ port.

如圖4B所示,在此實施例的架構中,除了解多器130外,更包括多工器132(第二多工器)。此外,控制邏輯單元102還可以包括多個狀態暫存器,並可擇一輸出給解多工器132。多工器132可以接收多個狀態暫存器所儲存的狀態,例如主控器用R/B狀態、快閃陣列用R/B狀態以及其他狀態等。此外,多工器132更耦接到狀態選擇暫存器106b。多工器132可以基於來自狀態選擇暫存器106b的資料,而從主控器用R/B狀態、快閃陣列用R/B狀態以及其他狀態等多個狀態暫存器中選擇其中一個輸出。故,解多器130可依據映射狀態暫存器106a所儲存的資料,將狀態選擇暫存器106b所選擇的狀態從相對應的埠輸出。As shown in FIG. 4B , in the architecture of this embodiment, in addition to the demultiplexer 130 , a multiplexer 132 (a second multiplexer) is further included. In addition, the control logic unit 102 may further include a plurality of state registers, and may optionally output one to the demultiplexer 132 . The multiplexer 132 can receive states stored in a plurality of state registers, such as the R/B state for the master, the R/B state for the flash array, and other states. In addition, the multiplexer 132 is further coupled to the state selection register 106b. The multiplexer 132 may select one output from a plurality of state registers, such as the R/B state for the master, the R/B state for the flash array, and other states, based on the data from the state selection register 106b. Therefore, the demultiplexer 130 can output the state selected by the state selection register 106b from the corresponding port according to the data stored in the mapping state register 106a.

如圖4B所示,多工器132耦接至解多工器130。多工器132所選擇的狀態指標再輸入到解多工器130。解多工器130的動作方式與圖3D、3E所述的方式相同。亦即,解多工器130可接收並解碼來自映射狀態暫存器106a的資料,據此使多工器132所選擇的狀態指標可以通過由儲存在映射狀態暫存器106a之該資料所指定的對應DQ埠(由圖3C之多工器131選擇)輸出。故,多工器132可以從多個狀態指標中選擇其中一個狀態指標來利用資料匯流排DQ進行狀態的傳送。As shown in FIG. 4B , the multiplexer 132 is coupled to the demultiplexer 130 . The state indicator selected by the multiplexer 132 is then input to the demultiplexer 130 . The operation of the demultiplexer 130 is the same as that described in FIGS. 3D and 3E . That is, the demultiplexer 130 may receive and decode data from the map state register 106a, whereby the state indicator selected by the multiplexer 132 may pass through the data stored in the map state register 106a specified by the data The corresponding DQ port (selected by the multiplexer 131 of FIG. 3C ) is output. Therefore, the multiplexer 132 can select one state indicator from the plurality of state indicators to use the data bus DQ to transmit the state.

亦即,如圖4B所示,多工器132根據狀態選擇暫存器106b之訊號作為選擇線,從如主控器用R/B狀態、快閃陣列用R/B狀態等地多個狀態選擇其中之一做為輸出。例如,多工器132根據狀態選擇器106b選擇出輸出的狀態為快閃陣列用R/B狀態。此時,解多工器 130會接收多工器132所輸出的訊號(即,快閃陣列用R/B狀態),並根據映射狀態暫存器106a之資料進行解碼取得本次選擇輸出的埠為第6根。在此例中,在解多工器130之8根埠輸出結果中,埠0 ~5與埠7皆為高阻抗,而埠6成為用來輸出快閃陣列用R/B狀態。That is, as shown in FIG. 4B, the multiplexer 132 selects the signal of the register 106b as the select line according to the state, and selects from a plurality of states such as the R/B state for the master and the R/B state for the flash array, etc. one of them as output. For example, the multiplexer 132 selects the output state according to the state selector 106b to be the R/B state for the flash array. At this time, the demultiplexer 130 will receive the signal output by the multiplexer 132 (ie, the R/B state for the flash array), and decode the data according to the mapping state register 106a to obtain the port selected for the output this time. for the 6th root. In this example, in the output result of the eight ports of the demultiplexer 130, ports 0-5 and port 7 are all high impedance, and port 6 is used to output the R/B state for the flash array.

接著,根據控制邏輯單元102的選擇線,多工器131(參考圖3C)則會將解多工器130之八根埠的輸出(埠6為輸出快閃陣列用R/B狀態,其餘為高阻抗)作為多工器131選擇輸出的其中一組選擇。假設當主控器端下達本實施例之的要求命令時,解多工器130之八根埠輸出的該組埠會被選擇作為DQ[7:0]而輸出。Then, according to the selection line of the control logic unit 102, the multiplexer 131 (refer to FIG. 3C) will output the eight ports of the demultiplexer 130 (the port 6 is the R/B state for outputting the flash array, and the rest are high impedance) as one of the set of choices for the multiplexer 131 select outputs. It is assumed that when the master side issues the request command in this embodiment, the group of ports output by the eight ports of the demultiplexer 130 will be selected as DQ[7:0] for output.

根據此變化例,資料匯流排DQ的DQ埠不在局限於僅能映射到單一狀態指標,而是可動態地由主控器,即NAND快閃記憶體控制器200選擇所需要的狀態指標來從資料匯流排DQ進行狀態訊號傳送,因此NAND快閃記憶體晶粒的控制可以更具有自由度的方式來加以運作。除第多工器132和狀態選擇暫存器106b外,解多工器130部分的運作方式均與圖3D~圖3E相同,故在此不再冗述。According to this variation, the DQ port of the data bus DQ is not limited to be mapped to only a single state indicator, but can be dynamically selected by the master, that is, the NAND flash memory controller 200 to select the required state indicator from the The data bus DQ transmits the status signal, so the control of the NAND flash memory die can be operated in a more free manner. Except for the first multiplexer 132 and the state selection register 106b, the operation of the demultiplexer 130 is the same as that shown in FIG. 3D to FIG. 3E, so the description is omitted here.

圖5繪示另一實施例之快閃記憶體晶粒中的I/O控制單元的電路結構示意圖。圖5與圖4B所繪示實施例之不同點在於解多工器和多工器之電路結構。如圖5所示,解多工器130’例如包括解碼器130’a以及多個三態閘130’b_0~130’b_7(以8個為例),解碼器130’a更耦接到各三態閘130’b_0~130’b_7。多工器單元132’更包括解碼器132’a以及多個多工器132’b_0~132’b_7 (以8個為例),解碼器132’a更耦接到各多工器132’b_0~132’b_7。多工器單元132’之每一個多工器132’b_0~132’b_7分別耦接到解多工器130’的三態閘130’b_0~130’b_7。此外,每一個多工器132’b_0~132’b_7均接收多個狀態暫存器所儲存的狀態,例如主控器用R/B狀態、快閃陣列用R/B狀態以及其他狀態等。FIG. 5 is a schematic diagram of a circuit structure of an I/O control unit in a flash memory die according to another embodiment. The difference between the embodiment shown in FIG. 5 and FIG. 4B lies in the circuit structure of the demultiplexer and the multiplexer. As shown in FIG. 5 , the demultiplexer 130 ′ includes, for example, a decoder 130 ′a and a plurality of tri-state gates 130 ′b_0 to 130 ′b_7 (8 for example), and the decoder 130 ′a is further coupled to each Tri-state gates 130'b_0~130'b_7. The multiplexer unit 132' further includes a decoder 132'a and a plurality of multiplexers 132'b_0 to 132'b_7 (8 for example), and the decoder 132'a is further coupled to each multiplexer 132'b_0 ~132'b_7. Each multiplexer 132'b_0~132'b_7 of the multiplexer unit 132' is respectively coupled to the tri-state gates 130'b_0~130'b_7 of the demultiplexer 130'. In addition, each of the multiplexers 132'b_0~132'b_7 receives states stored in a plurality of state registers, such as the R/B state for the master, the R/B state for the flash array, and other states.

多工器單元132’之解碼器132’a從狀態選擇暫存器106b接收資料並且加以解碼,藉此可以使每一個多工器132’b_0~132’b_7選擇其中一個狀態暫存器。例如,多工器132’b_0可以從主控器用R/B狀態、快閃陣列用R/B狀態以及其他狀態等多個狀態暫存器擇一並輸出到對應的三態閘130’b_0,多工器132’b_1可以從主控器用R/B狀態、快閃陣列用R/B狀態以及其他狀態等多個狀態指標擇一並輸出到對應的三態閘130’b_1,其餘類推。此外,解多工器130’之解碼器130’a可以接收並解碼來自映射狀態暫存器106a的資料,藉此使對應的三態閘130’b_0~130’b_7致能,而各狀態指標可以從對應的DQ埠[7:0]輸出。The decoder 132'a of the multiplexer unit 132' receives and decodes the data from the state selection register 106b, thereby enabling each of the multiplexers 132'b_0~132'b_7 to select one of the state registers. For example, the multiplexer 132'b_0 can select and output to the corresponding tri-state gate 130'b_0 from a plurality of state registers, such as the R/B state for the main controller, the R/B state for the flash array, and other states. The multiplexer 132'b_1 can select one of a plurality of state indicators, such as the R/B state for the master, the R/B state for the flash array, and other states, and output them to the corresponding tri-state gate 130'b_1, and so on. In addition, the decoder 130'a of the demultiplexer 130' can receive and decode the data from the mapping state register 106a, thereby enabling the corresponding tri-state gates 130'b_0~130'b_7, and each state indicator It can be output from the corresponding DQ port [7:0].

舉例來說,解多工器130’會選擇哪些埠會作為輸出狀態,其餘的埠為高阻抗。例如,解碼器130’a解碼結果為0000_1100,則表示埠2與埠3是作為狀態輸出,其餘埠則呈高阻抗狀態。此外,狀態選擇暫存器106b會儲存每個埠要輸出的狀態。多工器(第二多工器)132’會決定八個埠的每個埠是要選擇哪個狀態作為輸出。例如,如果解碼器132’a解碼出來結果為1111_1211,假設1代表主控器用R/B狀態,2代表快閃陣列用R/B狀態,則多工器132’的八個埠中的埠2會輸出快閃用陣列用R/B狀態,而其餘埠作為輸出主控器用R/B狀態(即,埠0、1、3-7)。另外,多工器131 (參考圖3C)最終取得的解多工器130的八根輸出埠為:埠2 為快閃陣列用R/B狀態,埠3為主控器用R/B狀態,其餘6個埠則皆為高阻抗。For example, the demultiplexer 130' selects which ports are to be output states and the remaining ports are high impedance. For example, if the decoding result of the decoder 130'a is 0000_1100, it means that the ports 2 and 3 are output as statuses, and the other ports are in a high-impedance state. In addition, the state selection register 106b stores the state to be output by each port. The multiplexer (second multiplexer) 132' determines which state each of the eight ports is to select as an output. For example, if the decoded result of the decoder 132'a is 1111_1211, assuming that 1 represents the R/B state used by the master, and 2 represents the R/B state used by the flash array, then the port 2 of the eight ports of the multiplexer 132' The R/B status for the array is output for flash, while the remaining ports are used as output for the R/B status for the master (ie, ports 0, 1, 3-7). In addition, the eight output ports of the demultiplexer 130 finally obtained by the multiplexer 131 (refer to FIG. 3C ) are: port 2 is in the R/B state for the flash array, port 3 is in the R/B state for the master controller, and the rest The 6 ports are all high impedance.

在此實施例中,相較於圖3E所示實施例之一個快閃記憶體晶粒僅指定一個DQ埠來輸出狀態指標,一個快閃記憶體晶粒更可以指定多個DQ埠,每個DQ埠都可以代表一個狀態指標。因此,對於一個快閃記憶體晶粒,便可以透過資料匯流排DQ,同時輸出多個狀態指標。在此實施例中快閃記憶體晶粒會有多個狀態指標要輸出,此時哪一個DQ埠要做為輸出哪個狀態指標的輸出,其對應關係會以一資料格式儲存在狀態選擇暫存器106b中。In this embodiment, compared to the embodiment shown in FIG. 3E , a flash memory chip only designates one DQ port to output the status indicator, a flash memory chip may designate a plurality of DQ ports, each DQ ports can represent a status indicator. Therefore, for a flash memory chip, multiple status indicators can be output simultaneously through the data bus DQ. In this embodiment, the flash memory chip will have multiple status indicators to be output. At this time, which DQ port is to output which status indicator, the corresponding relationship will be stored in the status selection temporary storage in a data format. in the device 106b.

接下來說明上述電路架構的實際操作方式,並參考圖6A至圖6C詳細說明本發明實施例如何將資料匯流排DQ的各埠映射到R/B訊號線。在此,圖6A至圖6C是說明一個快閃記憶體晶粒從主控器接收到命令後的動作時序說明圖。Next, the actual operation of the above circuit structure will be described, and with reference to FIG. 6A to FIG. 6C , how to map each port of the data bus DQ to the R/B signal line in the embodiment of the present invention will be described in detail. Here, FIGS. 6A to 6C are diagrams illustrating the operation timing of one flash memory die after receiving a command from the host controller.

圖6A繪示本發明實施例之NAND快閃記憶體的控制方法中各快閃記憶體晶粒的操作流程時序示意圖,其為快閃記憶體晶粒層級的動作時序說明圖。如圖6A所示,本實施例的控制方法是利用將資料匯流排DQ的操作模式(operation mode)中分成兩階段,即設定階段(setup stage)與要求階段(request stage)。本實施例主要是利用資料匯流排DQ在空閒狀態下的時段。在此例中,以資料匯流排DQ具有8個埠為說明例DQ0~DQ7,但實際情況可以視NAND快閃記憶體晶粒做適當地調整。此外,主控器層級的操作將會在圖7A說明。6A is a schematic diagram illustrating an operation flow sequence diagram of each flash memory die in the control method of the NAND flash memory according to the embodiment of the present invention, which is an explanatory diagram of the operation sequence of the flash memory die level. As shown in FIG. 6A , the control method of the present embodiment utilizes that the operation mode of the data bus DQ is divided into two stages, that is, a setup stage and a request stage. This embodiment mainly utilizes the time period when the data bus DQ is in the idle state. In this example, the data bus DQ has 8 ports DQ0~DQ7 as an illustration, but the actual situation can be adjusted appropriately according to the NAND flash memory chips. In addition, the operation of the master level will be illustrated in FIG. 7A.

如圖6A,在設定階段,於命令輸入(CMD input)之操作模式(基於資料匯流排DQ之資料傳送規格)下,此時的周期型式是設定R/B命令。亦即,在各NAND快閃記憶體晶粒100_0 (…100_m-1)接收到由NAND快閃記憶體控制器200,即主控器(host)200,送出的設定命令(setup command)後,將資料匯流排DQ的各埠DQ0~DQ7與所述快閃記憶體的一通道中的各快閃記憶體晶粒100_0~100_m-1的R/B狀態(狀態指標)相對應。As shown in FIG. 6A , in the setting stage, in the operation mode of the command input (CMD input) (based on the data transfer specification of the data bus DQ), the cycle pattern at this time is to set the R/B command. That is, after each NAND flash memory die 100_0 (...100_m-1) receives the setup command sent by the NAND flash memory controller 200, that is, the host 200, Each port DQ0 to DQ7 of the data bus DQ is corresponding to the R/B state (state index) of each flash memory die 100_0 to 100_m-1 in a channel of the flash memory.

在此,設定命令可以使用廠商特定命令(vendor-specific command),來與各通道之各NAND快閃記憶體晶粒100_0~100_m-1的資料匯流排DQ的各埠DQ0~DQ7相對應。例如,一般NAND快閃記憶體晶粒100_0~100_m-1可以有8個不同的廠商特定命令,每一個廠商特定命令便可以對應到一特定的DQ埠。例如命令20h可以指派給埠DQ0,命令21h可以指派給埠DQ1等,其餘以此類推。藉此,便可以用不同的廠商特定命令來與各埠進行相對應的指派。亦即,如圖6A所示,在設定R/B命令的周期型式下,內部晶片致能訊號CE#對晶片致能,並在資料匯流排DQ的DQ[7:0]送出命令20h。Here, the setting command may use a vendor-specific command to correspond to each port DQ0 to DQ7 of the data bus DQ of each NAND flash memory die 100_0 to 100_m-1 of each channel. For example, a general NAND flash memory die 100_0~100_m-1 can have 8 different manufacturer-specific commands, and each manufacturer-specific command can correspond to a specific DQ port. For example, command 20h can be assigned to port DQ0, command 21h can be assigned to port DQ1, etc., and so on. In this way, different vendor-specific commands can be used to assign corresponding ports. That is, as shown in FIG. 6A , in the periodic mode of setting the R/B command, the internal chip enable signal CE# enables the chip, and sends the command 20h on DQ[7:0] of the data bus DQ.

如此,通過設定階段,便可以廠商特定命令來將各埠DQ0~DQ7與各NAND快閃記憶體晶粒的內部R/B訊號線進行一對一的映射,而用來指示此對應關係的資料(值)則儲存在上述圖3B至圖3E所示的R/B至DQ埠暫存器106中。In this way, through the setting stage, each port DQ0~DQ7 can be mapped one-to-one with the internal R/B signal lines of each NAND flash memory die by manufacturer-specific commands, and the data used to indicate the corresponding relationship (value) is stored in the R/B to DQ port registers 106 shown in FIGS. 3B to 3E above.

在主控器之層級,在設定階段,其操作流程示意圖如圖7A之步驟S100所示,於命令輸入之操作模式下,由主控器(如快閃記憶體控制器)送出設定命令,將各所述多個快閃記憶體晶粒100_0~100_m-1的資料匯流排的各埠DQ0~DQ7分別映射到各所述快閃記憶體晶粒100_0~100_m-1的狀態指標(R/B狀態)。At the level of the main controller, in the setting stage, the schematic diagram of the operation flow is shown in step S100 of FIG. 7A . In the operation mode of command input, the main controller (such as a flash memory controller) sends a setting command to The ports DQ0 ˜ DQ7 of the data busses of each of the plurality of flash memory dies 100_0 ˜ 100_m-1 are respectively mapped to the status indicators (R/B state).

再次參考圖6A,接著在要求階段(request stage),各NAND快閃記憶體晶粒100_0 (…100_m-1)接收到由所述NAND快閃記憶體控制器200送出要求命令(request command),亦即另外的廠商特定命令傳送給各NAND快閃記憶體晶粒100_0~100_m-1。Referring again to FIG. 6A, then in the request stage, each NAND flash memory die 100_0 (...100_m-1) receives a request command sent by the NAND flash memory controller 200, That is, another manufacturer-specific command is transmitted to each NAND flash memory die 100_0 to 100_m-1.

在此要求階段,如圖6A所示,在操作模式為命令輸入時,此時周期型式為要求R/B命令,亦即NAND快閃記憶體控制器200會對各NAND快閃記憶體晶粒100_0~100_m-1送出要求命令來取得各NAND快閃記憶體晶粒100_0~100_m-1的R/B訊號線的狀態。接著,在資料輸出(data output)的操作模式下,各NAND快閃記憶體晶粒100_0~100_m-1會使用相對應的埠DQ0~DQ7,經由資料匯流排DQ將各NAND快閃記憶體晶粒100_0~100_m-1的主控器R/B狀態傳送NAND快閃記憶體控制器200。In this request stage, as shown in FIG. 6A , when the operation mode is command input, the cycle pattern at this time is the request R/B command, that is, the NAND flash memory controller 200 responds to each NAND flash memory die. 100_0~100_m-1 send a request command to obtain the state of the R/B signal line of each NAND flash memory die 100_0~100_m-1. Next, in the data output operation mode, each NAND flash memory die 100_0~100_m-1 will use the corresponding ports DQ0~DQ7 to connect each NAND flash memory die via the data bus DQ. The master controller R/B status of the particles 100_0 to 100_m-1 transmits the NAND flash memory controller 200.

對於主控器層級,在要求階段,其操作流程示意圖如圖7A之步驟S200所示,於命令輸入之操作模式下,由主控器向各所述快閃記憶體晶粒100_0~100_m-1送出要求命令。接著,在步驟S300,於資料輸出之操作模式下,每一通道中的各快閃記憶體晶粒100_0~100_m-1將狀態指標(主控器用R/B狀態)的狀態經由相對應的所述資料匯流排的各埠DQ0~DQ7,傳送到所述主控器。For the master controller level, in the request stage, the schematic diagram of the operation flow is shown in step S200 of FIG. 7A , in the operation mode of command input, the master controller sends each of the flash memory chips 100_0 to 100_m-1 Send a request command. Next, in step S300, in the operation mode of data output, each of the flash memory chips 100_0 to 100_m-1 in each channel transmits the state of the state indicator (the R/B state for the master) through the corresponding Each port DQ0~DQ7 of the data bus is transmitted to the host controller.

通過此方式,NAND快閃記憶體控制器200之通道上的多個快閃記憶體晶粒100_1~100_m-1,便可以透過資料匯流排DQ各埠DQ0~DQ7一次取得各多個快閃記憶體晶粒100_1~100_m-1的主控器用R/B狀態,而不需要外部R/B訊號線和接墊,進而可以減少控制器之接墊的數量。In this way, the plurality of flash memory chips 100_1 to 100_m-1 on the channel of the NAND flash memory controller 200 can obtain each of the plurality of flash memories at one time through the ports DQ0 to DQ7 of the data bus DQ. The master controllers of the bulk dies 100_1 to 100_m-1 use the R/B state and do not need external R/B signal lines and pads, thereby reducing the number of pads in the controller.

圖6B繪示本發明另一實施例之NAND快閃記憶體的控制方法中各快閃記憶體晶粒的設定階段的另一實施例的操作流程時序示意圖。圖7B則繪示主控器層級的設定階段的操作流程示意圖。FIG. 6B is a schematic timing diagram of an operation flow of another embodiment of the setting stage of each flash memory die in the control method of the NAND flash memory according to another embodiment of the present invention. FIG. 7B is a schematic diagram illustrating the operation flow of the setting stage of the master controller level.

如圖6B所示,在此實施例中,於設定階段中,可以更包括兩個周期。此實施例僅有設定階段與前述圖4A的設定階段有所不同,而要求階段基本上是相同的。故,在此謹說明設定階段的操作。As shown in FIG. 6B , in this embodiment, the setting phase may further include two cycles. Only the setting phase of this embodiment is different from the setting phase of the aforementioned FIG. 4A , and the requirement phase is basically the same. Therefore, the operation of the setting stage is described here.

如圖6B所示,在設定階段,在操作模式下分成兩個周期,第一周期是命令輸入(CMD input)周期,第二周期是位址輸入(ADDR input)周期。兩者構成設定R/B命令的周期型式。As shown in FIG. 6B , in the setting phase, the operation mode is divided into two cycles, the first cycle is a command input (CMD input) cycle, and the second cycle is an address input (ADDR input) cycle. The two constitute the periodic pattern of the set R/B command.

當NAND快閃記憶體晶粒的致能訊號CE#致能晶片後,於命令輸入之操作模式下,NAND快閃記憶體晶粒接收由NAND快閃記憶體控制器(主控器)200送出的準備命令(prepare command)。此準備命令也可以由廠商特定命令來加以定義,例如圖6B所示之命令FEh。此準備命令主要是通知或暗示(hint)各NAND快閃記憶體晶粒100_0~100_m-1準備要指派一相應的DQ埠來傳送R/B狀態。After the enabling signal CE# of the NAND flash memory chip enables the chip, in the operation mode of command input, the NAND flash memory chip is received and sent from the NAND flash memory controller (main controller) 200 The prepare command (prepare command). The prepare command can also be defined by a vendor specific command, such as command FEh shown in FIG. 6B. The prepare command mainly informs or hints that each NAND flash memory die 100_0 to 100_m-1 is ready to assign a corresponding DQ port to transmit the R/B status.

接著,在位址輸入周期之第二周期,亦即圖6B所示的位址輸入之操作模式下,NAND快閃記憶體控制器200將會送出特定的位址值,此值將會對應一特定的DQ埠,並且與一NAND快閃記憶體晶粒的R/B訊號線相對應。例如,在此階段,可以使用值00h對應DQ0、值01h對應DQ1等,其餘與此類推。Next, in the second cycle of the address input cycle, that is, in the address input operation mode shown in FIG. 6B , the NAND flash memory controller 200 will send a specific address value, which will correspond to a A specific DQ port corresponds to the R/B signal line of a NAND flash memory die. For example, at this stage, a value of 00h can be used for DQ0, a value of 01h for DQ1, etc., and so on.

因此,在此實施例中,在設定階段的在第一周期,NAND快閃記憶體控制器200可以先送出例如命令FEh來通知各NAND快閃記憶體晶粒100_0~100m-1,其各自的R/B訊號線準備與資料匯流排DQ之各埠DQ0~DQ7建立對應關係,亦即準備指派各埠DQ0~DQ7分別映射到各NAND快閃記憶體晶粒100_0~100m-1之R/B訊號線。接著,在位址輸入的第二周期,透過指派位址,可以實際將各NAND快閃記憶體晶粒100_0~100m-1之R/B訊號狀態與各埠DQ0~DQ7加以關聯。如此,通過此兩周期的設定階段,也可以廠商特定命令與位址來將各埠DQ0~DQ7與各NAND快閃記憶體晶粒的內部R/B訊號進行一對一的映射,並儲存在上述圖3B~圖3E所示的映射狀態暫存器106中。Therefore, in this embodiment, in the first cycle of the setting stage, the NAND flash memory controller 200 may first send, for example, a command FEh to notify each of the NAND flash memory dies 100_0 to 100m-1 that their respective The R/B signal line is ready to establish a corresponding relationship with each port DQ0~DQ7 of the data bus DQ, that is, it is ready to assign each port DQ0~DQ7 to be mapped to the R/B of each NAND flash memory die 100_0~100m-1 respectively signal line. Then, in the second cycle of address input, by assigning addresses, the R/B signal states of each NAND flash memory die 100_0 to 100m-1 can be actually associated with each port DQ0 to DQ7. In this way, through the two-cycle setting stage, the manufacturer-specific commands and addresses can also be used to map each port DQ0~DQ7 and the internal R/B signal of each NAND flash memory chip one-to-one, and store them in the In the mapping state temporary register 106 shown in FIG. 3B to FIG. 3E .

此設定階段在主控器層級的操作流程示意圖如圖7B所示。在設定階段,由主控器送出設定命令可以更包括:在步驟S102,於命令輸入之操作模式下,在資料匯流排DQ送出準備命令(如上述的命令FEh),以通知各快閃記憶體晶粒100_0~100_m-1準備進行將資料匯流排DQ的各埠DQ0~DQ7分別指派給各多個快閃記憶體晶粒100_0~100_m-1的R/B訊號線(狀態指標)。接著,在步驟S104,於位址輸入之操作模式下,主控器在資料匯流排DQ送出位址訊號ADDR (如上述的00h、01h等),藉此將資料匯流排DQ的各埠DQ0~DQ7與各快閃記憶體晶粒100_0~100_m-1的R/B狀態訊號線(狀態指標)分別相對應。A schematic diagram of an operation flow at the master level in this setting stage is shown in FIG. 7B . In the setting stage, sending the setting command from the host controller may further include: in step S102, in the operation mode of command input, sending a ready command (such as the above-mentioned command FEh) on the data bus DQ to notify each flash memory The dies 100_0 to 100_m-1 are ready for the R/B signal lines (status indicators) of respectively assigning the ports DQ0 to DQ7 of the data bus DQ to the plurality of flash memory dies 100_0 to 100_m-1. Next, in step S104, in the operation mode of address input, the host controller sends an address signal ADDR (such as the above-mentioned 00h, 01h, etc.) on the data bus DQ, thereby connecting the ports DQ0~ of the data bus DQ DQ7 corresponds to the R/B state signal lines (state indicators) of each of the flash memory chips 100_0 to 100_m-1, respectively.

圖8繪示本發明實施例之快閃記憶體控制器的操作時序示意圖。首先,在快閃記憶體一開始運作時,尚未在資料匯流排DQ上進行資料的輸入輸出,亦即快閃記憶體處於空閒(idle)狀態下,可以透過如上述圖6A或圖6B之設定階段的操作,進行快閃記憶體晶粒0~快閃記憶體晶粒3的設定R/B命令操作。接著,將資料匯流排DQ之埠DQ0~DQ3分別指派以作為快閃記憶體晶粒0~快閃記憶體晶粒3之R/B訊號線。換句話說,在設定快閃記憶體晶粒階段,晶粒0設定為DQ0輸出主控器用R/B狀態,其餘DQ埠為高阻抗狀態。晶粒1設定為DQ1輸出主控器用R/B狀態,其餘DQ高阻抗狀態。其餘晶粒的設定以此類推。FIG. 8 is a schematic diagram illustrating the operation timing of the flash memory controller according to the embodiment of the present invention. First, when the flash memory starts to operate, the data input and output have not been performed on the data bus DQ, that is, the flash memory is in an idle state, which can be set as shown in FIG. 6A or FIG. 6B above. In the operation of the stage, the set R/B command operation of the flash memory die 0 to the flash memory die 3 is performed. Next, the ports DQ0 to DQ3 of the data bus DQ are respectively assigned as the R/B signal lines of the flash memory die 0 to the flash memory die 3 . In other words, at the stage of setting the flash memory die, die 0 is set to the R/B state for the DQ0 output master, and the remaining DQ ports are in the high impedance state. Die 1 is set to the R/B state for the DQ1 output master controller, and the remaining DQs are in high impedance state. The settings of the rest of the dies are deduced by analogy.

此外,當控制器(主控器)在設定階段對快閃記憶體晶粒0~3的其中之一進行設定時,例如選定DQ0作為輸出主控器用R/B狀態,則其他快閃記憶體晶粒1~3與該DQ0相對應的DQ0,亦即快閃記憶體晶粒1~3各自的DQ0會輸出高阻抗狀態。同理,對其他快閃記憶體晶粒1~3也進行相同的設定。In addition, when the controller (master) sets one of the flash memory chips 0 to 3 in the setting stage, for example, selecting DQ0 as the R/B state for the output master, the other flash memory The DQ0 corresponding to the DQ0 of the chips 1 to 3, that is, the respective DQ0s of the flash memory chips 1 to 3, will output a high impedance state. Similarly, the same settings are also performed for other flash memory chips 1 to 3.

藉此,後續各快閃記憶體晶粒0~快閃記憶體晶粒3之R/B訊號線的狀態可以分別從資料匯流排DQ之DQ0~DQ3傳送到快閃記憶體控制器200。此時各快閃記記體晶粒0~3之內部R/B訊號線的狀態是呈現備妥狀態。In this way, the states of the R/B signal lines of the subsequent flash memory die 0 to flash memory die 3 can be respectively transmitted from DQ0 to DQ3 of the data bus DQ to the flash memory controller 200 . At this time, the state of the internal R/B signal lines of each of the flash memory chips 0 to 3 is in a ready state.

接著,快閃記憶體晶粒進入操作模式,亦即可以對各快閃記憶體晶粒進行寫入等等的各種操作。此時各快閃記記體晶粒0~3之內部R/B訊號的狀態便依序進入忙碌狀態。Then, the flash memory die enters an operation mode, that is, various operations such as writing and the like can be performed on each flash memory die. At this time, the states of the internal R/B signals of each of the flash memory chips 0 to 3 enter the busy state in sequence.

接著在一段時間後,快閃記憶體控制器便對各快閃記憶體晶粒0~3送出要求RB命令。當各快閃記憶體晶粒0~3接收到此要求RB命令,便接著在各自相應的埠DQ0~DQ3送出R/B訊號的狀態給快閃記憶體控制器。如此,快閃記憶體控制器便可以在圖6之RB至DQ這個期間取得各快閃記憶體晶粒0~3的R/B狀態。Then, after a period of time, the flash memory controller sends a request RB command to each of the flash memory chips 0-3. When each flash memory chip 0~3 receives the request RB command, it then sends the status of the R/B signal to the flash memory controller through the corresponding ports DQ0~DQ3. In this way, the flash memory controller can obtain the R/B state of each flash memory die 0-3 during the period from RB to DQ in FIG. 6 .

在要求階段,主控器會同時對所有快閃記憶體晶粒0-3發出要求命令,而每個快閃記憶體晶粒0-3會根據設定階段的配置,將其各自在解多工器130的8個輸出映射到DQ[7:0],最終集合在一DQ 資料匯流排上。藉此,可如圖8所示,在DQ匯流排輸出X1h, X3h, … 之結果。因主控器在設定時,會將每個快閃記憶體晶粒0-3分配好在對應的埠上,不讓同時有多個埠進行輸出,以避免訊號間干擾。換句話說,兩個快閃記憶體晶粒不會同時對相同的埠進行輸出。例如,以圖3A所示之通道0為例,在狀態輸出時,快閃記憶體晶粒0會在其DQ [7:0]輸出zzzz_zzz1,快閃記憶體晶粒1會在其DQ [7:0]輸出zzzz_zz0z,快閃記憶體晶粒2會在其DQ [7:0]輸出zzzz_z0zz,快閃記憶體晶粒3會在其DQ [7:0]輸出zzzz_0zzz (其中z表示高阻抗狀態)。最後,總DQ匯流排會輸出zzzz_0001來指示各快閃記憶體晶粒0-3之狀態。In the request stage, the master controller will simultaneously issue a request command to all the flash memory die 0-3, and each flash memory die 0-3 will demultiplex its own according to the configuration in the setting stage. The 8 outputs of the controller 130 are mapped to DQ[7:0] and finally aggregated on a DQ data bus. Thereby, as shown in FIG. 8, the results of X1h, X3h, . . . can be output on the DQ bus. Because the master controller will assign each flash memory chip 0-3 to the corresponding port during the setting, and do not allow multiple ports to output at the same time to avoid interference between signals. In other words, the two flash memory dies do not output to the same port at the same time. For example, taking channel 0 shown in Figure 3A as an example, when the state is output, flash memory die 0 will output zzzz_zzz1 on its DQ[7:0], and flash memory die 1 will output zzzz_zzz1 on its DQ[7:0] :0] output zzzz_zz0z, flash die 2 will output zzzz_z0zz on its DQ [7:0], flash die 3 will output zzzz_0zzz on its DQ [7:0] (where z represents the high impedance state ). Finally, the master DQ bus will output zzzz_0001 to indicate the status of each flash memory die 0-3.

因此,在本實施例的架構下,利用廠商特定命令且利用資料匯流排來代替快閃記憶體晶粒的R/B訊號線,故可以省下原本各快閃記憶體晶粒的R/B訊號線與接墊,故快閃記憶體控制器也就相對應地不需要此R/B接墊,故控制器的接墊數可以有效底減少,並且不會增加快閃記憶體晶粒的尺寸與電路複雜度。此外,本實施例之操作模式是應用既有資料輸入輸出的操作模式來進行,亦即利用資料匯流排的空閒期間來進行R/B訊號與DQ埠之設定,故不需要採用額外的操作,也可以容易地達成R/B訊號與DQ埠之指派設定且同時間將映射狀態值輸出至資料匯流排DQ(外部資料匯流排)上,更可減少依次輪詢各該快閃記憶體晶粒狀態的次數。。Therefore, under the structure of the present embodiment, the R/B signal lines of the flash memory die are replaced by the manufacturer-specific command and the data bus, so the original R/B of each flash memory die can be saved. Signal lines and pads, so the flash memory controller does not need this R/B pad accordingly, so the number of pads in the controller can be effectively reduced, and the flash memory chip will not be increased. size and circuit complexity. In addition, the operation mode of this embodiment is performed by using the existing operation mode of data input and output, that is, the setting of the R/B signal and the DQ port is performed by using the idle period of the data bus, so no additional operation is required. It can also easily achieve the assignment of R/B signal and DQ port and output the mapping status value to the data bus DQ (external data bus) at the same time, which can reduce the need to poll each of the flash memory chips in turn. number of states. .

10_0~10_m-1:NAND快閃記憶體晶粒 20:快閃記憶體控制器 100_0~100_m-1:NAND快閃記憶體晶粒 102:邏輯控制單元 104:輸入輸出單元 106、106a:映射狀態暫存器 106b:狀態選擇暫存器 108:R/B訊號狀態(內部) 110:高壓電路 112:命令暫存器 114:位址暫存器 116:狀態暫存器 118:資料緩衝器 120:記憶體陣列 122:Y-解碼器 124:X-解碼器 126:頁緩衝器 130、132’:解多工器 130a、130’a:解碼器 130b_0~130b_7、130’b_0~130’b_7:三態閘 131、132:多工器 132’:多工器單元 132a、132’a:解碼器 132’b_0~132’b_7:多工器 200:快閃記憶體控制器 10_0~10_m-1: NAND flash memory die 20: Flash memory controller 100_0~100_m-1: NAND flash memory die 102: Logic control unit 104: Input and output unit 106, 106a: Mapping Status Register 106b: state selection register 108: R/B signal status (internal) 110: High Voltage Circuits 112: Command scratchpad 114: address scratchpad 116: Status register 118:Data buffer 120: Memory array 122: Y-decoder 124:X-Decoder 126: page buffer 130, 132': Demultiplexer 130a, 130'a: decoder 130b_0~130b_7, 130’b_0~130’b_7: Tri-state gate 131, 132: Multiplexer 132': Multiplexer Unit 132a, 132'a: decoder 132'b_0~132'b_7: Multiplexer 200: Flash memory controller

圖1是習知的一種NAND快閃記憶體晶粒的架構之汲極開路輸出的示意圖。 圖2A與圖2B繪出習知NAND快閃記憶體的架構示意圖。 圖3A繪示本發明實施例之快閃記憶體架構示意圖。 圖3B繪示本發明實施例之NAND快閃記憶體晶粒的架構示意圖。 圖3C與3D進一步繪示圖3B所示之快閃記憶體晶粒中的I/O控制單元的電路結構示意圖。 圖3E繪示圖3D中解多工器的電路結構示意圖。 圖4A繪示本發明實施例之另一NAND快閃記憶體晶粒的架構示意圖。 圖4B繪示圖4A中之I/O控制器單元的電路結構示意圖。 圖5繪示另一實施例之快閃記憶體晶粒中的I/O控制單元的電路結構示意圖。 圖6A繪示本發明實施例之NAND快閃記憶體控制方法中各快閃記憶體晶粒的操作流程時序示意圖。 圖6B繪示本發明另一實施例之NAND快閃記憶體的控制方法中各快閃記憶體晶粒的設定階段的另一實施例的操作流程時序示意圖。 圖7A繪示本發明實施例之主控器對通道上多個NAND快閃記憶體晶粒的操作流程示意圖。 圖7B繪示圖7A之設定階段的另一實施例的操作流程示意圖。 圖8繪示本發明實施例之快閃記憶體控制器的操作時序示意圖。 FIG. 1 is a schematic diagram of an open-drain output of a conventional NAND flash memory die structure. 2A and 2B are schematic diagrams illustrating the structure of a conventional NAND flash memory. FIG. 3A is a schematic diagram illustrating a structure of a flash memory according to an embodiment of the present invention. FIG. 3B is a schematic structural diagram of a NAND flash memory die according to an embodiment of the present invention. 3C and 3D further illustrate a schematic diagram of the circuit structure of the I/O control unit in the flash memory die shown in FIG. 3B . FIG. 3E is a schematic diagram of the circuit structure of the demultiplexer in FIG. 3D . FIG. 4A is a schematic structural diagram of another NAND flash memory die according to an embodiment of the present invention. FIG. 4B is a schematic diagram of the circuit structure of the I/O controller unit in FIG. 4A . FIG. 5 is a schematic diagram of a circuit structure of an I/O control unit in a flash memory die according to another embodiment. FIG. 6A is a schematic diagram illustrating the operation flow of each flash memory die in the NAND flash memory control method according to the embodiment of the present invention. FIG. 6B is a schematic timing diagram of an operation flow of another embodiment of the setting stage of each flash memory die in the control method of the NAND flash memory according to another embodiment of the present invention. 7A is a schematic diagram illustrating an operation flow of a host controller on a plurality of NAND flash memory dies on a channel according to an embodiment of the present invention. FIG. 7B is a schematic diagram illustrating an operation flow of another embodiment of the setting stage of FIG. 7A . FIG. 8 is a schematic diagram illustrating the operation timing of the flash memory controller according to the embodiment of the present invention.

100_0~100_m-1:NAND快閃記憶體晶粒 100_0~100_m-1: NAND flash memory die

102:邏輯控制單元 102: Logic control unit

104:輸入輸出單元 104: Input and output unit

106a:映射狀態暫存器 106a: Map Status Register

106b:狀態選擇暫存器 106b: state selection register

108:R/B訊號狀態(內部) 108: R/B signal status (internal)

110:高壓電路 110: High Voltage Circuits

112:命令暫存器 112: Command scratchpad

114:位址暫存器 114: address scratchpad

116:狀態暫存器 116: Status register

118:資料緩衝器 118:Data buffer

120:記憶體陣列 120: Memory array

122:Y-解碼器 122: Y-decoder

124:X-解碼器 124:X-Decoder

126:頁緩衝器 126: page buffer

Claims (26)

一種快閃記憶體的控制方法,其中所述快閃記憶體具有連接多個快閃記憶體晶粒的外部資料匯流排,所述控制方法包括: 於設定階段,在命令輸入之操作模式下,由主控器送出設定命令,將所述外部資料匯流排的各埠分別映射到各所述快閃記憶體晶粒的狀態指標;以及 於要求階段,在命令輸入之操作模式下,由所述主控器向各所述多個快閃記憶體晶粒送出要求命令,並且在資料輸出之操作模式下,將各所述快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。 A control method of a flash memory, wherein the flash memory has an external data bus connecting a plurality of flash memory chips, and the control method includes: In the setting stage, in the operation mode of command input, a setting command is sent from the host controller, and each port of the external data bus is respectively mapped to the status indicator of each of the flash memory chips; and In the request stage, in the operation mode of command input, the host controller sends a request command to each of the plurality of flash memory chips, and in the operation mode of data output, each of the flash memory The state of the state indicator of the bulk die is transmitted to the host controller via the corresponding ports of the external data bus. 如請求項1所述的快閃記憶體的控制方法,其中在所述設定階段中,由所述主控器送出所述設定命令更包括: 在命令輸入之操作模式下,所述主控器送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒的所述狀態指標;以及 在位址輸入之操作模式下,所述主控器送出位址訊號,藉此將所述外部資料匯流排的各埠分別映射到各所述多個快閃記憶體晶粒的狀態指標。 The method for controlling a flash memory according to claim 1, wherein in the setting stage, sending the setting command by the host controller further comprises: In the operation mode of command input, the host controller sends a prepare command to notify each of the plurality of flash memory dies to prepare for assigning each port of the external data bus to each of the plurality of the state indicator of the flash memory die; and In the operation mode of address input, the host controller sends out address signals, thereby mapping each port of the external data bus to the status indicators of each of the plurality of flash memory chips, respectively. 如請求項1所述的快閃記憶體的控制方法,其中各所快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠,在所述設定階段,所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標, 其中所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態, 所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。 The control method of a flash memory according to claim 1, wherein each flash memory die has a plurality of output ports respectively coupled to the ports of the external data bus, and in the setting stage, the a first output port of one of the first flash memory die of one of the plurality of flash memory die is selected for transmitting the status indicator, wherein the output ports corresponding to the first output ports of each of the plurality of flash memory dies other than the first flash memory die are in an output high impedance state, Output ports other than the first output port of the first flash memory output a high impedance state. 如請求項1所述的快閃記憶體的控制方法,其中所述狀態指標為主控器用備妥/忙碌狀態The control method of a flash memory according to claim 1, wherein the state indicator is a ready/busy state for the master 如請求項1所述的快閃記憶體的控制方法,其中所述設定命令與所述要求命令是由廠商特定命令所定義。The control method of a flash memory according to claim 1, wherein the setting command and the request command are defined by manufacturer-specific commands. 如請求項1所述的快閃記憶體的控制方法,其中所述主控器為快閃記憶體控制器。The control method of a flash memory according to claim 1, wherein the main controller is a flash memory controller. 一種快閃記憶體晶粒,至少包括: 多個輸出埠,所述多個輸出埠耦接到一外部資料匯流排; 控制邏輯單元,提供所述快閃記憶體晶粒的狀態指標; 映射狀態暫存器,用以儲存資料,所述資料用以選擇與所述快閃記憶體晶粒的所述狀態指標相對應的所述多個輸出埠之一;以及 輸入/輸出控制單元, 其中所述輸入/輸出控制單元更包括: 第一多工器,具有多個輸入以及輸出,所述多個輸入分別接收來自多組內部匯流排的資料,所述輸出耦接至所述多個輸出埠,其中所述第一多工器依據所述控制邏輯單元提供的選擇訊號,選擇所述多個輸入之一且輸出至所述外部資料匯流排,所述多組內部匯流排至少包括內部資料匯流排、狀態指標匯流排與映射狀態匯流排;以及 解多工器,具有輸入、多個輸出與選擇線,其中所述輸入接收所述狀態指標,所述選擇線接收來自所述映射狀態暫存器所儲存的所述資料,所述解多工器的輸出經由所述映射狀態匯流連接到所述第一多工器的輸入,其中所述解多工器基於所述選擇線接收的所述資料來選擇所述解多工器的所述多個輸出之一來傳送所述狀態指標,所述解多工器的未被選擇的輸出以高阻抗輸出。 A flash memory die, comprising at least: a plurality of output ports coupled to an external data bus; a control logic unit to provide status indicators of the flash memory die; a mapping state register for storing data for selecting one of the plurality of output ports corresponding to the state indicator of the flash memory die; and input/output control unit, Wherein the input/output control unit further includes: The first multiplexer has a plurality of inputs and outputs, the plurality of inputs respectively receive data from a plurality of sets of internal busbars, the outputs are coupled to the plurality of output ports, wherein the first multiplexer According to a selection signal provided by the control logic unit, one of the multiple inputs is selected and output to the external data bus, and the multiple sets of internal bus at least include an internal data bus, a state indicator bus and a mapping state busbars; and a demultiplexer having an input, a plurality of outputs and select lines, wherein the input receives the state indicator, the select line receives the data stored from the map state register, the demultiplexer The output of the demultiplexer is connected via the map state bus to the input of the first multiplexer, wherein the demultiplexer selects the multiplexer of the demultiplexer based on the data received by the select line One of the outputs to convey the state indicator, the unselected outputs of the demultiplexer are output at high impedance. 如請求項7所述的快閃記憶體晶粒,其中當所述快閃記憶體晶粒接收由主控器所送出的設定命令,所述快閃記憶體晶粒的所述狀態指標映射到所述多個輸出埠之一。The flash memory die of claim 7, wherein when the flash memory die receives a set command sent by a host controller, the state index of the flash memory die is mapped to one of the plurality of output ports. 如請求項8所述的快閃記憶體晶粒,其中當所述快閃記憶體晶粒從所述主控器接收要求命令,所述輸入/輸出控制單元之所述解多工器依據所述映射狀態暫存器所儲存的所述資料,選擇與所述快閃記憶體晶粒的所述狀態指標相對應的所述輸出埠,將所述狀態指標的狀態經由選擇的所述輸出埠傳送到所述主控器。The flash memory die of claim 8, wherein when the flash memory die receives a request command from the master, the demultiplexer of the input/output control unit is based on the mapping the data stored in the state register, selecting the output port corresponding to the state index of the flash memory chip, and sending the state of the state index through the selected output port to the master controller. 如請求項9所述的快閃記憶體晶粒,其中在接收所述要求命令時,所述多個輸出埠中未被選擇者處於高阻抗狀態。The flash memory die of claim 9, wherein when the request command is received, an unselected one of the plurality of output ports is in a high impedance state. 如請求項9所述的快閃記憶體晶粒,其中所述設定命令與所述要求命令是由廠商特定命令所定義。The flash memory die of claim 9, wherein the set command and the request command are defined by vendor-specific commands. 如請求項8所述的快閃記憶體晶粒,其中所述主控器為快閃記憶體控制器。The flash memory die of claim 8, wherein the host controller is a flash memory controller. 如請求項7所述的快閃記憶體晶粒,其中所述狀態指標為主控器用備妥/忙碌狀態。The flash memory die of claim 7, wherein the state indicator is a ready/busy state for the master. 如請求項7所述的快閃記憶體晶粒,其中所述輸入/輸出控制單元更包括: 第二多工器,所述第二多工器的輸出耦接至所述解多工器的輸入,用以從多個狀態暫存器擇一輸出給所述解多工器。 The flash memory die of claim 7, wherein the input/output control unit further comprises: A second multiplexer, the output of the second multiplexer is coupled to the input of the demultiplexer, and is used for selecting one output from a plurality of state registers to the demultiplexer. 如請求項7所述的快閃記憶體晶粒,其 中所述輸入/輸出控制單元更包括:與所述解多工器耦接的多工器單元,其中所述多工器單元包括多個多工器, 所述多個多工器的每一個接收多個狀態暫存器,並從所述多個狀態暫存器擇一輸出給所述解多工器, 所述多個多工器的輸出提供給所述解多工器,並經由所述映射狀態匯流排輸入所述第一多工器。 The flash memory die of claim 7, wherein the input/output control unit further comprises: a multiplexer unit coupled to the demultiplexer, wherein the multiplexer unit includes a plurality of multiplexer, Each of the plurality of multiplexers receives a plurality of state registers, and selects one of the plurality of state registers to output to the demultiplexer, The outputs of the multiplexers are provided to the demultiplexer and input to the first multiplexer via the map state bus. 一種快閃記憶體的控制方法,其中所述快閃記憶體具有連接多個快閃記憶體晶粒的外部資料匯流排,所述控制方法包括: 由主控器送出設定命令,將所述外部資料匯流排的各埠與各所述快閃記憶體晶粒的狀態指標分別相對應;以及 由所述主控器向各所述快閃記憶體晶粒送出要求命令; 當各所述多個快閃記憶體晶粒接收到所述要求命令,將各所述多個快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。 A control method of a flash memory, wherein the flash memory has an external data bus connecting a plurality of flash memory chips, and the control method includes: Sending a setting command from the host controller to correspond each port of the external data bus with the state index of each of the flash memory chips respectively; and sending a request command to each of the flash memory chips by the host controller; When each of the plurality of flash memory dies receives the request command, the state of the state indicator of each of the plurality of flash memory dies is passed through each of the corresponding external data buses. port to the host controller. 如請求項16所述的快閃記憶體的控制方法,其中由所述主控器送出所述設定命令更包括: 送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒;以及 送出位址訊號,藉此將各所述多個快閃記憶體晶粒的所述外部資料匯流排的各埠與各所述多個快閃記憶體晶粒的狀態指標分別相對應。 The control method of a flash memory according to claim 16, wherein sending the setting command by the host controller further comprises: sending a prepare command to notify each of the plurality of flash memory dies to prepare for assigning ports of the external data bus to each of the plurality of flash memory dies, respectively; and An address signal is sent out, whereby each port of the external data bus of each of the plurality of flash memory chips corresponds to the state indicators of each of the plurality of flash memory chips, respectively. 如請求項16所述的快閃記憶體的控制方法,其中各所述快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠,所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標, 其中所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態, 所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。 The control method of a flash memory according to claim 16, wherein each of the flash memory chips has a plurality of output ports respectively coupled to the ports of the external data bus, and the plurality of flash memory a first output port of one of the first flash memory dies of one of the memory dies is selected to transmit the status indicator, wherein the output ports corresponding to the first output ports of each of the plurality of flash memory dies other than the first flash memory die are in an output high impedance state, Output ports other than the first output port of the first flash memory output a high impedance state. 如請求項16所述的快閃記憶體的控制方法,其中所述狀態指標為主控器用備妥/忙碌狀態。The control method of a flash memory according to claim 16, wherein the state indicator is a ready/busy state for the master. 如請求項16所述的快閃記憶體的控制方法,其中所述設定命令與所述要求命令是由廠商特定命令所定義。The control method of a flash memory according to claim 16, wherein the setting command and the request command are defined by manufacturer-specific commands. 如請求項16所述的快閃記憶體的控制方法,其中所述主控器為快閃記憶體控制器。The control method of a flash memory according to claim 16, wherein the main controller is a flash memory controller. 一種快閃記憶體,包括: 至少一外部資料匯流排,具有多個埠; 多個快閃記憶體晶粒,分別耦接於所述至少一外部匯流排;以及 主控制器,與所述至少一外部匯流排耦接,用以控制所述多個快閃記憶體晶粒, 其中在設定階段,所述主控器送出設定命令,將所述外部資料匯流排的各埠與各所述快閃記憶體晶粒的狀態指標分別相對應, 在要求階段,由所述主控器向各所述快閃記憶體晶粒送出要求命令,且在各所述多個快閃記憶體晶粒接收到所述要求命令,將各所述多個快閃記憶體晶粒的所述狀態指標的狀態經由相對應的所述外部資料匯流排的各埠,傳送到所述主控器。 A flash memory comprising: at least one external data bus with multiple ports; a plurality of flash memory chips, respectively coupled to the at least one external bus bar; and a main controller, coupled to the at least one external bus, for controlling the plurality of flash memory chips, In the setting stage, the host controller sends a setting command to correspond each port of the external data bus with the state index of each of the flash memory chips, respectively, In the request stage, the host controller sends a request command to each of the flash memory chips, and each of the plurality of flash memory chips receives the request command, and each of the plurality of flash memory chips receives the request command. The state of the state indicator of the flash memory die is transmitted to the host controller via the corresponding ports of the external data bus. 如請求項22所述的快閃記憶體,其中由所述主控器送出所述設定命令更包括: 送出準備命令,以通知各所述多個快閃記憶體晶粒準備進行將所述外部資料匯流排的各埠分別指派給各所述多個快閃記憶體晶粒;以及 送出位址訊號,藉此將各所述多個快閃記憶體晶粒的所述外部資料匯流排的各埠與各所述多個快閃記憶體晶粒的狀態指標分別相對應。 The flash memory of claim 22, wherein sending the setting command by the host controller further comprises: sending a prepare command to notify each of the plurality of flash memory dies to prepare for assigning ports of the external data bus to each of the plurality of flash memory dies, respectively; and An address signal is sent out, whereby each port of the external data bus of each of the plurality of flash memory chips corresponds to the state indicators of each of the plurality of flash memory chips, respectively. 如請求項22所述的快閃記憶體,其中各所述快閃記憶體晶粒具有與所述外部資料匯流排各埠分別耦接的多個輸出埠,所述多個快閃記憶體晶粒其中之一的第一快閃記憶體晶粒的其中一個的第一輸出埠被選擇用以傳送所述狀態指標, 其中所述多個快閃記憶體晶粒中所述第一快閃記憶體晶粒以外的各快閃記憶體晶粒的與所述第一輸出埠相對應的輸出埠為輸出高阻抗狀態, 所述第一快閃記憶體的所述第一輸出埠以外的輸出埠輸出高阻抗狀態。 The flash memory of claim 22, wherein each of the flash memory die has a plurality of output ports respectively coupled to ports of the external data bus, the plurality of flash memory die a first output port of one of the first flash memory dies of one of the dies is selected to transmit the status indicator, wherein the output ports corresponding to the first output ports of each of the plurality of flash memory dies other than the first flash memory die are in an output high impedance state, Output ports other than the first output port of the first flash memory output a high impedance state. 如請求項22所述的快閃記憶體,其中所述狀態指標為主控器用備妥/忙碌狀態。The flash memory of claim 22, wherein the state indicator is a ready/busy state for the master. 如請求項22所述的快閃記憶體,其中所述設定命令與所述要求命令是由廠商特定命令所定義。The flash memory of claim 22, wherein the set command and the request command are defined by vendor-specific commands.
TW109146755A 2020-12-30 2020-12-30 Control method for flash memory, flash memory die and flash memory TWI746331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109146755A TWI746331B (en) 2020-12-30 2020-12-30 Control method for flash memory, flash memory die and flash memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109146755A TWI746331B (en) 2020-12-30 2020-12-30 Control method for flash memory, flash memory die and flash memory

Publications (2)

Publication Number Publication Date
TWI746331B TWI746331B (en) 2021-11-11
TW202226250A true TW202226250A (en) 2022-07-01

Family

ID=79907599

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109146755A TWI746331B (en) 2020-12-30 2020-12-30 Control method for flash memory, flash memory die and flash memory

Country Status (1)

Country Link
TW (1) TWI746331B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI376603B (en) * 2007-09-21 2012-11-11 Phison Electronics Corp Solid state disk storage system with a parallel accessing architecture and a solid state disk controller
US20100180182A1 (en) * 2009-01-09 2010-07-15 Seagate Technology Llc Data memory device and controller with interface error detection and handling logic
US8447908B2 (en) * 2009-09-07 2013-05-21 Bitmicro Networks, Inc. Multilevel memory bus system for solid-state mass storage
US8560764B2 (en) * 2009-12-21 2013-10-15 Intel Corporation Repurposing NAND ready/busy pin as completion interrupt
US10949110B2 (en) * 2018-06-29 2021-03-16 Seagate Technology Llc Configurable mapping system in a non-volatile memory

Also Published As

Publication number Publication date
TWI746331B (en) 2021-11-11

Similar Documents

Publication Publication Date Title
US20100115172A1 (en) Bridge device having a virtual page buffer
TWI492059B (en) Multi-serial interface stacked-die memory architecture
US8549209B2 (en) Bridging device having a configurable virtual page size
KR100695437B1 (en) Multi Port Memory Device
CN1661583B (en) Protocol conversion and arbitration circuit, system and method of conversion and arbitration signal
US7616518B2 (en) Multi-port memory device with serial input/output interface
EP1488321B1 (en) Obtaining data mask mapping information
KR100875978B1 (en) Memory card and memory system including it
KR20040106303A (en) Memory system with burst length shorter than prefetch length
US20160246514A1 (en) Memory system
KR100673013B1 (en) Memory controller and data processing system including it
US12086474B2 (en) Control method for requesting status of flash memory, flash memory system
KR100721582B1 (en) Multi port memory device with serial input/output interface
TWI260496B (en) Mapping data masks in hardware by controller programming
JP2000090697A (en) Semiconductor storage device
CN102467953B (en) Semiconductor storage and comprise the semiconductor system of semiconductor storage
JP4527643B2 (en) MEMORY DEVICE AND MEMORY DEVICE OPERATION METHOD
JPH0146946B2 (en)
TWI746331B (en) Control method for flash memory, flash memory die and flash memory
US20060221733A1 (en) Controller apparatus for utilizing downgrade memory and method for operating the same
TW202316279A (en) Semiconductor device and chip control method
CN100487673C (en) Secondary memory device and method for using secondary memory
TWI842057B (en) Data storage device and non-volatile memory control method
CN119690905A (en) SOC chip and method integrating M1553B interactive interface
JP2023045884A (en) memory system