TW202015347A - Encoder and associated encoding method and flash memory controller - Google Patents

Encoder and associated encoding method and flash memory controller Download PDF

Info

Publication number
TW202015347A
TW202015347A TW108137044A TW108137044A TW202015347A TW 202015347 A TW202015347 A TW 202015347A TW 108137044 A TW108137044 A TW 108137044A TW 108137044 A TW108137044 A TW 108137044A TW 202015347 A TW202015347 A TW 202015347A
Authority
TW
Taiwan
Prior art keywords
check code
inverse matrix
generate
code block
calculation circuit
Prior art date
Application number
TW108137044A
Other languages
Chinese (zh)
Other versions
TWI711279B (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 TW108137044A priority Critical patent/TWI711279B/en
Publication of TW202015347A publication Critical patent/TW202015347A/en
Application granted granted Critical
Publication of TWI711279B publication Critical patent/TWI711279B/en

Links

Images

Abstract

The present invention provides an encoder of a flash memory controller, where the encoder includes a barrel shifter module, an inverse matrix calculating circuit and a calculating circuit. In the operations of the encoder, the barrel shifter module processes a plurality of data blocks to generate a plurality of partial parity blocks including a first portion, a second portion and a third portion; the inverse matrix calculating circuit performs an inverse matrix calculating operations upon the first portion to generate a first portion of parity blocks; and the calculating circuit performs an inverse matrix calculating operations upon the second portion and the third portion according to the first portion of the parity blocks, to generate a second portion of the parity blocks and a third portion of the parity of blocks, wherein the first portion of the parity blocks, the second portion of the parity blocks, and the third portion of the parity of blocks serve as a plurality of parity blocks generated in response to encoding the data blocks.

Description

編碼器及相關的編碼方法與快閃記憶體控制器Encoder and related encoding method and flash memory controller

本發明係有關於編碼器,尤指一種應用在快閃記憶體控制器中的編碼器。The invention relates to an encoder, in particular to an encoder used in a flash memory controller.

在一般的編碼器中,會具有一個校驗碼檢查矩陣(parity-check matrix),以供編碼器檢查所產生出來的校驗碼是否正確。舉例來說,編碼器在對資料進行編碼以產生校驗碼之後,會將資料與校驗碼和此校驗碼檢查矩陣進行相乘,而若是相乘結果等於“0”則判斷編碼正確;而若是相乘結果不等於“0”則判斷編碼錯誤。因應此校驗碼檢查矩陣,編碼器會具有一相對應的校驗碼產生矩陣以供產生適合的校驗碼,然而,在某些情況下,校驗碼產生矩陣可能無法被找到,因此編碼器會需要進行多個矩陣乘法操作及/或補償/調整操作,以產生類似使用校驗碼產生矩陣所產生的校驗碼,因此會增加編碼器的複雜度。特別地,上述多個矩陣乘法操作通常會包含循環卷積(circulant convolution)計算,因此更會大幅增加編碼器的硬體成本。In a general encoder, a parity-check matrix is provided for the encoder to check whether the generated parity code is correct. For example, after encoding the data to generate a check code, the encoder multiplies the data with the check code and the check code check matrix, and if the multiplication result is equal to "0", the encoding is determined to be correct; If the multiplication result is not equal to "0", the coding error is judged. In response to this check code check matrix, the encoder will have a corresponding check code generation matrix for generating a suitable check code, however, in some cases, the check code generation matrix may not be found, so encode The encoder may need to perform multiple matrix multiplication operations and/or compensation/adjustment operations to generate parity codes similar to those generated using parity code generation matrices, thus increasing the complexity of the encoder. In particular, the above-mentioned multiple matrix multiplication operations usually include circulant convolution calculations, so the hardware cost of the encoder is greatly increased.

因此,本發明的目的之一在於提出一種編碼器,其可以降低編碼器中的循環卷積計算所需要的硬體,以避免先前技術中所述之硬體成本大幅增加的情形。Therefore, one of the objects of the present invention is to propose an encoder that can reduce the hardware required for the cyclic convolution calculation in the encoder to avoid the situation where the hardware cost described in the prior art increases significantly.

在本發明的一個實施例中,揭露了一種應用在一快閃記憶體控制器中的編碼器,其包含有一桶式移位器模組、一反矩陣計算電路以及一計算電路。在該編碼器的操作中,該桶式移位器模組用以將多個資料區塊進行處理以產生多個局部校驗碼區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分;該第一反矩陣計算電路耦接於該桶式移位器模組,且用以對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊;該計算電路耦接於該桶式移位器模組以及該調整電路,且用以根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊;其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊,且該多個資料區塊以及該多個校驗碼區塊係被寫入至一快閃記憶體中。In one embodiment of the present invention, an encoder used in a flash memory controller is disclosed, which includes a barrel shifter module, an inverse matrix calculation circuit, and a calculation circuit. In the operation of the encoder, the barrel shifter module is used to process multiple data blocks to generate multiple local check code blocks, wherein the multiple local check code blocks include a The first part, a second part, and a third part; the first inverse matrix calculation circuit is coupled to the barrel shifter module, and is used to perform an inverse matrix operation on the first part to generate a first part of the calibration Verification code block; the calculation circuit is coupled to the barrel shifter module and the adjustment circuit, and used to invert the second part and the third part according to the verification code block of the first part Matrix operation to generate a second part check code block and a third part check code block; wherein the first part check code block, the second part check code block and the The check code block of the third part is used as multiple check code blocks generated by the encoder for the multiple data blocks, and the multiple data blocks and the multiple check code blocks are used Write to a flash memory.

在本發明的另一個實施例中,揭露了一種快閃記憶體控制器,其中該快閃記憶體控制器係用來存取一快閃記憶體模組,且該快閃記憶體控制器包含有一記憶體、一微處理器以及一編碼器,其中該記憶體用來儲存一程式碼,該微處理器用來執行該程式碼以控制對該快閃記憶體模組之存取,以及該編碼器用以對該多個資料區塊進行編碼以得到多個校驗碼區塊。該編碼器包含有一桶式移位器模組、一反矩陣計算電路以及一計算電路。在該編碼器的操作中,該桶式移位器模組用以將多個資料區塊進行處理以產生多個局部校驗碼區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分;該第一反矩陣計算電路耦接於該桶式移位器模組,且用以對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊;該計算電路耦接於該桶式移位器模組以及該調整電路,且用以根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊;其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊,且該多個資料區塊以及該多個校驗碼區塊係被寫入至一快閃記憶體中。In another embodiment of the present invention, a flash memory controller is disclosed, wherein the flash memory controller is used to access a flash memory module, and the flash memory controller includes There is a memory, a microprocessor and an encoder, wherein the memory is used to store a code, the microprocessor is used to execute the code to control access to the flash memory module, and the code The device is used to encode the multiple data blocks to obtain multiple check code blocks. The encoder includes a barrel shifter module, an inverse matrix calculation circuit and a calculation circuit. In the operation of the encoder, the barrel shifter module is used to process multiple data blocks to generate multiple local check code blocks, wherein the multiple local check code blocks include a The first part, a second part, and a third part; the first inverse matrix calculation circuit is coupled to the barrel shifter module, and is used to perform an inverse matrix operation on the first part to generate a first part of the calibration Verification code block; the calculation circuit is coupled to the barrel shifter module and the adjustment circuit, and used to invert the second part and the third part according to the verification code block of the first part Matrix operation to generate a second part check code block and a third part check code block; wherein the first part check code block, the second part check code block and the The check code block of the third part is used as multiple check code blocks generated by the encoder for the multiple data blocks, and the multiple data blocks and the multiple check code blocks are used Write to a flash memory.

在本發明的另一個實施例中,揭露了一種應用在一快閃記憶體控制器的編碼方法,其包含有以下步驟:將多個資料區塊進行處理以產生多個局部校驗碼區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分;對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊;根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊,其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊;以及將該多個資料區塊以及該多個校驗碼區塊係寫入至一快閃記憶體中。In another embodiment of the present invention, an encoding method applied to a flash memory controller is disclosed, which includes the following steps: processing multiple data blocks to generate multiple local check code blocks , Where the plurality of local check code blocks include a first part, a second part, and a third part; perform an inverse matrix operation on the first part to generate a first part of the check code block; according to the first A part of the check code block to perform an inverse matrix operation on the second part and the third part to generate a second part of the check code block and a third part of the check code block, wherein the first Part of the check code block, the second part of the check code block, and the third part of the check code block are used as the multiple check code areas generated by the encoder for the multiple data blocks Block; and the plurality of data blocks and the plurality of check code blocks are written to a flash memory.

第1圖為依據本發明一實施例之一種記憶裝置100的示意圖。記憶裝置100包含有一快閃記憶體(Flash Memory)模組120以及一快閃記憶體控制器110,且快閃記憶體控制器110用來存取快閃記憶體模組120。依據本實施例,快閃記憶體控制器110包含一微處理器112、一唯讀記憶體(Read Only Memory, ROM)112M、一控制邏輯114、一緩衝記憶體116、與一介面邏輯118。唯讀記憶體112M係用來儲存一程式碼112C,而微處理器112則用來執行程式碼112C以控制對快閃記憶體模組120之存取(Access)。控制邏輯114包含了一編碼器132以及一解碼器134,其中編碼器132用來對寫入到快閃記憶體模組120中的資料進行編碼以產生對應的校驗碼(或稱,錯誤更正碼(Error Correction Code),ECC),而解碼器134用來將從快閃記憶體模組120所讀出的資料進行解碼。FIG. 1 is a schematic diagram of a memory device 100 according to an embodiment of the invention. The memory device 100 includes a flash memory module 120 and a flash memory controller 110, and the flash memory controller 110 is used to access the flash memory module 120. According to this embodiment, the flash memory controller 110 includes a microprocessor 112, a read only memory (Read Only Memory, ROM) 112M, a control logic 114, a buffer memory 116, and an interface logic 118. The read-only memory 112M is used to store a program code 112C, and the microprocessor 112 is used to execute the program code 112C to control access to the flash memory module 120 (Access). The control logic 114 includes an encoder 132 and a decoder 134, wherein the encoder 132 is used to encode the data written into the flash memory module 120 to generate a corresponding check code (or, error correction) Error Correction Code (ECC), and the decoder 134 is used to decode the data read from the flash memory module 120.

於典型狀況下,快閃記憶體模組120包含了多個快閃記憶體晶片,而每一個快閃記憶體晶片包含複數個區塊(Block),而該控制器(例如:透過微處理器112執行程式碼112C之快閃記憶體控制器110)對快閃記憶體模組120進行複製、抹除、合併資料等運作係以區塊為單位來進行複製、抹除、合併資料。另外,一區塊可記錄特定數量的資料頁(Page),其中該控制器(例如:透過微處理器112執行程式碼112C之記憶體控制器110)對快閃記憶體模組120進行寫入資料之運作係以資料頁為單位來進行寫入。Under typical conditions, the flash memory module 120 includes a plurality of flash memory chips, and each flash memory chip includes a plurality of blocks, and the controller (for example, through a microprocessor 112 executes the flash memory controller 110 of the program code 112C) the operations of copying, erasing, and merging data to the flash memory module 120 are to copy, erase, and merge data in units of blocks. In addition, a block can record a certain number of data pages (Page), in which the controller (for example: the memory controller 110 that executes the program code 112C through the microprocessor 112) writes to the flash memory module 120 The operation of data is written in units of data pages.

實作上,透過微處理器112執行程式碼112C之快閃記憶體控制器110可利用其本身內部之元件來進行諸多控制運作,例如:利用控制邏輯114來控制快閃記憶體模組120之存取運作(尤其是對至少一區塊或至少一資料頁之存取運作)、利用緩衝記憶體116進行所需之緩衝處理、以及利用介面邏輯118來與一主裝置(Host Device)130溝通。In practice, the flash memory controller 110 that executes the program code 112C through the microprocessor 112 can use its own internal components to perform many control operations, such as: using the control logic 114 to control the flash memory module 120 Access operations (especially access operations on at least one block or at least one data page), using buffer memory 116 to perform required buffer processing, and using interface logic 118 to communicate with a host device 130 .

在一實施例中,記憶裝置100可以是可攜式記憶裝置(例如:符合SD/MMC、CF、MS、XD標準之記憶卡),且主裝置130為一可與記憶裝置連接的電子裝置,例如手機、筆記型電腦、桌上型電腦…等等。而在另一實施例中,記憶裝置100可以設置在一電子裝置中,例如設置在手機、筆記型電腦、桌上型電腦之中,而此時主裝置130可以是該電子裝置的一處理器。In one embodiment, the memory device 100 may be a portable memory device (for example, a memory card that conforms to SD/MMC, CF, MS, XD standards), and the main device 130 is an electronic device that can be connected to the memory device. For example, mobile phones, notebook computers, desktop computers... and so on. In another embodiment, the memory device 100 may be installed in an electronic device, such as a mobile phone, a notebook computer, or a desktop computer, and the host device 130 may be a processor of the electronic device. .

在本實施例中,編碼器132為一低密度奇偶檢查碼(Low-Density Parity Check code,LDPC code)編碼電路,且可以根據來自主裝置130的資料來產生對應的校驗碼,且所產生的校驗碼符合一校驗碼檢查矩陣。具體來說,參考第2圖,假設該校驗碼檢查矩陣為一大小為c*t的矩陣(例如,c=5,t=48,或是其他任意適合的數值),而該校驗碼檢查矩陣可以分為左側的矩陣M(大小為c*(t-c))以及右側的矩陣K(大小為c*c),為了找出與該校驗碼檢查矩陣所對應的校驗碼產生矩陣,可以先找出矩陣K的反矩陣K-1 (inverse matrix),之後再將反矩陣(K-1 )與矩陣M相乘以得到矩陣P,而矩陣P的轉置矩陣(transpose matrix)便可以作為校驗碼產生矩陣。換句話說,在找到矩陣P的轉置矩陣之後,編碼器132可以將來自主裝置130的資料乘以矩陣P的轉置矩陣來得到對應於該些資料的校驗碼,而編碼器之後再將資料與校驗碼一起乘上該校驗碼檢查矩陣以判斷校驗碼是否正確。舉例來說,若是相乘結果等於“0”則判斷編碼正確;而若是相乘結果不等於“0”則判斷編碼錯誤。在判斷編碼正確之後,資料與對應的校驗碼便會被寫入至快閃記憶體模組120中的一個資料頁中。In this embodiment, the encoder 132 is a low-density parity check code (LDPC code) encoding circuit, and can generate a corresponding check code according to the data from the host device 130, and the generated Of the check codes conform to a check code check matrix. Specifically, referring to FIG. 2, it is assumed that the check code check matrix is a matrix of size c*t (for example, c=5, t=48, or any other suitable value), and the check code The check matrix can be divided into a matrix M on the left (size c*(tc)) and a matrix K on the right (size c*c). In order to find the check code generation matrix corresponding to the check code check matrix, You can first find the inverse matrix K -1 (inverse matrix) of the matrix K, and then multiply the inverse matrix (K -1 ) and the matrix M to obtain the matrix P, and the transpose matrix of the matrix P can be Generate a matrix as a check code. In other words, after finding the transpose matrix of the matrix P, the encoder 132 can multiply the data of the main device 130 by the transpose matrix of the matrix P to obtain the check code corresponding to the data, and the encoder will then The data and the check code are multiplied by the check code check matrix to determine whether the check code is correct. For example, if the multiplication result is equal to "0", it is judged that the coding is correct; and if the multiplication result is not equal to "0", it is judged that the coding is wrong. After determining that the encoding is correct, the data and the corresponding verification code are written to a data page in the flash memory module 120.

需注意的是上述該校驗碼檢查矩陣的每一個單元都在實作上為一區塊,而該區塊可以是一個方陣(例如64*64的矩陣或是192*192的矩陣),亦即該校驗碼檢查矩陣包含了c*t個區塊。It should be noted that each unit of the check code check matrix described above is implemented as a block, and the block can be a square matrix (such as a 64*64 matrix or a 192*192 matrix). That is, the check code check matrix contains c*t blocks.

然而,在某些情況下,反矩陣K-1 可能無法被輕易找到,因此編碼器132會需要進行多個矩陣乘法操作及/或補償/調整操作來得到一個類似反矩陣K-1 的內容,以供找出校驗碼產生矩陣來產生校驗碼。本發明因此提出了一種電路架構,以使得編碼器132可以在盡可能節省硬體成本的情形下完成編碼器132的操作。需注意的是,編碼器132中有關於編碼的過程涉及許多複雜的數學運算,但由於本發明的重點是在於電路架構的設計,故相關的矩陣內容及推導過程的細節在此不予贅述。However, in some cases, the inverse matrix K -1 may not be easily found, so the encoder 132 may need to perform multiple matrix multiplication operations and/or compensation/adjustment operations to obtain a content similar to the inverse matrix K -1 , It is used to find the check code generation matrix to generate the check code. The present invention therefore proposes a circuit architecture so that the encoder 132 can complete the operation of the encoder 132 under the condition of saving hardware cost as much as possible. It should be noted that the encoding process in the encoder 132 involves many complicated mathematical operations, but since the focus of the present invention is on the design of the circuit architecture, the details of the relevant matrix content and the derivation process are not repeated here.

第3圖為根據本發明一實施例之矩陣K的示意圖。其中矩陣K的行與列可以分別被區分為三段,而每一段分別具有a個區塊、s個區塊以及b個區塊。在本實施例中,第3圖所示之矩陣K的最右上角的區域302是空白區域,亦即區域302內的所有區塊中的所有數值均為“0”;斜線部分的區域304則是一個非零區域,亦即區域304內的所有區塊都一定包含了一個非零的數值;此外,矩陣K的其他區域則不限於空白區域或是非零區域。以下所示之編碼器132係針對第3圖所示的矩陣K來進行設計,但本發明並不以此為限。FIG. 3 is a schematic diagram of a matrix K according to an embodiment of the invention. The rows and columns of the matrix K can be divided into three segments, and each segment has a block, s blocks, and b blocks, respectively. In this embodiment, the area 302 in the upper right corner of the matrix K shown in FIG. 3 is a blank area, that is, all the values in all the blocks in the area 302 are "0"; It is a non-zero area, that is, all blocks in the area 304 must contain a non-zero value; in addition, other areas of the matrix K are not limited to blank areas or non-zero areas. The encoder 132 shown below is designed for the matrix K shown in FIG. 3, but the invention is not limited thereto.

第4圖,其為根據本發明一實施例之編碼器400的示意圖,其中編碼器400可以作為第1圖所示之編碼器132。如第4圖所示,編碼器400包含了一桶式移位器模組410、一第一反矩陣計算電路420以及一計算電路430,其中計算電路430包含了三個桶式移位器模組431、434與435、一第一調整電路432、一第二反矩陣計算電路433、一第二調整電路436、一第三反矩陣計算電路437以及一計算電路440,其中計算電路440包含了一桶式移位器模組441、一第四反矩陣計算電路442以及一第三調整電路443。在本實施例中,桶式移位器模組410、431、434、435、441可以使用多個桶式移位器以及多個累加電路來實作,而第一反矩陣計算電路420、第二反矩陣計算電路433、第三反矩陣計算電路437以及第四反矩陣計算電路442則可以使用循環卷積計算電路以及補償電路來實作。在本實施例中,編碼器400係將來自主裝置130的一筆資料分為多個資料區塊(在本實施例中該多個資料區塊為N個資料區塊DB_1~DB_N),並將該多個資料區塊DB_1~DB_N進行編碼後產生多個校驗碼區塊(在本實施例中該多個校驗碼區塊為(a+s+b)個校驗碼區塊PB_a、PB_s、PB_b)。需注意的是,上述之一個資料區塊與一個校驗碼區塊的大小是相同的,且資料區塊的大小可以由設計者所自行決定,例如64*64個位元或是192*192個位元。FIG. 4 is a schematic diagram of an encoder 400 according to an embodiment of the present invention, where the encoder 400 can be used as the encoder 132 shown in FIG. As shown in FIG. 4, the encoder 400 includes a barrel shifter module 410, a first inverse matrix calculation circuit 420, and a calculation circuit 430, where the calculation circuit 430 includes three barrel shifter modules Groups 431, 434, and 435, a first adjustment circuit 432, a second inverse matrix calculation circuit 433, a second adjustment circuit 436, a third inverse matrix calculation circuit 437, and a calculation circuit 440, wherein the calculation circuit 440 includes A barrel shifter module 441, a fourth inverse matrix calculation circuit 442, and a third adjustment circuit 443. In this embodiment, the barrel shifter modules 410, 431, 434, 435, and 441 can be implemented using multiple barrel shifters and multiple accumulation circuits. The first inverse matrix calculation circuit 420, The inverse matrix calculation circuit 433, the third inverse matrix calculation circuit 437, and the fourth inverse matrix calculation circuit 442 may be implemented using a cyclic convolution calculation circuit and a compensation circuit. In this embodiment, the encoder 400 divides a piece of data from the main device 130 into multiple data blocks (in this embodiment, the multiple data blocks are N data blocks DB_1~DB_N), and the Multiple data blocks DB_1~DB_N are encoded to generate multiple check code blocks (in this embodiment, the multiple check code blocks are (a+s+b) check code blocks PB_a, PB_s , PB_b). It should be noted that the size of one data block and one check code block is the same, and the size of the data block can be determined by the designer, for example, 64*64 bits or 192*192 Bits.

在編碼器400的操作中,首先,桶式移位器模組410將資料區塊DB_1~DB_N進行處理以產生多個局部校驗碼(partial parity)區塊。具體來說,桶式移位器模組410可以透過內部的第一個桶式移位器分別對資料區塊DB_1~DB_N進行移位操作,並透過累加電路來將移位後資料區塊進行相加來得到第一個局部校驗碼區塊;接著,透過內部的第二個桶式移位器分別對資料區塊DB_1~DB_N進行移位操作,並透過累加電路來將移位後資料區塊進行相加來得到第二個局部校驗碼區塊…以此類推,桶式移位器模組410共產生(a+s+b)個局部校驗碼區塊。In the operation of the encoder 400, first, the barrel shifter module 410 processes the data blocks DB_1~DB_N to generate multiple partial parity blocks. Specifically, the barrel shifter module 410 can shift the data blocks DB_1~DB_N through the first internal barrel shifter, and perform the shifted data block through the accumulation circuit Add to get the first local parity code block; then, through the internal second barrel shifter to shift the data blocks DB_1~DB_N respectively, and the accumulated data to shift the shifted data The blocks are added to obtain the second local parity code block... and so on, the barrel shifter module 410 generates a total of (a+s+b) local parity code blocks.

局部校驗碼區塊會被分三個部分以進行不同的處理,其中第一部分包含了a個局部校驗碼區塊、第二部分包含了s個局部校驗碼區塊、而第三部分包含了b個局部校驗碼區塊。在第一反矩陣計算電路420的操作中,其對該a個局部校驗碼區塊進行反矩陣運算(亦即,循環卷積操作以及補償運算),以產生a個校驗碼區塊PB_a。接著,計算電路430根據該a個校驗碼區塊PB_a、該s個局部校驗碼區塊以及該b個局部校驗碼區塊來產生s個校驗碼區塊PB_s以及b個校驗碼區塊PB_b。The local check code block will be divided into three parts for different processing, where the first part contains a local check code block, the second part contains s local check code block, and the third part Contains b local check code blocks. In the operation of the first inverse matrix calculation circuit 420, it performs an inverse matrix operation (that is, a cyclic convolution operation and a compensation operation) on the a local parity check code blocks to generate a parity check block PB_a . Next, the calculation circuit 430 generates s check code blocks PB_s and b checksums based on the a check code blocks PB_a, the s local check code blocks, and the b local check code blocks Code block PB_b.

詳細來說,首先,桶式移位器模組431會對該a個校驗碼區塊PB_a進行處理以產生b個處理後區塊,之後第一調整電路432將該b個處理後區塊與該b個局部校驗碼區塊相加以產生一調整後第三部分資料。接著,第二反矩陣計算電路433對該調整後第三部分資料進行反矩陣運算以產生一第一運算結果,桶式移位器模組435對該a個校驗碼區塊PB_a進行處理以產生s個第一處理後區塊,桶式移位器模組434對該第一運算結果進行處理以產生s個第二處理後區塊,且第二調整電路436將該s個第一處理後區塊、該s個第二處理後區塊以及該s個局部校驗碼區塊相加以產生一調整後第二部分資料。接著,第三反矩陣計算電路437對該調整後第二部分資料進行反矩陣運算以產生該s個校驗碼區塊PB_s。接著,桶式移位器模組441對該s個校驗碼區塊PB_s結果進行處理以產生b個處理後區塊,第四反矩陣計算電路442對該b個處理後區塊進行反矩陣運算以產生一第二運算結果,以及第三調整電路443根據該第一運算結果以及該第二運算結果以產生該b個校驗碼區塊PB_b。In detail, first, the barrel shifter module 431 processes the a check code block PB_a to generate b processed blocks, and then the first adjustment circuit 432 processes the b processed blocks The b partial check code blocks are added to generate an adjusted third part of the data. Then, the second inverse matrix calculation circuit 433 performs an inverse matrix operation on the adjusted third portion of data to generate a first operation result, and the barrel shifter module 435 processes the a check code blocks PB_a to S first processed blocks are generated, the barrel shifter module 434 processes the first operation result to generate s second processed blocks, and the second adjustment circuit 436 processes the s first processed blocks The post-block, the s second processed blocks and the s local check code blocks are added to generate an adjusted second part of the data. Next, the third inverse matrix calculation circuit 437 performs an inverse matrix operation on the adjusted second part of data to generate the s check code blocks PB_s. Next, the barrel shifter module 441 processes the results of the s check code blocks PB_s to generate b processed blocks, and the fourth inverse matrix calculation circuit 442 performs an inverse matrix on the b processed blocks The operation generates a second operation result, and the third adjustment circuit 443 generates the b check code blocks PB_b according to the first operation result and the second operation result.

在產生校驗碼區塊PB_a、PB_s、PB_b之後,編碼器300會將資料區塊DB_1~DB_N連同校驗碼區塊PB_a、PB_s、PB_b一起與校驗碼檢查矩陣相乘以判斷校驗碼區塊PB_a、PB_s、PB_b是否正確。若是正確,快閃記憶體控制器110便會將資料區塊DB_1~DB_N連同校驗碼區塊PB_a、PB_s、PB_b一起寫入到快閃記憶體模組120的一區塊的一資料頁中。After generating the check code blocks PB_a, PB_s, PB_b, the encoder 300 multiplies the data blocks DB_1~DB_N together with the check code blocks PB_a, PB_s, PB_b and the check code check matrix to determine the check code Whether the blocks PB_a, PB_s, PB_b are correct. If it is correct, the flash memory controller 110 writes the data blocks DB_1~DB_N together with the verification code blocks PB_a, PB_s, PB_b into a data page of a block of the flash memory module 120 .

在第4圖所示的電路架構中,桶式移位器模組410可以被比對為第2圖所示之矩陣M,而第一反矩陣計算電路420以及計算電路430則是用來產生一個類似於第2圖所示之反矩陣K-1 的內容,以在無法確實找到反矩陣K-1 的情形下可以產生校驗碼區塊PB_a、PB_s、PB_b。此外,編碼器400在實作上可以大幅降低循環卷積計算電路(包含於反矩陣計算電路中)的數量。舉例來說,假設K為10*10的方陣,且a=4、s=1、=5,則先前技術中編碼器所需要使用100個循環卷積計算電路(10*10=100);在本實施例中,第一反矩陣計算電路420需要16個循環卷積計算電路(a=4,4*4=16),第二反矩陣計算電路433需要25個循環卷積計算電路(b=5,5*5=25),第三反矩陣計算電路437僅需要一個循環卷積計算電路,而第四反矩陣計算電路442需要25個循環卷積計算電路,因此本實施例僅需要67個循環卷積計算電路,因此可以確實降低編碼器400的硬體成本。In the circuit architecture shown in FIG. 4, the barrel shifter module 410 can be compared to the matrix M shown in FIG. 2, and the first inverse matrix calculation circuit 420 and the calculation circuit 430 are used to generate A content similar to the inverse matrix K -1 shown in FIG. 2 can generate check code blocks PB_a, PB_s, and PB_b in the case where the inverse matrix K -1 cannot be actually found. In addition, the implementation of the encoder 400 can greatly reduce the number of cyclic convolution calculation circuits (included in the inverse matrix calculation circuit). For example, assuming that K is a square matrix of 10*10, and a=4, s=1, =5, the encoder in the prior art needs to use 100 cyclic convolution calculation circuits (10*10=100); In this embodiment, the first inverse matrix calculation circuit 420 requires 16 cyclic convolution calculation circuits (a=4, 4*4=16), and the second inverse matrix calculation circuit 433 requires 25 cyclic convolution calculation circuits (b= 5, 5*5=25), the third inverse matrix calculation circuit 437 only needs one cyclic convolution calculation circuit, and the fourth inverse matrix calculation circuit 442 needs 25 cyclic convolution calculation circuits, so this embodiment only needs 67 The cyclic convolution calculation circuit can reliably reduce the hardware cost of the encoder 400.

此外,由於本實施例中的第一反矩陣計算電路420可以立即將桶式移位器模組410所輸出的a個局部校驗碼區塊進行反矩陣計算,以產生a個校驗碼區塊來輸出到後端的電路,因此若是後續的第二反矩陣計算電路433、第三反矩陣計算電路437以及第四反矩陣計算電路442的計算不複雜的話,編碼器400可以在沒有延遲的情形下不斷地輸出校驗碼區塊至後端電路,以增進整體系統的效能。In addition, since the first inverse matrix calculation circuit 420 in this embodiment can immediately perform an inverse matrix calculation on the a local check code blocks output by the barrel shifter module 410 to generate a check code area Block to output to the back-end circuit, so if subsequent calculations of the second inverse matrix calculation circuit 433, the third inverse matrix calculation circuit 437, and the fourth inverse matrix calculation circuit 442 are not complicated, the encoder 400 can be used without delay The verification code block is continuously output to the back-end circuit to improve the overall system performance.

參考第5圖,其為根據本發明一實施例之一種編碼方法的流程圖,同時參考第1~5圖及以上實施例所揭露的內容,編碼方法的流程如下所述。Referring to FIG. 5, which is a flowchart of an encoding method according to an embodiment of the present invention, and referring to the contents disclosed in FIGS. 1 to 5 and the above embodiments, the flow of the encoding method is as follows.

步驟500:流程開始。Step 500: The process begins.

步驟502:將多個資料區塊進行處理以產生多個局部校驗碼區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分。Step 502: Process multiple data blocks to generate multiple local check code blocks, wherein the multiple local check code blocks include a first part, a second part, and a third part.

步驟504:對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊。Step 504: Perform an inverse matrix operation on the first part to generate a check code block of the first part.

步驟506:根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊,其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊。Step 506: Perform an inverse matrix operation on the second part and the third part according to the check code block of the first part to generate a second part check code block and a third part check code Block, wherein the check code block of the first part, the check code block of the second part, and the check code block of the third part are generated by the encoder for the plurality of data blocks Multiple check code blocks.

步驟508:將該多個資料區塊以及該多個校驗碼區塊係寫入至一快閃記憶體中。Step 508: Write the plurality of data blocks and the plurality of check code blocks into a flash memory.

簡要歸納本發明,在本發明之編碼器中,其透過將局部校驗碼區塊分為三個部分來進行操作,以在可以確實產生校驗碼區塊的情形下降低編碼器中的循環卷積計算所需要的硬體。因此,本發明之編碼器可以避免先前技術中所述之硬體成本大幅增加的情形。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。To briefly summarize the present invention, in the encoder of the present invention, it operates by dividing the local parity code block into three parts to reduce the cycle in the encoder when the parity code block can be reliably generated The hardware required for convolution calculations. Therefore, the encoder of the present invention can avoid the situation where the hardware cost described in the prior art is greatly increased. The above are only the preferred embodiments of the present invention, and all changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.

100:記憶裝置 110:快閃記憶體控制器 112:微處理器 112C:程式碼 112M:唯讀記憶體 114:控制邏輯 116:緩衝記憶體 118:介面邏輯 120:快閃記憶體模組 130:主裝置 132、300、400、500:編碼器 134:解碼器 302、304:區域 400:編碼器 410:桶式移位器模組 420:第一反矩陣計算電路 430、440:計算電路 431、434、435、441:桶式移位器模組 432:第一調整電路 433:第二反矩陣計算電路 436:第二調整電路 437:第三反矩陣計算電路 442:第四反矩陣計算電路 443:第三調整電路 500~508:步驟 DB_1~DB_N:資料區塊 PB_a、PB_s、PB_b:校驗碼區塊 100: memory device 110: Flash memory controller 112: Microprocessor 112C: Code 112M: read-only memory 114: control logic 116: Buffer memory 118: Interface logic 120: Flash memory module 130: Main device 132, 300, 400, 500: encoder 134: decoder 302, 304: area 400: encoder 410: Barrel shifter module 420: First inverse matrix calculation circuit 430, 440: calculation circuit 431, 434, 435, 441: barrel shifter module 432: First adjustment circuit 433: Second inverse matrix calculation circuit 436: Second adjustment circuit 437: Third inverse matrix calculation circuit 442: Fourth inverse matrix calculation circuit 443: Third adjustment circuit 500~508: steps DB_1~DB_N: data block PB_a, PB_s, PB_b: check code block

第1圖為依據本發明一實施例之一種記憶裝置的示意圖。 第2圖為校驗碼檢查矩陣及校驗碼產生矩陣的示意圖。 第3圖為矩陣K的示意圖。 第4圖為根據本發明一實施例之編碼器的示意圖。 第5圖為根據本發明一實施例之一種編碼方法的流程圖。FIG. 1 is a schematic diagram of a memory device according to an embodiment of the invention. Figure 2 is a schematic diagram of a check code check matrix and a check code generation matrix. Figure 3 is a schematic diagram of the matrix K. FIG. 4 is a schematic diagram of an encoder according to an embodiment of the invention. FIG. 5 is a flowchart of an encoding method according to an embodiment of the invention.

400:編碼器 400: encoder

410:桶式移位器模組 410: Barrel shifter module

420:第一反矩陣計算電路 420: First inverse matrix calculation circuit

430、440:計算電路 430, 440: calculation circuit

431、434、435、441:桶式移位器模組 431, 434, 435, 441: barrel shifter module

432:第一調整電路 432: First adjustment circuit

433:第二反矩陣計算電路 433: Second inverse matrix calculation circuit

436:第二調整電路 436: Second adjustment circuit

437:第三反矩陣計算電路 437: Third inverse matrix calculation circuit

442:第四反矩陣計算電路 442: Fourth inverse matrix calculation circuit

443:第三調整電路443 443: Third adjustment circuit 443

DB_1~DB_N:資料區塊 DB_1~DB_N: data block

PB_a、PB_s、PB_b:校驗碼區塊 PB_a, PB_s, PB_b: check code block

Claims (9)

一種編碼器,包含有: 一桶式移位器模組,用以將多個資料區塊進行處理以產生多個局部校驗碼(partial parity)區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分; 一第一反矩陣計算電路,耦接於該桶式移位器模組,用以對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊;以及 一計算電路,耦接於該桶式移位器模組以及該第一反矩陣計算電路,用以根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊; 其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊。An encoder, including: A barrel shifter module is used to process multiple data blocks to generate multiple partial parity blocks, wherein the multiple partial parity blocks include a first part, A second part and a third part; A first inverse matrix calculation circuit, coupled to the barrel shifter module, for performing an inverse matrix operation on the first part to generate a check code block of the first part; and A calculation circuit, coupled to the barrel shifter module and the first inverse matrix calculation circuit, for inverse matrixing the second part and the third part according to the check code block of the first part Operation to generate a second part of the verification code block and a third part of the verification code block; The check code block of the first part, the check code block of the second part, and the check code block of the third part are used as the multiple corrections generated by the encoder for the multiple data blocks Code verification block. 如申請專利範圍第1項所述之編碼器,其中該計算電路包含有: 一第一調整電路,耦接於該第一反矩陣計算電路,用以根據該第一部分的校驗碼區塊來調整該多個局部校驗碼區塊的該第三部分以產生一調整後第三部分; 一第二反矩陣計算電路,耦接於該第一調整電路,用以對該調整後第三部分進行反矩陣運算以產生一第一運算結果; 一第二調整電路,耦接於該桶式移位器模組、該第一反矩陣計算電路以及該第二反矩陣計算電路,用以根據該第一部分的校驗碼區塊以及該第一運算結果來調整該多個局部校驗碼區塊的該第二部分以產生一調整後第二部分; 一第三反矩陣計算電路,耦接於該第二調整電路,用以對該調整後第二部分進行反矩陣運算以產生一第二部分的校驗碼區塊;以及 另一計算電路,耦接於該第二反矩陣計算電路以及第三反矩陣計算電路,用以根據該第一運算結果以及該第二部分的校驗碼區塊以產生一第三部分的校驗碼區塊。The encoder as described in item 1 of the patent application scope, wherein the calculation circuit includes: A first adjustment circuit, coupled to the first inverse matrix calculation circuit, for adjusting the third part of the plurality of local check code blocks according to the first part of the check code block to generate an adjusted the third part; A second inverse matrix calculation circuit, coupled to the first adjustment circuit, for performing an inverse matrix operation on the adjusted third part to generate a first operation result; A second adjustment circuit, coupled to the barrel shifter module, the first inverse matrix calculation circuit and the second inverse matrix calculation circuit, for adjusting the first part of the parity check block and the first An operation result to adjust the second part of the plurality of local check code blocks to generate an adjusted second part; A third inverse matrix calculation circuit, coupled to the second adjustment circuit, for performing an inverse matrix operation on the adjusted second part to generate a second part check code block; and Another calculation circuit, coupled to the second inverse matrix calculation circuit and the third inverse matrix calculation circuit, is used to generate a third part of the calibration based on the first operation result and the second part of the check code block Code verification block. 如申請專利範圍第1項所述之編碼器,其為一低密度奇偶檢查碼(Low-Density Parity Check code,LDPC code)編碼電路。The encoder as described in item 1 of the patent application scope is a low-density parity check code (LDPC code) coding circuit. 一種快閃記憶體控制器,包含有: 一記憶體,用來儲存一程式碼; 一微處理器,用來執行該程式碼以控制對該快閃記憶體模組之存取;以及 一編碼器,包含有: 一桶式移位器模組,用以將多個資料區塊進行處理以產生多個局部校驗碼(partial parity)區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分; 一第一反矩陣計算電路,耦接於該桶式移位器模組,用以對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊;以及 一計算電路,耦接於該桶式移位器模組以及該第一反矩陣計算電路,用以根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊; 其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊。A flash memory controller, including: A memory for storing a code; A microprocessor for executing the program code to control access to the flash memory module; and An encoder, including: A barrel shifter module is used to process multiple data blocks to generate multiple partial parity blocks, wherein the multiple partial parity blocks include a first part, A second part and a third part; A first inverse matrix calculation circuit, coupled to the barrel shifter module, for performing an inverse matrix operation on the first part to generate a check code block of the first part; and A calculation circuit, coupled to the barrel shifter module and the first inverse matrix calculation circuit, for inverse matrixing the second part and the third part according to the check code block of the first part Operation to generate a second part of the verification code block and a third part of the verification code block; The check code block of the first part, the check code block of the second part, and the check code block of the third part are used as the multiple corrections generated by the encoder for the multiple data blocks Code verification block. 如申請專利範圍第4項所述之快閃記憶體控制器,其中該計算電路包含有: 一第一調整電路,耦接於該第一反矩陣計算電路,用以根據該第一部分的校驗碼區塊來調整該多個局部校驗碼區塊的該第三部分以產生一調整後第三部分; 一第二反矩陣計算電路,耦接於該第一調整電路,用以對該調整後第三部分進行反矩陣運算以產生一第一運算結果; 一第二調整電路,耦接於該桶式移位器模組、該第一反矩陣計算電路以及該第二反矩陣計算電路,用以根據該第一部分的校驗碼區塊以及該第一運算結果來調整該多個局部校驗碼區塊的該第二部分以產生一調整後第二部分; 一第三反矩陣計算電路,耦接於該第二調整電路,用以對該調整後第二部分進行反矩陣運算以產生一第二部分的校驗碼區塊;以及 另一計算電路,耦接於該第二反矩陣計算電路以及第三反矩陣計算電路,用以根據該第一運算結果以及該第二部分的校驗碼區塊以產生一第三部分的校驗碼區塊。The flash memory controller as described in item 4 of the patent application scope, wherein the calculation circuit includes: A first adjustment circuit, coupled to the first inverse matrix calculation circuit, for adjusting the third part of the plurality of local check code blocks according to the first part of the check code block to generate an adjusted the third part; A second inverse matrix calculation circuit, coupled to the first adjustment circuit, for performing an inverse matrix operation on the adjusted third part to generate a first operation result; A second adjustment circuit, coupled to the barrel shifter module, the first inverse matrix calculation circuit and the second inverse matrix calculation circuit, for adjusting the first part of the parity check block and the first An operation result to adjust the second part of the plurality of local check code blocks to generate an adjusted second part; A third inverse matrix calculation circuit, coupled to the second adjustment circuit, for performing an inverse matrix operation on the adjusted second part to generate a second part check code block; and Another calculation circuit, coupled to the second inverse matrix calculation circuit and the third inverse matrix calculation circuit, is used to generate a third part of the calibration based on the first operation result and the second part of the check code block Code verification block. 如申請專利範圍第4項所述之快閃記憶體控制器,其中該編碼器為一低密度奇偶檢查碼(Low-Density Parity Check code,LDPC code)編碼電路。The flash memory controller as described in item 4 of the patent application scope, wherein the encoder is a low-density parity check code (LDPC code) coding circuit. 一種編碼方法,包含有: 將多個資料區塊進行處理以產生多個局部校驗碼(partial parity)區塊,其中該多個局部校驗碼區塊包含了一第一部分、一第二部分以及一第三部分; 對該第一部分進行反矩陣運算以產生一第一部分的校驗碼區塊; 以及 根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算,以產生一第二部分的校驗碼區塊以及一第三部分的校驗碼區塊,其中該第一部分的校驗碼區塊、該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊係作為該編碼器針對該多個資料區塊所產生之多個校驗碼區塊。An encoding method, including: Processing multiple data blocks to generate multiple partial parity blocks, wherein the multiple partial parity blocks include a first part, a second part, and a third part; Performing an inverse matrix operation on the first part to generate a check code block of the first part; and Performing an inverse matrix operation on the second part and the third part according to the check code block of the first part to generate a second part check code block and a third part check code block, The check code block of the first part, the check code block of the second part, and the check code block of the third part are used as the multiple calibrations generated by the encoder for the multiple data blocks Code verification block. 如申請專利範圍第7項所述之編碼方法,其中根據該第一部分的校驗碼區塊來對該第二部分以及該第三部分進行反矩陣運算以產生該第二部分的校驗碼區塊以及該第三部分的校驗碼區塊的步驟包含有: 根據該第一部分的校驗碼區塊來調整該多個局部校驗碼區塊的該第三部分以產生一調整後第三部分; 對該調整後第三部分進行反矩陣運算以產生一第一運算結果; 根據該第一部分的校驗碼區塊以及該第一運算結果來調整該多個局部校驗碼區塊的該第二部分以產生一調整後第二部分; 對該調整後第二部分進行反矩陣運算以產生一第二部分的校驗碼區塊;以及 根據該第一運算結果以及該第二部分的校驗碼區塊以產生一第三部分的校驗碼區塊。The encoding method as described in item 7 of the patent application scope, wherein the second part and the third part are subjected to an inverse matrix operation according to the check code block of the first part to generate the check code area of the second part The steps of the block and the check code block of the third part include: Adjusting the third part of the plurality of local check code blocks according to the check code block of the first part to generate an adjusted third part; Performing an inverse matrix operation on the adjusted third part to generate a first operation result; Adjusting the second part of the plurality of local check code blocks according to the check code block of the first part and the first operation result to generate an adjusted second part; Performing an inverse matrix operation on the adjusted second part to generate a check code block of the second part; and According to the first operation result and the second part of the verification code block, a third part of the verification code block is generated. 如申請專利範圍第7項所述之編碼方法,其使用一低密度奇偶檢查碼(Low-Density Parity Check code,LDPC code)編碼電路來執行。The encoding method described in item 7 of the patent application scope uses a low-density parity check code (LDPC code) encoding circuit to perform.
TW108137044A 2018-10-12 2018-10-12 Encoder and associated encoding method and flash memory controller TWI711279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108137044A TWI711279B (en) 2018-10-12 2018-10-12 Encoder and associated encoding method and flash memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108137044A TWI711279B (en) 2018-10-12 2018-10-12 Encoder and associated encoding method and flash memory controller

Publications (2)

Publication Number Publication Date
TW202015347A true TW202015347A (en) 2020-04-16
TWI711279B TWI711279B (en) 2020-11-21

Family

ID=71130655

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108137044A TWI711279B (en) 2018-10-12 2018-10-12 Encoder and associated encoding method and flash memory controller

Country Status (1)

Country Link
TW (1) TWI711279B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9173025B2 (en) * 2012-02-08 2015-10-27 Dolby Laboratories Licensing Corporation Combined suppression of noise, echo, and out-of-location signals
US10725860B2 (en) * 2016-03-04 2020-07-28 Sandisk Technologies Llc Storage system and method for handling a burst of errors
WO2018041843A1 (en) * 2016-08-29 2018-03-08 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Encoder for Encoding, and Decoder for Decoding, a Digital Image Representation into a Data Stream using Indicating a Number of Leading Zero Bit Planes
US10236948B2 (en) * 2016-10-27 2019-03-19 Korea University Research And Business Foundation MIMO systems with independent oscillators and phase noise mitigation method thereof

Also Published As

Publication number Publication date
TWI711279B (en) 2020-11-21

Similar Documents

Publication Publication Date Title
TWI712268B (en) Flash memory controller and encoding circuit and decoding circuit within flash memory controller
TW201601163A (en) Method for controlling a memory apparatus, and associated memory apparatus thereof and associated controller thereof
TWI665678B (en) Encoder and associated encoding method and flash memory controller
TWI643201B (en) Encoder and associated encoding method and flash memory controller
CN108665940B (en) ECC encoding circuit, decoding circuit and memory controller
TWI677878B (en) Encoder and associated encoding method and flash memory controller
TWI711279B (en) Encoder and associated encoding method and flash memory controller
TWI804347B (en) Encoder and associated flash memory controller
TWI651730B (en) Method for performing data management in memory device, and associated memory device and controller thereof
TWI782341B (en) Flash memory controller and encoding circuit within flash memory controller
TWI759672B (en) Decoding method and associated flash memory controller and electronic device
TWI684856B (en) Decoding method and associated flash memory controller and electronic device
US11379303B2 (en) Memory system and method
US11876535B1 (en) Memory controller and method for controlling data in decoding pipeline
JP2013201503A (en) Chien search circuit, decoder, storage device and chien search method
JP2010140132A (en) Memory system and memory controller
JP2013201482A (en) Chien search circuit, decoder, storage device and chien search method