[go: up one dir, main page]

TW201917591A - Storage device and interface chip thereof - Google Patents

Storage device and interface chip thereof Download PDF

Info

Publication number
TW201917591A
TW201917591A TW107117218A TW107117218A TW201917591A TW 201917591 A TW201917591 A TW 201917591A TW 107117218 A TW107117218 A TW 107117218A TW 107117218 A TW107117218 A TW 107117218A TW 201917591 A TW201917591 A TW 201917591A
Authority
TW
Taiwan
Prior art keywords
interface
wafer
volatile memory
chip
wafers
Prior art date
Application number
TW107117218A
Other languages
Chinese (zh)
Other versions
TWI680374B (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 TW107117218A priority Critical patent/TWI680374B/en
Publication of TW201917591A publication Critical patent/TW201917591A/en
Application granted granted Critical
Publication of TWI680374B publication Critical patent/TWI680374B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A storage device and an interface chip thereof are provided, where the interface chip is applicable to the storage device. The interface chip includes a slave interface circuit, a master interface circuit, and a control circuit. The storage device includes a memory controller and a non-volatile (NV) memory, and the NV memory includes a plurality of NV memory chips. The slave interface circuit is arranged for coupling the interface chip to the memory controller. The master interface circuit is arranged for coupling the interface chip to a set of NV memory chips within the plurality of NV memory chips. A hierarchical architecture in the storage device includes the memory controller, the interface chip, and the set of NV memory chips. The control circuit is arranged for controlling operations of the interface chip.

Description

儲存裝置以及其介面晶片Storage device and its interface chip

本發明係有關於快閃記憶體(Flash memory)控制,尤指一種儲存裝置以及其介面晶片。The present invention relates to flash memory control, and more particularly to a storage device and its interface wafer.

關於高效能與高耐用度之固態硬碟(solid state drive, SSD)產品諸如企業級固態硬碟(enterprise SSD)產品的發展,相關技術中出現一些問題。例如,當嘗試藉由增加一企業級固態硬碟中之快閃記憶體晶片(Flash memory chip)的數量來增加該企業級固態硬碟之儲存容量時,該企業級固態硬碟中之一控制器之一關鍵資料路徑之吞吐量(throughput)大增,但該控制器的現有架構無法負荷這麼大的吞吐量。由於相關技術無法同時確保效能與可靠度(reliability)這兩者,故面臨效能與可靠度之間的權衡(tradeoff)。又例如:相關資料保護的計算量之增加可能導致該控制器的高溫,所以需要提供額外的散熱機制予該控制器,其中該些散熱機制會佔據額外的空間。因此,需要一種新穎的架構,來突破這一類的儲存裝置之發展的瓶頸。With regard to the development of high-performance and high-endurance solid state drive (SSD) products such as enterprise-grade solid-state drives (enterprise SSD) products, some problems have arisen in the related art. For example, when trying to increase the storage capacity of an enterprise-class SSD by increasing the number of flash memory chips in an enterprise-class SSD, one of the enterprise-class SSDs is controlled. The throughput of one of the key data paths is greatly increased, but the controller's existing architecture cannot handle such a large throughput. Since the related art cannot simultaneously ensure both performance and reliability, there is a tradeoff between performance and reliability. For another example, an increase in the amount of calculation of the related data protection may cause the controller to be hot, so an additional heat dissipation mechanism needs to be provided to the controller, wherein the heat dissipation mechanism takes up extra space. Therefore, a novel architecture is needed to break through the bottleneck of the development of this type of storage device.

本發明之一目的在於提供一種儲存裝置以及其介面晶片,以解決上述問題。It is an object of the present invention to provide a storage device and an interface wafer thereof to solve the above problems.

本發明之另一目的在於提供一種儲存裝置以及其介面晶片,以在確保該儲存裝置的效能及可靠度之狀況下最大化(maximize)該儲存裝置的儲存容量。Another object of the present invention is to provide a storage device and an interface wafer thereof to maximize the storage capacity of the storage device while ensuring the performance and reliability of the storage device.

本發明之至少一實施例提供一種介面晶片,其中該介面晶片係應用於一儲存裝置。該介面晶片包含有:一僕(slave)介面電路;一主(master)介面電路;以及一控制電路,耦接於該僕介面電路與該主介面電路之間。該僕介面電路可用來將該介面晶片耦接至一記憶體控制器,其中該儲存裝置包含該記憶體控制器以及一非揮發性(non-volatile, NV)記憶體,且該非揮發性記憶體包含複數個非揮發性記憶體晶片。該記憶體控制器可因應來自一主裝置之一主裝置指令,透過該介面晶片來存取(access)該非揮發性記憶體,且該主裝置係位於該儲存裝置之外。該主介面電路可用來將該介面晶片耦接至該複數個非揮發性記憶體晶片中之一組非揮發性記憶體晶片,其中該儲存裝置中之一階層式(hierarchical)架構包含該記憶體控制器、該介面晶片以及該組非揮發性記憶體晶片。該控制電路可用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片為該記憶體控制器存取該組非揮發性記憶體晶片。At least one embodiment of the present invention provides an interface wafer, wherein the interface wafer is applied to a storage device. The interface chip includes: a slave interface circuit; a master interface circuit; and a control circuit coupled between the slave interface circuit and the main interface circuit. The servant interface circuit can be used to couple the interface chip to a memory controller, wherein the storage device includes the memory controller and a non-volatile (NV) memory, and the non-volatile memory A plurality of non-volatile memory chips are included. The memory controller can access the non-volatile memory through the interface chip in response to a master device command from a host device, and the host device is located outside the storage device. The main interface circuit can be used to couple the interface chip to a set of non-volatile memory chips in the plurality of non-volatile memory chips, wherein a hierarchical structure of the storage device includes the memory A controller, the interface wafer, and the set of non-volatile memory chips. The control circuit can be used to control the operation of the interface chip, wherein the interface chip accesses the set of non-volatile memory chips for the memory controller under the control of the control circuit.

本發明之至少一實施例提供一種儲存裝置。該儲存裝置包含有:一非揮發性記憶體,其中該非揮發性記憶體包含複數個非揮發性記憶體晶片;一記憶體控制器;以及複數個介面晶片,耦接於該記憶體控制器與該非揮發性記憶體之間。該非揮發性記憶體可用來儲存資訊,且該記憶體控制器可用來控制該儲存裝置之運作。另外,該複數個介面晶片中之任一介面晶片包含:一僕介面電路;一主介面電路;以及一控制電路,耦接於該僕介面電路與該主介面電路之間。該僕介面電路可用來將該介面晶片耦接至該記憶體控制器,其中該記憶體控制器可因應來自一主裝置之一主裝置指令,透過該介面晶片來存取該非揮發性記憶體,且該主裝置係位於該儲存裝置之外。該主介面電路可用來將該介面晶片耦接至該複數個非揮發性記憶體晶片中之一組非揮發性記憶體晶片,其中該儲存裝置中之一階層式架構包含該記憶體控制器、該介面晶片以及該組非揮發性記憶體晶片。該控制電路可用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片為該記憶體控制器存取該組非揮發性記憶體晶片。At least one embodiment of the present invention provides a storage device. The storage device includes: a non-volatile memory, wherein the non-volatile memory comprises a plurality of non-volatile memory chips; a memory controller; and a plurality of interface wafers coupled to the memory controller and Between the non-volatile memories. The non-volatile memory can be used to store information, and the memory controller can be used to control the operation of the storage device. In addition, any one of the plurality of interface wafers includes: a servant interface circuit; a main interface circuit; and a control circuit coupled between the servant interface circuit and the main interface circuit. The servant interface circuit can be configured to couple the interface chip to the memory controller, wherein the memory controller can access the non-volatile memory through the interface chip according to a main device command from a host device. And the main device is located outside the storage device. The main interface circuit can be used to couple the interface chip to a set of non-volatile memory chips in the plurality of non-volatile memory chips, wherein a hierarchical structure of the storage device includes the memory controller, The interface wafer and the set of non-volatile memory chips. The control circuit can be used to control the operation of the interface chip, wherein the interface chip accesses the set of non-volatile memory chips for the memory controller under the control of the control circuit.

本發明之至少一實施例提供一種介面晶片,其中該介面晶片係應用於一儲存裝置。該介面晶片包含有:一僕介面電路;複數個旁通(bypass)介面電路;以及一控制電路,耦接於該僕介面電路與該複數個旁通介面電路之間。該僕介面電路可用來將該介面晶片耦接至一記憶體控制器,其中該儲存裝置包含該記憶體控制器以及一非揮發性記憶體,且該非揮發性記憶體包含複數個非揮發性記憶體晶片。該記憶體控制器可因應來自一主裝置之一主裝置指令,透過該介面晶片來存取該非揮發性記憶體,且該主裝置係位於該儲存裝置之外。該複數個旁通介面電路可用來將該介面晶片分別耦接至該儲存裝置中之複數個其它介面晶片,其中該複數個其它介面晶片係分別耦接至該複數個非揮發性記憶體晶片中之複數組非揮發性記憶體晶片。該控制電路可用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片於該記憶體控制器以及該複數個其它介面晶片之間旁通至少一指令與資料中之至少一者,且透過該複數個其它介面晶片為該記憶體控制器存取該複數組非揮發性記憶體晶片。At least one embodiment of the present invention provides an interface wafer, wherein the interface wafer is applied to a storage device. The interface chip includes: a servant interface circuit; a plurality of bypass interface circuits; and a control circuit coupled between the servant interface circuit and the plurality of bypass interface circuits. The servant interface circuit can be used to couple the interface chip to a memory controller, wherein the storage device includes the memory controller and a non-volatile memory, and the non-volatile memory includes a plurality of non-volatile memories Body wafer. The memory controller can access the non-volatile memory through the interface chip in response to a master device command from a host device, and the host device is located outside the storage device. The plurality of interface chips are respectively coupled to the plurality of other interface chips in the storage device, wherein the plurality of other interface chips are respectively coupled to the plurality of non-volatile memory chips A complex array of non-volatile memory chips. The control circuit can be used to control the operation of the interface chip, wherein the interface chip bypasses at least one of the command and the data between the memory controller and the plurality of other interface chips under the control of the control circuit And accessing the complex array non-volatile memory chip to the memory controller through the plurality of other interface chips.

本發明之至少一實施例提供一種儲存裝置。該儲存裝置包含有:一非揮發性記憶體,其中該非揮發性記憶體包含複數個非揮發性記憶體晶片;一記憶體控制器;以及複數個介面晶片,耦接於該記憶體控制器與該非揮發性記憶體之間,其中該複數個介面晶片包含複數個第一層(layer)介面晶片與複數個第二層介面晶片。該非揮發性記憶體可用來儲存資訊,且該記憶體控制器可用來控制該儲存裝置之運作。另外,該複數個第一層介面晶片中之任一介面晶片包含:一僕介面電路;複數個旁通介面電路;以及一控制電路,耦接於該僕介面電路與該複數個旁通介面電路之間。該僕介面電路可用來將該介面晶片耦接至該記憶體控制器,其中該記憶體控制器可因應來自一主裝置之一主裝置指令,透過該介面晶片來存取該非揮發性記憶體,且該主裝置係位於該儲存裝置之外。該複數個旁通介面電路可用來將該介面晶片分別耦接至複數個其它介面晶片,其中該複數個其它介面晶片是該複數個第二層介面晶片中之一組第二層介面晶片,且該複數個其它介面晶片係分別耦接至該複數個非揮發性記憶體晶片中之複數組非揮發性記憶體晶片。該控制電路可用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片於該記憶體控制器以及該複數個其它介面晶片之間旁通至少一指令與資料中之至少一者,且透過該複數個其它介面晶片為該記憶體控制器存取該複數組非揮發性記憶體晶片。At least one embodiment of the present invention provides a storage device. The storage device includes: a non-volatile memory, wherein the non-volatile memory comprises a plurality of non-volatile memory chips; a memory controller; and a plurality of interface wafers coupled to the memory controller and Between the non-volatile memories, the plurality of interface wafers comprise a plurality of first layer interface wafers and a plurality of second layer interface wafers. The non-volatile memory can be used to store information, and the memory controller can be used to control the operation of the storage device. In addition, any one of the plurality of first-layer interface wafers includes: a servant interface circuit; a plurality of bypass interface circuits; and a control circuit coupled to the servant interface circuit and the plurality of bypass interface circuits between. The servant interface circuit can be configured to couple the interface chip to the memory controller, wherein the memory controller can access the non-volatile memory through the interface chip according to a main device command from a host device. And the main device is located outside the storage device. The plurality of bypass interface circuits can be used to couple the interface wafers to a plurality of other interface wafers, wherein the plurality of other interface wafers are a set of second layer interface wafers of the plurality of second layer interface wafers, and The plurality of other interface chips are respectively coupled to the plurality of non-volatile memory chips in the plurality of non-volatile memory chips. The control circuit can be used to control the operation of the interface chip, wherein the interface chip bypasses at least one of the command and the data between the memory controller and the plurality of other interface chips under the control of the control circuit And accessing the complex array non-volatile memory chip to the memory controller through the plurality of other interface chips.

本發明的好處之一是,本發明之介面晶片可提昇儲存裝置之儲存容量,且避免相關技術中之各種問題。另外,本發明之介面晶片可確保該儲存裝置的效能及可靠度。此外,本發明之介面晶片與儲存裝置可進行多層的資料保護,以有效地降低儲存裝置之不可更正位元錯誤率(uncorrectable bit error rate, UBER)。One of the advantages of the present invention is that the interface wafer of the present invention can increase the storage capacity of the storage device and avoid various problems in the related art. In addition, the interface wafer of the present invention can ensure the performance and reliability of the storage device. In addition, the interface wafer and the storage device of the present invention can perform multi-layer data protection to effectively reduce the uncorrectable bit error rate (UBER) of the storage device.

在相關領域中,詞彙「晶片」(chip)可能代表一個裸露的晶粒(die)、或代表於一個封裝(package)內所保護之至少一晶粒。為了便於理解,本發明中之詞彙「晶片」可代表一積體電路(Integrated Circuit;簡稱為「IC」)的晶粒。例如:詞彙「非揮發性記憶體晶片」(non-volatile (NV) memory chip)可代表一非揮發性記憶體IC的晶粒。又例如:詞彙「快閃晶片」(Flash chip)可代表一快閃記憶體IC的晶粒。又例如:詞彙「介面晶片」可代表一介接(interfacing)IC的晶粒。依據某些實施例,一或多個晶片(諸如一或多個晶粒)可設置於一個封裝中。In the related art, the word "chip" may represent a bare die or represent at least one die protected within a package. For ease of understanding, the term "wafer" in the present invention may mean a die of an integrated circuit ("IC"). For example, the term "non-volatile (NV) memory chip" can represent the grain of a non-volatile memory IC. For another example, the word "flash chip" can represent the die of a flash memory IC. For another example, the term "interface wafer" can refer to a die that interfacing the IC. In accordance with certain embodiments, one or more wafers, such as one or more dies, may be disposed in one package.

第1圖為依據本發明一實施例之一種儲存裝置100的示意圖。例如:儲存裝置100可為一固態硬碟(solid state drive, SSD),諸如企業級固態硬碟(enterprise SSD)。如第1圖所示,儲存裝置100包含一動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)105、一記憶體控制器110、一介面晶片組120與一非揮發性記憶體(簡稱為「NV記憶體」)130。記憶體控制器110包含一微處理器110P、一介面電路112、一資料緩衝器114、至少一其它緩衝器115與一存取(access)電路116,其中存取電路116可包含多個子電路,諸如一讀取通道電路116R與一寫入通道電路116W(於第1圖中係分別標示為「讀取通道」與「寫入通道」)。微處理器110P可控制記憶體控制器110中之各個元件,諸如介面電路112、資料緩衝器114、其它緩衝器115與存取電路116。介面晶片組120包含介面晶片122-1、122-2、...與122-N,且NV記憶體130包含複數個NV記憶體晶片,諸如複數個快閃記憶體晶片,其可簡稱為快閃晶片,其中符號「N」可代表大於1之正整數。例如:N = 16;又例如:N = 8;又例如:只要不妨礙本發明之實施,N可等於其它數值。1 is a schematic diagram of a storage device 100 in accordance with an embodiment of the present invention. For example, the storage device 100 can be a solid state drive (SSD), such as an enterprise-class solid state drive (enterprise SSD). As shown in FIG. 1, the storage device 100 includes a dynamic random access memory (DRAM) 105, a memory controller 110, an interface chipset 120, and a non-volatile memory (abbreviated as "NV memory") 130. The memory controller 110 includes a microprocessor 110P, an interface circuit 112, a data buffer 114, at least one other buffer 115, and an access circuit 116. The access circuit 116 can include a plurality of sub-circuits. For example, a read channel circuit 116R and a write channel circuit 116W (labeled as "read channel" and "write channel" in FIG. 1 respectively). Microprocessor 110P can control various components in memory controller 110, such as interface circuitry 112, data buffer 114, other buffers 115, and access circuitry 116. The interface chipset 120 includes interface wafers 122-1, 122-2, ..., and 122-N, and the NV memory 130 includes a plurality of NV memory chips, such as a plurality of flash memory chips, which may be referred to as fast A flash wafer in which the symbol "N" can represent a positive integer greater than one. For example: N = 16; another example: N = 8; again, for example, N may be equal to other values as long as it does not interfere with the implementation of the invention.

依據本實施例,NV記憶體130(例如:該些NV記憶體晶片諸如該些快閃晶片)可用來儲存資訊,且記憶體控制器110可用來控制儲存裝置100之運作。另外,介面晶片122-1、122-2、...與122-N可分別為記憶體控制器110存取(access)該些NV記憶體晶片諸如該些快閃晶片,且進行錯誤更正。在資料從該些快閃晶片中之一或多個快閃晶片被傳送至記憶體控制器110之前,資料錯誤已被更正。因此,介面晶片組120可控制NV記憶體130以提供複數個無誤(error free)模組150-1、150-2、...與150-N予記憶體控制器110,其中無誤模組150-1、150-2、...與150-N中之任一無誤模組150-n可提供無誤資料予記憶體控制器110,而符號「n」可代表落入區間[1, N]之正整數。依據本實施例,無誤模組150-1包含介面晶片122-1以及耦接至介面晶片122-1之多個快閃晶片,無誤模組150-2包含122-2以及耦接至122-2之多個快閃晶片,依此類推;且無誤模組150-N包含122-N以及耦接至122-N之多個快閃晶片。According to the embodiment, the NV memory 130 (eg, the NV memory chips such as the flash chips) can be used to store information, and the memory controller 110 can be used to control the operation of the storage device 100. In addition, the interface chips 122-1, 122-2, ..., and 122-N can access the NV memory chips such as the flash chips for the memory controller 110, respectively, and perform error correction. Data errors have been corrected before data is transferred from one or more of the flash wafers to the memory controller 110. Therefore, the interface chipset 120 can control the NV memory 130 to provide a plurality of error free modules 150-1, 150-2, ... and 150-N to the memory controller 110, wherein the errorless module 150 Any one of the -1, 150-2, ..., and 150-N modules 150-n can provide error-free data to the memory controller 110, and the symbol "n" can represent the falling interval [1, N] Positive integer. According to the embodiment, the error-free module 150-1 includes an interface chip 122-1 and a plurality of flash chips coupled to the interface chip 122-1. The error-free module 150-2 includes 122-2 and is coupled to 122-2. A plurality of flash chips, and so on; and the error-free module 150-N includes 122-N and a plurality of flash chips coupled to 122-N.

基於第1圖所示架構,儲存裝置100中之一階層式(hierarchical)架構包含記憶體控制器110、介面晶片{122-1, 122-2, …, 122-N}以及無誤模組{150-1, 150-2, …, 150-N}中之該些快閃晶片。另外,儲存裝置100可耦接至一主裝置(host device);該主裝置(未顯示)係位於儲存裝置100之外。記憶體控制器110可因應來自該主裝置之一主裝置指令,透過介面晶片122-1、122-2、...與122-N中之任一介面晶片122-n來存取NV記憶體130。例如:該主裝置可為一伺服器,諸如一儲存伺服器,其中儲存裝置100可視為該伺服器中之一儲存系統。另外,當該主裝置存取儲存裝置100時,該主裝置可傳送一邏輯位址(logical address)至儲存裝置100,以指出該主裝置所要存取的資料。記憶體控制器110可將該主裝置的該邏輯位址轉換成一實體位址(physical address),然後將該實體位址傳送至介面晶片122-n以存取NV記憶體130中之資料。此外,記憶體控制器110可具備有循環冗餘校驗碼(Cyclic Redundancy Check code, CRC code)的編碼(encoding)與解碼(decoding)功能,且可於需要時進行循環冗餘校驗碼編碼/解碼運作,以檢查資料的正確性。Based on the architecture shown in FIG. 1, a hierarchical architecture in the storage device 100 includes a memory controller 110, interface chips {122-1, 122-2, ..., 122-N}, and an error-free module {150. The flash chips in -1, 150-2, ..., 150-N}. Additionally, the storage device 100 can be coupled to a host device; the host device (not shown) is external to the storage device 100. The memory controller 110 can access the NV memory through any one of the interface chips 122-1, 122-2, ..., and 122-N via the interface chip 122-n in response to a master command from the host device. 130. For example, the primary device can be a server, such as a storage server, wherein the storage device 100 can be considered as one of the storage systems. In addition, when the primary device accesses the storage device 100, the primary device can transmit a logical address to the storage device 100 to indicate the data to be accessed by the primary device. The memory controller 110 can convert the logical address of the primary device into a physical address, and then transfer the physical address to the interface chip 122-n to access the data in the NV memory 130. In addition, the memory controller 110 may be provided with an encoding and decoding function of a Cyclic Redundancy Check Code (CRC code), and may perform cyclic redundancy check code encoding when needed. / Decode operation to check the correctness of the data.

第2圖繪示第1圖所示之儲存裝置100於一實施例中之實施細節。依據本實施例,無誤模組150-1、150-2、...與150-N可分別實施成具備封裝之無誤模組250-1、250-2、...與250-N。為了便於理解,該些封裝的基座252-1、252-2、...與252-N分別繪示於該些快閃晶片的下方。基座252-1、252-2、...與252-N中之任一基座252-n上可設置由多個快閃晶片所形成的一晶片堆疊(stack),且該晶片堆疊中之每一快閃晶片可透過打線接合(wire/wiring bonding)耦接至介面晶片122-n。例如:該晶片堆疊可包含16個快閃晶片。又例如:該晶片堆疊可包含8個快閃晶片、或其它數量的快閃晶片。當需要時,介面晶片122-n可利用晶片致能(chip enable, CE)訊號來控制是否致能某一個快閃晶片。在記憶體控制器110的控制下,儲存裝置100可具有複數個通道,諸如N個通道Ch(0)、Ch(1)、...與Ch(N - 1),其中每一通道可具備一個無誤模組。針對通道Ch(n - 1),記憶體控制器110可透過介面晶片122-n存取基座252-n上的該晶片堆疊中之任一快閃晶片。例如:在N = 16且該晶片堆疊包含16個快閃晶片的狀況下,記憶體控制器110可透過介面晶片組120存取256個快閃晶片。請注意,該些無誤模組的架構可予以變化。依據某些實施例,一個封裝內可以設置多個介面晶片。例如:該封裝的基座上之一晶片堆疊可包含8個快閃晶片,且該基座上可設置兩個介面晶片。這兩個介面晶片可分別耦接至該晶片堆疊中之上面4個快閃晶片與下面4個快閃晶片,且記憶體控制器110可分別透過這兩個介面晶片來存取該晶片堆疊。依據某些實施例,該複數個通道中之每一通道可對應多個介面晶片。例如:數值N可為該複數個通道的通道數(channel count)之倍數。FIG. 2 is a diagram showing the implementation details of the storage device 100 shown in FIG. 1 in an embodiment. According to the embodiment, the error-free modules 150-1, 150-2, ..., and 150-N can be respectively implemented with the packaged error-free modules 250-1, 250-2, ..., and 250-N. For ease of understanding, the bases 252-1, 252-2, ..., and 252-N of the packages are respectively shown below the flash wafers. A wafer stack formed by a plurality of flash wafers may be disposed on any of the pedestals 252-1, 252-2, ..., and 252-N, and the wafer stack is disposed in the wafer stack Each of the flash wafers can be coupled to the interface wafer 122-n by wire/wiring bonding. For example, the wafer stack can contain 16 flash wafers. As another example, the wafer stack can include 8 flash wafers, or other number of flash wafers. When desired, the interface chip 122-n can utilize a chip enable (CE) signal to control whether a flash chip is enabled. Under the control of the memory controller 110, the storage device 100 may have a plurality of channels, such as N channels Ch(0), Ch(1), ..., and Ch(N-1), wherein each channel may be provided An error-free module. For channel Ch(n-1), memory controller 110 can access any of the wafer stacks on pedestal 252-n through interface wafer 122-n. For example, in the case where N=16 and the wafer stack contains 16 flash wafers, the memory controller 110 can access 256 flash wafers through the interface wafer set 120. Please note that the architecture of these error-free modules can be changed. In accordance with certain embodiments, a plurality of interface wafers can be disposed within a package. For example, one of the wafer stacks on the base of the package can include eight flash wafers, and two interface wafers can be disposed on the base. The two interface wafers can be respectively coupled to the upper four flash chips and the lower four flash chips in the wafer stack, and the memory controller 110 can access the wafer stack through the two interface wafers, respectively. According to some embodiments, each of the plurality of channels may correspond to a plurality of interface wafers. For example, the value N can be a multiple of the channel count of the plurality of channels.

相較於相關技術,本發明的介面晶片可減少通道電容(channel capacitance)。例如,相關技術中肇因於較高的通道電容,只能侷限於每一通道8個快閃晶片,其中典型的通道電容可達20 pF(picofarad;微微法拉)。基於本發明的架構,可實現每一通道32個快閃晶片,其中典型的通道電容約為5 pF。The interface wafer of the present invention can reduce channel capacitance compared to related art. For example, in the related art, due to the higher channel capacitance, it can only be limited to 8 flash chips per channel, and the typical channel capacitance can reach 20 pF (picofarad). Based on the architecture of the present invention, 32 flash wafers per channel can be achieved with a typical channel capacitance of approximately 5 pF.

依據某些實施例,一個封裝內可設置多個晶片堆疊與多個介面晶片,該些晶片堆疊中之每一晶片堆疊包含多個快閃晶片,其中這些介面晶片中之一部分介面晶片可分別耦接至該些晶片堆疊,且這些介面晶片中之另一介面晶片可耦接於記憶體控制器110與該部分介面晶片之間。在記憶體控制器110的控制下,儲存裝置100可具有N個通道Ch(0)、Ch(1)、...與Ch(N - 1),其中這個封裝中之全部的快閃晶片可運作於該N個通道中之任一通道上,且該另一介面晶片可透過該部分介面晶片為記憶體控制器110存取該通道上的該些快閃晶片。According to some embodiments, a plurality of wafer stacks and a plurality of interface wafers may be disposed in one package, and each of the wafer stacks includes a plurality of flash wafers, wherein one of the interface wafers may be separately coupled The other of the interface wafers can be coupled between the memory controller 110 and the portion of the interface wafer. Under the control of the memory controller 110, the storage device 100 can have N channels Ch(0), Ch(1), ..., and Ch(N-1), wherein all of the flash wafers in this package can be The operation is performed on any one of the N channels, and the other interface chip can access the flash chips on the channel through the partial interface chip for the memory controller 110.

第3圖為依據本發明一實施例之一種介面晶片300的示意圖,其中介面晶片300可應用於第1圖所示之儲存裝置100。介面晶片300可作為介面晶片{122-1, 122-2, …, 122-N}中之任一介面晶片112-n之一例,且介面晶片300可耦接至該複數個NV記憶體晶片中之一組NV記憶體晶片,諸如無誤模組150-n中之該些快閃晶片。於是,該階層式架構可包含記憶體控制器110、介面晶片300以及該組NV記憶體晶片。為了便於理解,在介面晶片112-n實施成介面晶片300的狀況下,介面晶片{122-1, 122-2, …, 122-N}當中除了介面晶片112-n以外之其它晶片可實施成具有和介面晶片300相同的電路架構。例如介面晶片{122-1, 122-2, …, 122-N}可為同型號的產品,諸如具有相同電路設計且以相同製程與相同條件來生產的產品;這些產品可視為彼此相同的產品,其中忽略了(由於製程等等因素所導致的)這些產品之間的可能的極小差異。假設介面晶片300代表複數個介面晶片{300}的其中之一、且該複數個介面晶片{300}代表同型號的產品,所以該複數個介面晶片{300}可作為介面晶片{122-1, 122-2, …, 122-N}之一例。除了記憶體控制器110、介面晶片300以及該組NV記憶體晶片,該階層式架構可另包含該複數個介面晶片{300}中之多個其它介面晶片,且另包含該複數個NV記憶體晶片中之其它組NV記憶體晶片,諸如無誤模組{150-1, 150-2, …, 150-N}中之其它無誤模組中之該些快閃晶片,其中該多個其它介面晶片可分別耦接於記憶體控制器110以及該些其它組NV記憶體晶片之間。3 is a schematic diagram of an interface wafer 300 according to an embodiment of the invention, wherein the interface wafer 300 can be applied to the storage device 100 shown in FIG. The interface wafer 300 can be used as an example of any one of the interface wafers {122-1, 122-2, ..., 122-N}, and the interface wafer 300 can be coupled to the plurality of NV memory chips. A set of NV memory chips, such as the flash chips in the error-free module 150-n. Thus, the hierarchical architecture can include a memory controller 110, an interface wafer 300, and the set of NV memory chips. For ease of understanding, in the case where the interface wafer 112-n is implemented as the interface wafer 300, other wafers other than the interface wafer 112-n among the interface wafers {122-1, 122-2, ..., 122-N} may be implemented. It has the same circuit architecture as the interface wafer 300. For example, the interface wafers {122-1, 122-2, ..., 122-N} may be products of the same type, such as products having the same circuit design and produced under the same process and the same conditions; these products may be regarded as identical products to each other. , which ignores the possible small differences between these products (due to process and other factors). Assuming that the interface wafer 300 represents one of a plurality of interface wafers {300}, and the plurality of interface wafers {300} represent products of the same model, the plurality of interface wafers {300} can be used as the interface wafer {122-1, An example of 122-2, ..., 122-N}. In addition to the memory controller 110, the interface chip 300, and the set of NV memory chips, the hierarchical architecture may further include a plurality of other interface chips in the plurality of interface wafers {300}, and further include the plurality of NV memories. Other sets of NV memory chips in the wafer, such as the flash chips in other error-free modules in the uncorrected modules {150-1, 150-2, ..., 150-N}, wherein the plurality of other interface chips They can be coupled between the memory controller 110 and the other sets of NV memory chips, respectively.

如第3圖所示,介面晶片300包含一僕(slave)介面電路310、一控制電路320、一主(master)介面電路330與M個旁通(bypass)介面電路{340-1, 340-2, …, 340-M},其中符號「M」可代表大於1之正整數。控制電路320係耦接於僕介面電路310與主介面電路330之間,以管理僕介面電路310與主介面電路330之間的多個指令路徑與資料路徑,諸如第3圖中以陰影繪示的6個縱向(vertical)路徑。僕介面電路310包含一並列(parallel)介面電路310P與一序列(serial)介面電路310S,且序列介面電路310S可為一序列器/解序列器(Serializer/Deserializer, SerDes)電路。另外,控制電路320包含一序列轉並列控制器321、一指令轉換器322、一指令緩衝器323、一循環冗餘校驗電路(Cyclic Redundancy Check circuit;簡稱為「CRC電路」)320CRC、一資料緩衝器326、一錯誤更正碼電路(Error Correction Code circuit;簡稱為「ECC電路」)320ECC與一旁通模式控制電路329,其中CRC電路320CRC包含一檢查電路324與一重新編碼電路325,ECC電路320ECC包含一編碼器327與一解碼器328,且旁通模式控制電路329包含一中繼器(repeater)329R與一切換電路329SW。序列轉並列控制器321可控制序列資料與並列資料之間的轉換運作。指令緩衝器323可用來緩衝來自記憶體控制器110之指令,而指令轉換器322可於需要時轉換該些指令或回應記憶體控制器110。資料緩衝器326可用來緩衝資料,而CRC電路320CRC與ECC電路320ECC可進行關於資料保護之運作。旁通模式控制電路329可控制關於資料/指令旁通之運作。基於這些機制,介面晶片300可因應記憶體控制器110之請求來自行管理該組NV記憶體晶片。As shown in FIG. 3, the interface chip 300 includes a slave interface circuit 310, a control circuit 320, a master interface circuit 330, and M bypass interface circuits {340-1, 340- 2, ..., 340-M}, where the symbol "M" can represent a positive integer greater than one. The control circuit 320 is coupled between the servant interface circuit 310 and the main interface circuit 330 to manage a plurality of instruction paths and data paths between the servant interface circuit 310 and the main interface circuit 330, such as shaded in FIG. 6 vertical paths. The servant interface circuit 310 includes a parallel interface circuit 310P and a serial interface circuit 310S, and the serial interface circuit 310S can be a Serializer/Deserializer (SerDesializer) circuit. In addition, the control circuit 320 includes a sequence-by-parallel controller 321, an instruction converter 322, an instruction buffer 323, a Cyclic Redundancy Check Circuit ("CRC circuit") 320CRC, a data The buffer 326, an error correction code circuit (Error Correction Code circuit (referred to as "ECC circuit") 320ECC and a bypass mode control circuit 329, wherein the CRC circuit 320CRC includes a check circuit 324 and a re-encoding circuit 325, ECC circuit 320ECC An encoder 327 and a decoder 328 are included, and the bypass mode control circuit 329 includes a repeater 329R and a switching circuit 329SW. The sequence-to-parallel controller 321 controls the conversion operation between the sequence data and the parallel data. The instruction buffer 323 can be used to buffer instructions from the memory controller 110, and the instruction converter 322 can convert the instructions or respond to the memory controller 110 as needed. The data buffer 326 can be used to buffer data, and the CRC circuit 320CRC and the ECC circuit 320ECC can perform operations on data protection. The bypass mode control circuit 329 can control the operation of the data/instruction bypass. Based on these mechanisms, the interface wafer 300 can manage the set of NV memory chips in response to a request from the memory controller 110.

依據本實施例,僕介面電路310可用來將介面晶片300耦接至記憶體控制器110,且主介面電路330可用來將介面晶片300耦接至該組NV記憶體晶片,諸如無誤模組150-n中之該些快閃晶片。控制電路320可控制介面晶片300之運作。在控制電路320之控制下,介面晶片300可為記憶體控制器110存取該組NV記憶體晶片。例如:當記憶體控制器110具備並列傳輸的能力時,介面晶片300可透過並列介面電路310P和記憶體控制器110進行通訊。該6個縱向路徑中之兩個路徑通過並列介面電路310P、CRC電路320CRC與ECC電路320ECC,且這兩個路徑中之朝下、朝上路徑分別對應於寫入運作與讀取運作。又例如:當記憶體控制器110具備序列傳輸的能力時,介面晶片300可透過序列介面電路310S和記憶體控制器110進行通訊。該6個縱向路徑中之兩個路徑通過序列介面電路310S、CRC電路320CRC與ECC電路320ECC,且這兩個路徑中之朝下、朝上路徑分別對應於寫入運作與讀取運作。來自記憶體控制器110之資料可為序列傳輸資料。序列介面電路310S(例如該序列器/解序列器電路)可對該序列傳輸資料進行解序列化(deserialization)運作以供介面晶片300使用,且可對介面晶片300中之並列傳輸資料進行序列化(serialization)運作以供傳輸至記憶體控制器110。According to the present embodiment, the servant interface circuit 310 can be used to couple the interface chip 300 to the memory controller 110, and the main interface circuit 330 can be used to couple the interface chip 300 to the set of NV memory chips, such as the error-free module 150. The flash chips in -n. Control circuit 320 can control the operation of interface wafer 300. Under the control of the control circuit 320, the interface chip 300 can access the set of NV memory chips for the memory controller 110. For example, when the memory controller 110 has the capability of parallel transmission, the interface chip 300 can communicate with the memory controller 110 through the parallel interface circuit 310P. Two of the six longitudinal paths pass through the parallel interface circuit 310P, the CRC circuit 320CRC, and the ECC circuit 320ECC, and the downward and upward paths of the two paths correspond to the write operation and the read operation, respectively. For another example, when the memory controller 110 has the capability of serial transmission, the interface chip 300 can communicate with the memory controller 110 through the serial interface circuit 310S. Two of the six longitudinal paths pass through the sequence interface circuit 310S, the CRC circuit 320CRC, and the ECC circuit 320ECC, and the downward and upward paths of the two paths correspond to the write operation and the read operation, respectively. The data from the memory controller 110 can be a serial transmission of data. The sequence interface circuit 310S (eg, the sequencer/de sequencer circuit) can deserialize the sequence transmission data for use by the interface wafer 300 and serialize the parallel transmission data in the interface wafer 300. (serialization) operates for transmission to the memory controller 110.

另外,ECC電路320ECC可進行關於錯誤更正碼之運作(ECC-related operation),其中控制電路320可利用ECC電路320ECC為記憶體控制器110進行該些關於錯誤更正碼之運作,以修正至少一部分資料錯誤。控制電路320(例如ECC電路320ECC)可為記憶體控制器110進行軟解碼(soft decoding)、硬解碼(hard decoding)、錯誤復原控制(error recovery control)、讀取錯誤處置(read error handling)、讀取重試(read retry)、門檻電壓追蹤(threshold voltage tracking;簡稱為「Vth追蹤」)…等運作中之至少一部分運作,以於需要時先取得一可更正碼字(correctable codeword)以供修正資料錯誤,來取得無誤資料。依據本實施例,介面晶片300的錯誤更正碼運算能力(ECC calculation capability)高於記憶體控制器110的錯誤更正碼運算能力。例如:記憶體控制器110可具備透過錯誤更正碼運算來偵測及更正錯誤之能力,且介面晶片300於進行錯誤更正碼運算時所能更正之錯誤位元數(error bit count)高於記憶體控制器110於進行錯誤更正碼運算時所能更正之錯誤位元數。又例如:記憶體控制器110可具備透過錯誤更正碼運算來偵測錯誤之能力,而非透過錯誤更正碼運算來更正錯誤之能力,其中關於錯誤更正,記憶體控制器110可仰賴介面晶片300之能力。不論記憶體控制器110是否具備透過錯誤更正碼運算來更正錯誤之能力,藉助於ECC電路320ECC,控制電路320使介面晶片300與該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)之組合對記憶體控制器110如同一個無誤(error free)NV記憶體晶片組。依據某些實施例,介面晶片300與該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)可位於一封裝內。藉助於ECC電路320ECC,介面晶片300使該封裝對記憶體控制器110如同一個無誤NV記憶體晶片封裝。In addition, the ECC circuit 320ECC can perform an operation related to an error correction code (ECC-related operation), wherein the control circuit 320 can perform the operation of the error correction code for the memory controller 110 by using the ECC circuit 320ECC to correct at least a part of the data. error. The control circuit 320 (eg, the ECC circuit 320ECC) can perform soft decoding, hard decoding, error recovery control, read error handling, and Read at least a portion of operations such as read retry, threshold voltage tracking ("Vth Tracking"), etc., to obtain a correctable codeword for use when needed Correct the data error to obtain the correct information. According to the embodiment, the error correction code operation capability (ECC calculation capability) of the interface wafer 300 is higher than the error correction code operation capability of the memory controller 110. For example, the memory controller 110 can have the ability to detect and correct errors through error correction code operations, and the error bit count that the interface chip 300 can correct when performing error correction code operations is higher than the memory. The number of error bits that the body controller 110 can correct when performing an error correction code operation. For another example, the memory controller 110 can have the ability to detect errors through error correction code operations, rather than correcting errors through error correction code operations. The memory controller 110 can rely on the interface chip 300 for error correction. Ability. Regardless of whether the memory controller 110 has the ability to correct errors through error correction code operations, the control circuit 320 enables the interface wafer 300 and the set of NV memory chips (such as the error-free module 150-n by means of the ECC circuit 320ECC). The combination of flash chips) is like an error free NV memory chip set to the memory controller 110. According to some embodiments, the interface wafer 300 and the set of NV memory chips (such as the flash chips in the error-free module 150-n) may be located in a package. With the ECC circuit 320ECC, the interface wafer 300 encapsulates the package to the memory controller 110 as an error-free NV memory chip.

請注意,記憶體控制器110的架構可予以變化,且介面晶片300可設計成一多功能晶片,以配合記憶體控制器110的架構上之各種可能的變化。例如:當記憶體控制器110傳送資料與該資料之一奇偶校驗碼(parity-check code)至介面晶片300時,控制電路320可捨棄(discard)該奇偶校驗碼、利用ECC電路320ECC(尤其是其內的編碼器327)依據該資料產生一新的奇偶校驗碼、且將該資料與該新的奇偶校驗碼寫入該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)中之至少一NV記憶體晶片。又例如:當記憶體控制器110傳送資料至介面晶片300時,控制電路320可利用ECC電路320ECC(尤其是其內的編碼器327)依據該資料產生一奇偶校驗碼、且將該資料與該奇偶校驗碼寫入該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)中之至少一NV記憶體晶片。Please note that the architecture of the memory controller 110 can be varied, and the interface die 300 can be designed as a multi-function wafer to accommodate various possible variations in the architecture of the memory controller 110. For example, when the memory controller 110 transmits the data and the parity-check code of the data to the interface chip 300, the control circuit 320 can discard the parity code and utilize the ECC circuit 320ECC ( In particular, the encoder 327 therein generates a new parity code according to the data, and writes the data and the new parity code to the set of NV memory chips (such as the error-free module 150-n). At least one NV memory chip of the flash chips. For another example, when the memory controller 110 transmits the data to the interface chip 300, the control circuit 320 can generate a parity code according to the data by using the ECC circuit 320ECC (especially the encoder 327 therein), and the data is The parity code is written to at least one of the NV memory chips of the set of NV memory chips (such as the flash chips in the error-free module 150-n).

此外,CRC電路320CRC可進行關於循環冗餘校驗之運作(CRC-related operation),其中控制電路320可利用CRC電路320CRC檢查來自記憶體控制器110的資料之正確性。例如:該主裝置指令可為一主裝置寫入指令。依據該主裝置寫入指令,記憶體控制器110傳送該資料與該資料之一循環冗餘校驗碼(CRC code)至介面晶片300。CRC電路320CRC(尤其是其內的檢查電路324)可對該資料進行一循環冗餘校驗計算以產生一計算結果。當該計算結果等同於該循環冗餘校驗碼,控制電路320可利用ECC電路320ECC(尤其是其內的編碼器327)依據該資料產生一奇偶校驗碼且透過主介面電路330對該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)中之至少一NV記憶體晶片傳送一寫入指令,以將該資料與該奇偶校驗碼寫入該至少一NV記憶體晶片;否則,控制電路320可請求記憶體控制器110重新傳送該資料與該循環冗餘校驗碼。又例如:該主裝置指令可為一主裝置讀取指令。依據該主裝置讀取指令,記憶體控制器110請求介面晶片300進行一對應的讀取運作。於該對應的讀取運作中,控制電路320透過主介面電路330對該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)中之至少一NV記憶體晶片傳送一讀取指令,使上述至少一NV記憶體晶片傳送對應於該讀取指令之讀取資料與該讀取資料之一奇偶校驗碼至介面晶片300。控制電路320可利用ECC電路320ECC(尤其是其內的解碼器328)依據該讀取資料與該奇偶校驗碼修正該讀取資料中之任何錯誤,以取得無誤資料。CRC電路320CRC(尤其是其內的重新編碼電路325)可對該無誤資料進行一循環冗餘校驗計算以產生一循環冗餘校驗碼,以容許記憶體控制器110於從介面晶片300取得(例如讀取)該無誤資料時依據該循環冗餘校驗碼檢查該無誤資料之正確性,其中該循環冗餘校驗碼可確保該無誤資料被正確地接收。記憶體控制器110可依據該循環冗餘校驗碼檢查該無誤資料是否被正確地接收。如果有錯誤,記憶體控制器110可從介面晶片300重新取得(例如重新讀取)該無誤資料及該循環冗餘校驗碼。In addition, the CRC circuit 320CRC can perform a CRC-related operation, wherein the control circuit 320 can check the correctness of the data from the memory controller 110 using the CRC circuit 320CRC. For example, the master device command can write a command to a master device. According to the master write command, the memory controller 110 transmits the data and one of the data CRC codes to the interface chip 300. The CRC circuit 320 CRC (especially the inspection circuit 324 therein) may perform a cyclic redundancy check calculation on the data to produce a calculation result. When the calculation result is equivalent to the cyclic redundancy check code, the control circuit 320 can generate a parity code based on the data by using the ECC circuit 320ECC (especially the encoder 327 therein) and pass the main interface circuit 330 to the group. At least one NV memory chip of the NV memory chip (such as the flash chips in the error-free module 150-n) transmits a write command to write the data and the parity code to the at least one NV The memory chip; otherwise, the control circuit 320 can request the memory controller 110 to retransmit the data and the cyclic redundancy check code. For another example, the master device command can be a master device read command. Based on the master read command, the memory controller 110 requests the interface wafer 300 to perform a corresponding read operation. In the corresponding read operation, the control circuit 320 transmits the at least one NV memory chip of the set of NV memory chips (such as the flash chips in the error-free module 150-n) through the main interface circuit 330. And reading the instruction, so that the at least one NV memory chip transfers the read data corresponding to the read command and the parity code of the read data to the interface chip 300. The control circuit 320 can use the ECC circuit 320ECC (especially the decoder 328 therein) to correct any errors in the read data according to the read data and the parity code to obtain error-free data. The CRC circuit 320CRC (especially the re-encoding circuit 325 therein) may perform a cyclic redundancy check calculation on the error-free data to generate a cyclic redundancy check code to allow the memory controller 110 to obtain from the interface chip 300. The correctness of the error-free data is checked according to the cyclic redundancy check code (for example, when reading) the error-free data, wherein the cyclic redundancy check code ensures that the error-free data is correctly received. The memory controller 110 can check whether the error-free data is correctly received according to the cyclic redundancy check code. If there is an error, the memory controller 110 can retrieve (e.g., re-read) the error-free data and the cyclic redundancy check code from the interface wafer 300.

如前面所述,介面晶片300可設計成該多功能晶片。控制電路320(例如旁通模式控制電路329)係耦接於僕介面電路310與該M個旁通介面電路{340-1, 340-2, …, 340-M}之間,以控制介面晶片300之運作。於介面晶片300之一旁通模式中,旁通模式控制電路329可透過對應的旁通路徑來旁通指令與資料,且中繼器329R可於該些旁通路徑上放大訊號強度。例如:該6個縱向路徑中之右側兩個路徑通過並列介面電路310P、中繼器329R與主介面電路330,且這兩個路徑中之朝下、朝上路徑分別對應於寫入運作與讀取運作,其中這兩個路徑可作為該些旁通路徑之例子。又例如:切換電路329SW可進行切換運作,以將該些旁通路徑耦接至該M個旁通介面電路{340-1, 340-2, …, 340-M}中之任一旁通介面電路340-m,其中符號「m」可代表落入區間[1, M]之正整數。於是,該些旁通路徑可通過並列介面電路310P、中繼器329R、切換電路329SW與旁通介面電路340-m。請注意,該旁通模式亦可應用於序列傳輸。例如:該些旁通路徑可通過序列介面電路310S、中繼器329R與主介面電路330。又例如:該些旁通路徑可通過序列介面電路310S、中繼器329R、切換電路329SW與旁通介面電路340-m。As previously described, the interface wafer 300 can be designed as the multi-function wafer. The control circuit 320 (eg, the bypass mode control circuit 329) is coupled between the slave interface circuit 310 and the M bypass interface circuits {340-1, 340-2, ..., 340-M} to control the interface chip. The operation of 300. In one of the bypass modes of the interface die 300, the bypass mode control circuit 329 can bypass the command and data through the corresponding bypass path, and the repeater 329R can amplify the signal strength on the bypass paths. For example, the right two of the six longitudinal paths pass through the parallel interface circuit 310P, the repeater 329R, and the main interface circuit 330, and the downward and upward paths of the two paths correspond to the write operation and the read, respectively. Take the operation, where these two paths can be used as examples of these bypass paths. For another example, the switching circuit 329SW can perform a switching operation to couple the bypass paths to any one of the M bypass interface circuits {340-1, 340-2, ..., 340-M}. 340-m, where the symbol "m" can represent a positive integer falling within the interval [1, M]. Thus, the bypass paths can pass through the parallel interface circuit 310P, the repeater 329R, the switching circuit 329SW, and the bypass interface circuit 340-m. Note that this bypass mode can also be applied to sequence transfers. For example, the bypass paths may pass through the sequence interface circuit 310S, the repeater 329R, and the main interface circuit 330. For another example, the bypass paths may pass through the sequence interface circuit 310S, the repeater 329R, the switching circuit 329SW, and the bypass interface circuit 340-m.

在控制電路320(例如旁通模式控制電路329)之控制下,介面晶片300可於該旁通模式中從記憶體控制器110旁通一指令至該組NV記憶體晶片中之一NV記憶體晶片,且可於該旁通模式中旁通資料(例如:於儲存裝置100之一寫入運作中從記憶體控制器110旁通資料至該NV記憶體晶片、或於儲存裝置100之一讀取運作中從該NV記憶體晶片旁通資料至記憶體控制器110)。Under the control of the control circuit 320 (eg, the bypass mode control circuit 329), the interface chip 300 can bypass an instruction from the memory controller 110 to the NV memory in the set of NV memory chips in the bypass mode. a chip, and bypassing the data in the bypass mode (eg, bypassing data from the memory controller 110 to the NV memory chip in one of the writing operations of the storage device 100, or reading in one of the storage devices 100) The data is bypassed from the NV memory chip to the memory controller 110).

第4圖繪示第3圖所示之介面晶片300於一實施例中之資料處理方案。存取電路116之該些子電路可包含仲裁器(arbiter)414與415,且另包含多個直接記憶體存取電路(Direct Memory Access circuit;簡稱為「DMA電路」),諸如分別位於寫入通道電路116W與讀取通道電路116R之兩組DMA電路{416-1, 416-2, …, 416-K}與{417-1, 417-2, …, 417-K}。為了簡明起見,這兩組DMA電路於第4圖中可標示為「DMA」。仲裁器414可控制該組DMA電路{416-1, 416-2, …, 416-K}的運作,以將資料從資料緩衝器114傳送至介面晶片300。仲裁器415可控制該DMA電路{417-1, 417-2, …, 417-K}的運作,以從介面晶片300取得資料且將該些資料暫存於資料緩衝器114。如第4圖所示,介面晶片300的一部分電路,諸如ECC電路320ECC,可耦接至記憶體控制器110之存取電路116,其中為了簡明起見,介面晶片300的其它部分電路未繪示於第4圖中。例如:該組DMA電路{416-1, 416-2, …, 416-K}可透過僕介面電路310將資料寫入資料緩衝器326。當透過僕介面電路310從該組DMA電路{416-1, 416-2, …, 416-K}接收該些資料,介面晶片300可將該些資料緩衝於資料緩衝器326中,且可利用檢查電路324檢查該些資料是否被正確地接收。當檢查結果指出該些資料係被正確地接收,介面晶片300可利用編碼器327對該些資料進行編碼。又例如:介面晶片300可利用解碼器328對來自該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)之碼字進行解碼以取得正確的讀出資料且將該些讀出資料緩衝於資料緩衝器326中,且可利用重新編碼電路325產生對應的循環冗餘校驗碼來保護該些讀出資料。於是,該組DMA電路{417-1, 417-2, …, 417-K}可透過僕介面電路310讀取資料緩衝器326中之該些被保護的讀出資料。FIG. 4 is a diagram showing the data processing scheme of the interface wafer 300 shown in FIG. 3 in an embodiment. The sub-circuits of the access circuit 116 may include arbiter 414 and 415, and further include a plurality of direct memory access circuits (referred to as "DMA circuits"), such as respectively located in the write Two sets of DMA circuits {416-1, 416-2, ..., 416-K} and {417-1, 417-2, ..., 417-K} of the channel circuit 116W and the read channel circuit 116R. For the sake of brevity, the two sets of DMA circuits can be labeled "DMA" in Figure 4. The arbiter 414 can control the operation of the set of DMA circuits {416-1, 416-2, ..., 416-K} to transfer data from the data buffer 114 to the interface wafer 300. The arbiter 415 can control the operation of the DMA circuits {417-1, 417-2, ..., 417-K} to retrieve data from the interface wafer 300 and temporarily store the data in the data buffer 114. As shown in FIG. 4, a portion of the circuit of the interface wafer 300, such as the ECC circuit 320ECC, can be coupled to the access circuit 116 of the memory controller 110, wherein other portions of the interface wafer 300 are not shown for simplicity. In Figure 4. For example, the set of DMA circuits {416-1, 416-2, ..., 416-K} can write data to the data buffer 326 via the servant interface circuit 310. When the data is received from the set of DMA circuits {416-1, 416-2, ..., 416-K} through the servant interface circuit 310, the interface chip 300 can buffer the data in the data buffer 326 and can be utilized. Inspection circuit 324 checks if the data is received correctly. When the inspection result indicates that the data is correctly received, the interface wafer 300 can encode the data using the encoder 327. For another example, the interface chip 300 can decode the codewords from the set of NV memory chips (such as the flash chips in the error-free module 150-n) by using the decoder 328 to obtain the correct read data and The read data is buffered in the data buffer 326, and the read data can be protected by the re-encoding circuit 325 to generate a corresponding cyclic redundancy check code. Thus, the set of DMA circuits {417-1, 417-2, ..., 417-K} can read the protected read data in the data buffer 326 through the servant interface circuit 310.

依據本實施例,編碼器327可包含分別對應於該組DMA電路{416-1, 416-2, …, 416-K}之一組編碼電路{327-1, 327-2, …, 327-K},而解碼器328可包含分別對應於該組DMA電路{417-1, 417-2, …, 417-K}之一組解碼電路{328-1, 328-2, …, 328-K}與一組數位訊號處理引擎(Digital Signal Processing engine;簡稱為「DSP引擎」){428-1, 428-2, …, 428-K}。例如:該組NV記憶體晶片(諸如無誤模組150-n中之該些快閃晶片)可包含K個快閃晶片,而該K個快閃晶片可透過主介面電路330耦接至該組編碼電路{327-1, 327-2, …, 327-K}、且亦可透過主介面電路330耦接至該組DSP引擎{428-1, 428-2, …, 428-K}。另外,該組編碼電路{327-1, 327-2, …, 327-K}可分別對欲寫入該K個快閃晶片之資料進行錯誤更正碼編碼運作以產生該些資料各自的奇偶校驗碼,且分別將對應的碼字寫入該K個快閃晶片以保護該些資料,其中該些碼字包含該些資料及該些奇偶校驗碼。當介面晶片300為記憶體控制器110從該K個快閃晶片讀取該些資料時,介面晶片300從該K個快閃晶片所讀出的讀取資料可包含該些碼字之讀出版本,其中該些讀出版本可能有錯誤。當需要時,該組DSP引擎{428-1, 428-2, …, 428-K}中之任一DSP引擎428-k可進行上述至少一部分運作中之至少一運作(諸如軟解碼、硬解碼、錯誤復原控制、讀取錯誤處置、讀取重試、及/或Vth追蹤),以先取得一可更正碼字,使解碼電路328-k可以順利地依據該可更正碼字進行錯誤更正碼解碼運作以修正錯誤,其中符號「k」可代表落入區間[1, K]之正整數。於是,該組解碼電路{328-1, 328-2, …, 328-K}可取得該些資料之正確版本。According to this embodiment, the encoder 327 may include a group of encoding circuits {327-1, 327-2, ..., 327- corresponding to the set of DMA circuits {416-1, 416-2, ..., 416-K}, respectively. K}, and the decoder 328 may include a set of decoding circuits {328-1, 328-2, ..., 328-K corresponding to the set of DMA circuits {417-1, 417-2, ..., 417-K}, respectively. } and a set of Digital Signal Processing Engine ("DSP Engine") {428-1, 428-2, ..., 428-K}. For example, the set of NV memory chips (such as the flash chips in the error-free module 150-n) may include K flash chips, and the K flash chips may be coupled to the group through the main interface circuit 330. The encoding circuits {327-1, 327-2, ..., 327-K} are also coupled to the set of DSP engines {428-1, 428-2, ..., 428-K} through the main interface circuit 330. In addition, the group of encoding circuits {327-1, 327-2, ..., 327-K} can respectively perform error correction code encoding operations on the data to be written into the K flash chips to generate respective parity of the data. The code is verified, and corresponding code words are respectively written into the K flash chips to protect the data, wherein the code words include the data and the parity codes. When the interface chip 300 reads the data from the K flash chips for the memory controller 110, the read data read by the interface chip 300 from the K flash chips may include the read versions of the code words. Ben, where the read versions may have errors. Any one of the set of DSP engines {428-1, 428-2, ..., 428-K} may perform at least one of the at least one of the operations described above (such as soft decoding, hard decoding, when needed) , error recovery control, read error handling, read retry, and/or Vth tracking) to obtain a correctable codeword so that decoding circuit 328-k can successfully perform error correction code based on the correctable codeword The decoding operation corrects the error, where the symbol "k" represents a positive integer falling within the interval [1, K]. Thus, the set of decoding circuits {328-1, 328-2, ..., 328-K} can obtain the correct version of the data.

依據某些實施例,解碼電路{328-1, 328-2, …, 328-K}可進行低密度奇偶校驗碼(low-density parity-check (LDPC) code;簡稱為「LDPC碼」)編碼運作,而該些奇偶校驗碼可為LDPC碼。According to some embodiments, the decoding circuit {328-1, 328-2, ..., 328-K} may perform a low-density parity-check (LDPC) code; simply referred to as an "LDPC code" The encoding operation is performed, and the parity codes may be LDPC codes.

於某些實施例中,控制電路320可依據實體位址(physical address),諸如區塊(block)實體位址或頁實體位址,透過主介面電路330存取該K個快閃晶片。例如:記憶體控制器110可於一寫入運作或一讀取運作中指定該些實體位址。於是,介面晶片300可依據該些實體位址為記憶體控制器110存取該K個快閃晶片中之某些區塊或某些頁。另外,關於讀取錯誤處置,控制電路320(例如ECC電路320ECC)可進行複數個字線(word line, WL)中之任一字線的錯誤修正,以提供無誤資料予記憶體控制器110。例如:記憶體控制器110可以為某些實體位址中之任一實體位址,僅僅發出一讀取指令給介面晶片300,然後就等待來自介面晶片300之無誤資料。此外,控制電路320(例如ECC電路320ECC)可負責進行讀取重試、LDPC軟解碼與各種其它類型的資料保護運作。In some embodiments, control circuitry 320 can access the K flash chips through main interface circuitry 330 in accordance with a physical address, such as a block physical address or a page physical address. For example, the memory controller 110 can specify the physical addresses in a write operation or a read operation. Thus, the interface chip 300 can access certain blocks or pages of the K flash chips for the memory controller 110 according to the physical addresses. Additionally, with respect to read error handling, control circuit 320 (e.g., ECC circuit 320ECC) can perform error correction of any of a plurality of word lines (WL lines) to provide error-free information to memory controller 110. For example, the memory controller 110 can be any physical address of some physical addresses, only issue a read command to the interface chip 300, and then wait for the error-free data from the interface chip 300. In addition, control circuitry 320 (e.g., ECC circuitry 320ECC) may be responsible for performing read retry, LDPC soft decoding, and various other types of data protection operations.

第5圖繪示第3圖所示之介面晶片300於一實施例中之資料保護方案。在控制電路320之控制下,介面晶片300可將該組NV記憶體晶片(例如無誤模組150-n中之該些快閃晶片,諸如該K個快閃晶片)組合成一容錯式磁碟陣列(Redundant Array of Independent Disks;簡稱為「RAID」),以將一組資料之一奇偶校驗碼儲存於該組NV記憶體晶片中之至少一NV記憶體晶片,其中該組資料分佈於該組NV記憶體晶片中之其它NV記憶體晶片中。例如:在K = 16的狀況下,該K個快閃晶片可包含一組快閃晶片{430-1, 430-2, …, 430-16},且介面晶片300可分別利用晶片致能訊號CE0、CE1、…與CE15來控制是否致能快閃晶片430-1、430-2、…與430-16。控制電路320可控制介面晶片300分別從快閃晶片430-1、430-2、…與430-15讀取資料D1、D2、…與D15,且依據資料D1、D2、…與D15產生資料{D1, D2, …, D15}之一奇偶校驗碼RP,以將奇偶校驗碼RP寫入快閃晶片430-16來保護資料{D1, D2, …, D15},其中奇偶校驗碼RP可視為一RAID奇偶校驗碼。例如,當資料{D1, D2, …, D15}中之任一者有錯誤,介面晶片300可依據奇偶校驗碼RP更正錯誤,以確保資料{D1, D2, …, D15}之正確性。FIG. 5 is a diagram showing a data protection scheme of the interface wafer 300 shown in FIG. 3 in an embodiment. Under the control of the control circuit 320, the interface chip 300 can combine the set of NV memory chips (for example, the flash chips in the error-free module 150-n, such as the K flash chips) into a fault-tolerant disk array. a Redundant Array of Independent Disks ("RAID") for storing a parity code of a set of data in at least one NV memory chip in the set of NV memory chips, wherein the set of data is distributed in the group In other NV memory chips in NV memory chips. For example, in the case of K=16, the K flash chips may include a set of flash chips {430-1, 430-2, ..., 430-16}, and the interface chip 300 may utilize the wafer enable signals respectively. CE0, CE1, ... and CE15 control whether flash chips 430-1, 430-2, ... and 430-16 are enabled. The control circuit 320 can control the interface chip 300 to read the materials D1, D2, ..., and D15 from the flash chips 430-1, 430-2, ..., and 430-15, respectively, and generate data according to the materials D1, D2, ..., and D15. One of the parity codes RP of D1, D2, ..., D15} to protect the data {D1, D2, ..., D15} by writing the parity code RP to the flash chip 430-16, wherein the parity code RP Can be considered a RAID parity code. For example, when any of the materials {D1, D2, ..., D15} has an error, the interface chip 300 can correct the error according to the parity code RP to ensure the correctness of the data {D1, D2, ..., D15}.

第5圖所示之資料保護方案可分別應用於第1圖所示之介面晶片{122-1, 122-2, …, 122-N}。基於該資料保護方案,介面晶片{122-1, 122-2, …, 122-N}可分別對無誤模組{150-1, 150-2, …, 150-N}各自的快閃晶片進行RAID保護。因此,於該階層式架構中,此資料保護機制可視為較低層(lower layer)RAID保護。依據某些實施例,該RAID屬於儲存裝置100中之一層RAID(a layer of RAIDs),諸如一較低層RAID。介面晶片{122-1, 122-2, …, 122-N}可分別將無誤模組{150-1, 150-2, …, 150-N}各自的快閃晶片組成N個RAID(N RAIDs),其中該N個RAID屬於該層RAID,且該N個RAID包含該RAID。另外,記憶體控制器110可將該複數個NV記憶體晶片組合成另一層RAID,諸如一較高層RAID,其中該另一層RAID異於該層RAID。The data protection scheme shown in Fig. 5 can be applied to the interface wafers {122-1, 122-2, ..., 122-N} shown in Fig. 1, respectively. Based on the data protection scheme, the interface chips {122-1, 122-2, ..., 122-N} can respectively perform the flash chips of the error-free modules {150-1, 150-2, ..., 150-N} respectively. RAID protection. Therefore, in this hierarchical architecture, this data protection mechanism can be considered as lower layer RAID protection. According to some embodiments, the RAID belongs to a layer of RAIDs in the storage device 100, such as a lower layer RAID. The interface chips {122-1, 122-2, ..., 122-N} can respectively form the flash chips of the error-free modules {150-1, 150-2, ..., 150-N} into N RAIDs (N RAIDs). ), wherein the N RAIDs belong to the layer RAID, and the N RAIDs comprise the RAID. In addition, the memory controller 110 can combine the plurality of NV memory chips into another layer of RAID, such as a higher layer RAID, wherein the other layer of RAID is different from the layer of RAID.

第6圖繪示第1圖所示之儲存裝置100於一實施例中之資料保護方案。依據本實施例,儲存裝置100中存在至少兩層RAID,諸如該層RAID(其包含該N個RAID)與該另一層RAID。關於該層RAID,該N個RAID中之任一RAID可進行第5圖所示之較低層RAID保護。例如,這個RAID可依據資料D1、D2、…與D15產生資料{D1, D2, …, D15}之奇偶校驗碼RP,以透過奇偶校驗碼RP來保護資料{D1, D2, …, D15}。在K = 16且N = 16的狀況下,該N個RAID諸如RAID {RAID(0), RAID(1), …, RAID(15)}可分別對應於通道{Ch(0), Ch(1), ..., Ch(15)}。為了便於理解,第6圖的最上面標示了符號「D1」、「D2」、…「D15」以及「RP」,以指出該N個RAID可進行第5圖所示之較低層RAID保護,其中第n個RAID RAID(n - 1)對應於通道Ch(n - 1),且依據資料{D1(n), D2(n), …, D15(n)}產生資料{D1(n), D2(n), …, D15(n)}的奇偶校驗碼RP(n)。例如:第1個RAID RAID(0)產生資料{D1(1), D2(1), …, D15(1)}的奇偶校驗碼RP(1),第2個RAID RAID(1)產生資料{D1(2), D2(2), …, D15(2)}的奇偶校驗碼RP(2),…且第15個RAID RAID(14)產生資料{D1(15), D2(15), …, D15(15)}的奇偶校驗碼RP(15)。FIG. 6 is a diagram showing the data protection scheme of the storage device 100 shown in FIG. 1 in an embodiment. According to this embodiment, there are at least two layers of RAID in the storage device 100, such as the layer RAID (which includes the N RAIDs) and the other layer of RAID. Regarding this layer of RAID, any of the N RAIDs can perform the lower layer RAID protection shown in FIG. For example, this RAID can generate the parity code RP of the data {D1, D2, ..., D15} according to the data D1, D2, ... and D15 to protect the data {D1, D2, ..., D15 through the parity code RP. }. In the case of K = 16 and N = 16, the N RAIDs such as RAID {RAID(0), RAID(1), ..., RAID(15)} may correspond to the channel {Ch(0), Ch(1, respectively). ), ..., Ch(15)}. For the sake of understanding, the symbols "D1", "D2", ... "D15" and "RP" are indicated at the top of Figure 6, to indicate that the N RAIDs can perform the lower layer RAID protection shown in Figure 5. The nth RAID RAID (n - 1) corresponds to the channel Ch(n - 1), and the data {D1(n) is generated according to the data {D1(n), D2(n), ..., D15(n)}, The parity code RP(n) of D2(n), ..., D15(n)}. For example: the first RAID RAID (0) generates data {D1 (1), D2 (1), ..., D15 (1)} parity code RP (1), the second RAID RAID (1) generates data {D1(2), D2(2), ..., D15(2)} parity code RP(2), ... and the 15th RAID RAID (14) generates data {D1(15), D2(15) , ..., D15 (15)} parity code RP (15).

關於該另一層RAID,記憶體控制器110可進行較高層(higher layer)RAID保護。如第6圖所示,該較低層RAID保護可對應於一資料排列方向,諸如橫向,且該較高層RAID保護可對應於另一資料排列方向,諸如縱向。記憶體控制器110可依據該N個RAID中之前(N - 1)個RAID {RAID(0), RAID(1), …, RAID(N - 2)}中之對應的頁的資料產生這些資料的奇偶校驗碼,且利用此奇偶校驗碼作為該N個RAID中之第N個RAID RAID(N - 1)中之一對應的頁的資料。在K = 16且N = 16的狀況下,該第N個RAID RAID(N - 1)是第16個RAID RAID(15)。例如:記憶體控制器110可利用資料{D1(1), D1(2), …, D1(15)}的奇偶校驗碼作為資料D1(16)、利用資料{D2(1), D2(2), …, D2(15)}的奇偶校驗碼作為資料D2(16)、…且利用資料{D15(1), D15(2), …, D15(15)}的奇偶校驗碼作為資料D15(16)。之後,第16個RAID RAID(15)可進行該較低層RAID保護,以依據資料{D1(16), D2(16), …, D15(16)}(諸如該較高層RAID保護機制所產生的該些奇偶校驗碼)產生奇偶校驗碼RP(16)。Regarding the other layer of RAID, the memory controller 110 can perform higher layer RAID protection. As shown in FIG. 6, the lower layer RAID protection may correspond to a data arrangement direction, such as landscape, and the higher layer RAID protection may correspond to another data arrangement direction, such as portrait. The memory controller 110 can generate the data according to the data of the corresponding pages in the previous (N - 1) RAID {RAID(0), RAID(1), ..., RAID(N - 2)} of the N RAIDs. The parity code, and uses the parity code as the material of the page corresponding to one of the Nth RAID RAIDs (N-1) of the N RAIDs. In the case of K = 16 and N = 16, the Nth RAID RAID (N-1) is the 16th RAID RAID (15). For example, the memory controller 110 can use the parity code of the data {D1(1), D1(2), ..., D1(15)} as the material D1(16), and the data {D2(1), D2( The parity code of 2), ..., D2(15)} is used as the data D2(16), ... and the parity code of the data {D15(1), D15(2), ..., D15(15)} is used as the parity code Information D15 (16). After that, the 16th RAID RAID (15) can perform the lower layer RAID protection according to the data {D1(16), D2(16), ..., D15(16)} (such as generated by the higher layer RAID protection mechanism). The parity codes) generate a parity code RP (16).

第7圖繪示第3圖示之介面晶片300於一實施例中之旁通控制方案。基於該旁通控制方案,介面晶片組120可被取代為多層介面晶片組,且NV記憶體130中之快閃晶片可被擴增(extend)為更大數量的快閃晶片,以實現具有更大儲存容量之一儲存裝置。依據本實施例,旁通介面電路{340-1, 340-2, …, 340-M}可用來將介面晶片300分別耦接至此儲存裝置中之複數個其它介面晶片,諸如介面晶片{300-1, 300-2, …, 300-M},其中在控制電路320(例如旁通模式控制電路329)之控制下,介面晶片300於記憶體控制器110以及該複數個其它介面晶片之間旁通至少一指令與資料中之至少一者,且透過該複數個其它介面晶片為記憶體控制器110存取該儲存裝置中之複數組NV記憶體晶片。例如:介面晶片{300-1, 300-2, …, 300-M}中之任一者可具有和介面晶片300相同的電路架構,且介面晶片{300-1, 300-2, …, 300-M}各自的僕介面電路{310-1, 310-2, …, 310-M}可分別耦接至介面晶片300的旁通介面電路{340-1, 340-2, …, 340-M}。第7圖中以虛線繪示的旁通路徑可作為第3圖所示實施例中所提到之該些旁通路徑之例子。例如:介面晶片{300-1, 300-2, …, 300-M}中之任一介面晶片300-m的主介面電路可用來耦接該複數組NV記憶體晶片中之一組NV記憶體晶片,諸如一個無誤模組中之多個快閃晶片。此狀況下,該多層介面晶片組的層數(layer count)可等於兩層。又例如:介面晶片{300-1, 300-2, …, 300-M}中之任一介面晶片300-m的M個旁通介面電路可分別用來耦接M個額外的介面晶片(其可具有和介面晶片300相同的電路架構,其中該M個額外的介面晶片和介面晶片300可為同型號的產品,諸如具有相同電路設計且以相同製程與相同條件來生產的產品),以透過該M個額外的介面晶片耦接至該複數組NV記憶體晶片中之更多組NV記憶體晶片,諸如更多個無誤模組中之多個快閃晶片。此狀況下,該多層介面晶片組的層數可大於兩層。FIG. 7 illustrates a bypass control scheme of the interface wafer 300 of FIG. 3 in an embodiment. Based on the bypass control scheme, the interface wafer set 120 can be replaced with a multi-layer interface wafer set, and the flash wafers in the NV memory 130 can be extended to a larger number of flash wafers to achieve more One of the large storage capacity storage devices. According to this embodiment, the bypass interface circuits {340-1, 340-2, ..., 340-M} can be used to respectively couple the interface wafers 300 to a plurality of other interface wafers in the storage device, such as an interface wafer {300- 1, 300-2, ..., 300-M}, wherein the interface wafer 300 is between the memory controller 110 and the plurality of other interface wafers under the control of the control circuit 320 (e.g., the bypass mode control circuit 329) Passing at least one of the at least one instruction and the data, and accessing the multi-array NV memory chip in the storage device by the memory controller 110 through the plurality of other interface chips. For example, any of the interface wafers {300-1, 300-2, ..., 300-M} may have the same circuit architecture as the interface wafer 300, and the interface wafers {300-1, 300-2, ..., 300 -M} respective servant interface circuits {310-1, 310-2, ..., 310-M} can be respectively coupled to the bypass interface circuits of the interface wafer 300 {340-1, 340-2, ..., 340-M }. The bypass path shown by a broken line in Fig. 7 can be taken as an example of the bypass paths mentioned in the embodiment shown in Fig. 3. For example, a main interface circuit of any of the interface chips 300-m of the interface chip {300-1, 300-2, ..., 300-M} can be used to couple a set of NV memory in the complex array NV memory chip. A wafer, such as a plurality of flash wafers in an error-free module. In this case, the layer count of the multi-layer interface chip set can be equal to two layers. For another example, M bypass interface circuits of any of the interface wafers 300-m of the interface wafers {300-1, 300-2, ..., 300-M} can be used to couple M additional interface wafers respectively (its The same circuit architecture as the interface wafer 300 can be used, wherein the M additional interface wafers and interface wafers 300 can be the same type of products, such as products having the same circuit design and produced under the same process and the same conditions, to The M additional interface chips are coupled to a plurality of sets of NV memory chips in the complex array NV memory chip, such as a plurality of flash chips in a plurality of error-free modules. In this case, the number of layers of the multi-layer interface wafer set can be greater than two layers.

依據本實施例,該儲存裝置中之一階層式架構可包含記憶體控制器110、介面晶片300、該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})以及該複數組NV記憶體晶片。介面晶片300可為一多功能介面晶片,且可具有分別對應於複數個組態(configuration)之複數個功能,而該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})中之任一者可具有和介面晶片300相同的電路架構,其中該複數個其它介面晶片依據該複數個組態中之一第一組態來運作,且介面晶片300依據該複數個組態中之一第二組態來運作。例如該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})和介面晶片300可為同型號的產品,諸如具有相同電路設計且以相同製程與相同條件來生產的產品;這些產品可視為彼此相同的產品,其中忽略了(由於製程等等因素所導致的)這些產品之間的可能的極小差異。由第3圖所示架構可知,介面晶片300之主介面電路330具有一NV記憶體晶片耦接功能。例如:依據該第二組態,介面晶片300之主介面電路330係閒置(idle)。又例如:依據該第一組態,該複數個其它介面晶片中之任一其它介面晶片中之一對應的主介面電路,諸如介面晶片{300-1, 300-2, …, 300-M}中之任一介面晶片300-m中之該主介面電路,可耦接至該複數組NV記憶體晶片中之該組NV記憶體晶片,以容許該其它介面晶片為記憶體控制器110存取該組NV記憶體晶片(諸如一個無誤模組中之多個快閃晶片),其中依據該第一組態,該其它介面晶片中之多個對應的旁通介面電路係閒置。According to this embodiment, a hierarchical structure of the storage device may include a memory controller 110, an interface chip 300, and a plurality of other interface chips (such as interface chips {300-1, 300-2, ..., 300-M }) and the complex array of NV memory chips. The interface wafer 300 can be a multi-function interface wafer, and can have a plurality of functions corresponding to a plurality of configurations, respectively, and the plurality of other interface wafers (such as interface wafers {300-1, 300-2, ... Any of the 300-M}) may have the same circuit architecture as the interface wafer 300, wherein the plurality of other interface wafers operate according to one of the plurality of configurations, and the interface wafer 300 is based on The second configuration of one of the plurality of configurations operates. For example, the plurality of other interface wafers (such as interface wafers {300-1, 300-2, ..., 300-M}) and the interface wafer 300 may be of the same type, such as having the same circuit design and having the same process and the same conditions. Products to be produced; these products can be considered as identical products to each other, ignoring the possible small differences between these products (due to process and the like). As can be seen from the architecture shown in FIG. 3, the main interface circuit 330 of the interface chip 300 has an NV memory chip coupling function. For example, according to the second configuration, the main interface circuit 330 of the interface wafer 300 is idle. For another example, according to the first configuration, one of the other interface wafers of any one of the other interface wafers corresponds to a main interface circuit, such as an interface chip {300-1, 300-2, ..., 300-M} The main interface circuit of any one of the interface chips 300-m can be coupled to the set of NV memory chips in the complex array NV memory chip to allow the other interface chips to be accessed by the memory controller 110. The set of NV memory chips (such as a plurality of flash chips in an error-free module), wherein a plurality of corresponding bypass interface circuits of the other interface wafers are idle according to the first configuration.

在記憶體控制器110的控制下,該儲存裝置可具有該複數個通道,諸如N個通道Ch(0)、Ch(1)、...與Ch(N - 1),其中每一通道可具備多個無誤模組。該多層介面晶片組所管理之複數個NV記憶體晶片(諸如上述更大數量的快閃晶片)可分別對應於該複數個通道(channel),而該複數組NV記憶體晶片可對應於該複數個通道中之一通道。例如:介面晶片300以及該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})可對應於該通道。又例如:介面晶片300、該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})以及該複數組NV記憶體晶片可屬於該通道,而非該複數個通道中之任一其它通道。Under the control of the memory controller 110, the storage device may have the plurality of channels, such as N channels Ch(0), Ch(1), ..., and Ch(N-1), wherein each channel may With multiple correct modules. The plurality of NV memory chips managed by the multi-layer interface chip set (such as the above-mentioned larger number of flash chips) may respectively correspond to the plurality of channels, and the complex array NV memory chips may correspond to the complex number One of the channels. For example, the interface wafer 300 and the plurality of other interface wafers (such as interface wafers {300-1, 300-2, ..., 300-M}) may correspond to the channel. For another example, the interface wafer 300, the plurality of other interface wafers (such as interface wafers {300-1, 300-2, ..., 300-M}) and the complex array NV memory wafer may belong to the channel instead of the plurality Any of the other channels.

另外,該儲存裝置包含該多層介面晶片組。依據某些實施例,介面晶片300屬於該多層介面晶片組中之一層介面晶片組,諸如一第一層介面晶片組,且該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})屬於該多層介面晶片組中之另一層介面晶片組,諸如一第二層介面晶片組,其中該第一層介面晶片組可依據該第二組態來運作,且該第二層介面晶片組可依據該第一組態來運作。該第一層介面晶片組可透過該第二層介面晶片組為記憶體控制器110存取該複數個NV記憶體晶片(諸如上述更大數量的快閃晶片)。例如:該多層介面晶片組中之任何兩個介面晶片可具有相同的電路架構,而介面晶片300可為這兩個介面晶片的其中之一,但本發明不限於此。當這兩個介面晶片從該儲存裝置被拆解(disassemble)時,這兩個介面晶片於該階層式架構中係可互換(exchangeable),以供互相取代。例如該多層介面晶片組可為同型號的產品,諸如具有相同電路設計且以相同製程與相同條件來生產的產品;這些產品可視為彼此相同的產品,其中忽略了(由於製程等等因素所導致的)這些產品之間的可能的極小差異。Additionally, the storage device includes the multi-layer interface wafer set. According to some embodiments, the interface wafer 300 belongs to a layer of interface wafers in the multi-layered interface wafer set, such as a first layer of interface wafers, and the plurality of other interface wafers (such as interface wafers {300-1, 300-2) , ..., 300-M}) another layer of interface chips in the multi-layer interface chip set, such as a second layer interface chip set, wherein the first layer interface chip set can operate according to the second configuration, and The second level interface chip set can operate in accordance with the first configuration. The first layer of interface chips can access the plurality of NV memory chips (such as the above-described larger number of flash chips) for the memory controller 110 through the second layer of interface chips. For example, any two interface wafers in the multi-layer interface wafer set may have the same circuit architecture, and the interface wafer 300 may be one of the two interface wafers, but the invention is not limited thereto. When the two interface wafers are disassembled from the storage device, the two interface wafers are exchangeable in the hierarchical architecture for mutual replacement. For example, the multi-layer interface chip set can be the same type of product, such as products having the same circuit design and produced under the same process and the same conditions; these products can be regarded as the same product, which is ignored (due to process and the like) The smallest possible difference between these products.

依據某些實施例,該第一層介面晶片組中之介面晶片可視為複數個第一層介面晶片,且該第二層介面晶片組中之介面晶片可視為複數個第二層介面晶片,其中該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})是該複數個第二層介面晶片中之一組第二層介面晶片。例如:該複數第二層介面晶片包含複數組第二層介面晶片,且該組第二層介面晶片是該複數組第二層介面晶片中之一組。該階層式架構包含記憶體控制器110、該複數個第一層介面晶片、該複數組第二層介面晶片以及該複數個NV記憶體晶片(諸如上述更大數量的快閃晶片)。According to some embodiments, the interface chip in the first layer interface chip group can be regarded as a plurality of first layer interface wafers, and the interface chip in the second layer interface chip group can be regarded as a plurality of second layer interface wafers, wherein The plurality of other interface wafers (such as interface wafers {300-1, 300-2, ..., 300-M}) are a set of second layer interface wafers of the plurality of second layer interface wafers. For example, the plurality of second layer interface wafers comprise a complex array of second layer interface wafers, and the set of second layer interface wafers is a group of the second array of interface layers of the plurality of layers. The hierarchical architecture includes a memory controller 110, the plurality of first layer interface wafers, the complex array second layer interface wafer, and the plurality of NV memory chips (such as the larger number of flash wafers described above).

第8圖為依據本發明另一實施例之一種儲存裝置600的示意圖,其中第7圖所示之旁通控制方案可應用於儲存裝置600。儲存裝置600可作為第7圖所示實施例中所述具有更大儲存容量之該儲存裝置之一例,第一層介面晶片組620-1與第二層介面晶片組620-2可作為該多層介面晶片組之一例,且第一層介面晶片組620-1之介面晶片{122-1, 122-2, …, 122-N}中之任一介面晶片122-n所管理的複數組NV記憶體晶片(諸如M個無誤模組{650-(M*(n-1)+1), 650-(M*(n-1)+2), …, 650-(M*n)}各自的快閃晶片)可作為介面晶片300透過該複數個其它介面晶片(諸如介面晶片{300-1, 300-2, …, 300-M})所存取之該複數組NV記憶體晶片之一例。FIG. 8 is a schematic diagram of a storage device 600 according to another embodiment of the present invention, wherein the bypass control scheme shown in FIG. 7 is applicable to the storage device 600. The storage device 600 can be used as an example of the storage device having a larger storage capacity as described in the embodiment shown in FIG. 7, and the first layer interface chip set 620-1 and the second layer interface chip group 620-2 can be used as the multilayer layer. An example of an interface chipset, and a complex array of NV memories managed by any of the interface wafers 122-n of the interface wafers {122-1, 122-2, ..., 122-N} of the first layer of the chipset 620-1 Body wafer (such as M error-free modules {650-(M*(n-1)+1), 650-(M*(n-1)+2), ..., 650-(M*n)} The flash wafer can be used as an example of the complex array NV memory chip accessed by the interface wafer 300 through the plurality of other interface wafers (such as interface wafers {300-1, 300-2, ..., 300-M}).

基於第8圖所示架構,本發明可在確保儲存裝置600的效能及可靠度之狀況下最大化(maximize)儲存裝置600的儲存容量。相較於儲存裝置100,儲存裝置600中之無誤模組的數量可擴增為(M * N)個,其中非揮發性記憶體(簡稱為「NV記憶體」)630中之(M * N)組NV記憶體晶片(諸如無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}各自的快閃晶片)可代表上述更大數量的快閃晶片。例如:無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}中之任一無誤模組可和無誤模組150-n相似。又例如:無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}中之任一無誤模組可和無誤模組150-n相同。另外,第一層介面晶片組620-1與第二層介面晶片組620-2之間的耦接關係可依據該旁通控制方案來實施。例如:當第7圖所示之介面晶片300代表第8圖所示之介面晶片122-1,第7圖所示之介面晶片{300-1, 300-2, …, 300-M}可代表無誤模組{650-1, 650-2, …, 650-M}各自的介面晶片;依此類推。又例如:當第7圖所示之介面晶片300代表第8圖所示之介面晶片122-N,第7圖所示之介面晶片{300-1, 300-2, …, 300-M}可代表無誤模組{650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}各自的介面晶片。此外,第一層介面晶片組620-1包含介面晶片{122-1, 122-2, …, 122-N}。第一層介面晶片組620-1之介面晶片{122-1, 122-2, …, 122-N}與記憶體控制器110之間的耦接關係可和介面晶片組120之介面晶片{122-1, 122-2, …, 122-N}與記憶體控制器110之間的耦接關係相同,其中相關實施細節已於某些前述實施例(諸如第1、3至4圖所示實施例)中說明。例如:介面晶片組620-1之介面晶片{122-1, 122-2, …, 122-N}各自的僕介面電路可耦接至記憶體控制器110之存取電路116。依據本實施例,第一層介面晶片組620-1可透過第二層介面晶片組620-2為記憶體控制器110存取NV記憶體630中之(M * N)組NV記憶體晶片(諸如無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}各自的快閃晶片)。Based on the architecture shown in FIG. 8, the present invention can maximize the storage capacity of the storage device 600 while ensuring the performance and reliability of the storage device 600. Compared with the storage device 100, the number of error-free modules in the storage device 600 can be expanded to (M * N), among which non-volatile memory (referred to as "NV memory") 630 (M * N) Group NV memory chips (such as error-free modules {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N-1)+1), 650-(M* (N-1)+2), ..., 650-(M*N)}} respective flash wafers may represent a larger number of flash wafers as described above. For example: error-free module {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N-1)+1), 650-(M*(N-1)+ Any of the 2), ..., 650-(M*N)}} modules can be similar to the error-free module 150-n. Another example: uncorrected modules {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N-1)+1), 650-(M*(N-1) Any of the +2), ..., 650-(M*N)}} modules can be identical to the error-free module 150-n. In addition, the coupling relationship between the first layer interface chip set 620-1 and the second layer interface chip group 620-2 can be implemented according to the bypass control scheme. For example, when the interface wafer 300 shown in FIG. 7 represents the interface wafer 122-1 shown in FIG. 8, the interface wafers {300-1, 300-2, ..., 300-M} shown in FIG. 7 can represent Uncorrected modules {650-1, 650-2, ..., 650-M} respective interface wafers; and so on. For another example, when the interface wafer 300 shown in FIG. 7 represents the interface wafer 122-N shown in FIG. 8, the interface wafers {300-1, 300-2, ..., 300-M} shown in FIG. 7 may be Represents the correct interface module {650-(M*(N-1)+1), 650-(M*(N-1)+2), ..., 650-(M*N)} respective interface wafers. Further, the first layer interface chip set 620-1 includes interface wafers {122-1, 122-2, ..., 122-N}. The coupling relationship between the interface wafers {122-1, 122-2, ..., 122-N} of the first interface chipset 620-1 and the memory controller 110 can be compared with the interface wafer of the interface chipset 120. The coupling relationship between -1, 122-2, ..., 122-N} and memory controller 110 is the same, with related implementation details being implemented in some of the foregoing embodiments (such as shown in Figures 1, 3 through 4) Example). For example, the interface of each of the interface chips {122-1, 122-2, ..., 122-N} of the interface chipset 620-1 can be coupled to the access circuit 116 of the memory controller 110. According to the embodiment, the first layer interface chip set 620-1 can access the (M*N) group NV memory chips in the NV memory 630 for the memory controller 110 through the second layer interface chip set 620-2 ( Such as the error-free module {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N-1)+1), 650-(M*(N-1)+2 ), ..., 650-(M*N)}} respective flash chips).

依據某些實施例,在介面晶片122-n中之該控制電路(諸如控制電路320)之控制下,介面晶片122-n可將介面晶片122-n所管理的該複數組NV記憶體晶片(諸如該M個無誤模組{650-(M*(n-1)+1), 650-(M*(n-1)+2), …, 650-(M*n)}各自的快閃晶片)組合成一RAID,以將一組資料之一奇偶校驗碼儲存於該複數組NV記憶體晶片中之至少一NV記憶體晶片,其中該組資料分佈於該複數組NV記憶體晶片中之至少一部分NV記憶體晶片中。尤其是,上述至少一NV記憶體晶片可包含該複數組NV記憶體晶片中之一組NV記憶體晶片當中全部的NV記憶體晶片,諸如無誤模組650-(M*n)的快閃晶片;且該至少一部分NV記憶體晶片可包含該複數組NV記憶體晶片中之其它組NV記憶體晶片,諸如該M個無誤模組中之前(M - 1)個無誤模組(即,該M個無誤模組{650-(M*(n-1)+1), 650-(M*(n-1)+2), …, 650-(M*n)}當中除了無誤模組650-(M*n)以外之剩下的無誤模組)各自的快閃晶片。另外,該奇偶校驗碼包含複數個局部(partial)奇偶校驗碼,且該複數個局部奇偶校驗碼可分別儲存於該組NV記憶體晶片(諸如無誤模組650-(M*n)的快閃晶片)中之對應的頁。由於介面晶片{122-1, 122-2, …, 122-N}可分別對無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}各自的快閃晶片進行RAID保護,故於該階層式架構中,此資料保護機制可視為較低層RAID保護。According to some embodiments, the interface wafer 122-n can control the complex array of NV memory chips managed by the interface wafer 122-n under the control of the control circuit (such as the control circuit 320) in the interface wafer 122-n ( Such as the M error-free modules {650-(M*(n-1)+1), 650-(M*(n-1)+2), ..., 650-(M*n)} respective flashes Chips are combined into a RAID to store one of a set of data parity codes in at least one NV memory chip in the complex array NV memory chip, wherein the set of data is distributed in the complex array NV memory chip At least a portion of the NV memory wafer. In particular, the at least one NV memory chip may include all of the NV memory chips in a set of NV memory chips in the complex array NV memory chip, such as a flash chip of the error-free module 650-(M*n). And the at least a portion of the NV memory chips may include other sets of NV memory chips in the complex array of NV memory chips, such as the previous (M-1) error-free modules of the M error-free modules (ie, the M Incorrect modules {650-(M*(n-1)+1), 650-(M*(n-1)+2), ..., 650-(M*n)} except for the error-free module 650- The remaining error-free modules (M*n) are the respective flash chips. In addition, the parity code includes a plurality of partial parity codes, and the plurality of partial parity codes are respectively stored in the set of NV memory chips (such as the error-free module 650-(M*n). Corresponding page in the flash chip). Since the interface chips {122-1, 122-2, ..., 122-N} can be respectively correct for the {{650-1, 650-2, ..., 650-M}, ..., {650-(M*( N-1) +1), 650-(M*(N-1)+2), ..., 650-(M*N)}} respective flash chips are RAID protected, so in this hierarchical architecture, This data protection mechanism can be considered as a lower level RAID protection.

依據某些實施例,這個RAID屬於儲存裝置600中之一層RAID(a layer of RAIDs),諸如一較低層RAID。介面晶片{122-1, 122-2, …, 122-N}可分別將無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}各自的快閃晶片組成N個RAID(N RAIDs),其中該N個RAID屬於該層RAID,且該N個RAID包含該RAID。另外,記憶體控制器110可將NV記憶體630中之該(M * N)組NV記憶體晶片組合成另一層RAID,諸如一較高層RAID,其中該另一層RAID異於該層RAID。According to some embodiments, this RAID belongs to a layer of RAIDs in storage device 600, such as a lower layer RAID. The interface chips {122-1, 122-2, ..., 122-N} can respectively be error-free modules {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N -1) +1), 650-(M*(N-1)+2), ..., 650-(M*N)}} respective flash chips constitute N RAIDs (N RAIDs), wherein the N RAID belongs to this layer of RAID, and the N RAIDs contain the RAID. In addition, the memory controller 110 can combine the (M*N) group of NV memory chips in the NV memory 630 into another layer of RAID, such as a higher layer RAID, wherein the other layer of RAID is different from the layer of RAID.

第9圖繪示第8圖所示之第一層介面晶片組620-1於一實施例中之資料保護方案。例如:M = 4,且儲存裝置700可作為第8圖所示儲存裝置600之一例,其中第一層介面晶片組720-1、第二層介面晶片組720-2與非揮發性記憶體(簡稱為「NV記憶體」)730可分別作為第一層介面晶片組620-1、第二層介面晶片組620-2與NV記憶體630之例子,且無誤模組{750-1, 750-2, 750-3, 750-4, …}可作為無誤模組{{650-1, 650-2, …, 650-M}, …, {650-(M*(N-1)+1), 650-(M*(N-1)+2), …, 650-(M*N)}}之一例。第一層介面晶片組720-1中之一介面晶片(諸如介面晶片722-1)可透過第二層介面晶片組720-2中之一介面晶片分別利用晶片致能訊號(諸如晶片致能訊號CE0、CE1、…等)來控制是否致能該些快閃晶片。例如:介面晶片722-1之該控制電路(諸如控制電路320)可控制介面晶片722-1分別從無誤模組750-1、750-2與750-3各自的快閃晶片讀取資料D(1, 1)、D(1, 2)與D(1, 3),且依據資料D(1, 1)、D(1, 2)與D(1, 3)產生資料{D(1, 1), D(1, 2), D(1, 3)}之一奇偶校驗碼RP’(1),以將奇偶校驗碼RP’(1)寫入無誤模組750-4之快閃晶片來保護資料{D(1, 1), D(1, 2), D(1, 3)},其中奇偶校驗碼RP’(1)可視為一RAID奇偶校驗碼。例如,當資料{D(1, 1), D(1, 2), D(1, 3)}中之任一者有錯誤,介面晶片722-1可依據奇偶校驗碼RP’(1)更正錯誤,以確保資料{D(1, 1), D(1, 2), D(1, 3)}之正確性。FIG. 9 is a diagram showing the data protection scheme of the first layer interface chip set 620-1 shown in FIG. 8 in an embodiment. For example: M = 4, and the storage device 700 can be used as an example of the storage device 600 shown in FIG. 8, wherein the first layer of the interface chip set 720-1, the second layer of the interface chip set 720-2, and the non-volatile memory ( Referred to as "NV memory" 730, it can be used as an example of the first layer interface chip set 620-1, the second layer interface chip set 620-2 and the NV memory 630, respectively, and the error-free module {750-1, 750- 2, 750-3, 750-4, ...} can be used as an error-free module {{650-1, 650-2, ..., 650-M}, ..., {650-(M*(N-1)+1) , 650-(M*(N-1)+2), ..., 650-(M*N)}}. One of the first interface chip sets 720-1, such as the interface chip 722-1, can utilize a wafer enable signal (such as a wafer enable signal) through one of the interface chips of the second interface chip set 720-2. CE0, CE1, ..., etc.) to control whether the flash chips are enabled. For example, the control circuit (such as the control circuit 320) of the interface chip 722-1 can control the interface chip 722-1 to read the data D from the respective flash chips of the error-free modules 750-1, 750-2, and 750-3, respectively. 1, 1), D(1, 2) and D(1, 3), and generate data {D(1, 1) based on data D(1, 1), D(1, 2) and D(1, 3) ), one of the D(1, 2), D(1, 3)} parity codes RP'(1), to write the parity code RP'(1) into the flash of the error-free module 750-4 The chip protects the data {D(1, 1), D(1, 2), D(1, 3)}, wherein the parity code RP'(1) can be regarded as a RAID parity code. For example, when any of the data {D(1, 1), D(1, 2), D(1, 3)} has an error, the interface chip 722-1 can be based on the parity code RP'(1). Correct the error to ensure the correctness of the data {D(1, 1), D(1, 2), D(1, 3)}.

第10圖繪示第8圖所示之儲存裝置600於一實施例中之資料保護方案。為了便於理解,採用第9圖所示實施例中之相關參數(例如:M = 4)以及對應的符號來說明。依據本實施例,儲存裝置600中存在至少兩層RAID,諸如基於第8圖所示架構之該些實施例中所述之該層RAID與該另一層RAID。該層RAID之該N個RAID中之任一RAID可進行第9圖所示之較低層RAID保護。在M = 4且N = 16的狀況下,該N個RAID諸如RAID {RAID’(0), RAID’(1), …, RAID’(15)}可分別對應於通道{Ch(0), Ch(1), ..., Ch(15)},且第n個RAID RAID’(n - 1)對應於通道Ch(n - 1)且依據資料{D(n, 1), D(n, 2), D(n, 3)}產生資料{D(n, 1), D(n, 2), D(n, 3)}的奇偶校驗碼RP'(n)。例如:第1個RAID RAID’(0)產生資料{D(1, 1), D(1, 2), D(1, 3)}的奇偶校驗碼RP’(1),第2個RAID RAID’(1)產生資料{D(2, 1), D(2, 2), D(2, 3)}的奇偶校驗碼RP’(2),…且第15個RAID RAID’(14)產生資料{D(15, 1), D(15, 2), D(15, 3)}的奇偶校驗碼RP’(15)。FIG. 10 is a diagram showing the data protection scheme of the storage device 600 shown in FIG. 8 in an embodiment. For ease of understanding, the relevant parameters (for example, M = 4) in the embodiment shown in Fig. 9 and the corresponding symbols are used for explanation. In accordance with the present embodiment, there are at least two levels of RAID in the storage device 600, such as the layer RAID and the other layer of RAID described in the embodiments based on the architecture shown in FIG. Any of the N RAIDs of the layer RAID can perform the lower layer RAID protection shown in FIG. In the case of M=4 and N=16, the N RAIDs such as RAID {RAID'(0), RAID'(1), ..., RAID'(15)} may correspond to the channel {Ch(0), respectively. Ch(1), ..., Ch(15)}, and the nth RAID RAID '(n - 1) corresponds to the channel Ch(n - 1) and depends on the material {D(n, 1), D(n , 2), D(n, 3)} generates the parity code RP'(n) of the data {D(n, 1), D(n, 2), D(n, 3)}. For example: the first RAID RAID '(0) generates the parity code RP'(1) of the data {D(1, 1), D(1, 2), D(1, 3)}, the second RAID RAID'(1) generates the parity code RP'(2),... and the 15th RAID RAID' of the data {D(2, 1), D(2, 2), D(2, 3)} The parity code RP' (15) of the data {D(15, 1), D(15, 2), D(15, 3)} is generated.

關於該另一層RAID,記憶體控制器110可進行較高層RAID保護。如第10圖所示,該較低層RAID保護可對應於一資料排列方向,諸如橫向,且該較高層RAID保護可對應於另一資料排列方向,諸如縱向。記憶體控制器110可依據該N個RAID中之前(N - 1)個RAID {RAID’(0), RAID’(1), …, RAID’(N - 2)}中之對應的頁的資料產生這些資料的奇偶校驗碼,且利用此奇偶校驗碼作為該N個RAID中之第N個RAID RAID’(N - 1)中之一對應的頁的資料。在M = 4且N = 16的狀況下,該第N個RAID RAID’(N - 1)是第16個RAID RAID’(15)。例如:記憶體控制器110可利用資料{D(1, 1), D(2, 1), …, D(15, 1)}的奇偶校驗碼作為資料D(16, 1)、利用資料{D(1, 2), D(2, 2), …, D(15, 2)}的奇偶校驗碼作為資料D(16, 2)、且利用資料{D(1, 3), D(2, 3), …, D(15, 3)}的奇偶校驗碼作為資料D(16, 3)。之後,第16個RAID RAID’(15)可進行該較低層RAID保護,以依據資料{D(16, 1), D(16, 2), D(16, 3)}(諸如該較高層RAID保護機制所產生的該些奇偶校驗碼)產生奇偶校驗碼RP’(16)。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。Regarding this other layer of RAID, the memory controller 110 can perform higher layer RAID protection. As shown in FIG. 10, the lower layer RAID protection may correspond to a data arrangement direction, such as a landscape orientation, and the higher layer RAID protection may correspond to another data arrangement direction, such as a portrait orientation. The memory controller 110 can be based on the data of the corresponding pages in the previous (N - 1) RAID {RAID'(0), RAID'(1), ..., RAID'(N - 2)} of the N RAIDs. A parity code of the data is generated, and the parity code is used as data of a page corresponding to one of the Nth RAID RAID's (N-1) of the N RAIDs. In the case of M = 4 and N = 16, the Nth RAID RAID' (N - 1) is the 16th RAID RAID' (15). For example, the memory controller 110 can use the parity code of the data {D(1, 1), D(2, 1), ..., D(15, 1)} as the data D(16, 1), the utilization data. The parity code of {D(1, 2), D(2, 2), ..., D(15, 2)} is used as the data D(16, 2), and the data {D(1, 3), D is utilized. The parity code of (2, 3), ..., D(15, 3)} is used as the material D (16, 3). After that, the 16th RAID RAID '(15) can perform the lower layer RAID protection according to the data {D(16, 1), D(16, 2), D(16, 3)} (such as the higher layer) The parity codes generated by the RAID protection mechanism generate a parity code RP' (16). The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100,600,700‧‧‧儲存裝置 100,600,700‧‧‧ storage devices

105‧‧‧動態隨機存取記憶體 105‧‧‧Dynamic random access memory

110‧‧‧記憶體控制器 110‧‧‧ memory controller

110P‧‧‧微處理器 110P‧‧‧Microprocessor

112‧‧‧介面電路 112‧‧‧Interface circuit

114‧‧‧資料緩衝器 114‧‧‧Data buffer

115‧‧‧其它緩衝器 115‧‧‧Other buffers

116‧‧‧存取電路 116‧‧‧Access circuit

116R‧‧‧讀取通道電路 116R‧‧‧Read channel circuit

116W‧‧‧寫入通道電路 116W‧‧‧Write channel circuit

120‧‧‧介面晶片組 120‧‧‧Interface chipset

122-1,122-2,…,122-N,300,300-1,300-2,…,300-M,722-1,…‧‧‧介面晶片 122-1,122-2,...,122-N,300,300-1,300-2,...,300-M,722-1,...‧‧‧Interface Wafer

130,630,730‧‧‧非揮發性記憶體 130,630,730‧‧‧ Non-volatile memory

150-1,150-2,…,150-N,650-1,650-2,…,650-M,…,650-(M*(N-1)+1),650-(M*(N-1)+2),…,650-(M*N),750-1,750-2,750-3,750-4,‧‧‧無誤模組 150-1,150-2,...,150-N,650-1,650-2,...,650-M,...,650-(M*(N-1)+1),650-(M*(N-1) +2),...,650-(M*N),750-1,750-2,750-3,750-4,‧‧‧

310,310-1,310-2,…,310-M‧‧‧僕介面電路 310,310-1,310-2,...,310-M‧‧‧ servant interface circuit

310P‧‧‧並列介面電路 310P‧‧‧Parallel interface circuit

310S‧‧‧序列介面電路 310S‧‧‧Sequence Interface Circuit

320‧‧‧控制電路 320‧‧‧Control circuit

320CRC‧‧‧循環冗餘校驗電路 320CRC‧‧‧cyclic redundancy check circuit

320ECC‧‧‧錯誤更正碼電路 320ECC‧‧‧Error Correcting Code Circuit

321‧‧‧序列轉並列控制器 321‧‧‧Sequence to parallel controller

322‧‧‧指令轉換器 322‧‧‧Command Converter

323‧‧‧指令緩衝器 323‧‧‧ instruction buffer

324‧‧‧檢查電路 324‧‧‧Check circuit

325‧‧‧重新編碼電路 325‧‧‧ Re-encoding circuit

326‧‧‧資料緩衝器 326‧‧‧Data buffer

327‧‧‧編碼器 327‧‧‧Encoder

327-1,327-2,…,327-K‧‧‧編碼電路 327-1, 327-2,...,327-K‧‧‧Code Circuit

328‧‧‧解碼器 328‧‧‧Decoder

328-1,328-2,…,328-K‧‧‧解碼電路 328-1,328-2,...,328-K‧‧‧ decoding circuit

329‧‧‧旁通模式控制電路 329‧‧‧Bypass mode control circuit

329R‧‧‧中繼器 329R‧‧‧ Repeater

329SW‧‧‧切換電路 329SW‧‧‧Switching circuit

330‧‧‧主介面電路 330‧‧‧Main interface circuit

340-1,340-2,…,340-M‧‧‧旁通介面電路 340-1, 340-2, ..., 340-M‧‧‧ bypass interface circuit

414,415‧‧‧仲裁器 414,415‧‧‧ arbitrator

416-1,416-2,…,416-K,417-1,417-2,…,417-K‧‧‧直接記憶體存取電路 416-1,416-2,...,416-K,417-1,417-2,...,417-K‧‧‧Direct memory access circuit

428-1,428-2,…,428-K‧‧‧數位訊號處理引擎 428-1,428-2,...,428-K‧‧‧Digital Signal Processing Engine

430-1,430-2,…,430-15,430-16‧‧‧快閃晶片 430-1, 430-2, ..., 430-15, 430-16‧‧‧ flash chip

620-1,720-1‧‧‧第一層介面晶片組 620-1, 720-1‧‧‧ first layer interface chipset

620-2,720-2‧‧‧第二層介面晶片組 620-2, 720-2‧‧‧Second layer interface chipset

CE0,CE1,…,CE15‧‧‧晶片致能訊號 CE0, CE1, ..., CE15‧‧‧ wafer enable signal

Ch(0),Ch(1),...,Ch(15)‧‧‧通道 Ch(0), Ch(1),...,Ch(15)‧‧‧ channels

D1,D2,…,D15,D1(1),D2(1),…,D15(1),D1(2),D2(2),…,D15(2),…,D1(15),D2(15),…,D15(15),D1(16),D2(16),…,D15(16),D(1,1),D(1,2),D(1,3),D(2,1),D(2,2),D(2,3),…,D(15,1),D(15,2),D(15,3),D(16,1),D(16,2),D(16,3)‧‧‧資料 D1, D2, ..., D15, D1 (1), D2 (1), ..., D15 (1), D1 (2), D2 (2), ..., D15 (2), ..., D1 (15), D2 (15),...,D15(15),D1(16),D2(16),...,D15(16),D(1,1),D(1,2),D(1,3),D (2,1), D(2,2), D(2,3),...,D(15,1),D(15,2),D(15,3),D(16,1), D(16,2), D(16,3)‧‧‧ Information

RP,RP(1),RP(2),…,RP(15),RP(16),RP’(1),RP’(2),…,RP’(15),RP’(16)‧‧‧奇偶校驗碼 RP, RP (1), RP (2), ..., RP (15), RP (16), RP ' (1), RP ' (2), ..., RP ' (15), RP ' (16) ‧ ‧‧Parity code

第1圖為依據本發明一實施例之一種儲存裝置的示意圖。 第2圖繪示第1圖所示之儲存裝置於一實施例中之實施細節。 第3圖為依據本發明一實施例之一種介面晶片的示意圖,其中該介面晶片可應用於第1圖所示之儲存裝置。 第4圖繪示第3圖所示之介面晶片於一實施例中之資料處理方案。 第5圖繪示第3圖所示之介面晶片於一實施例中之資料保護方案。 第6圖繪示第1圖所示之儲存裝置於一實施例中之資料保護方案。 第7圖繪示第3圖所示之介面晶片於一實施例中之旁通(bypass)控制方案。 第8圖為依據本發明另一實施例之一種儲存裝置的示意圖,其中第7圖所示之旁通控制方案可應用於該儲存裝置。 第9圖繪示第8圖所示之第一層介面晶片組於一實施例中之資料保護方案。 第10圖繪示第8圖所示之儲存裝置於一實施例中之資料保護方案。1 is a schematic view of a storage device in accordance with an embodiment of the present invention. FIG. 2 is a diagram showing the implementation details of the storage device shown in FIG. 1 in an embodiment. 3 is a schematic diagram of an interface wafer according to an embodiment of the invention, wherein the interface wafer can be applied to the storage device shown in FIG. FIG. 4 is a diagram showing the data processing scheme of the interface wafer shown in FIG. 3 in an embodiment. FIG. 5 is a diagram showing the data protection scheme of the interface wafer shown in FIG. 3 in an embodiment. FIG. 6 is a diagram showing the data protection scheme of the storage device shown in FIG. 1 in an embodiment. FIG. 7 is a diagram showing a bypass control scheme of the interface wafer shown in FIG. 3 in an embodiment. FIG. 8 is a schematic diagram of a storage device according to another embodiment of the present invention, wherein the bypass control scheme shown in FIG. 7 is applicable to the storage device. FIG. 9 is a diagram showing the data protection scheme of the first layer interface chip set shown in FIG. 8 in an embodiment. FIG. 10 is a diagram showing the data protection scheme of the storage device shown in FIG. 8 in an embodiment.

Claims (24)

一種介面晶片,該介面晶片係應用於一儲存裝置,該介面晶片包含有: 一僕(slave)介面電路,用來將該介面晶片耦接至一記憶體控制器,其中該儲存裝置包含該記憶體控制器以及一非揮發性(non-volatile, NV)記憶體,該非揮發性記憶體包含複數個非揮發性記憶體晶片,以及該記憶體控制器因應來自一主裝置之一主裝置指令,透過該介面晶片來存取(access)該非揮發性記憶體; 至少一旁通(bypass)介面電路,用來將該介面晶片耦接至該儲存裝置中之至少一其它介面晶片;以及 一控制電路,耦接於該僕介面電路與該至少一旁通介面電路之間,用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片於該記憶體控制器以及該至少一其它介面晶片之間旁通至少一指令與資料中之至少一者。An interface chip is applied to a memory device, the interface chip includes: a slave interface circuit for coupling the interface chip to a memory controller, wherein the memory device includes the memory a body controller and a non-volatile (NV) memory, the non-volatile memory comprising a plurality of non-volatile memory chips, and the memory controller is responsive to a master device command from a host device Accessing the non-volatile memory through the interface chip; at least one bypass interface circuit for coupling the interface chip to at least one other interface chip in the storage device; and a control circuit And being coupled between the slave interface circuit and the at least one bypass interface circuit for controlling operation of the interface chip, wherein the interface chip is in the memory controller and the at least one other interface under the control of the control circuit At least one of the instructions and the data is bypassed between the wafers. 如申請專利範圍第1項所述之介面晶片,其中該至少一旁通介面電路包含複數個旁通介面電路,該至少一其它介面晶片包含複數個其它介面晶片,且該複數個旁通介面電路係用來將該介面晶片分別耦接至該複數個其它介面晶片。The interface chip of claim 1, wherein the at least one bypass interface circuit comprises a plurality of bypass interface circuits, the at least one other interface wafer comprises a plurality of other interface wafers, and the plurality of bypass interface circuits are The interface wafers are respectively coupled to the plurality of other interface wafers. 如申請專利範圍第2項所述之介面晶片,其中該複數個其它介面晶片係分別耦接至該複數個非揮發性記憶體晶片中之複數組非揮發性記憶體晶片;以及在該控制電路之控制下,該介面晶片透過該複數個其它介面晶片為該記憶體控制器存取該複數組非揮發性記憶體晶片。The interface chip of claim 2, wherein the plurality of other interface chips are respectively coupled to the plurality of non-volatile memory chips in the plurality of non-volatile memory chips; and the control circuit The interface chip accesses the complex array of non-volatile memory chips for the memory controller through the plurality of other interface chips. 如申請專利範圍第1項所述之介面晶片,其中該至少一其它介面晶片係耦接至該複數個非揮發性記憶體晶片中之至少一組非揮發性記憶體晶片;以及該儲存裝置中之一階層式(hierarchical)架構包含該記憶體控制器、該介面晶片、該至少一其它介面晶片以及該至少一組非揮發性記憶體晶片。The interface chip of claim 1, wherein the at least one other interface chip is coupled to at least one of the plurality of non-volatile memory chips; and the storage device A hierarchical architecture includes the memory controller, the interface wafer, the at least one other interface wafer, and the at least one set of non-volatile memory wafers. 如申請專利範圍第4項所述之介面晶片,其中該介面晶片是一多功能介面晶片,且具有分別對應於複數個組態(configuration)之複數個功能;該至少一其它介面晶片中之任一者具有和該介面晶片相同的電路架構;以及該至少一其它介面晶片依據該複數個組態中之一第一組態來運作,且該介面晶片依據該複數個組態中之一第二組態來運作。The interface wafer of claim 4, wherein the interface wafer is a multi-function interface wafer and has a plurality of functions respectively corresponding to a plurality of configurations; any of the at least one other interface wafer One having the same circuit architecture as the interface wafer; and the at least one other interface wafer operating in accordance with one of the plurality of configurations, and the interface wafer is based on one of the plurality of configurations Configuration to operate. 如申請專利範圍第5項所述之介面晶片,其中該至少一旁通介面電路包含複數個旁通介面電路,該至少一其它介面晶片包含複數個其它介面晶片,且該複數個旁通介面電路係用來將該介面晶片分別耦接至該複數個其它介面晶片;該至少一組非揮發性記憶體晶片包含複數組非揮發性記憶體晶片;以及該介面晶片另包含: 一主(master)介面電路,其具有一非揮發性記憶體晶片耦接功能,其中: 依據該第二組態,該介面晶片之該主介面電路係閒置(idle);以及 依據該第一組態,該複數個其它介面晶片中之任一其它介面晶片中之一對應的主介面電路係耦接至該複數組非揮發性記憶體晶片中之一組非揮發性記憶體晶片,以容許該任一其它介面晶片為該記憶體控制器存取該複數組非揮發性記憶體晶片中之該組非揮發性記憶體晶片。The interface chip of claim 5, wherein the at least one bypass interface circuit comprises a plurality of bypass interface circuits, the at least one other interface wafer comprises a plurality of other interface wafers, and the plurality of bypass interface circuits are The interface wafer is respectively coupled to the plurality of other interface wafers; the at least one non-volatile memory wafer comprises a complex array of non-volatile memory wafers; and the interface wafer further comprises: a master interface a circuit having a non-volatile memory chip coupling function, wherein: according to the second configuration, the main interface circuit of the interface chip is idle; and according to the first configuration, the plurality of other A corresponding one of the other interface chips in the interface chip is coupled to one of the non-volatile memory chips in the plurality of non-volatile memory chips to allow the other interface chip to be The memory controller accesses the set of non-volatile memory chips in the complex array of non-volatile memory chips. 如申請專利範圍第6項所述之介面晶片,其中依據該第一組態,該任一其它介面晶片中之多個對應的旁通介面電路係閒置。The interface wafer of claim 6, wherein a plurality of corresponding ones of the other interface wafers are idle according to the first configuration. 如申請專利範圍第1項所述之介面晶片,其中該至少一其它介面晶片係耦接至該複數個非揮發性記憶體晶片中之至少一組非揮發性記憶體晶片;以及該複數個非揮發性記憶體晶片分別對應於該儲存裝置之複數個通道(channel),且該至少一組非揮發性記憶體晶片對應於該複數個通道中之一通道。The interface wafer of claim 1, wherein the at least one other interface chip is coupled to at least one of the plurality of non-volatile memory chips; and the plurality of non-volatile memory chips The volatile memory wafers respectively correspond to a plurality of channels of the storage device, and the at least one set of non-volatile memory chips corresponds to one of the plurality of channels. 如申請專利範圍第8項所述之介面晶片,其中該介面晶片以及該至少一其它介面晶片對應於該通道。The interface wafer of claim 8, wherein the interface wafer and the at least one other interface wafer correspond to the channel. 如申請專利範圍第8項所述之介面晶片,其中該介面晶片、該至少一其它介面晶片以及該至少一組非揮發性記憶體晶片屬於該通道,而非該複數個通道中之任一其它通道。The interface wafer of claim 8, wherein the interface wafer, the at least one other interface wafer, and the at least one set of non-volatile memory wafers belong to the channel instead of any of the plurality of channels aisle. 如申請專利範圍第1項所述之介面晶片,其中該儲存裝置包含多層介面晶片組,該介面晶片屬於該多層介面晶片組中之一層介面晶片組,且該至少一其它介面晶片屬於該多層介面晶片組中之另一層介面晶片組。The interface wafer of claim 1, wherein the storage device comprises a multi-layer interface wafer group, the interface wafer belongs to a layer interface chip group of the multi-layer interface wafer group, and the at least one other interface wafer belongs to the multi-layer interface Another layer of interface chips in the wafer set. 如申請專利範圍第11項所述之介面晶片,其中該層介面晶片組透過該另一層介面晶片組為該記憶體控制器存取該複數個非揮發性記憶體晶片。The interface wafer of claim 11, wherein the layer of the interface chip accesses the plurality of non-volatile memory chips to the memory controller through the other layer of the interface chip. 如申請專利範圍第12項所述之介面晶片,其中該多層介面晶片組中之任何兩個介面晶片具有相同的電路架構;以及當該兩個介面晶片從該儲存裝置被拆解(disassemble)時,該兩個介面晶片於該階層式架構中係可互換(exchangeable),以供互相取代。The interface wafer of claim 12, wherein any two interface wafers of the multi-layered interface wafer have the same circuit architecture; and when the two interface wafers are disassembled from the storage device The two interface chips are exchangeable in the hierarchical architecture for mutual replacement. 如申請專利範圍第1項所述之介面晶片,其中該至少一其它介面晶片係耦接至該複數個非揮發性記憶體晶片中之至少一組非揮發性記憶體晶片;以及在該控制電路之控制下,該至少一組非揮發性記憶體晶片係被組合成一容錯式磁碟陣列(Redundant Array of Independent Disks, RAID),以將一組資料之一奇偶校驗碼(parity-check code)儲存於該至少一組非揮發性記憶體晶片中之至少一非揮發性記憶體晶片,其中該組資料分佈於該至少一組非揮發性記憶體晶片中之至少一部分非揮發性記憶體晶片中。The interface wafer of claim 1, wherein the at least one other interface chip is coupled to at least one of the plurality of non-volatile memory chips; and the control circuit Under control, the at least one set of non-volatile memory chips is combined into a Redundant Array of Independent Disks (RAID) to set a parity-check code of a set of data. Storing at least one non-volatile memory chip in the at least one non-volatile memory chip, wherein the set of data is distributed in at least a portion of the non-volatile memory chips of the at least one set of non-volatile memory chips . 如申請專利範圍第14項所述之介面晶片,其中該至少一旁通介面電路包含複數個旁通介面電路,該至少一其它介面晶片包含複數個其它介面晶片,且該複數個旁通介面電路係用來將該介面晶片分別耦接至該複數個其它介面晶片;該至少一組非揮發性記憶體晶片包含複數組非揮發性記憶體晶片;以及該至少一非揮發性記憶體晶片包含該複數組非揮發性記憶體晶片中之一組非揮發性記憶體晶片當中全部的非揮發性記憶體晶片,且該至少一部分非揮發性記憶體晶片包含該複數組非揮發性記憶體晶片中之其它組非揮發性記憶體晶片;以及該奇偶校驗碼包含複數個局部(partial)奇偶校驗碼,且該複數個局部奇偶校驗碼分別儲存於該複數組非揮發性記憶體晶片中之該組非揮發性記憶體晶片中之對應的頁。The interface chip of claim 14, wherein the at least one bypass interface circuit comprises a plurality of bypass interface circuits, the at least one other interface wafer comprises a plurality of other interface wafers, and the plurality of bypass interface circuits are The interface wafer is respectively coupled to the plurality of other interface wafers; the at least one non-volatile memory wafer comprises a complex array of non-volatile memory wafers; and the at least one non-volatile memory wafer comprises the plurality a non-volatile memory chip in a group of non-volatile memory chips in a non-volatile memory chip, and the at least a portion of the non-volatile memory chip includes the other of the plurality of non-volatile memory chips a non-volatile memory chip; and the parity code includes a plurality of partial parity codes, and the plurality of partial parity codes are respectively stored in the complex array non-volatile memory chip A corresponding page in a group of non-volatile memory chips. 如申請專利範圍第14項所述之介面晶片,其中該容錯式磁碟陣列屬於一層(layer)容錯式磁碟陣列;以及該記憶體控制器將該複數個非揮發性記憶體晶片組合成另一層容錯式磁碟陣列,其中該另一層容錯式磁碟陣列異於該層容錯式磁碟陣列。The interface wafer of claim 14, wherein the fault-tolerant disk array belongs to a layer fault-tolerant disk array; and the memory controller combines the plurality of non-volatile memory chips into another A layer of fault tolerant disk array, wherein the other layer of fault tolerant disk array is different from the layer of fault tolerant disk array. 如申請專利範圍第16項所述之介面晶片,其中該儲存裝置包含多層介面晶片組,該介面晶片屬於該多層介面晶片組中之一層介面晶片組,且該至少一其它介面晶片屬於該多層介面晶片組中之另一層介面晶片組;以及該層介面晶片組依據複數個組態中之一組態來運作,且該另一層介面晶片組依據該複數個組態中之另一組態來運作。The interface wafer of claim 16, wherein the storage device comprises a multi-layer interface wafer group, the interface wafer belongs to a layer interface chip group of the multi-layer interface wafer group, and the at least one other interface wafer belongs to the multi-layer interface Another layer of the interface chip set in the chip set; and the layer interface chip set operates according to one of a plurality of configurations, and the other layer interface chip set operates according to another configuration of the plurality of configurations . 一種儲存裝置,包含有: 一非揮發性(non-volatile, NV)記憶體,用來儲存資訊,其中該非揮發性記憶體包含複數個非揮發性記憶體晶片; 一記憶體控制器,用來控制該儲存裝置之運作;以及 複數個介面晶片,耦接於該記憶體控制器與該非揮發性記憶體之間,其中該複數個介面晶片包含複數個第一層(layer)介面晶片與複數個第二層介面晶片,以及該複數個第一層介面晶片中之任一介面晶片包含: 一僕(slave)介面電路,用來將該介面晶片耦接至該記憶體控制器,其中該記憶體控制器因應來自一主裝置之一主裝置指令,透過該介面晶片來存取(access)該非揮發性記憶體; 至少一旁通(bypass)介面電路,用來將該介面晶片耦接至至少一其它介面晶片,其中該至少一其它介面晶片屬於該複數個第二層介面晶片;以及 一控制電路,耦接於該僕介面電路與該至少一旁通介面電路之間,用來控制該介面晶片之運作,其中在該控制電路之控制下,該介面晶片於該記憶體控制器以及該至少一其它介面晶片之間旁通至少一指令與資料中之至少一者。A storage device comprising: a non-volatile (NV) memory for storing information, wherein the non-volatile memory comprises a plurality of non-volatile memory chips; and a memory controller is used Controlling the operation of the storage device; and a plurality of interface wafers coupled between the memory controller and the non-volatile memory, wherein the plurality of interface wafers comprise a plurality of first layer interface chips and a plurality of The second layer interface wafer, and any one of the plurality of first layer interface wafers comprises: a slave interface circuit for coupling the interface wafer to the memory controller, wherein the memory The controller accesses the non-volatile memory through the interface chip according to a master device command from a master device; at least one bypass interface circuit for coupling the interface chip to at least one other An interface chip, wherein the at least one other interface chip belongs to the plurality of second layer interface wafers; and a control circuit coupled to the interface circuit and Between at least one of the bypass interface circuits for controlling the operation of the interface chip, wherein the interface chip bypasses at least one instruction between the memory controller and the at least one other interface chip under the control of the control circuit At least one of the materials. 如申請專利範圍第18項所述之儲存裝置,其中該至少一旁通介面電路包含複數個旁通介面電路,該至少一其它介面晶片包含複數個其它介面晶片,且該複數個旁通介面電路係用來將該介面晶片分別耦接至該複數個其它介面晶片,其中該複數個其它介面晶片是該複數個第二層介面晶片中之一組第二層介面晶片。The storage device of claim 18, wherein the at least one bypass interface circuit comprises a plurality of bypass interface circuits, the at least one other interface wafer comprises a plurality of other interface wafers, and the plurality of bypass interface circuits are The interface wafers are respectively coupled to the plurality of other interface wafers, wherein the plurality of other interface wafers are a set of second layer interface wafers of the plurality of second layer interface wafers. 如申請專利範圍第19項所述之儲存裝置,其中該複數個其它介面晶片係分別耦接至該複數個非揮發性記憶體晶片中之複數組非揮發性記憶體晶片;以及在該控制電路之控制下,該介面晶片透過該複數個其它介面晶片為該記憶體控制器存取該複數組非揮發性記憶體晶片。The storage device of claim 19, wherein the plurality of other interface chips are respectively coupled to the plurality of non-volatile memory chips in the plurality of non-volatile memory chips; and the control circuit The interface chip accesses the complex array of non-volatile memory chips for the memory controller through the plurality of other interface chips. 如申請專利範圍第18項所述之儲存裝置,其中該至少一其它介面晶片係耦接至該複數個非揮發性記憶體晶片中之至少一組非揮發性記憶體晶片;以及該儲存裝置中之一階層式(hierarchical)架構包含該記憶體控制器、該介面晶片、該至少一其它介面晶片以及該至少一組非揮發性記憶體晶片。The storage device of claim 18, wherein the at least one other interface chip is coupled to at least one of the plurality of non-volatile memory chips; and the storage device A hierarchical architecture includes the memory controller, the interface wafer, the at least one other interface wafer, and the at least one set of non-volatile memory wafers. 如申請專利範圍第21項所述之儲存裝置,其中該介面晶片是一多功能介面晶片,且具有分別對應於複數個組態(configuration)之複數個功能;該至少一其它介面晶片中之任一者具有和該介面晶片相同的電路架構;以及該至少一其它介面晶片依據該複數個組態中之一第一組態來運作,且該介面晶片依據該複數個組態中之一第二組態來運作。The storage device of claim 21, wherein the interface chip is a multi-function interface chip and has a plurality of functions respectively corresponding to a plurality of configurations; wherein the at least one other interface chip One having the same circuit architecture as the interface wafer; and the at least one other interface wafer operating in accordance with one of the plurality of configurations, and the interface wafer is based on one of the plurality of configurations Configuration to operate. 如申請專利範圍第21項所述之儲存裝置,其中該複數個第二層介面晶片包含複數組第二層介面晶片,且該至少一其它介面晶片屬於該複數組第二層介面晶片中之一組;以及該階層式架構包含該記憶體控制器、該複數個第一層介面晶片、該複數組第二層介面晶片以及該複數個非揮發性記憶體晶片。The storage device of claim 21, wherein the plurality of second layer interface wafers comprise a plurality of second layer interface wafers, and the at least one other interface wafer belongs to one of the second array interface wafers of the complex array And the hierarchical architecture includes the memory controller, the plurality of first layer interface wafers, the complex array second layer interface wafer, and the plurality of non-volatile memory chips. 如申請專利範圍第18項所述之儲存裝置,其中該至少一其它介面晶片係耦接至該複數個非揮發性記憶體晶片中之至少一組非揮發性記憶體晶片;以及該複數個非揮發性記憶體晶片分別對應於該儲存裝置之複數個通道(channel),該至少一組非揮發性記憶體晶片對應於該複數個通道中之一通道。The storage device of claim 18, wherein the at least one other interface chip is coupled to at least one of the plurality of non-volatile memory chips; and the plurality of non-volatile memory chips The volatile memory wafers respectively correspond to a plurality of channels of the storage device, and the at least one set of non-volatile memory chips corresponds to one of the plurality of channels.
TW107117218A 2017-10-20 2017-10-20 Storage device and interface chip thereof TWI680374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107117218A TWI680374B (en) 2017-10-20 2017-10-20 Storage device and interface chip thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107117218A TWI680374B (en) 2017-10-20 2017-10-20 Storage device and interface chip thereof

Publications (2)

Publication Number Publication Date
TW201917591A true TW201917591A (en) 2019-05-01
TWI680374B TWI680374B (en) 2019-12-21

Family

ID=67347737

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107117218A TWI680374B (en) 2017-10-20 2017-10-20 Storage device and interface chip thereof

Country Status (1)

Country Link
TW (1) TWI680374B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723581B (en) * 2019-06-17 2021-04-01 慧榮科技股份有限公司 Data storage device and non-volatile memory control method
TWI796058B (en) * 2021-12-23 2023-03-11 宇瞻科技股份有限公司 Storage device for adjusting signal automatically

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788451B2 (en) * 2004-02-05 2010-08-31 Micron Technology, Inc. Apparatus and method for data bypass for a bi-directional data bus in a hub-based memory sub-system
US8806112B2 (en) * 2011-07-14 2014-08-12 Lsi Corporation Meta data handling within a flash media controller
US20140122777A1 (en) * 2012-10-31 2014-05-01 Mosaid Technologies Incorporated Flash memory controller having multi mode pin-out
CN103207819B (en) * 2013-03-29 2016-05-25 无锡云动科技发展有限公司 A kind of storage device and mixing storage device thereof
WO2014209399A1 (en) * 2013-06-28 2014-12-31 Hewlett-Packard Development Company, L.P. Memory component capable to communicate at multiple data widths

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723581B (en) * 2019-06-17 2021-04-01 慧榮科技股份有限公司 Data storage device and non-volatile memory control method
TWI796058B (en) * 2021-12-23 2023-03-11 宇瞻科技股份有限公司 Storage device for adjusting signal automatically

Also Published As

Publication number Publication date
TWI680374B (en) 2019-12-21

Similar Documents

Publication Publication Date Title
TWI658363B (en) Storage device and interface chip thereof
TWI721565B (en) Storage device and interface chip thereof
US7484161B2 (en) System, method and storage medium for providing fault detection and correction in a memory subsystem
US20230307026A1 (en) High performance, non-volatile memory module
KR20230121611A (en) Adaptive error correction to improve system memory reliability, availability and serviceability (RAS)
US11625346B2 (en) Interface for memory readout from a memory component in the event of fault
US11809712B2 (en) Memory system with threaded transaction support
KR20170092333A (en) Raid-6 data storage device and data processing system having the same
TWI680374B (en) Storage device and interface chip thereof
CN116263643A (en) Storage class memory, data processing method and processor system
CN111625392B (en) Memory die layout for failure protection in an SSD
CN117795466A (en) Access request management using subcommands