TW578391B - Error correction code circuit with reduced hardware complexity - Google Patents

Error correction code circuit with reduced hardware complexity Download PDF

Info

Publication number
TW578391B
TW578391B TW91122236A TW91122236A TW578391B TW 578391 B TW578391 B TW 578391B TW 91122236 A TW91122236 A TW 91122236A TW 91122236 A TW91122236 A TW 91122236A TW 578391 B TW578391 B TW 578391B
Authority
TW
Taiwan
Prior art keywords
circuit
register
adder
arithmetic
item
Prior art date
Application number
TW91122236A
Other languages
Chinese (zh)
Inventor
Heng-Kuan Lee
Original Assignee
Faraday Tech Corp
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 Faraday Tech Corp filed Critical Faraday Tech Corp
Priority to TW91122236A priority Critical patent/TW578391B/en
Application granted granted Critical
Publication of TW578391B publication Critical patent/TW578391B/en

Links

Abstract

An error correction code circuit with reduced hardware complexity is positioned inside a microprocessor. The microprocessor has a Galois field multiplier for performing a Galois field multiplication on data processed by the error correction code circuit. The error correction code circuit has a first register for storing an input data, a plurality of calculation units, a third register for storing an output data corresponding to the input data, and a controller for controlling operation of the error correction code circuit. Each calculation unit has a Galois field adder, and a second register electrically connected to the Galois field adder. The controller transmits data of each calculation unit to the same Galois field multiplier for a corresponding Galois field multiplication, and the result outputted by the Galois field multiplier is transmitted back to the error correction code circuit.

Description

578391578391

發明之領域 本發明提供一種錯誤檢查碼運算電路運算電路,尤指 一種降低硬體複雜度之錯誤檢查碼運算電路。 背景說明 錯誤檢查碼(error correction code,ECC)係普遍 地用來避免數位資料因為雜訊(no i se)干擾等因素而產 生錯誤’其中Reed - Solomo η錯誤檢查碼已廣泛地應用於數 位通訊’例如行動通訊(mobile communication),衛星 通訊(satellite communication)等等,以及數位資料 儲存裝置,例如光碟片(optical disk)等等,請參閱圖 一,圖一為習知錯誤校正系統(error correction s y s t em) 1 0的示意圖,錯誤校正系統1 0包含有一編碼器1 4 係經由R e e d - S ο 1 〇 m ο η演算法而將一輸入資料1 2轉換為一相 對應編碼資料(code word) 16’ Reed-Solomon演算法係 以區塊(block)的方式對輸入資料12進行運算,例如 RS(n,k)代表編碼資料16包含有n個編碼單元(symbol), 輸入資料1 2包含有k個編碼單元,其中每一編碼單元包含 有m個位元(b i t),而編碼器1 4會依據輸入資料丨2產生 (n-k)個編碼單元之錯誤檢查碼,該錯誤檢查碼係附加於 輸入資料1 2之後,而該錯誤檢查碼係於一有限場(Ga 1 〇 i s f i e 1 d),例如GF ( 2 m)進行運算產生,然後寫入單元1 8FIELD OF THE INVENTION The present invention provides an error check code operation circuit operation circuit, and more particularly, an error check code operation circuit that reduces hardware complexity. Background: Error correction code (ECC) is commonly used to prevent digital data from generating errors due to noise and other factors. Among them, the Reed-Solomo η error check code has been widely used in digital communications. 'For example, mobile communication, satellite communication, etc., and digital data storage devices, such as optical disks, etc. Please refer to Figure 1. Figure 1 is a conventional error correction system. syst em) 1 0, the error correction system 10 includes an encoder 1 4 which uses Reeed-S ο 1 〇m ο η algorithm to convert an input data 1 2 into a corresponding coded data (code word ) 16 'Reed-Solomon algorithm operates on the input data 12 in a block manner. For example, RS (n, k) represents the encoded data 16 contains n encoding units (symbols), and the input data 1 2 contains There are k coding units, each of which contains m bits, and the encoder 14 will generate (nk) coding unit errors based on the input data Check code. The error check code is appended to the input data 12 and the error check code is generated in a finite field (Ga 1 〇isfie 1 d), such as GF (2 m), and then written into unit 1 8

第5頁 578391 五、發明說明(2) 會將編碼資料1 6寫入一儲存單元2 0儲存。一讀取單元2 2可 用來擷取儲存單元2 〇所儲存之編碼資料1 6,並將其傳輸至 一解碼器24以讀取相對應之輸入資料1 2,解碼器24包含有 一檢查電路(syndrome generator) 26,一多項式生成電 路28’ 一錯誤位置運算電路(error i〇Cating circuit) 30’ 一錯誤值運算電路(6ΓΓ〇Γ value calculator) 32, 以及一校正電路(error correcting circuit) 34。檢查 電路2 4係用來彳貞測編碼資料1 β是否產生錯誤(error), 並產生檢查碼,該檢查碼則經由多項式生成電路2 8依據習 知E u c 1 i d e a η演算法或Berlekamp-Masse y演算法等來計算 產生一錯誤位置多項式(err〇r location polynomial) 以及一錯誤值多項式(error value polynomial),而錯 誤位置運算電路30依據一搜尋運算(Chi en search)來由 該錯誤位置多項式計算實際產生錯誤之位元位置,然後錯 誤值運算電路32再依據該錯誤之位元位置,該錯誤位置多 項式,以及該錯誤值多項式來計算該錯誤之位元位置的錯 誤值(error value),最後校正電路3 4便可依據錯誤之 位元位置與其相對應錯誤值來更正該錯誤之位元。 請參閱圖二、三、四,圖二為圖一所示之編碼器1 4的 電路示意圖,圖三為圖一所示之檢查電路2 6的電路示意 圖’而圖四為圖一所示之錯誤位置運算電路30的電路示意 圖’對於編碼器1 4而言,其包含有複數個暫存器3 6,複數 個乘法器38,以及複數個加法器40,習知Reed-Solomon演Page 5 578391 V. Description of the invention (2) The encoded data 16 will be written into a storage unit 20 for storage. A reading unit 22 can be used to retrieve the encoded data 16 stored in the storage unit 20 and transmit it to a decoder 24 to read the corresponding input data 12. The decoder 24 includes a check circuit ( syndrome generator) 26, a polynomial generating circuit 28 ', an error position calculation circuit (error 〇Cating circuit) 30', an error value calculation circuit (6ΓΓ〇Γ value calculator) 32, and an error correcting circuit 34. The check circuit 2 4 is used to test whether the encoded data 1 β generates an error and generate a check code. The check code is generated by the polynomial circuit 2 8 according to the conventional E uc 1 idea η algorithm or Berlekamp-Masse. The y algorithm is used to calculate an err0r location polynomial and an error value polynomial, and the error position calculation circuit 30 calculates the error position polynomial according to a search operation (Chi en search). Calculate the bit position where the error actually occurred, and then the error value calculation circuit 32 calculates the error value of the bit position of the error according to the bit position of the error, the error position polynomial, and the error value polynomial, Finally, the correction circuit 34 can correct the erroneous bit according to the erroneous bit position and its corresponding error value. Please refer to Figs. 2, 3, and 4. Fig. 2 is a schematic circuit diagram of the encoder 14 shown in Fig. 1, Fig. 3 is a schematic circuit diagram of the inspection circuit 26 shown in Fig. 1, and Fig. 4 is shown in Fig. 1. The circuit diagram of the error position arithmetic circuit 30. For the encoder 14, it includes a plurality of registers 36, a plurality of multipliers 38, and a plurality of adders 40. The Reed-Solomon

第6頁 578391 五、發明說明(3) 算法係使用一生成吝珀彳, 來對輸人資料 = i (gerrH polynomial) G(x) 該峰点夕:η 4 r,進運异,而母一乘法器38係分別對應於 i料12$行;半(Χ)ί係數(C〇effiCient),用來與輸入 出盘上級暫^運算,而加法器40係用來對乘法器38的輸 器36的暫存資料進行加法運算,並儲存於 暫存器6中,其中加法器4〇係用來執行互斥或 上exclus上ve 0R,χ〇1Ό的邏輯運算。當輸入資料U均已 1 2之辑β τ Μ運時,暫存器即儲存對應輸入資料 錯ΐ杈碼,最後輸入資料1 2與暫存器36進行有限場 口法運算而輸出編碼資料1 6。對於檢查電路2 6而古,其亦 im: ί法器4〇’複數個乘法器38,以及i數;固暫 存is 36,依據t知Reed — s〇1〇m〇n演算法可知編碼 =生成多項式G(x)之間成一倍數關係,若每一編碼單元/包 3有8個位兀,編碼資料丨6對應一 n次多項式R( 料12對應一多項式Κχ),該生成多項式G(x)係為一 ^次多、 項式,則 R(x) = q(x)*G(x) = i(x)· Xn-k+r(x)= Ι(χ)· xnk + I(x)modG(x),其中 mod係為餘數運算(m〇dul〇 divisiQn ),該生成多項式G (x)係為n次多項式而具有n個根 (root) ’ 亦即 G(x)= β( χ —α 9 α 儀為有限場 gf(2 8)的有限場元素(element),因此將該生成多項式g(x) 之每一根代入R ( X )計算理應得到的數值均為零,'^而若X編 碼資料1 6中包含有錯誤資料e ( X ),所以造成 ..... R(x) = Q(x)*G(x) + E(x),因此當該生成多項式G(x)之每一Page 6 578391 V. Explanation of the invention (3) The algorithm uses a generated 吝 吝, to input data = i (gerrH polynomial) G (x) The peak point evening: η 4 r, the difference is different, and the mother A multiplier 38 is respectively corresponding to the 12 $ line of the material i; a half (χ) ί coefficient (C0effiCient) is used to temporarily operate with the input and output upper stage, and the adder 40 is used to output the multiplier 38. The temporary data stored in the device 36 is added and stored in the temporary device 6, where the adder 40 is used to perform a logical operation of mutual exclusion or ve 0R, χ〇1Ό on exclus. When the input data U has been transferred to the β β τ Μ of 1 2, the temporary storage device stores the corresponding input data error code. Finally, the input data 1 2 and the temporary storage device 36 perform a finite field method to output encoded data 1 6. As for the inspection circuit 26, it is also im: ί 40 ′, a plurality of multipliers 38, and the number of i; fixed storage is 36, according to t know Reed — s〇1〇m〇n algorithm can know the encoding = The generator polynomial G (x) has a multiple relationship. If each coding unit / packet 3 has 8 bits, the encoded data 6 corresponds to an n-degree polynomial R (material 12 corresponds to a polynomial κχ). The generator polynomial G (x) is more than one degree, term, then R (x) = q (x) * G (x) = i (x) · Xn-k + r (x) = Ι (χ) · xnk + I (x) modG (x), where mod is the remainder operation (m〇dul〇divisiQn), the generator polynomial G (x) is n polynomial with n roots (G (x)) = β (χ —α 9 α The instrument is the finite field element of the finite field gf (2 8), so each root of the generator polynomial g (x) is substituted into R (X). Zero, '^ and if the X-coded data 16 contains the wrong data e (X), it results in ..... R (x) = Q (x) * G (x) + E (x), so when Each of the generator polynomials G (x)

第7頁 578391 、發明說明(4) 根 將 限 器 ”代入R(x)計算時便會得到不為零的數值,而每一 應之該數值即為檢查碼(syndrom),因此編碼資^ ^對 骆其每一編碼早兀輸入檢查電路26,經由加法器曰 場加法運算並儲存運算結果於暫存器36中,而 38係分別對應於該生成多項式G(x)的每一根a i 與暫存器36儲存之運算結果進行有限場乘法運算,^來盆 結果再與另一編碼單元進行有限場加法運算,重了 ς 驟直到編碼資料1 6的每一編碼單元均完成 ^上述步 每個暫存器3 6即儲存對應編碼資料丨6之檢查碼:从三,時 查碼均為零則表示該編碼資料沒有產生任-錯誤。=二$ 電路26完成檢查碼的運算之後,圖一所示之 :二: 路28便會依據習知演算☆來計算產± 一錯誤位】^》電 P(x):c10nnc9n-+……+1,其中2,等於k,而錯二η室 運算(㈤…加―計算產生錯誤尋 ,置運算電路30包含有複數個加法器4。,複數;U誤 M,以及複數個暫存器36,首先暫 =采法器 位置多項式之筏叙从炎、从A 仔器36會分別以該錯誤 於 、弋係數作為初始值,而各乘法器3 8會分別斟庵 之資料^ —二 …後各乘法15 38會與暫存器36儲 之貝枓進仃乘法運算,並將結果存储存 然後再對各暫在哭⑽隹广审,=$至相對應暫存器36 , 否為-預定值(例如“戈0),因此;H : f果是 及錯誤位置運ί ίϊίο传ίί::器14,檢查電路26,以 异電路3 0係為業界所習知之技術,且其詳矣Page 7 578391, invention description (4) When the limiter is substituted into the R (x) calculation, a non-zero value will be obtained, and each corresponding value is a check code (syndrom), so the encoding data ^ ^ For each encoding of Luo Qi, the input check circuit 26 performs field addition through the adder and stores the operation result in the temporary register 36, and 38 is corresponding to each ai of the generator polynomial G (x). Perform a finite field multiplication with the operation result stored in the temporary register 36, and then perform a finite field addition operation with another encoding unit. Repeat the above steps until each encoding unit of the encoded data 16 completes the above steps. Each register 36 stores the check code corresponding to the coded data. From three, the time-checked codes are all zero, indicating that the coded data did not generate any error. = 二 After circuit 26 completes the check code operation, As shown in Figure 1: Two: Lu 28 will calculate the production ± one error bit according to the conventional calculus ☆ ^ "Electric P (x): c10nnc9n- + …… + 1, where 2, equals k, and wrong two η room operation (㈤ ... addition—the calculation results in an error finding, the operation circuit 30 contains a plurality of additions Device 4, complex number U, error M, and multiple temporary registers 36. First, temporarily = raft sydrome and polynomial A from the position polynomial of the picker, and the slave A 36 will use the error coefficient and unitary coefficient as initial values, respectively. And each multiplier 38 will separately consider the information ^-two ... after each multiplication 15 38 will be multiplied with the storage of the register 36 and store the results and then cry for each temporarily Wide review, = $ to the corresponding register 36, whether it is-a predetermined value (for example, "Go 0"), so; H: f is true and the wrong location is transported ίϊίο 传 ί :: device 14, check the circuit 26, to Different circuit 3 0 is a technology well known in the industry, and its details

578391 、發明說明 ; = ί;相關演算法原理並非本案之重點,因此在此不578391, invention description; = ί; the principle of the relevant algorithm is not the focus of this case, so it is not here

s么由於該錯誤檢查碼係於一有限場進行運算產生,不論 疋編碼器1 4或解碼器2 4均需經由有限場乘法及有限場加法 ,進行運算’因此其均需使用乘法器3 8與加法器4 0 (如圖 二至圖四所示),因此習知技術揭露一整合型運算電路, 其中同一乘法器與加法器可分別應用於不同功能的電路 中’例如美國專利第 4, 584, 686號「REED-SOLOMON ERROR ⑶flection apparatus」揭露一運算電路,其整合圖一所 不之編碼器1 4與檢查電路2 6。編碼器1 4與檢查電路2 6均共 用,同=暫存器,有限場乘法器,以及有限場加法器,因 此可以節省硬體資源而降低成本,然而習知運算電路需使 =複數個有限場乘法器,由於有限場乘法器的硬體較有限 场加法器複雜,因此有限場乘法器的耗電量也相對較高, 所以進二步造成該習知運算電路的體積(size)大且較耗 電’且該複數個有限場乘法器也會同時增加習知運糞 的生產成本。 井电峨 發明概述 ^ 本發明提供一種降低硬體複雜度之錯誤檢查碼運 算電路,以解決上述問題。s? Because the error check code is generated in a finite field, no matter whether the encoder 1 4 or the decoder 2 4 needs to perform operations through finite field multiplication and finite field addition, it must use a multiplier 3 8 And adder 40 (as shown in Figures 2 to 4), so the conventional technology discloses an integrated arithmetic circuit, in which the same multiplier and adder can be applied to circuits with different functions, such as U.S. Patent No. 4, No. 584, 686 "REED-SOLOMON ERROR ⑶flection apparatus" discloses an arithmetic circuit, which integrates the encoder 14 and the inspection circuit 26 shown in Fig. 1. The encoders 14 and 2 are shared by the same circuit, which are the same as the register, the finite field multiplier, and the finite field adder, so it can save hardware resources and reduce costs. However, the conventional arithmetic circuit needs to make a plurality of finite The field multiplier, because the hardware of the finite field multiplier is more complicated than the finite field adder, so the power consumption of the finite field multiplier is also relatively high, so the second step causes the size of the conventional arithmetic circuit to be large and It is more power-consuming and the plurality of finite field multipliers will also increase the production cost of conventional manure transportation. Summary of the Invention ^ The present invention provides an error check code computing circuit that reduces hardware complexity to solve the above problems.

第9頁 578391 五、發明說明(6) 本發明之申請專利範圍提供一種設於一微處理器 (micro-processor)上之運算電路,用來運算一輸入資 料以產生一輸出資料,該微處理器包含有一有限場乘法器 (Galois field multiplier),電連接於該運算電路, 用來對該,算電路運算之資料進行有限場(Ga丨〇丨s f丨e 1 d )乘法運算。該微處理器設置有暫存器模組(register file)用來儲存待處理之資料,而該運算電路包含有一第 一暫存器用來暫存該輸入資料,複數個運算單元,一第三 ,存,用來暫存該輸出資料,以及一控制電路,用來控制 該運算電路之運作。該複數個運算單元係以串聯 as cade)的方式相連接,該複數個運算單元中之第一運 算單元係連接於該第一暫存器,而每一運算單元包含一輸 ^端,厂輸出端,一有限場加法器(Gal〇is field adder ,電連接於該輸入端及該輸出端之間,以及一第二暫存 於該有限場加法器。1 亥第三暫存器係連;於該 n元中之最後-運算單元。該控制電路會將該 i二及ί個運算單元需進行有限場乘法運算之資料 傳輸至该同一乘法器運算,並將該乘法器 回至該運算電路。 # 發明之詳細說明 請參閱圖五,圖五為本發明數位訊號處理器 (dlgltal Slgnal processor) 4〇的功能方塊圖,數位訊Page 9 578391 V. Description of the invention (6) The scope of patent application of the present invention provides an arithmetic circuit provided on a micro-processor for calculating an input data to generate an output data. The micro-processing The device includes a finite field multiplier (Galois field multiplier), which is electrically connected to the operation circuit and is used for performing finite field (Ga 丨 〇 丨 sf 丨 e 1 d) multiplication operation on the data calculated by the calculation circuit. The microprocessor is provided with a register file for storing data to be processed, and the arithmetic circuit includes a first register for temporarily storing the input data, a plurality of arithmetic units, and a third, Storage for temporarily storing the output data, and a control circuit for controlling the operation of the operation circuit. The plurality of operation units are connected in series as cade). The first operation unit of the plurality of operation units is connected to the first register, and each operation unit includes an input terminal and a factory output. Terminal, a finite field adder (Galois field adder), electrically connected between the input terminal and the output terminal, and a second temporary storage in the limited field adder. 1 The third register is connected in series; The last-operation unit in the n element. The control circuit will transmit the data of the i and the two operation units that need to be multiplied by the finite field to the same multiplier operation, and return the multiplier to the operation circuit. # Please refer to FIG. 5 for a detailed description of the invention. FIG. 5 is a functional block diagram of the digital signal processor (dlgltal slgnal processor) 40 of the present invention.

第10頁 578391 五、發明說明(7) 號處理器4 0係用來進行R e e d - S ο 1 〇 m ο η錯誤校正碼之編碼/ 解碼的相關運算。數位訊號處理器4 0包含有一運算電路4 2 以及一有限場乘法器44,而運算電路42包含有一運算模組 46,一控制電路48,以及一輸入/輸出埠5 0。輸入/輸出埠 5 0經由一輸入端5 2接收一輸入資料,控制電路4 8將該輸入 資料傳輸至運算模組4 6,該運算模組4 6僅係用來對該輸入 資料進行有限場加法運算,而當該輸入資料需進行有限場 乘法運算時,控制電路4 8會將該該輸入資料經由輸入/輸 出埠5 0傳送至有限場乘法器4 4進行處理,當該輸入資料完 成有限場乘法運算後,該輸入資料會經由有限場乘法器4 4 傳回至運算電路42,而控制電路4 8透過輸入/輸出埠5 0擷 取該輸入資料,並將該輸入資料傳輸至運算模組4 6進行後 續處理,本實施例中,運算模組4 6係用來處理有限場加法 運算,而有限場乘法器4 4係用來處理有限場乘法運算,並 透過控制電路4 8來管理運算模組4 6與有限場乘法器4 4之間 資料傳遞’直到該輸入資料完成所需之有限場加法(亦即 互斥或(XOR)邏輯運算電路)及有限場乘法運算為止, 最後再透過輸入/輸出埠50而輸出至一輸出端54。 請參閱圖六、七、八、九,圖六為圖五所示之運算模 組46的電路示意圖,圖七為圖六所示之運算模組46的第一 種等效電路圖,圖八為圖六所示之運算模組46的第二種等 效電路圖,以及圖九為圖六所示之運算模組46的第三種等 效電路圖。運算模組46包含有複數個運算單元56,每一運Page 10 578391 V. Description of the Invention (7) Processor 4 0 is used to perform the encoding / decoding related operations of Ree d-S ο 1 〇 m ο η error correction code. The digital signal processor 40 includes an operation circuit 4 2 and a finite field multiplier 44, and the operation circuit 42 includes an operation module 46, a control circuit 48, and an input / output port 50. The input / output port 50 receives an input data through an input terminal 5 2 and the control circuit 4 8 transmits the input data to the computing module 46. The computing module 46 is only used to perform a finite field on the input data. Addition operation, and when the input data needs to be multiplied by the finite field, the control circuit 48 will send the input data to the finite field multiplier 4 4 through the input / output port 50 for processing. After the field multiplication operation, the input data will be returned to the arithmetic circuit 42 via the finite field multiplier 4 4, and the control circuit 48 will retrieve the input data through the input / output port 50 and transmit the input data to the arithmetic mode. Group 46 is used for subsequent processing. In this embodiment, the operation module 46 is used to process the finite field addition operation, and the finite field multiplier 44 is used to process the finite field multiplication operation and managed by the control circuit 48. The data transfer between the operation module 46 and the finite field multiplier 4 4 'is until the finite field addition (that is, a mutually exclusive or (XOR) logic operation circuit) and the finite field multiplication operation required for the input data are completed. 50 and then output to the output terminal 54 via an input / output port. Please refer to FIGS. 6, 7, 8 and 9. FIG. 6 is a circuit diagram of the operation module 46 shown in FIG. 5. FIG. 7 is a first equivalent circuit diagram of the operation module 46 shown in FIG. 6. A second equivalent circuit diagram of the operation module 46 shown in FIG. 6, and FIG. 9 is a third equivalent circuit diagram of the operation module 46 shown in FIG. 6. The operation module 46 includes a plurality of operation units 56.

578391 五、發明說明(8) 算單元5 6包含有一暫存器(1^§丨51^〇58, 一第一開關62,以及一第二開關64,此外運 含有一輸入暫存器66用來暫存一輸入資料, 存器68用來暫存一輸出資料,其中輸入暫存 =^ 6係經由一第一開關6 2連接,以及輸出暫 單το 5 6係經由一第二開關6 4連接。本實施例 48可依據所需錯誤檢查碼之編碼單元的個數 動(enable)之運算單元56的個數,亦即控 式化運算模組46進行Reed-S〇l〇mon運算的級 元56之第一開關62,以及第二開關64亦 產生不同功能的等效電路,舉例來說 運iif LS1,S2,以及第二開關64連接端 46的等效電路如圖七所示,請參閱 有限場乘法器44之電路組合類 ^ u中暫存器36,乘法器38,以及加 理架構,唯一的不同點在於圖二之 & i會a ί二相關有限場加法與有限場乘法 :ί2輸入資# 12進行-有限場加法運 二=2料16, W於本實施例中的運 ^ ^入暫存器66與輸出暫存器68之間並 6 0連接,所以本實 法運算程4L倒係以权體的方式,例 ^ ^ ^ ^ 戈上述加法器的硬體電路, 輸入暫存器66與輸出暫存@ 68&眘 法運算程式决、隹—士笮仔斋6 8的貝枓,並使 彳丁有限場加法運算。比較運 一加法器6 0, 算模組4 6另包 以及一輸出暫 器6 6與運算單 存器6 8與運算 中,控制電路 來決定所需啟 制電路4 8可程 數,而每一運 受控制電路4 8 ,當第一開關 點E卜E 2時, 圖二與圖七, 似於圖二所示 法器4 0所構成 編碼器1 4對輸 運算之後,其 算後,最後才 算模組46而 透過^ 一加法|§ 如一有限場加 亦即分別讀取 用該有限場加 算模組4 6與編578391 V. Description of the invention (8) The arithmetic unit 56 includes a register (1 ^ § 丨 51 ^ 〇58, a first switch 62, and a second switch 64), and further includes an input register 66 for To temporarily store an input data, the register 68 is used to temporarily store an output data, where the input temporary storage = ^ 6 is connected via a first switch 6 2 and the output temporary το 5 6 is connected via a second switch 6 4 In this embodiment 48, the number of computing units 56 that can be enabled can be activated according to the number of coding units of the required error check code, that is, the controlled computing module 46 performs Reed-Solomon operations. The first switch 62 and the second switch 64 of the stage 56 also generate equivalent circuits with different functions. For example, the equivalent circuits of the iif LS1, S2, and the connection terminal 46 of the second switch 64 are shown in FIG. Please refer to the circuit combination class of the finite field multiplier 44. The register 36, the multiplier 38, and the addition structure in u are the only differences in Figure 2 & i will a. Related finite field addition and finite field Multiplication: ί2 input data # 12 progress-finite field addition operation two = 2 material 16, W in this embodiment ^ ^ temporarily stored 66 is connected to the output register 68 and 60, so the actual calculation procedure 4L is in the form of a weight. For example, ^ ^ ^ ^ The hardware circuit of the above adder, the input register 66 and the output Temporarily store @ 68 & prudent arithmetic program, 隹 — 笮 笮 仔仔 6 8 bei, and add the finite field addition operation. Compare the adder 6 0, the calculation module 4 6 additional package and an output During the calculation of the temporary register 6 6 and the operation single register 6 8 and the operation, the control circuit determines the required starting circuit 4 8 programmable number, and each operation is controlled by the control circuit 4 8 when the first switching point E 2 E 2 Figure 2 and Figure 7 are similar to the encoder 14 composed of the encoder 40 shown in Figure 2. After the pair of input operations are calculated, the module 46 is finally calculated and ^ one addition | § Addition of a finite field That is, the finite field addition module 4 6 and the editor are read separately.

五、發明說明(9) 場乘法纟44取二焉m :乘法器38之功能由-個有限 每-運算單元二;二8必須將運算模組4 場加法運算,:::: = ;=,能正確地執行有: 由有限場乘法器44來進行一相對廡子之輸入資料會先經 將運算:果傳回至運算模組46,、乘t運算,然後 算結果進行-有限場加法運算】 = 資料與該運 存器58中,最後再將輸出暫存器|8^ =,2果,存於其暫 入暫存器6 6之輸入資料進行__^ ^子的運算結果與輸 有限場加法運算程式運算(透過上述 碼資料1 6,所以圖七之運算孓:=Z為圖一所示之編 法器38的有限場乘法運算均交由一有限匕=2 ,乘 理,因此圖七之運算模組46中,,法$ 44來處 習知乘法器38的硬體,因此可降低生產U疋56不需包含 當圖六之運算模組46的第一開關6 以及第二開關64連接端點π、μ時,運jm:2’ 入資料會同時經由-傳輸“=入: 法器60,經*相對應有限場加*運算 合口 於暫存器58:,然後控制電會將暫存器58;子3二 送至有限場乘法器44進行一有限場乘法運算,然後再將$ 578391 五、發明說明(10) 運算結果傳送至運算模組 加法器6 0來進行後續有限 會輸入輸入暫存器66,然 編碼資料(code world) 暫存器58即儲存該編碼資 若每一檢查碼均為零 所以圖八所示之運算 組合即為圖三所示之檢杳 組4 6係將圖三所示之各個: 由一有限場乘法器44來處3 誤 然後則會 ,法運算, 複上述步 有輸入資 檢查碼( 示該編碼 4 6與有限 2 6 ’同樣 器38的有 經由運鼻單元5 6之 亦即另一輸入資料 驟’直到一相對應 料結束,其中每個 syndrome code 資料沒有產生錯 場乘法器44之電路 地,圖八之運算模 限場乘法運算均交 當圖六之運算模纟且4 β 開關64連接端點El、' ‘第;】:62形成斷·,以及第 九所示,言青參閱圖四與圖2 :3、,且46的等效電路如圖 路30係用來執行一連續累 ^不之錯誤位置運算電 (Chien search),如習知搜尋運算 元之暫存器乘法運算…運算單 之錯誤位置多項式的Π圖=項式生成電路28所算出 有172個編碼單元,每、一編+例产說,若輸入資料12包含 人資料I2係對應於一有限場.GF(孓之 '疋長度為8,亦即輸 媼开夺ry 〇 1 ,限% GF(2«),其包含有複數個有限 二ί 梯田(請注意α %為0),當圖一之編 ΐ ^ ϊ ί : : 為20的生成多項式G(x)來產生編碼資 ’、 、a產生20個錯誤檢查碼附加於輸入資料1 2,所以 578391 五、發明說明(π) 編碼資料1 6包含有1 8 2個編碼單元,即對應於RS ( 1 8 2,1 7 2 ),且其最多可校正1 〇個編碼單元,因此該錯誤位置多項 式係為 P(x) = C1G*X1G+ C9*X9+...... +C2*X2+ C^XHl,然後分別 將該有限場元素α 1,…,α is該錯誤位置多項式ρ(χ),若 Ρ(α ζ)不為〇,則表示編碼資料丨6中第2個編碼單元有錯 誤。所以首先每一暫存器5 8分別儲存該錯誤位置多項式之 係,·· ··· h,進行習知搜尋運算時,有限場乘法器44會 對每一有限場元素a 1G,…,α與相對應暫存器58 (分別 儲存係數C 1(Γ· ··· c!)進行有限場乘法運算,並將結果分別 回存f暫存器58,亦即各暫存器58分別暫存Cl()( α 1〇) ,c9 j α、9) /......, C丨(a D ,然後再經由加法器6 0對各暫存 器進行有限場加法運算,因此輸出暫存器6 8會紀錄C 10· a α 9+......+ c ι· « “ 即為 Ρ ( α 丨)-1,若第一個 a 編碼單70無誤,則p ( a D應為〇,亦即P ( a: i) -1應為 0同樣地’接著有限場乘法器4 4亦會對每一有限場元素 ,…,α 1與相對應暫存器68(分別儲存ClQ· α Η,。· α 在$軔〇進行有限場乘法運算,並將結果分別回 1G子^ 8,亦即各暫存器58此時則會分別暫存(Ci〇· L : : A …)…,......,(Cl,即為 10 α 10,(C 9· α 2) · α 9,...... (C · α 2)· α !,所以輸出暫存3! 68合幻样p r 2、 ? ; -伽说m⑽ 仔68會紀錄P ( α ) —:l,因此即可判斷第 号24所i ^ ^疋否有誤,經由上述操作便可逐一檢查解碼 ΐ 碼資/料16中是否有編碼單元產生錯誤,使 不之電路示意圖可知輸出暫存器6 8會紀錄ρ ( X)V. Description of the invention (9) Field multiplication 纟 44 takes two 焉 m: The function of multiplier 38 is composed of a finite per-operation unit two; two 8 must add the operation module 4 field addition operation, :::: =; = Can be correctly performed: The finite field multiplier 44 performs a relative input of the zongzi will first pass the calculation: the result back to the operation module 46, multiply the t operation, and then perform the calculation-the finite field addition Operation] = data and this register 58, and finally the output register | 8 ^ =, 2 results, stored in the input data of its temporary register 6 6 and the result of the __ ^ ^ sub operation Input the finite field addition program operation (through the above code data 16), so the operation of Figure 7 Z: = Z is the finite field multiplication operation of the encoder 38 shown in Figure 1 are all given by a finite d = 2, multiplication Therefore, in the arithmetic module 46 of FIG. 7, the hardware of the multiplier 38 is learned at $ 44. Therefore, it is possible to reduce the production of U 疋 56 without including the first switch 6 of the arithmetic module 46 of FIG. 6 and When the second switch 64 is connected to the end points π and μ, the input data of jm: 2 'will be transmitted simultaneously through-= "input: 60, via * corresponding finite field addition * The calculation is combined in register 58 :, and then the control unit will send register 58; sub 3 2 to the finite field multiplier 44 for a finite field multiplication operation, and then $ 578391. V. Invention description (10) Operation The result is transmitted to the arithmetic module adder 60 for subsequent limited input. The input register 66 is stored in the code world register 58, and the code data is stored in the register 58 if each check code is zero. The operation combination shown is the inspection group shown in Fig. 3. The 6 and 6 are each shown in Fig. 3: A finite-field multiplier 44 is used to make 3 errors. Then, the normal operation is repeated. Code (showing that the code 4 6 and the finite 2 6 ′ have the same input 38 through the nasal transport unit 5 6 which is another input data step 'until a corresponding end of the material, where each syndrome code data does not produce a field multiplication The circuit ground of the device 44, the operation mode limited field multiplication operation of FIG. 8 are all used as the operation mode operation of FIG. 6 and the 4 β switch 64 is connected to the end points El, '' th;]: 62 forms a break, and the ninth Yan Qing refers to Figure 4 and Figure 2: 3, and the equivalent electric power of 46 As shown in Figure 30, it is used to perform a continuous accumulative error position operation (Chien search), such as the register multiplication operation of the conventional search operation element ... Π diagram of the error position polynomial of the operation order = term form generation circuit Calculated by 28, there are 172 coding units, each and a series + case theory. If the input data 12 contains personal data, I2 corresponds to a finite field. GF (孓 之 '疋 is 8 in length, that is, loses 媪〇1, the limit% GF (2 «), which contains a plurality of finite two ί terraces (please note that α% is 0), when the figure 1 is edited ΐ ^ ϊ ί: is a generator polynomial G (x) of 20 to Generate encoding data ',, a produces 20 error check codes attached to the input data 1 2, so 578391 V. Description of the invention (π) The encoded data 16 contains 1 8 2 coding units, which corresponds to RS (1 8 2 , 1 7 2), and it can correct a maximum of 10 coding units, so the error position polynomial is P (x) = C1G * X1G + C9 * X9 + ...... + C2 * X2 + C ^ XHl, then The finite field elements α 1, ..., α are the error position polynomials ρ (χ). If P (α ζ) is not 0, it means the second code list in the coded data. wrong. So first, each register 5 8 stores the system of the error position polynomial, h, h. When performing a conventional search operation, the finite field multiplier 44 performs a finite field on each finite field element a 1G, ..., α Correspond to the register 58 (respectively store the coefficient C 1 (Γ ···· c!) For multi-field multiplication and return the results to the f register 58 respectively, that is, each register 58 is temporarily stored Cl () (α 1〇), c9 j α, 9) / ......, C 丨 (a D), and then perform a finite field addition operation on each register via adder 60, so the output is temporarily Register 6 8 will record C 10 · a α 9 + ...... + c ι · «" is P (α 丨) -1. If the first a coded list 70 is correct, then p (a D Should be 0, that is, P (a: i) -1 should be 0 as well. 'Finite field multiplier 4 4 will also be for each finite field element, ..., α 1 and corresponding register 68 (stored separately) ClQ · α Η ·· α performs finite field multiplication at $ 轫 〇 and returns the results to 1G sub ^ 8 respectively, that is, each register 58 will be temporarily stored at this time (Ci〇 · L:: A …)…, ..., (Cl, which is 10 α 10, (C 9 · α 2) · α 9, ... (C · α 2) · α!, So the output is temporarily stored 3! 68 combined magic pr 2,?; You can determine whether the No. 24 i ^ ^ 疋 is correct. After the above operation, you can check the decoding one by one. Ϊ́ There is an error in the coding unit in the code / material 16, so that the circuit diagram shows that the output register 6 8 will Record ρ (X)

第15頁 578391 五、發明說明(12) :ι的運算結果,因此係經由判斷輪出 疋否為1來決定編碼資料丨6中產生鉀暫存^ 68的儲存1料 而若於對各暫存器5 8進行有限場:法的:,碼單元二置右 限場加法後再存人輪出暫存器68, $ | ,二j仃有 P ( X)的運算結果,因此可經由判S J : J “8會紀錄 資料是否為0來決定編碼資料16中輪出暫存器68的儲存 置,因此本發明之架構可瘅用於生錯誤的編碼單元位 習知搜尋運算的操作,同;地Κ的判斷條#,而達到 四所示之各個乘法器38=二模:46係將圖 乘法器44來處理。 去運异均父由一有限場 輸入模組46而言,輸入暫存器66所暫存之 π應輸…,並暫存於輸出;=後;; 資料所需之錯誤檢查碼需包含有許多總踩3 -版右4輸入 早兀5 6,」而,當該編碼單元的數目很大時,合 ,一相對應輸出資料所需執行的運算次數增 ^ , 其關^路徑(Critical path),因此本發明運算亦電即增加 於運算單元56之間設置至少一緩衝暫存器(buffe 低關鍵路徑的長度,舉例來說,若本發明運算電路包含二 緩衝暫存器,則該緩衝暫存器可將複數個運算單元$ 6區八 為第一、二運算區塊(block),而第一運算區塊對該刀 入暫存器6 6之輸入資料進行運算並產生一運算結果, 578391 五、發明說明(13) 該運算結果儲存於該 存之第一運算區塊的 輸入資料並產生一輸 時,輸入暫存器6 6可 進行運算,亦即第一 因此可減少關鍵路徑 率,並且避免關鍵路 實施例中,有限場乘 有限場乘法運算,然 算運算表(look-up 運算值,因此可經由 算0 緩衝暫存器,然後該緩衝暫存写 運算結果係用來作為第二運算^认 出資料,而當第二運算區匕以 再將另一輸入資料輸入第—運 t 為原先的1/2,不但可二理處的理機 徑過長而造成運作上易產生錯誤。 法:44係為一 •體電·,用來執士 而有限場乘法器44亦可為一 ^le),其包含有該有限場乘法的 查表的方式來執行該有限場乘法運 相較於習知技術, 含有限場加法器與暫存 算時,運算單元會將該 行運算,因此本發明運 法器,因此不但耗電量 電路之運算單元包含有 明運算電路產生不同用 等效電路係共用本發明 硬體資源共享的目的, 關 Reed-Solomoη運算。 元之間設置緩衝暫存器 本發 器, 資料 算電 低, 複數 途之 運算 亦即 並且 以達 明運算電路 當一資料需 一外 運算 小, ,經 路, 電路 少的 運算 處理 傳輸至 路由於 且體積 個開關 等效電 電路之 經由較 本發明 到平行 之各運 進行有 部有限 ΠΌ —早兀不 此外, 由該開 亦即該 元件, 硬體空電路可 的目的 算單 限場 場乘 含有 本發 關可 不同 因此 間來 於該 ,不 元僅包 乘法運 法器進 限場乘 明運算 使本發 用途之 可達到 進行相 運算單 但減低Page 15 578391 V. Description of the invention (12): The calculation result of ι, so the coded data is determined by judging whether 疋 is 1 or not 丨 6 produces potassium temporary storage ^ 68 storage 1 material Register 5 8 performs a finite field: method: After the code unit two is set to the right limit field and added, it is stored in the temporary register 68, $ |, where j has the result of P (X), so it can be determined by SJ: J "8 will record whether the data is 0 or not to determine the storage of the round-off register 68 in the encoded data 16. Therefore, the structure of the present invention can be used for the operation of the search operation of the coding unit that generates errors. To determine the number of multipliers 38 = two modes: the multiplier 44 is processed by the figure 46. The heterogeneous father is treated by a finite field input module 46, The π temporarily stored in the register 66 should be input ... and temporarily stored in the output; = after ;; The error check code required for the data must include many total steps 3-version right 4 input early Wu 5 6 ", and when When the number of coding units is large, the number of operations required to perform corresponding output data increases, and the path (Critical p ath), so the operation of the present invention is to increase at least one buffer register (the length of the low critical path) between the operation units 56. For example, if the operation circuit of the present invention includes two buffer registers, the The buffer register can use a plurality of operation units $ 6 and eight as the first and second operation blocks, and the first operation block calculates the input data of the knife register 6 and generates an operation. The result, 578391 V. Description of the invention (13) When the operation result is stored in the input data of the first operation block and an input is generated, the input register 6 can perform the operation, that is, the first can reduce the key Path rate, and to avoid the critical path embodiment, the finite field multiplied by the finite field multiplication operation, and then the calculation table (look-up operation value, so can be calculated by the 0 buffer register, and then the buffer temporary write operation results are used As the second operation ^ to recognize the data, and when the second operation area is used to input another input data-the first t is 1/2, not only can the reasoning path of the second reason be too long and cause the operation It is easy to produce errors. : 44 is a body electric, which is used for priests and the finite field multiplier 44 can also be a ^ le), which contains a table lookup of the finite field multiplication to perform the finite field multiplication. In the conventional technology, when a limited-field adder and a temporary calculation are included, the arithmetic unit calculates the row. Therefore, the operation unit of the present invention, therefore, not only the arithmetic unit of the power-consuming circuit includes an obvious arithmetic circuit, but the equivalent circuit system is different. The purpose of sharing the hardware resource sharing of the present invention is related to the Reed-Solomon operation. A buffer register and a sender are set between the elements, and the data calculation is low. The calculation is small, and the calculation processing with fewer circuits is transmitted to the equivalent electrical circuit that is routed to and from the volume of the switch. There is a limited number of operations through the parallel operation of the present invention. It is not too early. This component, the hardware and circuit can be used for the calculation of the limited field and field multiplication. This issue can be different, so it comes from this. It does not include only the multiplication method to enter the limited field and multiply it. Calculate the purpose of this hair can be reached.

ι·ιι 第17頁 578391ι · ιι Page 17 578391

第18頁 578391 圖式簡單說明 圖示之簡單說明 圖一為習知錯誤校正系統的示意圖。 圖二為圖一所示之編碼器的電路示意圖。 圖三為圖一所示之檢查電路的電路示意圖。 圖四為圖一所不之錯誤位置運鼻電路的電路不意圖。 圖五為本發明數位訊號處理器的功能方塊圖。 圖六為圖五所示之運算模組的電路示意圖。 圖七為圖六所示之運算模組的第一種等效電路圖。 圖八為圖六所示之運算模組的第二種等效電路圖。 圖九為圖六所示之運算模組的第三種等效電路圖。 圖示之符號說明 10 錯 誤 校 正 系 統 12 輸 入 資 料 14 編 碼 器 16 編 碼 資 料 18 寫 入 單 元 20 儲 存 單 元 22 讀 取 單 元 24 解 碼 器 26 檢 查 電 路 28 多 項 式 生 成 電 路 30 錯 誤 位 置 運 算 電路 32 錯 誤 值 運 算 電 路 34 校 正 電 路 36> 58 暫 存 器 38^ 44 有 限 場 乘 法 器 60> 40 有 限 場 加 法 器 40 數 位 訊 號 處 理 器 42 運 算 電 路Page 18 578391 Simple illustration of the diagram Simple illustration of the diagram Figure 1 is a schematic diagram of a conventional error correction system. FIG. 2 is a circuit diagram of the encoder shown in FIG. 1. FIG. 3 is a schematic circuit diagram of the inspection circuit shown in FIG. 1. FIG. 4 is a circuit diagram of the wrong-positioned nose circuit shown in FIG. 1. FIG. 5 is a functional block diagram of the digital signal processor of the present invention. FIG. 6 is a circuit diagram of the operation module shown in FIG. 5. FIG. 7 is a first equivalent circuit diagram of the arithmetic module shown in FIG. 6. FIG. 8 is a second equivalent circuit diagram of the operation module shown in FIG. 6. FIG. 9 is a third equivalent circuit diagram of the operation module shown in FIG. 6. Explanation of symbols in the diagram 10 Error correction system 12 Input data 14 Encoder 16 Coded data 18 Write unit 20 Storage unit 22 Read unit 24 Decoder 26 Check circuit 28 Polynomial generation circuit 30 Error position calculation circuit 32 Error value calculation circuit 34 Correction circuit 36> 58 register 38 ^ 44 finite field multiplier 60> 40 finite field adder 40 digital signal processor 42 arithmetic circuit

第19頁 578391 圖式簡單說明 46 運算模組 48 控制電路 50 輸入/輸出埠 52 輸入端 54 輸出端 56 運算單元 62 第一開關 64 第二開關 66 輸入暫存器 68 輸出暫存器Page 19 578391 Simple illustration of the diagram 46 Computing module 48 Control circuit 50 Input / output port 52 Input terminal 54 Output terminal 56 Computing unit 62 First switch 64 Second switch 66 Input register 68 Output register

Claims (1)

578391 六、申請專利範圍 電路 器包 ), 進行 有: 種5又於微處理器(micro-processor)上之運算 ,用來運算一輸入資料以產生一輸出資料,該微處理 3 有一有限场,法器(Gai〇is field multiplier 電連接於該運算電路,用來對該運算電路運算之資料 有限場(Galois f ield)乘法運算,該運算電路包含 該複 器, 法器 出端 器; 一暫if ’用來暫存該輸入資料; : , ΐ單凡’以串聯(cascade)的方式相連接, 之第一運算單元係連接於該第一暫存 . 含一輸入端,一輸出端,一有限場加 adder),電連接於該輸入端及該輸 —第二暫存器,電連接於該有限場加法 數個運算單元 每一運算單元包 (Galois 之間 以及 以及 ί*用來控制該運算電路之運作; 運算 後之 之次趴電路會將各個運算單元需進行有限場乘法 窨i你η〗至該同一乘法器運算,並將該乘法器運算 貝枓傳回至該運算電路。 場加法5 ί ί 2 圍第1項所述之運算電路,其中該有限 算。 ’、為—互斥或(exclusive OR,X0R)邏輯運 理ί 1 Ϊ f利範圍第1項所述之運算電路,其中該微處 一 Reed-So 1 〇 mo η錯誤校正碼,其包含有複578391 VI. Patent application circuit package), the operations are as follows: 5 operations on a micro-processor to calculate an input data to generate an output data, the micro-processing 3 has a finite field, A Gaois field multiplier is electrically connected to the arithmetic circuit, and is used for multiplying data of the finite field (Galois f ield) of the arithmetic circuit. The arithmetic circuit includes the complex and the generator end device. if 'is used to temporarily store the input data;:, ΐ 单 凡' are connected in a cascade manner, and the first operation unit is connected to the first temporary storage. It includes an input terminal, an output terminal, a Finite field adder), electrically connected to the input terminal and the input-second register, electrically connected to each finite element field of several arithmetic units, each arithmetic unit package (between Galois and 以及 * is used to control the The operation of the arithmetic circuit; the second circuit after the operation will perform a finite field multiplication of each arithmetic unit (i you η) to the same multiplier operation, and return the multiplier operation to the operation Circuit. Field addition 5 ί ί 2 The arithmetic circuit described in item 1 above, wherein the finite operation. ', Is-exclusive OR (X0R) logical operation ί 1 Ϊ f profit range described in item 1 A computing circuit, in which a Reed-So 1 〇mo η error correction code is included in the micro 第21頁 578391 六、申請專利範圍 數個編碼單元(s y m b ο 1)。 4. 如申請專利範圍第3項所述之運算電路,其中該控制 單元係依據該R e e d - S ο 1 〇 m ο η錯誤校正碼之編碼單元之數目 來決定啟動(enable)該運算單元之數目。 5. 如申請專利範圍第1項所述之運算電路,其中該運算 單元另包含有: 一第一開關,設置於該第二暫存器與該加法器之間,用來 控制該加法器電連接該第二暫存器;以及 一第二開關,用來控制該加法器電連接於一相鄰運算單元 之加法器,或是用來控制該加法器電連接於一傳輸線。 6. 如申請專利範圍第5項所述之運算電路,其中當該第 一開關使該加法器電連接該第二暫存器,以及該第二開關 使該運算單元之加法器電連接該相鄰運算單元之加法器 時,該運算電路係用來產生該輸入資料之錯誤檢查碼。 7. 如申請專利範圍第6項所述之運算電路,其中當該第 一開關使該加法器與該第二暫存器產生斷路,以及該第二 開關使該加法器電連接於該傳輸線時,該運算電路係用來 產生對應該輸出資料之檢查碼(syndrome code)。 8. 如申請專利範圍第7項所述之運算電路,其中當該第Page 21 578391 6. Scope of patent application Several coding units (s y m b ο 1). 4. The arithmetic circuit as described in item 3 of the scope of patent application, wherein the control unit determines whether to enable the arithmetic unit based on the number of coding units of the Reed-S ο 1 〇m ο η error correction code. number. 5. The arithmetic circuit according to item 1 of the scope of the patent application, wherein the arithmetic unit further comprises: a first switch disposed between the second register and the adder, for controlling the electric power of the adder. Connected to the second register; and a second switch for controlling the adder to be electrically connected to an adder of an adjacent operation unit, or for controlling the adder to be electrically connected to a transmission line. 6. The arithmetic circuit according to item 5 of the scope of patent application, wherein when the first switch electrically connects the adder to the second register, and the second switch electrically connects the adder of the arithmetic unit to the phase When the adder is adjacent to the operation unit, the operation circuit is used to generate an error check code of the input data. 7. The arithmetic circuit according to item 6 of the scope of patent application, wherein when the first switch disconnects the adder from the second register, and the second switch electrically connects the adder to the transmission line The operation circuit is used to generate a syndrome code corresponding to the output data. 8. The arithmetic circuit as described in item 7 of the scope of patent application, wherein when the 578391 開 器 生 申請專利範圍 _ 開關使該加法器與該第二暫存 關使該運算單元之知、本哭雷、* = f _路以及該第二 :,该運异電路係用來依據該檢查 法 錯誤之位置(W location)。 輸出身料產 電路利範圍第6項所述之運算電路,•中該運糞 :!另包含有'緩衝暫存器(buffer ”亥運异 异早元之間,連接协姑經免献士 逆按於一相鄰運 之輸出資料係用來作運算單元所產生 元之輸入資料,且亥綾衝暫存器之後之運算單 將其輸出資料儲存二存器之前之運算單元 存器之前之運算單元^斟=暫=盗後’該連接於該緩衝暫 相對應輸出資料對另-輸入資料進行運算而產生- i°乘κ :、tm述之、運算電路,其中該有限 (software)之電路或一軟體 算對照表(look-up table)。 =:二i!!範圍第1項所述之運算電路,其中該微處 理益係為數位訊號處理器(digital signal processor, DSP) 〇 •三 2 1第 如申請專利節# 暫存器,連項所述之運算電路,其另包含— 連接於該複數個運算單元中之最後一運算單 m578391 Application scope of open device student _ The switch makes the adder and the second temporary storage switch make the arithmetic unit's knowledge, the original cry, * = f _ way and the second :, the operation circuit is used to W location of this check. The calculation circuit described in item 6 of the output range of the body-building circuit is suitable for transporting dung :! It also contains a 'buffer register' (buffer) between the different early and early generations, which connects the Xiegujing Free Scholars. The output data inversely applied to an adjacent operation is used as input data generated by the arithmetic unit, and the operation form after the Haiqiang temporary register stores its output data before the operation unit register before the second register. The arithmetic unit ^ == temporary = stolen 'The connection to the buffer temporarily corresponds to the output data and is calculated from another input data-i ° multiplied by κ :, tm described, the operation circuit, where the software A circuit or a software look-up table. =: Two i !! The arithmetic circuit described in item 1 of the scope, wherein the micro-processing benefit is a digital signal processor (DSP) 〇 •三 2 1 第 如 应用 Patent Section # Register, the operation circuit described in the above item, which further includes — the last operation table connected to the plurality of operation units m SB! m 第23頁SB! M p. 23
TW91122236A 2002-09-26 2002-09-26 Error correction code circuit with reduced hardware complexity TW578391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91122236A TW578391B (en) 2002-09-26 2002-09-26 Error correction code circuit with reduced hardware complexity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91122236A TW578391B (en) 2002-09-26 2002-09-26 Error correction code circuit with reduced hardware complexity

Publications (1)

Publication Number Publication Date
TW578391B true TW578391B (en) 2004-03-01

Family

ID=32847393

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91122236A TW578391B (en) 2002-09-26 2002-09-26 Error correction code circuit with reduced hardware complexity

Country Status (1)

Country Link
TW (1) TW578391B (en)

Similar Documents

Publication Publication Date Title
US7028247B2 (en) Error correction code circuit with reduced hardware complexity
US7539927B2 (en) High speed hardware implementation of modified Reed-Solomon decoder
Jiang A practical guide to error-control coding using MATLAB
US9450615B2 (en) Multi-bit error correction method and apparatus based on a BCH code and memory system
US6374383B1 (en) Determining error locations using error correction codes
US8464141B2 (en) Programmable error correction capability for BCH codes
US8694872B2 (en) Extended bidirectional hamming code for double-error correction and triple-error detection
Sarangi et al. Efficient hardware implementation of encoder and decoder for Golay code
JP2005516458A (en) Message processing with in-decoder component blocks
JP2005516459A (en) Double chain search block in error correction decoder
Chang et al. New serial architecture for the Berlekamp-Massey algorithm
Shrivastava et al. Error detection and correction using Reed Solomon codes
US8631307B2 (en) Method for encoding and/or decoding multimensional and a system comprising such method
EP0660535B1 (en) Apparatus for uniformly correcting erasure and error of received word by using a common polynomial
EP1102406A2 (en) Apparatus and method for decoding digital data
US6421807B1 (en) Decoding apparatus, processing apparatus and methods therefor
TW578391B (en) Error correction code circuit with reduced hardware complexity
KR101636406B1 (en) Preprocessing apparatus and method for low latency of syndrome calculation in bch decoder
WO2005008900A1 (en) Information encoding by shortened reed-solomon codes
WO2003019790A1 (en) Universal device for processing reed-solomon forward error-correction encoded messages
Wu et al. Stream cipher by reed-solomon code
Qamar et al. An efficient encoding algorithm for (n, k) binary cyclic codes
Elsaid Design and implementation of Reed-Solomon decoder using decomposed inversion less Berlekamp-Massey algorithm
RU157943U1 (en) PARALLEL RECONFIGURABLE BCH CODES CODER
Wai et al. Field programmable gate array implementation of Reed-Solomon code, RS (255,239)

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees