TW436675B - Memory reproduction device, error correciton method, and portable information terminal and digital camera using the same - Google Patents

Memory reproduction device, error correciton method, and portable information terminal and digital camera using the same Download PDF

Info

Publication number
TW436675B
TW436675B TW087121815A TW87121815A TW436675B TW 436675 B TW436675 B TW 436675B TW 087121815 A TW087121815 A TW 087121815A TW 87121815 A TW87121815 A TW 87121815A TW 436675 B TW436675 B TW 436675B
Authority
TW
Taiwan
Prior art keywords
error correction
circuit
memory
data
code
Prior art date
Application number
TW087121815A
Other languages
Chinese (zh)
Inventor
Kazuo Nakamura
Minoru Tsukada
Atsushi Nozoe
Tetsuji Karashima
Takuji Nishitani
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Application granted granted Critical
Publication of TW436675B publication Critical patent/TW436675B/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
    • G11B2020/1836Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information using a Reed Solomon [RS] code

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

When writing data in a memory, an internal error correction code circuit inside the memory chip performs reed-solomon encoding of the information data input from the input/output buffer utilizing a 12 bit D type flip-flop and a multiplier and sends the output to an S/A & latch circuit. When reading information from the memory, the reed-solomon encoded data along with error information is read out from the S/A & latch circuit in the memory utilizing a 12 bit D type flip-flop and a multiplier and error detection/correction is simultaneously performed utilizing a divider-detector, NOR logic circuit and fourth switch and the result output to the input/output buffer.

Description

B7 五、發明説明(彳) 發明背景: 1.發明領域: 本發明係相關於一記億再生裝置、錯誤更正方法、以 及使用該裝置以及該方法之可攜式數位輔助終端機與數位 相機,且特別是對於使用在記憶體再生裝置中之快取記億 體的數位資訊予以更正編碼裝置,以及其控制方法。 2 .相關技術之描述: 當自記錄媒介讀取或轉移資料時•有很多發生錯誤的 可能。這些錯誤可大致的分類爲發生在儲存資料之記憶體 構件(element )之錯誤,以及發生在資料傳輸時之傳送路 徑的錯誤。在非揮發性半導體記憶體以及特別是快取記憶 體中,大部份的錯誤係發生在儲存資料之記億體構件。在 這些錯誤中,記憶體保存之錯誤係一特別的問題。 以下解釋記憶體保存的問題。 在解釋之前,無論如何·快取記憶體之結構將藉由圖 十七而解釋。 經濟部中央樣準局頁工消费合作社印裝 (請先閲讀背面之注意事項再填寫本頁) Λ, ! 圖十七係一基本圖,展示快取記憶體之結構。爲將資 料寫入於圖中快取記憶體構件中,電荷將被輸入至浮閘 1700,或者電荷將自浮閘1700中萃出。爲了讀取 資料,當固定電壓施加於源極1 7 0 1以及汲極1 7 0 2 之間,施加一電壓至控制閘1 7 0 3,且流經該汲極之電 流將被轉換爲一電壓。此處,作控制閘電壓之起使電壓 Vlh (該電壓係做爲允許在汲極1 7 02以及源極 本紙張尺度適用中國面家揉準< CNS ) A4规格(210X297公釐) -4- 43 66 7 5 a? _B7__ 五、發明説明(2 ) 1 7 0 1間之流動電流的)係在圖十八之中。 圖十八係快取記憶體之控制閘電壓以及汲極電流特性 之展示圖該控制閘電壓係展示在水平軸’而源極電 流I d係展示在垂直軸。如該圖所展示的,此初始値係根 據電荷是否出現在浮閘中而變動。該資料値係藉由對於汲 極電流中之V t h値之差異的汲極電流之決定而讀出。此處 ,保存錯誤指的是由於一段長時間的因爲浮閘改變所造成 之電荷損失之Vth改變的現象•保持錯誤之特性係當超過 —定的時間週期時,突然增加產生自記憶體構件讀取資料 之錯誤。 經濟部中央樣準局負工消费合作社印製 {請先閲讀背面之注意事項再填寫本頁) 在如日本未審專利案第He i 3 — 5995號,作爲 使用在快取記憶體中之數位資訊記憶體以及再生裝置(此 後稱爲檔案系統)之習知技藝中,提出一種當自記憶體讀 取資料時|可增加可靠度的方法。這個方法係爲錯誤偵測 /更正之方法,其中錯誤更正碼(以後簡稱爲E C C )電 路係內建於快取記憶體以增加重複資料以偵測並更正資料 錯誤。一旦此重複資料被增加時,該資料被轉換至E C C 電路之內側,且記錄在該記億體構件中,且當資料自記億 體構件中讀出時*在資料中的錯誤將藉由使用該E C C電 路而偵測以及更正》 此處,該使用此種系統中之E C C主要係形成系統碼 之循環碼。該循環碼以及系統碼將接續解釋。該循環碼首 先藉由使用等式(1 )以及等式(2)而定義。 本紙張尺度適用中國國家標準(CNS ) A4祝格(210X297公釐) -5- 4 3 66 7 5 a? _B7 五、發明説明(3 )B7 V. Description of the invention (i) Background of the invention: 1. Field of the invention: The present invention is related to a billion recording device, an error correction method, and a portable digital auxiliary terminal and a digital camera using the device and the method. In particular, the encoding device for correcting the digital information of the cache memory used in the memory reproduction device and the control method thereof. 2. Description of related technology: When reading or transferring data from a recording medium • There are many possibilities for errors. These errors can be roughly classified into errors that occur in the memory element that stores the data, and errors that occur in the transmission path during data transmission. In non-volatile semiconductor memory and especially cache memory, most of the errors occur in the memory components that store data. Among these errors, memory saving errors are a particular problem. The problem of memory preservation is explained below. Before explaining, however, the structure of the cache memory will be explained with reference to Figure 17. Printed by the Pager Consumer Cooperative of the Central Sample Bureau of the Ministry of Economic Affairs (please read the notes on the back before filling this page) Λ,! Figure 17 is a basic diagram showing the structure of the cache memory. To write the data into the cache memory component in the figure, the charge will be input to the floating gate 1700, or the charge will be extracted from the floating gate 1700. In order to read the data, when a fixed voltage is applied between the source 17 0 1 and the sink 17 2, a voltage is applied to the control gate 17 0 3, and the current flowing through the drain will be converted into a Voltage. Here, the voltage Vlh is used to control the gate voltage (this voltage is allowed to apply to Chinese noodles & CNS) A4 specification (210X297 mm) -4 at the drain 1 7 02 and the source paper size. -43 66 7 5 a? _B7__ 5. Description of the invention (2) The current flowing between 1 7 0 1 is shown in Figure 18. Fig. 18 shows the control gate voltage and the drain current characteristics of the cache memory. The control gate voltage is displayed on the horizontal axis' and the source current I d is displayed on the vertical axis. As shown in the figure, this initial system varies depending on whether the charge is present in the floating gate. This data is read by the determination of the drain current for the difference in V t h 値 in the drain current. Here, the storage error refers to the phenomenon of Vth change due to a long period of charge loss caused by the change of the floating gate. The characteristic of the hold error is that when the time period exceeds a certain period, a sudden increase occurs from the reading of the memory component. Error in obtaining information. Printed by the Central Procurement Bureau of the Ministry of Economic Affairs, Consumer Cooperatives {Please read the precautions on the back before filling out this page) In the Japanese Unexamined Patent Case No. He i 3-5995, as a number used in cache In the conventional technique of information memory and a reproduction device (hereinafter referred to as a file system), a method for increasing reliability when reading data from the memory is proposed. This method is an error detection / correction method, in which an error correction code (hereinafter referred to as E C C) circuit is built into the cache memory to add duplicate data to detect and correct data errors. Once this repetitive data is added, the data is converted to the inside of the ECC circuit and recorded in the recorder, and when the data is read from the recorder, the errors in the data will be made by using the ECC circuit detection and correction "Here, the use of ECC in this system is mainly a cyclic code that forms a system code. The cyclic code and the system code will be explained successively. The cyclic code is first defined by using equation (1) and equation (2). This paper size applies the Chinese National Standard (CNS) A4 Zhuge (210X297 mm) -5- 4 3 66 7 5 a? _B7 V. Description of the invention (3)

在等式(1 )以及(2 )中,記號n表示最大的特許 碼長度。當碼字元藉由將每個碼字元w構件循環更換爲碼 字元ω時,該結果亦爲碼字元。此時,藉由將每個單 元(component )往左移一位’而最左單元移動到最右位置 ,而成之左循環置換。對於固定碼字元ω之循環的必要狀 態可以等式(3)所表示,其中假設ω係A (X)乘以G (X )。 ω = A ( x ) G ( x ) ......... ( 3 ) 此處,G ( x )係爲多項式表示式,以將資料轉換爲 —碼,且稱之爲碼字元產生器多項式》其係爲一在非零( 0 ) η碼長度循環碼之碼字元多項式中具有最小因次( degree )之多項式。該循環碼亦可設定爲系統碼β該系統 碼經架構以隔絕該重複部份以及資訊部份。 包含系統碼之方法解釋如下: 經濟部中央橾準局貝工消费合作社印裝 該碼字元產生器多項式G ( X )以如下等式(4 )而 表示。 G(x)=(x - ^°)(x - <χχ )..·(χ - a21'1)......... ( 4 ) 在此等式中’ cr係原始多項等式之根,2 t係重複碼 長度且t係該更正的容量。 該具有係數資訊資料的資訊數位多項式係以等式5所 表示。 1 +...m]X + in0)......... ( 5 ) -6- ί請先閲讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國國家揉準(CNS ) A4祝格(210X297公釐) 經濟部中央梂準局貝工消资合作社印裂 4 3 66 IA7 _B7 五、發明説明(4 ) 此處,(mk-i .....mi,m。)係表示k個資訊數 位。 . 該資料長度(位元組)在此處係以k而表示。當G ( X )之因次對應於E C C (錯誤對應馮)符號更正容量且 該更正容量係以該符號t而表示時,G ( X)的因次變成 2 t或更多。該符號係錯誤更正之單元且該編碼可以是位 元或有時可以是含有數打個爲緣之.位元流。請考量一具有 t個符號錯誤更正之ECC之例子。G (X)的因次係設 定爲2 t。 假設(Mx)中X的次方(G (X)的次方減一)被In equations (1) and (2), the symbol n represents the maximum license code length. When a codeword is replaced with a codeword ω by cyclically replacing each codeword w component, the result is also a codeword. At this time, by moving each component to the left by one 'and the leftmost unit is moved to the rightmost position, the left cycle is replaced. The necessary state for the cycle of the fixed codeword ω can be expressed by equation (3), where it is assumed that ω is A (X) multiplied by G (X). ω = A (x) G (x) ......... (3) Here, G (x) is a polynomial expression to convert the data into a code, and it is called a code character The generator polynomial is a polynomial having the smallest degree in a code character polynomial of a non-zero (0) η code length cyclic code. The cyclic code can also be set as the system code β. The system code is structured to isolate the repeated part and the information part. The method that includes the system code is explained as follows: Printed by the Shellfish Consumer Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs, the code character generator polynomial G (X) is expressed by the following equation (4). G (x) = (x-^ °) (x-< χχ) .. (χ-a21'1) ......... (4) In this equation, 'cr is the original polynomial At the root of the equation, 2 t is the repeat code length and t is the capacity of the correction. The information digital polynomial with coefficient information data is represented by Equation 5. 1 + ... m] X + in0) ......... (5) -6- ί Please read the notes on the back before filling in this page) The paper size is based on the Chinese national standard (CNS ) A4 Zhuge (210X297 mm) Printed by the Central Laboratories of the Ministry of Economic Affairs, Pui Gong Consumer Cooperatives 4 3 66 IA7 _B7 V. Description of Invention (4) Here, (mk-i ..... mi, m. ) Indicates k information digits. The data length (bytes) is expressed here as k. When the factor of G (X) corresponds to the correction capacity of the E C C (wrong correspondence Feng) symbol and the corrected capacity is represented by the symbol t, the factor of G (X) becomes 2 t or more. The symbol is a unit of error correction and the code can be a bit or sometimes a bit stream containing several dozens of edges. Consider an example of an ECC with t symbol error corrections. The factor system of G (X) is set to 2 t. Assume that the power of X in (Mx) (the power of G (X) minus one) is

G ( X )所除時,該商以及餘數係個別爲Q ( X )以及R (X):且η係爲最大碼長度· r係重複符號之數目,而 k係爲資訊數位長度:Μ ( X)之因次2 t — 1經與X相 乘,表示成Q(x)G(x)+R(x),使得餘數R( X)係以等式(6)所表示。 M(x)x2,"=Q(x)G(x)+R(x) , Λ、 λ … .........C 〇 ) R(x)= γ,,^^χ + …+ηχ + Γ0 在等式6中,R(x)的因次係較(2t - 1)之次 方爲小。此處,當W ( X )係以等式7所示而被替換時, W(x)形成Q(x)乘以G(x),而形成循環碼。 W(x)=M(x)xn-k-R(x) ......... ( 7 ) W(x)= Q(x)G(x)When G (X) is divided, the quotient and the remainder are Q (X) and R (X): and η is the maximum code length. R is the number of repeated symbols, and k is the length of the information digits: M ( The factor 2) of x) is multiplied by X and expressed as Q (x) G (x) + R (x), so that the remainder R (X) is represented by equation (6). M (x) x2, " = Q (x) G (x) + R (x), Λ, λ ...... ... C 〇) R (x) = γ ,, ^^ χ +… + Ηχ + Γ0 In Equation 6, the factor of R (x) is smaller than the power of (2t-1). Here, when W (X) is replaced as shown in Equation 7, W (x) forms Q (x) multiplied by G (x) to form a cyclic code. W (x) = M (x) xn-k-R (x) ......... (7) W (x) = Q (x) G (x)

該位元運算係爲A + B = A — B 此時之該W ( x )係數係以等式8而展示。該資訊資 料以及重複資料係彼此相互分開編碼•該以最髙因次開始 本紙張尺度逋用中國國家揉準(CNS ) A4規格(210X297公釐) C請先閱讀背面之注意Ϋ項再填寫本f ) •π A7 B7 d 3 66 五、發明説明(5 ) 排列所建構之W ( X )係數係展示在等式(8 )之中。 (m卜 1,..·,πΐι,ΓΠ〇,_Γη_][_ι,·..,_Γι,r。) ( 8 ) (請先閲讀背面之注意?項再填寫本頁) 此處,πΐΐί-i,…,mi,mo係標示該k元素構件之 資訊數位β —rn-k-i,…,一 r 1,r。係爲檢査數位,或換句 話說,係展示該重複部份" 然而,在真實檔案系統中,並不是最大碼長度η,而 是大多數爲資訊數位長度k以及重複長度2 t之和1的發 生。例如,在符號錯誤更正ECC的情形中*該符號(η _ 1 )將不會作爲編碼用。 接著,展示改變系統碼結構的方法。假如不使用的部 位被認定爲W ( X )的係數爲零,則該碼結構係以等式9 而展示β +A"'2xn·2 +...A'x! + A^'x'-1 + +...+A0 ( 9 ) 1^丨‘ 經濟部中央橾準局員工消费合作社印製 此處,該未使用之碼部份(+ An_2xn_2 tAY )係爲 係數A之η - 1次方至A的1次方的部位,且n — 1個單 位構件之正確係數係爲零。該k單位構件之資訊部份係爲 A1、1·1七乂1、1-11,其係爲係數A之1 - 1次方至A的1 - k次 方的部位。該2 t之重複部位係爲+...+A11,其係爲係 數A之1 — k — 1次方莘A的〇次方的部位。接著,該 E C C電路之碼結構係展示在圖1 9中。 圖十九係展示η符號碼週期之該未使用部份、該資訊 部份以及重複部份的展示圖。在此圖中,該參考符號6 1 -8- 本紙張尺度逍用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央梂準局系工消费合作杜印家 4 3 66 7 5 A7 _B7 五、發明説明(6 ) 係表示η -(k + 2t),換句話說,及該η — 1碼之該 未使用碼部份,而參考號6 2係表示k符號之資訊部份, 而6 3係表示2 t符號之重複部份。對於含有E C C電路 之碼中,該實際記錄爲該碼之係數部份係作爲資訊部份 6 2以及重複部份6 3之部分,而展示在圖1 9的箭頭中 〇 圖2 0係將系統碼予以編碼之時間圖。時脈係展示產 生在E C C電路中,由資訊部份6 2至重複部份6 3之k 個位元組,如圖2 Ο A所示。而時脈係產生在重複部份 6 3中,資訊部份6 2之資料係以相同時間而輸出,而產 生在重複部份之時脈在之後被輸出|如圖2 0A所示。 例如漢明(humming )碼、B C Η碼、以及雷所門( Reed Solomon )(此後簡稱爲RS)碼係藉由系統碼之錯 誤更正容量以及錯誤更正單元之差異而推導而得。習知技 藝之半導體記億體係揭示在如曰本公告未審專利第He i 3-5995號以及1996 IEEE VLS I電路雜 誌技術論文第74 — 75頁之論集,使用SEC (單錯誤 可更正)碼、SEC — DED (雙錯誤可偵測)碼或 B C H ( Bose Chaudhuri Hocquenhgem )碼,其甚至在系統 碼中具有錯誤更正單元。 然而,例如作爲許多情形下數位相機以及可攜式數位 輔助終端機之系統係以相當大(數百位元組)的批次作業 而處理資料*在這些檔案系統中,處理資料的最小單元大 多數爲位元組(8位元),且資料錯誤以及爆衝(burst ) 本紙張尺度適用中國國家標準( CNS ) A4规格(2丨OX 297公釐) (請先M讀背面之注意事項再填寫本頁) i I —Ml · 4.3 66 7 5 a? _ B7 五'發明説明(7 ) 式錯誤通常發生,使得雷所門碼具有較好的編碼效率,因 爲雷所門碼之錯誤更正的最小單元係一符號(多個位元) ,其相反於B C Η碼之錯誤更正之最小單元爲一個位元。 在習知技藝中,內部錯誤更正碼電路係裝設控制器內側、 半導體記憶體晶片外側,且資料之R S編碼係在當自記憶 體中讀取以及寫入(以後簡稱爲R/W)時而執行。 且在習知技藝之快取記憶體中,一個位元係對應於一 個記憶體單位構件。接著,資訊儲存所需要的電壓起使 Vth對於每個記憶體單元構件係爲兩個,且適當間隙可在 這些起使値間而被維持。然而,近年來,由於對於低 價以及大容量之使用快取記憶體檔案系統的需求,一個記 億體單元構件必須可以處理兩個位元或更多個位元-這種 改變意指對於記憶體儲存所需的電壓起始V t h係爲四個或 更多個。接著,介於每個電壓起始Vlh間之間隙變得較窄 ,且錯誤在自記憶體單元構件中讀取資料時將變成不可避 免》 經濟部中央標準扃W工演费合作社印装 進一步地•當Vth因爲損壞的記億體單元構件而固定 時,在單個記億體單元構件中有時會有兩個位元錯誤。如 所預期|習知技藝中含有具循環碼之E C C電路的記憶體 晶片不具有與SEC碼、SEC — DEC碼或BCH碼相 可靠度之滿足位元。進一步地,例如數位相機以及可攜式 數位輔助終端機之許多例子的系統必須處理相關於視頻資 料之資料,使得甚至當錯誤更正不可執行,例如根據錯誤 偵測之錯誤補償最好是執行錯誤更正。當具有半導體記憶 -10- (請先閲讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家樣準(CNS ) A4規格(210X297公釐) 經濟部中央梂準局負工消费合作杜印製 436675 五、發明説明(8 ) 體之編碼資料使用在上述相關應用中時,不僅錯誤更正容 量且具有高錯誤偵測(此後簡稱爲E D )之碼可被使用。 且,當在記億體晶片內側中使用作爲循環編碼之 E C C電路時,該三個點在使用上是個問題。這三個點係 爲電路標度(scale ),資料解碼時間以及解碼時間之不便 性。 首先,關於電路標度的相關問題在此提出。該電路標 度大部份係相關於E C C編碼以及解碼方法。該循環碼之 ECC解碼方法首先解釋之。該所接收碼字元Y(X)係 以所傳送字元W(x)以及錯誤多項式E (X)之和而表 示。換句話說,係以等式(1 0 )而表示。 Y(x)=W(x)+E(x) ......... (10) 此處,當A mod B表示A除以B之餘數,Y( x)niodG (χ)在 Ε (χ)=0 時係爲零(0) * 換 句話說,係以等式11而示。 Y(x)mod G(x) = W(x)mod G (x) = Q(x)G(x)mod G (x) =〇 .........(11) 此處,假如E(x)不等於零(0) ,Y(x) mod G(x)將是E(x)mode G(x)。換 句話說, Y(x)raod G(x) = (W(x) + E(x))mod G(x) = (Q(x)G(x) + E(x)) mod G(x) = E(x)mod G(x).........(1 2) (請先閲讀背面之注意事項再填寫本頁) 訂 本紙張尺度適用中困國家橾率(CNS ) A4规格(210X297公釐) -11 - 43 66 7 5 A7 B7__ 五、發明説明(9 ) 進一步地,等式(1 2)可以等式1 3而示》 Y (x)mod G (x)=S (X) ......... (13) 等式(1 3 )稱爲倂發式,且結合碼錯誤位置I以及 錯誤圖樣E p i資訊。此種建構提供一種偵測錯誤圖樣以 及錯誤位置的方法。如例所示,考慮具有一個符號更正能 力的E C C。當重複符號係設定爲2 t符號時,該碼字元 產生器多項式G (X)係以等式(1 4)所示。The bit operation is A + B = A — B. The W (x) coefficient at this time is shown in Equation 8. The information materials and repetitive materials are coded separately from each other. • The paper size should start with the most important factor, using the Chinese National Standard (CNS) A4 specification (210X297 mm). C Please read the notes on the back before filling in this document. f) • π A7 B7 d 3 66 V. Explanation of the invention (5) The W (X) coefficient constructed by the arrangement is shown in equation (8). (m Bu 1, .. ·, πΐι, ΓΠ〇, _Γη _] [_ ι, · .., _Γι, r.) (8) (Please read the note on the back before filling this page) Here, πΐΐί- i, ..., mi, mo are information digits β —rn-ki, ..., r 1, r indicating the k element components. It is to check the digits, or in other words, to show the repetition part " However, in the real file system, it is not the maximum code length η, but mostly the sum of the information digit length k and the repetition length 2 t happened. For example, in the case of a symbol error correction ECC * the symbol (η _ 1) will not be used for encoding. Next, a method of changing the structure of the system code is shown. If the unused part is deemed to have a coefficient of W (X) of zero, the code structure is shown in Equation 9 and β + A " '2xn · 2 + ... A'x! + A ^' x ' -1 + + ... + A0 (9) 1 ^ 丨 'is printed here by the Consumers' Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs, the unused code part (+ An_2xn_2 tAY) is η-1 of the coefficient A From the power to the power of A, and the correct coefficient of n-1 unit member is zero. The information part of the k-unit component is A1, 1.1 乂 7 乂 1, 1-11, which is the position of the coefficient A from the 1-1th power to the A-kth power. The 2 t repeating position is + ... + A11, which is a position of the factor A of 1-k-1 to the power of 莘 A. Next, the code structure of the ECC circuit is shown in FIG. Fig. 19 is a diagram showing the unused part, the information part, and the repeated part of the n-symbol code period. In this figure, the reference symbol 6 1 -8- This paper is scaled to the Chinese National Standard (CNS) A4 (210X297 mm). Department of Industry, Central Bureau of Standards, Ministry of Economic Affairs, Industry and Consumer Cooperation, Du Yinjia 4 3 66 7 5 A7 _B7 V. Invention description (6) means η-(k + 2t), in other words, the unused code part of the η-1 code, and reference number 6 2 means the information part of the k symbol. And 6 3 represents the repeated part of the 2 t symbol. For a code containing an ECC circuit, the coefficient part that is actually recorded as the code is part of the information part 6 2 and the repetition part 63, and it is shown in the arrow of Fig. 19. Fig. 20 shows the system. A time chart of the code being encoded. The clock display is generated in the E C C circuit, and k bytes from the information part 62 to the repetition part 63 are shown in Fig. 2A. The clock system is generated in the repetition part 63, and the data in the information part 6 2 is output at the same time, and the clock generated in the repetition part is output afterwards | as shown in Figure 2A. For example, the humming code, the B C 、 code, and the Reed Solomon (hereafter referred to as RS) code are derived from the error correction capacity of the system code and the difference between the error correction units. The know-how of the semiconductor memory system is disclosed in the unexamined patent No. He i 3-5995 of this announcement and the 1996 IEEE VLS I Circuit Magazine Technical Papers on pages 74-75, using SEC (single error can be corrected) codes , SEC — DED (Double Error Detectable) code or BCH (Bose Chaudhuri Hocquenhgem) code, which even has error correction units in the system code. However, for example, as a system of digital cameras and portable digital assistant terminals in many cases, the data is processed in a relatively large (hundreds of bytes) batch operation. In these file systems, the smallest unit for processing data is large Most are bytes (8 bits), and the data is incorrect and burst. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 OX 297 mm) (please read the precautions on the back first) (Fill in this page) i I —Ml · 4.3 66 7 5 a? _ B7 Five 'invention description (7) The type error usually occurs, which makes the Thunder gate code have better encoding efficiency, because the error of the Thunder gate code is correct. The smallest unit is a symbol (multiple bits), and the smallest unit of error correction in contrast to the BC code is one bit. In the conventional art, the internal error correction code circuit is installed inside the controller and outside the semiconductor memory chip, and the RS code of the data is read and written from the memory (hereinafter referred to as R / W). While executing. And in the cache memory of the conventional art, a bit system corresponds to a memory unit component. Then, the voltage required for information storage makes Vth two for each memory cell component, and the proper gap can be maintained between these causes. However, in recent years, due to the need for a low-cost and large-capacity cache memory file system, a memory unit component must be able to handle two or more bits-this change means that for memory The initial voltage Vth required for bulk storage is four or more. Then, the gap between each voltage start Vlh becomes narrower, and errors will become inevitable when reading data from the memory cell components. ”Central Standard of the Ministry of Economic Affairs • When Vth is fixed due to a damaged billion-body unit component, sometimes there are two bit errors in a single billion-unit body component. As expected | The memory chip that contains the E C C circuit with the cyclic code in the conventional art does not have a satisfying bit of reliability with respect to the SEC code, SEC-DEC code, or BCH code. Further, systems such as many examples of digital cameras and portable digital assistant terminals must process data related to video data so that even when error correction is not possible, for example, error compensation based on error detection is best performed by error correction. . When with semiconductor memory-10- (Please read the notes on the back before filling this page) This paper size applies to China National Standard (CNS) A4 specification (210X297mm) System 436675 V. Description of the invention (8) The encoding data of the body is used in the above-mentioned related applications. Not only the error correction capacity but also the code with high error detection (hereinafter referred to as ED) can be used. Moreover, when using the EC C C circuit as a loop code in the inside of a billion chip wafer, these three points are a problem in use. These three points are the circuit scale, data decoding time, and the inconvenience of decoding time. First, related questions about circuit scaling are raised here. Most of this circuit scale is related to E C C encoding and decoding methods. The ECC decoding method of the cyclic code is explained first. The received code character Y (X) is represented by the sum of the transmitted character W (x) and the error polynomial E (X). In other words, it is expressed by equation (1 0). Y (x) = W (x) + E (x) ......... (10) Here, when A mod B represents the remainder of A divided by B, Y (x) niodG (χ) is Ε (χ) = 0 is zero (0) * In other words, it is shown by Equation 11. Y (x) mod G (x) = W (x) mod G (x) = Q (x) G (x) mod G (x) = 〇 ......... (11) Here, If E (x) is not equal to zero (0), Y (x) mod G (x) will be E (x) mode G (x). In other words, Y (x) raod G (x) = (W (x) + E (x)) mod G (x) = (Q (x) G (x) + E (x)) mod G (x ) = E (x) mod G (x) ......... (1 2) (Please read the notes on the back before filling out this page) The size of the paper is applicable to the countries with difficulty (CNS) A4 specification (210X297 mm) -11-43 66 7 5 A7 B7__ 5. Description of the invention (9) Further, equation (1 2) can be shown by equation 1 3 "Y (x) mod G (x) = S (X) ......... (13) Equation (1 3) is called burst type, and combines code error position I and error pattern E pi information. This construction provides a way to detect error patterns and error locations. As shown in the example, consider E C C with one sign correction capability. When the repetition symbol system is set to a 2 t symbol, the codeword generator polynomial G (X) is shown by equation (1 4).

GixHx-^Xx-or1) ^GixHx- ^ Xx-or1) ^

λ ί 1 4 J =Γ -(ar+l)x + ar 當發生在所接收碼字元Υ ( χ )時的一個錯誤,係以 錯誤多項式E ( X )而展示,而獲得等式1 5所示之結果 。接著,該併發式S (χ)將以等式16而示,且單項式 係由錯誤位置之資訊X ί以及錯誤圇樣E p i而成形。且 ,循環碼之特性係由等式17所建立。 E(x)=EPixk+2H......... (15). S(x)= EpjX^21*' modG(x)......... (16) 由於循環碼的特性爲, xn-丨=1......... (17) 藉由上述所建之關係,當χ的次方建構在倂發式S ( χ)的適當順序時,且等式(1 6)之値經使用而使χ的 正確次方允許併發式S (χ)符合等式(1 7)的狀態, 而χ的次方2以及χ係數爲零(0),且錯誤圖樣Epi 係以固定表示式而出現在等式(18)。 . 本纸張尺度速用中國國家標準(CNS)A4规格< 210X297公釐) 71 ' (請先Μ讀背面之注意事項再填寫本頁} 訂 ^! 經濟部中央梂隼局貞工消费合作杜印31 一 Ο 7 : A7 ,丨…-^_B7_ 五、發明说明(10 ) 錯誤位匱I以及錯誤圖樣E p i可藉由偵測X之次方 以及零(0)之X係數而偵測出*當X + + 被應用至S (X)時,在ECC電路內側之多項式等式係 爲 夕U)'= (4b〆*2卜 / u(—υ modCU) =Epix°~x mo&G{x) =Ep^moAGix) =Εβ.........(18) 另一方面,當發生接收信號Y ( x )之錯誤較2個符 號爲大時,在一些情形下,該錯誤在不偵測錯誤的情形下 而被更正,而在一些情形下,該錯誤可被偵測到》錯誤可 被偵測到的情形係當S(x)不等於零(0),而滿足等 式(1 8 )的狀況,甚至以大至乘上X碼長度的次方也不 能滿足,當X的次方以倂發式S ( X )的適當順序而建構 時。在1個符號更正的情形下,該碼字元產生器多項式G (X)的除法電路可藉由使用具有電路大小保持爲小的編 碼電路以及解碼電路兩者而被加入。然而,當錯誤更正容 量大於二,上述演算法不可使用。接著,分開編碼器電路 以及分開解碼器電路因爲需要而大幅增加電路大小。 經濟部中央橾準局WCJ.消资合作杜印装 (請先《讀背面之注意事項再填寫本頁 訂λ ί 1 4 J = Γ-(ar + l) x + ar An error when it occurs in the received code character Υ (χ) is shown by the error polynomial E (X), and we obtain Equation 1 5 Results shown. Then, the concurrency S (χ) will be shown by Equation 16, and the monomial is formed by the information X ί of the wrong position and the error pattern E p i. And, the characteristics of the cyclic code are established by Equation 17. E (x) = EPixk + 2H ......... (15). S (x) = EpjX ^ 21 * 'modG (x) ...... (16) Due to the cyclic code The characteristics of xn- 丨 = 1 ......... (17) With the relationship established above, when the power of χ is constructed in the proper order of the burst S (χ), and so on The formula (16) is used so that the correct power of χ allows the concurrent formula S (χ) to conform to the state of equation (17), and the power of χ2 and the coefficient of χ are zero (0), and the error The pattern Epi appears in equation (18) as a fixed expression. . This paper is a quick-use Chinese National Standard (CNS) A4 specification < 210X297 mm) 71 '(Please read the precautions on the back before filling out this page} Order ^! Du Yin 31 10 7: A7, 丨 ...- ^ _ B7_ 5. Explanation of the invention (10) The error bit I and the error pattern E pi can be detected by detecting the power of X and the X coefficient of zero (0) Out * When X + + is applied to S (X), the polynomial equation inside the ECC circuit is Xi U) '= (4b〆 * 2Bu / u (—υ modCU) = Epix ° ~ x mo & G (x) = Ep ^ moAGix) = Εβ ......... (18) On the other hand, when the error of the received signal Y (x) is larger than 2 symbols, in some cases, The error is corrected without detecting the error, and in some cases, the error can be detected. The situation where the error can be detected is when S (x) is not equal to zero (0), and it satisfies The condition of equation (18) cannot be satisfied even by a power that is multiplied by the length of the X code, when the power of X is constructed in the proper order of the burst S (X). In the case of 1-symbol correction, the division circuit of the codeword generator polynomial G (X) can be added by using both an encoding circuit and a decoding circuit having a small circuit size. However, when the error correction capacity is greater than two, the above algorithm cannot be used. Then, the separate encoder circuit and separate decoder circuit increase the circuit size as needed. WCJ. Consumption and Cooperation Cooperation of the Ministry of Economic Affairs of the People's Republic of China

A 其次,係相關於解碼所需時間的問題·將循環碼解碼 的時間係倂發式S ( _x )產生器時間除以錯誤偵測/更正 時間的總和。例如,考慮具有1個符號更正能力的R S編 碼《首先,該併發式S (X)產生時間將被解釋·該倂發 式S (X)係根據等式(12)以及等式(13)中所接 收之碼字元Y ( X )之輸入而獲得。該所需時間係設定爲 本紙張尺度適用中困國家揉準(CNS ) A4规格(210X297公釐) -13 - 436675 五、發明説明(11 ) 每個碼長度爲一個時脈。s (X) =0的結果展示在所接 收碼字元處沒有錯誤•錯誤偵測以及更正係當s(x)不 等於零(0 )時而被執行。 該錯誤更正/偵測時間接著被解釋。爲執行錯誤偵測 ,等式(9 )具有係數零(0)之碼字元W ( X)之部分 必須檢査。換句話說,必須對於圖十九中作爲未使用碼之 (n- (k + 2 t ))符號之碼爲使用部份6 1執行錯誤 搜尋。 這種捜尋係必須的,爲了使倂發式S (X)依序乘上 X次方。該搜尋時間因此等於η時脈,且具有併發式產生 器時間的總解碼時間係爲(k + 2 t ) +η個時脈。換句 話說,1+η個時脈。當n — (k + 2t)個符號之◦( 零)輸入部份相對於資訊k符號係相當大的*對於實際被 接收的解碼所需時間變的極端的大。 經濟部中央揉準局男工消费合作社印製 第三、將解釋關於解碼時間的不方便的問題。當使用 晶片上(on = chip) ECC電路時,資訊信號計數 K時脈有些時候係使用作爲載入(讀出)外部接收的資料 ,以及作爲產生控制信號。 圖二十一係爲展示當習知技藝解碼之錯誤偵測以及錯 誤更正之時間圖*如圖二十一A淸楚所示的,在具有資訊 部位脈波重複部份的結構之習知技藝系統碼中,在對於具 有k符號資訊部位6 2之錯誤偵測/更正處理完後,更進 一步執行上至2 t符號重複部份6 3之處理,以確認是否 有錯誤發生。當經判斷係有錯誤發生時,只對於η _ 1個 •14- (請先閲讀背面之注意事項再填寫本頁) 本纸張尺度適用中國國家梂準(CNS ) Α4規格(210X297公釐) 經濟部中央橾窣局貝工消费合作社印袈 .1 - 6 6 5 A7 ____B7_ 五、發明説明(12 ) 未使用部份6 1予以空白旋轉(輸入零並旋轉),然後資 訊部位6 2之錯誤偵測/更正被執行,且錯誤偵測資訊接 著被輸出。接著,當執行與資訊資料6 4同步之錯誤偵測 /更正時,該錯誤偵測資訊係在完成資料輸出後2 t個時 脈時而被輸出,如圖二十一 B所示。換句話說,一旦k符 號之資料6 4被輸出時,外部使用者不能獲得錯誤偵測資 訊,直到該使用者等待2 t個時脈.之週期。因此,當信號 資料被讀出以及輸出時,需要在等待2 t個時脈週期之後 ,開始處理例如錯誤補償處理的程式,其將對於外部使用 因爲安裝E C C電路而施加限制。自圖二十一 B中,6 5 係標記一重複符號。 如上述,在習知技藝中,在記憶體單元構件中之位元 錯誤問題因爲這些單元構件之多重値必須改變而會發生》 進,當E C C電路經裝設以使用位在記憶體晶片內側之循 環碼:首先,會發生大電路尺寸的問題,其次會發生長的 資料解碼時間,第三係會發生當解碼時對於使用者不便的 問題。 發明簡要說明: 綜觀上述,因此•本發明的目的在於提供記憶體再生 裝置以及錯誤更正方法,該裝置以及該方法係使用具有當 資料編碼時•對於記憶體裝置係爲理想的錯誤更正能力的 碼* 本發明的另一目的係在於提供一種記億體再生裝置以 本紙張尺度適用中國國家揉準(CNS ) A4规格(2丨Ο Χ 297公釐) .15 _ (請先閲讀背面之注意事項再填寫本頁) 訂 4 3 66 7 5 a? ___B7 五、發明説明(13) 及錯誤更正方法,而使編碼電路以及解碼電路之至少一部 份被接合使用。 本發明之另外一個目的係在於提供一種記憶體再生裝 置以及錯誤更正方法,而使資料解碼時間、錯誤更正時間 以及錯誤偵測時間縮短。 本發明之令一個目的係在於提供一種記憶體再生裝置 以及錯誤更正方法,而使資料輸出以及錯誤更正資訊同步 〇 爲達成上述本發明之目的,本發明之記憶體再生裝置 具有接合在記億體內側之記億體晶片,且精裝涉有內部錯 誤更正碼電路以執行位在記憶體晶片內側之資訊儲存記憶 體資料的錯誤更正編碼,且亦可對於自記憶體中讀出之資 料經使用錯誤更正編碼之錯誤更正碼予以解碼》此錯誤更 正電路係由編碼電路所組成以執行所應用資訊資料之錯誤 更正編碼,且係由解碼電路所組成以對於位在錯誤更正編 碼上之資訊資料予以解碼。且,該編碼電路以及解碼電路 最好係結合在一起。 經濟部中夾樣準局貝工消费合作社印策 (請先閱讀背面之注^^項再填寫本頁) 此記憶體再生裝置之錯誤更正編碼電路包含一除法器 以在當除法結果滿足所設定狀態時,將來自於操作結果之 連續多數個未元予以相除,且包含一單元構件以執行錯誤 更正•以及一個單元構件以當等於碼長度的資料輸入時間 時,完成資料之解碼,且當除法結果不滿足所設定狀態* 甚至當對於所有輸入資料解碼時,將有一個單元構件將錯 誤偵測資訊予以輸出至外部電路。上述除法器係包含多個 本紙張尺度遑用中國國家標準(CNS ) A4规格(210X297公釐) 43 66 7 5 a? _ B7 五、發明説明(14 ) 除法電路,且當上述更正單元構件之結果係與來自於多個 除法器電路之結果相同時,並由所包含之偵測器以及 NOR電路以執行錯誤更正,以及錯誤資訊在當上述錯誤 資訊输出單元構件時而予以輸出,該NOR電路之輸出係 爲 1 (—)。 經濟部中央揉準局貝工消費合作社印装 (請先閲讀背面之注意事項再填寫本頁) 上述內部錯誤更正碼電路亦包含一個錯誤更正電路以 及一單元構件以在當重複位元部份在當錯誤更正解碼時而 被加至資訊資料時,持有錯誤更正電路之操作處理結果, 且藉由以等量於加至資訊資料之重複位元部份之數量而以 開始處理內部錯誤更正碼電路爲起始之延遲,同時在當對 於錯誤更正電路處理結束時,將經解碼的資料予以終端輸 出。該重複位元持有單元構件最好係由緩衝器所架構。且 ,該內部錯誤更正碼電路輸入一個別値,該個別値係根據 對應於錯誤更正碼之編碼時所使用之碼長度的特殊計數, 且改變含有資訊資料以及重複位元部位之錯誤更正碼之碼 建構。上述個別値係爲零(0)。當錯誤更正碼在編碼時 ,此個別値最好以對應於所正使用之碼長度個別數目而輸 入至編碼電路,且該錯誤更正碼經建構•以使重複位元被 置於資訊資料之前端。 藉由比較上述具有單元構件之內部錯誤更正碼電路以 執行資訊資料之更正編碼以及重複位元,且一單元構件係 執行在當錯誤更正解碼時,在資訊資料之前的重複位元結 果的處理,該所解碼之資料之輸出可在當藉由內部錯誤更 正碼電路端之處理,而同步地結束。該位在內部錯誤更正 本紙張尺度遒用中國國家揉半(CNS ) A4规格(210X297公釐) -17- 經濟部中央樣準局負工消费合作社印製 13 66 7 b A7 __B7____五、發明説明(15 ) 碼電路中之錯誤更正編碼最好係爲RS(雷所門)碼· 爲了達成本發明之上述目的,該可攜式數位輔助終端 機含有內部儲存記憶體以及設置有錯誤更正電路之記億體 晶片的記憶體再生裝置,以執行位在記憶體晶片內側作爲 儲存之資訊資料錯誤更正編碼,且亦產生錯誤更正碼;且 該錯誤更正電路係將使用讀自於記憶體之錯誤更正碼之錯 誤更正信號;該記億體再生裝置亦可暫時儲存資料以及交 換資料* 且,爲了達成本發明的目的,一種數位照相機包含有 具有內部儲存記億體之記億體晶片以及具有內部錯誤更正 碼電路之記憶體再生裝置,以執行儲存在記億體晶片內側 之資訊資料錯誤更正碼,以及產生錯誤更正碼;以及該錯 誤更正電路亦將使用讀取自記億體之錯誤更正碼之錯誤更 正信號予以解碼:該記憶體再生裝置具有暫時儲存資料以 及交換資料的能力。 且,爲了達成本發明的目的,本發明之更正方法係使 用一機構,包含具有內部儲存記憶體之記憶體晶片以及具 有內部錯誤更正碼電路之記億體再生裝置,以執行儲存在 記憶體晶片內側之資訊資料錯誤更正碼,以及產生錯誤更 正碼》本發明之更正方法具有將錯誤更正解碼時,對於錯 誤更正電路之操作處理結果之多數個未元予以連續相除的 步驟,以及執行在當除法結果滿足個別狀況時在內部錯誤 更正碼電路中執行錯誤更正的步驟;以及當除法結果本滿 足該個別狀況,甚至當所有輸入資料之解碼已經完成時, (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國®家標準(CNS &gt; A4规格(2丨0X297公釐) -18- 4366 75 at B7 五、發明説明(16 ) 將輸出錯誤偵測資訊輸出至內部錯誤偵測碼電路以及將資 訊資料予以解碼的步驟。 進一步地,爲了達成本發明的目的,本發明之更正方 法係使用一機構,包含具有內部儲存記憶體之記憶體晶片 以及具有內部錯誤更正碼電路之記憶體再生裝置,以執行 儲存在記億體晶片內側之資訊資料錯誤更正碼’以及產生 錯誤更正碼;且該更正方法進一步地具有藉由等於增加至 資訊資料之重複位元部份之數量’而將位在內部錯誤更正 碼電路中開始處理的延遲步驟,以將位在錯誤更正電路中 之處理結束時,將所解碼資料输出予以同步終結。 經濟部中央標準扃負工消费合作社印製 &lt;請先K讀背面之注意事項再填寫本頁) 更進一步地,爲了達成本發明的目的,本發明之更正 方法係使用一機構,包含具有內部儲存記憶體之記憶體晶 片以及具有內部錯誤更正碼電路之記憶體再生裝置,以執 行儲存在記億體晶片內側之資訊資料錯誤更正碼,以及產 生錯誤更正碼。該更正方法具有藉由連續輸入個別値至編 碼電路,該値係以對應於錯誤更正編碼時所使用之碼長度 之個別數量,而將資訊資料以及重複位元部位之架構予以 改變的步驟,以及將當錯誤更正解碼時在資訊資料之前之 重複位元部位之操作結果予以處理《以及當錯誤更正電路 操作處理結束時,將所解碼資料予以同步輸出《 本發明的這些以及其他的目的I特色以及優點經由以 下更特別的較佳實施例的描述,以及圖式的展示,將會更 加淸楚。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公漦) -19- A7 B7 ^3667 5 五、發明说明(17 圖形之簡要描述: 圖一係展示本發明資料記億體再生裝置之實施例的觀 (請先聞讀背面之注意事項再填寫本頁) 念圖 圖二係展示圖一資料記憶體再生裝置之整體結構的方 塊圖。 圖三係展示圖二所接合建構在資料記憶體再生裝置之 樣本晶片之平面圖。 圇四係記億體晶片之整體架構之結構圖。 圖五係展示本發明資料記億體再生裝置之內部錯誤更 正電路之實施例的方塊圖》 圖六係展示藉由內部錯誤更正電路而操作解碼之流程 圖 位 圖七展示根擄本發明在η符號碼期間,該未使用部 資®位以及重複部位之圖。 展示當圖六編碼操作時之時間圖 展示當解碼操作時之流程圖^ 經濟部中央標準局員工消费合作杜印製 圖十A係當圖六之錯誤更正碼電路解碼時,錯誤更正 以及錯誤偵測處理之時間圖。 圖十B係展示錯誤更正資訊之輸出時間圖。 圖十一係展示本發明資料記憶體再生裝置之錯誤更正 碼電路之第二實施例的方塊圖。 圖十二係展示圖十一編碼操作之流程圖-圖十三A係展示圖十一位在錯誤更正碼電路內側之碼 的組態時,資料輸出之時間圖。 本紙張尺度適用中國菌家揉隼(CNS ) A4規格(2丨0X297公釐) -20- 經濟部中央橾準局員工消费合作社印裂 436675 = 〇7五、發明説明(18 ) 圖十三B係展示錯誤更正碼電路输出之時間圖。 圖十四係展示圖十一之解碼操作的流程圖。 圖十五A係對於圖十一之錯誤更正碼電路之解碼時, 錯誤偵測以及錯誤更正處理時間的時間圖。 圖十五B係展示經錯誤更正資訊之輸出時間的時間圖 〇 圖十六係展示與個人電腦相連的數位相機、可攜式數 位輔助終端機以及可攜式電話。 圖十七係展示快取記憶體記憶體結構之圖。 圖十八係展示快取記憶體之控制閘電壓以及汲極電流 特性的圖。 圖十九係展示根據習知技藝之η符號碼時期碼未使用 部份、資訊部份以及重複部份之圖。 圖二十Α以及二十Β係展示在對系統碼編碼時之操作 的時間圖。 圖二十一 A以及二十一 B係習知技藝在解碼時,錯誤 偵測以及錯誤更正之時間圖。 主要元件對照表: 1 0 1 :記憶體再生裝置, 1 0 2 :記憶體晶片 103:記憶體, 104:內部ECC電路 LSI 106 :LSI介面,109:檔案系統匯流排 504:微電腦, 5041:CPU5041 209:區域資料匯流排, 201:介面 (請先Μ讀背面之注意事項再填窝本瓦) -订_ 本紙張尺度適用中國國家標準(CNS ) Α4規格(2丨0Χ297公釐) •21 · 43 66 7 5 A7 B7 五、發明説明(19 ) 601:I/O緩衝器, 70 1 :延遲正反器, 703:NOR電路, 704*705 - 706 7 0 8 :多工器* 720,721,722 605 : S/A&amp;柵匣, 7 2,8 2 :資訊部份, 7 1 1 :緩衝器, 9 2 :可攜式數位輔助終端機, 94:個人電腦, 95,96 6 0 3 :開關/選擇器 7 0 2 :偵測器 707,710:開關, 7 0 9 :除法器電路 723:XOR電路 .71:碼未使用部份 8 3 :重複部份 91:數位相機 9 3 :可攜式電話 9 7 :記憶體 7 3 經濟部中央標準局負工消费合作社印装 較佳實 爲 ,在2 的需要 係在當 t )-開始處 爲G ( 所示。 施例的詳細描述: 增進本發明在1符號更正R S編碼之錯誤偵測容量 個符號中增加1個重複符號,以因應1個符號更正 ,而此處之解釋係爲3個符號被加入,換句話說, 2 t + 1個重複符號數目時。當傳送符號設爲w ( 錯誤圖樣爲Epi ,碼長度設爲1 ,且自資訊資料 之錯誤位置爲I ,則該碼字元產生器多項式表示式 X ),且所產生倂發式S(x)係以等式(19) G(x)=(x-lXx-aXx-ar2):(三次多項式) StxMWW+Epi X x0_1)]modG(x) =Epi x x ( lM 1 modG(x)......... (19) 本纸张尺度逍用中B國家樣準(CNS &gt; A4洗格(2丨0父297公釐)_ 2« . ^l!i I n ^——IK^IIIH Γ------- 1*I -&gt; {請先w讀背面之注意事項再填寫本頁) 經濟部中央揉準局月工消费合作社印轚 4 3 66 7 5 A7 B7 五、發明説明(20 ) 此處,s (X)係爲二次方程式。 因爲資訊資料在形成該碼時係從開始處輸入,在開端 或開始之資料對應於高指數之碼字元多項式。爲了藉由移 位暫存器而表示E C C電路結果·必須藉由栅匣(latch ) 以持有多項式餘數之係數部份。該倂發式S ( X )係保持 在柵匣中。當等式(1 9 )被X之三次多項式所取代時, 可得等式(2 0 )。A Secondly, it is related to the time required for decoding. The time for decoding the cyclic code is the sum of the time of the burst S (_x) generator divided by the time of error detection / correction. For example, consider an RS code with 1-symbol correction capability. "First, the concurrent S (X) generation time will be explained. The burst S (X) is based on equations (12) and (13). It is obtained by inputting the received code character Y (X). The required time is set to CNS A4 size (210X297 mm) -13-436675 for this paper size. 5. Description of the invention (11) Each code length is a clock. The result of s (X) = 0 shows that there are no errors at the received code characters. • Error detection and correction are performed when s (x) is not equal to zero (0). The error correction / detection time is then explained. To perform error detection, the part of equation (9) with a code character W (X) of coefficient zero (0) must be checked. In other words, an error search must be performed for the code of (n- (k + 2 t)) symbol as the unused code in FIG. 19 as the use part 6 1. This search system is necessary in order to multiply the burst S (X) by the power of X in order. This search time is therefore equal to the η clock, and the total decoding time with concurrent generator time is (k + 2 t) + η clocks. In other words, 1 + n clocks. When n — (k + 2t) symbols, the (zero) input part is relatively large relative to the information k symbol. The time required for decoding actually received becomes extremely large. Printed by the Central Bureau of the Ministry of Economic Affairs, printed by male workers' consumer cooperatives Third, the inconvenience of decoding time will be explained. When the on-chip (on = chip) ECC circuit is used, the information signal count K clock is sometimes used for loading (reading) externally received data and for generating control signals. Figure 21 is a time chart showing the error detection and error correction of the decoding of the conventional technique. * As shown in Figure 21A, the conventional technique is shown in the structure of the pulse wave repeating part of the information part. In the system code, after the error detection / correction processing for the information part 6 with the k symbol is completed, the processing of the part 6 3 up to the 2 t symbol is further executed to confirm whether an error occurs. When it is judged that there is an error, only for η _ 1 • 14- (Please read the precautions on the back before filling out this page) This paper size applies to China National Standard (CNS) Α4 specification (210X297 mm) Seal of the Shellfish Consumer Cooperative of the Central Bureau of the Ministry of Economic Affairs. 1-6 6 5 A7 ____B7_ V. Description of the invention (12) Unused part 6 1 Blank rotation (enter zero and rotate), and then the information part 6 2 error Detection / correction is performed, and error detection information is then output. Then, when error detection / correction synchronized with the information data 64 is performed, the error detection information is output 2 t clocks after the data output is completed, as shown in FIG. 21B. In other words, once the data of k symbol 64 is output, the external user cannot obtain error detection information until the user waits for a period of 2 t clock cycles. Therefore, when the signal data is read out and output, it is necessary to wait for 2 t clock cycles before starting to process the program such as error compensation processing, which will impose restrictions on external use due to the installation of the ECC circuit. From Figure 21B, 6 5 is marked with a repeated symbol. As mentioned above, in the conventional art, the bit error problem in the memory cell components will occur because the multiple elements of these cell components must be changed. When the ECC circuit is installed to use the memory chip located inside the memory chip, Cyclic code: First, the problem of large circuit size will occur, secondly, long data decoding time will occur, and the third system will cause inconvenience to users when decoding. Brief description of the invention: In view of the above, therefore, the object of the present invention is to provide a memory reproduction device and an error correction method, which uses codes which have an error correction capability ideal for a memory device when the data is encoded * Another object of the present invention is to provide a regenerative device for recording billions of body which is applicable to the Chinese National Standard (CNS) A4 (2 丨 〇 X 297 mm) according to the paper standard. 15 _ (Please read the notes on the back first (Fill in this page again) Order 4 3 66 7 5 a? ___B7 5. Description of the invention (13) and error correction method, so that at least part of the encoding circuit and decoding circuit are used in conjunction. Another object of the present invention is to provide a memory reproduction device and an error correction method, so that the data decoding time, the error correction time, and the error detection time are shortened. An object of the present invention is to provide a memory reproduction device and an error correction method to synchronize data output and error correction information. In order to achieve the above-mentioned object of the present invention, the memory reproduction device of the present invention has an internal connection in a memory device. It is equipped with an internal error correction code circuit to perform error correction coding of the information stored in the memory chip inside the memory chip, and it can also be used for the data read from the memory. "Correction error correction code is decoded" This error correction circuit is composed of an encoding circuit to perform error correction encoding of the applied information data, and is composed of a decoding circuit to decode the information data located in the error correction encoding. . The encoding circuit and the decoding circuit are preferably combined. Printed by the Ministry of Economic Affairs of the Bureau of Samples and Consumers Cooperatives (please read the note ^^ on the back before filling out this page) The error correction coding circuit of this memory regeneration device includes a divider to satisfy the setting when the division result meets the setting In the state, a plurality of consecutive elements from the operation result are divided and include a unit component to perform error correction • and a unit component to complete the decoding of the data when the data equal to the code length is entered, and when The division result does not satisfy the set state * Even when all input data is decoded, a unit component will output the error detection information to an external circuit. The above divider contains multiple Chinese paper standard (CNS) A4 specifications (210X297 mm) 43 66 7 5 a? _ B7 V. Description of the invention (14) The division circuit, and when the above-mentioned correction unit components When the result is the same as the result from multiple divider circuits, the included detector and NOR circuit perform error correction, and the error information is output when the above-mentioned error information output unit is constructed. The NOR circuit The output is 1 (—). Printed by the Central Government Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperative (please read the precautions on the back before filling out this page) The above internal error correction code circuit also contains an error correction circuit and a unit component that When error correction decoding is added to the information data, the operation processing result of the error correction circuit is held, and the internal error correction code is started by equalizing the number of repeated bit portions added to the information data The circuit is the initial delay, and the decoded data is output to the terminal when the processing of the error correction circuit ends. The repeating bit holding unit component is preferably constructed by a buffer. In addition, the internal error correction code circuit inputs a special code, which is based on a special count corresponding to the code length used in the coding of the error correction code, and changes the information of the error correction code that contains information and repeated bits. Code construction. The above individual systems are zero (0). When the error correction code is encoded, it is best to input the individual error code to the encoding circuit in a number corresponding to the length of the code being used, and the error correction code is constructed so that the repeated bits are placed in front of the information data . By comparing the above-mentioned internal error correction code circuit with unit components to perform corrective coding and repeating bits of information data, and a unit component performs processing of repeating bit results before information data when error correction decoding, The output of the decoded data can be ended synchronously when processed by the internal error correction code circuit. This paper internally corrects the original paper size, using the Chinese National Kneading (CNS) A4 specification (210X297 mm) -17- Printed by the Consumers Cooperative of the Central Procurement Bureau of the Ministry of Economic Affairs 13 66 7 b A7 __B7____ V. Invention Note (15) The error correction code in the code circuit is preferably an RS (Thunder Gate) code. In order to achieve the above purpose of the invention, the portable digital assistant terminal includes internal storage memory and is provided with an error correction circuit. The memory regenerating device of the Zhiyi body chip executes the error correction coding of the stored information data located inside the memory chip, and also generates an error correction code; and the error correction circuit will use the error read from the memory Correction code error correction signal; the recording device can also temporarily store data and exchange data * and, in order to achieve the purpose of the invention, a digital camera includes a recording device chip with internal storage device recording device and internal device Memory regenerating device of error correction code circuit to execute error correction code of information data stored inside memory chip, and produce Error correction code; and the error correction circuit will also be referred to using the read error from the body of the one hundred million error correction code decoding to be the more positive signal: the memory means has the ability to temporarily stores reproduction data to and information exchange. And, in order to achieve the purpose of the present invention, the correction method of the present invention uses a mechanism including a memory chip with an internal storage memory and a memory regenerating device with an internal error correction code circuit to execute the storage in the memory chip. Inside information and data error correction code and generation of error correction code "The correction method of the present invention has the steps of successively dividing most of the uncorrected results of the operation processing result of the error correction circuit when decoding the error correction, and Perform the steps of error correction in the internal error correction code circuit when the division result satisfies individual conditions; and when the division result satisfies the individual situation, even when the decoding of all input data has been completed, (please read the precautions on the back before filling (This page) This paper uses Chinese standards (CNS &gt; A4 size (2 丨 0X297 mm) -18- 4366 75 at B7. V. Description of the invention (16) Output the output error detection information to the internal error detection Coding circuit and steps for decoding information material. Further, in order to achieve the invention For the purpose, the correction method of the present invention uses a mechanism including a memory chip with internal storage memory and a memory reproduction device with an internal error correction code circuit to perform correction of information and data stored inside the memory chip. And the error correction code is generated; and the correction method further has a delay step of starting processing in the internal error correction code circuit by equal to the number of repeated bit portions added to the information data, in order to set the bit At the end of the processing in the error correction circuit, the decoded data output will be terminated synchronously. Printed by the Central Standard of the Ministry of Economic Affairs and Consumer Cooperatives & Co., Ltd. <Please read the precautions on the back before filling out this page) Further, in order to To achieve the object of the present invention, the correction method of the present invention uses a mechanism including a memory chip with internal storage memory and a memory regeneration device with an internal error correction code circuit to execute information stored inside the memory chip. Data error correction codes and error correction codes. The correction method has the steps of changing the structure of the information data and the repeating bit portion by successively inputting individual frames to the encoding circuit, corresponding to the individual number of code lengths used in error correction encoding, and The operation results of the repeated bits before the information data when the error correction decoding is performed will be processed, and when the error correction circuit operation processing ends, the decoded data will be output synchronously. These and other objectives of the present invention are also characterized by: The advantages will be more apparent through the description of the following more specific preferred embodiments and the illustration of the drawings. This paper size applies to Chinese National Standard (CNS) A4 specification (210X297 cm) -19- A7 B7 ^ 3667 5 V. Description of the invention (17 Brief description of the figure: Figure 1 shows the implementation of the data recording device of the invention. Example view (please read the precautions on the back before filling out this page) Figure 2 is a block diagram showing the overall structure of the data memory regeneration device in Figure 1. Figure 3 is a block diagram showing the structure of the data memory connected in Figure 2 Plan view of the sample wafer of the regenerative device. Figure 4 is a block diagram showing the overall structure of the billion-chip regenerative device. Figure 5 is a block diagram showing an embodiment of the internal error correction circuit of the data recorder of the invention. Flowchart of operation decoding by internal error correction circuit. Bitmap VII shows the graph of the unused part ® bits and repetitive parts during the η symbol code according to the present invention. Shows the time chart when the encoding operation is performed in FIG. 6 Flow chart when decoding operation ^ Consumption cooperation between employees of the Central Bureau of Standards, Ministry of Economic Affairs, Du Printed Figure 10A is when the error correction code circuit of Figure 6 is decoded, the error correction and Time chart of error detection processing. Figure 10B is a time chart showing the output of error correction information. Figure 11 is a block diagram showing a second embodiment of the error correction code circuit of the data memory reproduction device of the present invention. Figure 12 Figure 13 shows the flowchart of the coding operation in Figure 11-Figure 13A shows the time chart of data output when the configuration of the code in Figure 11 is inside the error correction code circuit. This paper scale is suitable for Chinese fungus kneading ( CNS) A4 specification (2 丨 0X297mm) -20- Printed by the Consumer Cooperatives of the Central Government Bureau of the Ministry of Economic Affairs 436675 = 〇7 V. Description of the invention (18) Figure 13B is a time chart showing the output of the error correction code circuit Figure 14 is a flowchart showing the decoding operation of Figure 11. Figure 15A is a time chart of error detection and error correction processing time when decoding the error correction code circuit of Figure 11. Figure 15B It is a time chart showing the output time of the error correction information. Figure 16 shows a digital camera, a portable digital assistant terminal, and a portable phone connected to a personal computer. Figure 17 shows a cache memory Figure 18 shows the structure of the body memory. Figure 18 shows the control gate voltage and the drain current characteristics of the cache memory. Figure 19 shows the unused part and information part of the η symbol code time code according to the conventional art Figures 20A and 20B are timing diagrams showing the operation when encoding the system code. Figure 21A and 21B are error detection during the decoding of conventional techniques. Time chart of measurement and error correction. Main component comparison table: 1 0 1: memory reproduction device, 102: memory chip 103: memory, 104: internal ECC circuit LSI 106: LSI interface, 109: file system confluence Row 504: Microcomputer, 5041: CPU5041 209: Regional data bus, 201: Interface (please read the precautions on the back before filling in the tiles)-Order _ This paper size applies to China National Standard (CNS) Α4 specifications (2丨 0 × 297 mm) • 21 · 43 66 7 5 A7 B7 V. Description of the invention (19) 601: I / O buffer, 70 1: Delay flip-flop, 703: NOR circuit, 704 * 705-706 7 0 8 : Multiplexer * 720, 721, 722 605: S / A &amp; grille, 7 2, 8 2: Information Department , 7 1 1: Buffer, 9 2: Portable digital assistant terminal, 94: Personal computer, 95, 96 6 0 3: Switch / selector 7 0 2: Detector 707, 710: Switch, 7 0 9: Divider circuit 723: XOR circuit. 71: Code unused part 8 3: Repeat part 91: Digital camera 9 3: Portable phone 9 7: Memory 7 3 Central Standards Bureau, Ministry of Economic Affairs The printing is preferably such that the need at 2 is at the time when t)-is G (shown at the beginning). Detailed description of the embodiment: To improve the present invention, 1 repeat symbol is added to the 1-symbol correction RS coding error detection capacity symbol to respond to the 1-symbol correction, and the explanation here is that 3 symbols are added and replaced In other words, when 2 t + 1 number of repeated symbols. When the transmission symbol is set to W (the error pattern is Epi, the code length is set to 1, and the error position from the information data is I, then the codeword generator polynomial expression X), and the resulting burst S (x ) Is based on the equation (19) G (x) = (x-lXx-aXx-ar2) :( Cubic polynomial) StxMWW + Epi X x0_1)] modG (x) = Epi xx (lM 1 modG (x) .. ....... (19) This paper is a standard for the B countries (CNS &gt; A4 wash grid (2 丨 0 father 297 mm) _ 2 «. ^ L! I I n ^ —— IK ^ IIIH Γ ------- 1 * I-&gt; {Please read the precautions on the back before filling in this page) Central Government Bureau of the Ministry of Economic Affairs, Monthly Consumer Cooperatives, India 4 3 66 7 5 A7 B7 5 Explanation of the invention (20) Here, s (X) is a quadratic equation. Because information data is input from the beginning when the code is formed, the data at the beginning or the beginning corresponds to a high-index polynomial of code characters. To The result of the ECC circuit is expressed by a shift register. The coefficient part of the polynomial remainder must be held by a latch. The burst S (X) is held in the latch. When the equation ( 1 9) When replaced by a cubic polynomial of X, the equation (2 0) is obtained

Ept X x(l'° modG(x) =Ax2 +Bx + C . .. (20) 此處,Α係持有三個柵匣之第一個柵匣之位元串· Β 係持有三個柵匣之第二個柵匣之位元串,Α係持有三個柵 匣之第三個柵匣之位元串。在已知的如下等式(2 1 )的 每個値中,每個係數項係設定爲Η,I ,J。該X之1次 方係爲碼長度,而資訊部份位元組k之數目與重複長度符 號之數目之和係等於k + 3。 ^modi7(z) = + Λ+/....(21) 在ECC電路中,具有零(〇)資料输入之時脈旋轉 係等於將位於ECC電路內側所產生之倂發式S(X)與 X相乘。接著,一旦完成倂發式之計算,零(0 )之輪入 或以I時脈旋轉以及無資料輸入所得之柵E値產生由等式 (2 0 )以及等式(2 1 )所產生之値。此値係等於等式 (2 1 )與E p i相乘。 (請先聞讀背面之注意事項再填寫本頁) 訂 本紙張尺度逋用中國國家楳準(CNS &gt; A4规格(210X297公釐) 23 -Ept X x (l '° modG (x) = Ax2 + Bx + C .. (20) Here, A is the bit string of the first grid that holds the three grids. The bit string of the second grid of the three grids, A is the bit string of the third grid of the three grids. In each of the following equations (2 1), Each coefficient term is set to Η, I, J. The first power of X is the code length, and the sum of the number of bytes k in the information part and the number of repeating length symbols is equal to k + 3. ^ modi7 (z) = + Λ + / .... (21) In the ECC circuit, the clock rotation with zero (〇) data input is equal to the bursts S (X) and X generated by being located inside the ECC circuit. Multiply. Then, once the calculation of the burst formula is completed, the zero (0) rotation or the grid E 値 obtained from the I clock rotation and no data input is generated by equation (2 0) and equation (2 1) The generated 値. This 等于 is equal to the equation (2 1) multiplied by E pi. (Please read the notes on the back before filling in this page) The paper size of the book is based on the Chinese National Standard (CNS &gt; A4 Specifications (210X297 mm) 23-

Zt 3 66 &quot;7 5 A7 B7 五、發明説明(21 ) =[IVU)+ Bp, x ^ ]x ^ mod OU) =modOix) =取(汾2+^+/)...,(22) 接著,A/H,B/I ,C/J之値係以位在ECC 電路之時脈的每1個旋轉而計算,且具有錯誤位置i之相 除結果皆變成E p i &gt;結果,藉由將所有相除結果皆相符 的位置的偵測•以及在該時間輸出所有相除之結果,以獲 得錯誤位置I以及錯誤圖樣Ep i 。當對於使用中之碼長 度1時脈之計算顯示出除法結果並不符合時•代表錯誤被 偵測。 爲了藉由在記憶體晶片內側裝設一符號單元E C C電 路而解決該第三個所述之問題(解碼時間之不便),提供 —種機構以將自上述符號單元更正E C C電路中,將與位 在符號單元更正E C C電路中之資訊資料輸出端同步的錯 誤更正/偵測資訊予以輸出。 以下係相關於解決藉由改變架構而不增加電路尺寸( 第一個問題)下而解決第三個問題的策略。 現在解釋碼架構之改變。在如等式(9 )所示碼之未 使用部份,在W(x)之係數爲零(0)。接著,等式( 9)係與等式(23)所示而改變-Zt 3 66 &quot; 7 5 A7 B7 V. Description of the invention (21) = [IVU) + Bp, x ^] x ^ mod OU) = modOix) = take (fen2 + ^ + /) ..., (22 ) Next, the A / H, B / I, and C / J ratios are calculated for each rotation of the clock located in the ECC circuit, and the division result with the wrong position i becomes E pi &gt; result, By detecting the positions where all the division results match, and outputting all the division results at that time, an error position I and an error pattern Ep i are obtained. When the calculation of the code length 1 clock in use shows that the division result does not match • indicates that an error was detected. In order to solve the third problem (the inconvenience of decoding time) by installing a symbol unit ECC circuit on the inside of the memory chip, a mechanism is provided to correct the symbol unit in the ECC circuit. The error correction / detection information synchronized at the information data output end in the symbol unit correction ECC circuit is output. The following is a strategy for solving the third problem by changing the architecture without increasing the circuit size (the first problem). Now explain the changes in the code architecture. In the unused part of the code as shown in equation (9), the coefficient at W (x) is zero (0). Next, equation (9) is changed as shown in equation (23) −

WixMA^x&quot;·1 + An'2x&quot;'2 +...An'1(xn*k +An_lt_1xn'k'1 +A1_k'1x2t +..Λ0) .........(23) 在此等式中,ΑηΉ +ΑηΉ 表示資訊部份的k 單元構件,表示(η — 1 )之係數爲零( (請先Η讀背面之注意事項再填寫本頁) 訂 經濟部中央橾準4貝工消費合作社印裝 本紙張尺度適用中國國家揉準(CNS ) Α4规格(210Χ297公釐) -24 - 43667 5 ;; 五、發明説明(22 ) 0 ),而A1_k_? +..,表示2t + l之重複部份。 當(η — 1 )個符號0在資訊數位k符號之後被輸入 至編碼電路中時,該碼架構變成未使用部位加上重複部位 。該編碼時锕因變成η — 2 t — 1個時脈。對於循環碼特 性,實際記錄在E C C電路之記憶體中之碼只是資訊部位 以及重複部位。該資訊部位以及重複部位係在錯誤偵測時 依序地被捜尋《當錯誤出現時,餘數將出現。碼之未使用 部份的搜尋可藉由α除法器電路而除以此剩餘數。 接著,將解釋解碼的處理。該資訊部位係在倂發式產 生時而第一次輸入重複部位之後而被輸入。該£ C C電路 經建構一回饋電路之理由在於依照資料次序而輸入符號, 以及當輸入至編碼電路之輸入係以零(0 )作爲開始,上 至第一個非零輸入之計算結果係相同的,甚至當未輸入零 時亦然。當錯誤更正/偵測處理時,在對於重複部份之錯 誤出現的第一個搜尋之後,將執行資訊部位之錯誤捜尋。 假如資料輸出與資訊部位錯誤搜尋之開始處同步開始時, 則錯誤偵測資訊可以與資訊資料輸出之尾端同步輸出。 經濟部中央標隼扃貝工消费合作社印装 現在解釋可解決藉由在E C C電路中之資料緩衝器而 不需編碼時間之機構部份。此時之編碼以及解碼組態亦將 解釋。編碼組態係與圖十九習知技藝之方法相同。接著| 編碼時間係爲.k + 2 t + Ι。 以下相關於解碼處理。當倂發式S (X)產生時,重 複部份在第一次輸入資訊部位時而被輸入。然後,在倂發 式S ( X)產生之後,重複符號2 t + 1部份之計算係第 -25- (請先閲讀背面之注意事項再填疼本頁) 本紙張又度通用十固國家橾準(CNS ) A4规格(2〖ΟΧ297公釐) 經濟部中央標準局員工消费合作社印製 4 3 6 6 7 A7 ^ B7 五、發明説明(23 ) —次在E C C電路中執行,且該所處理之結果係保持在資 料緩衝器中。該資訊部份在併發式S ( X )產生之後而輸 出該重複符號長度以,且在此情形下,在等待2 t + 1個 時脈後開始輸出。該保持在緩衝器中之E C C電路處理( 計算)結果係爲依序的位元和,具有輸出之資訊資料》另 —方面·該位在E C C電路中所計算之結果係依序輸入至 資料緩衝器中。因爲在E C C內側之計算首先在重複部份 符號中執行,錯誤偵測資訊可在資訊資料輸出結束時而同 步獲得。 之後,藉由參考附圖而解釋該實施例。 圖一係展示本發明之資料記億體再生裝置實施例之觀 念圖。該相關於本發明之資料錯誤更正方法以及裝置可在 不考慮記錄媒介之形式下而使用,然而,使用快取記億體 之記憶體再生裝置(此後稱爲檔案系铳)將作爲範例而使 用。 在圖一中,參考號1 0 1表示該記億體再生裝置(此 後稱爲檔案系統)且含有記億體晶片1 0 2以及介面 LS I 1 06。記億體103係作爲執行記錄或再生資料 之記錄媒介。該記億體晶片1 0 2係含有記憶體1 〇 3以 及內部ECC電路104之晶片•該介面LS I 106係 作爲執行爲在使用快取記億體1 0 3之檔案系統1 〇 1以 及檔案系統匯流排1 0 9之間的介面控制的LS I 。更特 別的是,關於此組態之檔案系統係展示在圖二的實例中。 圖二係展示圖一記億體再生裝置之整體組態的方塊圖 (請先閲讀背面之注意事項再填寫本頁)WixMA ^ x &quot; · 1 + An'2x &quot; '2 + ... An'1 (xn * k + An_lt_1xn'k'1 + A1_k'1x2t + .. Λ0) ......... (23 ) In this equation, ΑηΉ + ΑηΉ represents the k unit component of the information part, which means that the coefficient of (η — 1) is zero ((Please read the precautions on the back before filling this page). 4 The paper size of the printed paper of Beige Consumer Cooperative is applicable to the Chinese National Standard (CNS) A4 specification (210 × 297 mm) -24-43667 5; 5. Description of the invention (22) 0), and A1_k_? + .., means 2t + l repeated part. When (η — 1) symbols 0 are input into the encoding circuit after the information digit k symbol, the code structure becomes an unused part plus a repeated part. In this encoding, the chirp becomes η-2 t-1 clock. As for the characteristics of cyclic codes, the codes actually recorded in the memory of the ECC circuit are only the information part and the repeated part. The information part and the repeated part are sequentially searched during error detection. "When an error occurs, the remainder will appear. The search of the unused portion of the code can be divided by the remainder by an alpha divider circuit. Next, the decoding process will be explained. This information part is inputted after the first input of the repeated part during the hair-style generation. The reason why the CC circuit is constructed as a feedback circuit is that the symbols are input in accordance with the data order, and when the input to the encoding circuit starts with zero (0), the calculation results up to the first non-zero input are the same , Even when zero is not entered. When the error correction / detection process is performed, after the first search for repeated errors, an error search of the information portion will be performed. If the synchronization of the data output and the beginning of the error search of the information part starts, the error detection information can be output in synchronization with the tail of the information data output. Printed by the Central Ministry of Economics and Industry Cooperative Printing Co., Ltd. Now explain the part of the mechanism that can solve the data buffer in the ECC circuit without coding time. The encoding and decoding configuration at this time will also be explained. The coding configuration is the same as the method in Figure 19. Then | the encoding time is .k + 2 t + Ι. The following relates to decoding processing. When the burst S (X) is generated, the repeated part is input when the information part is input for the first time. Then, after the burst S (X) was generated, the calculation of the part of the repeated symbol 2 t + 1 was -25- (Please read the precautions on the back before filling this page) This paper is a universal top ten country again Standard (CNS) A4 (2 〖〇 × 297mm) Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 4 3 6 6 7 A7 ^ B7 V. Description of the invention (23)-implemented in the ECC circuit, and The result of processing is kept in the data buffer. The information part outputs the repeated symbol length after the concurrent S (X) is generated, and in this case, it starts to output after waiting for 2 t + 1 clock. The processing (calculation) result of the ECC circuit held in the buffer is a sequential bit sum, which has the output information. ”In addition, the result calculated by the bit in the ECC circuit is sequentially input to the data buffer. Device. Because the calculation inside E C C is first performed in the repeated part of the symbol, the error detection information can be obtained simultaneously at the end of the information data output. Hereinafter, the embodiment is explained by referring to the drawings. FIG. 1 is a conceptual diagram showing an embodiment of a data recording apparatus for regenerating data according to the present invention. The data error correction method and device related to the present invention can be used without considering the form of a recording medium. However, a memory reproduction device using a cache memory (hereinafter referred to as a file system) will be used as an example. . In FIG. 1, reference numeral 101 indicates the recording device of the Billion Body (hereinafter referred to as a file system) and contains the Billion Body chip 102 and the interface LS I 106. Billion body 103 is used as a recording medium for recording or reproducing data. The 100 million chip is a chip containing memory 103 and the internal ECC circuit 104. The interface LS I 106 is a file system 101 and a file that is implemented as a cache of 100 million chips. The LSI of interface control between system bus 1 0 9. More specifically, the file system for this configuration is shown in the example in Figure 2. Figure 2 is a block diagram showing the overall configuration of the figure 1 billion body regeneration device (please read the precautions on the back before filling this page)

*1T &quot;! 本紙張尺度適用中國國家揉準(CNS ) Α4规格(210X297公羞) •26· 436675 經濟部中央揉準局員工消资合作社印装 A7 B7_五、發明说明(24 ) 。在圖二中,記憶體晶片1 0 2係含有記憶體1 0 3以及 內部ECC電路104之記錄媒介β該介面LS I 106 係執行介於棺案系統匯流排1 0 9以及使用記憶體晶片 1 0 2之檔案系統1 0 1之間的介面控制之L S I «微電 腦5 0 4解譯藉由系統匯流排1 0 9所發送之命令以及功 能,而檔案系統1 0 1之控制器包含中央處理單元 5041 (CPU5041)以控制讀取以及寫入至 R A Μ 5 0 5之資料以及讀取以及寫λ至記億體晶片 .10 2之資料(此後稱爲R/W),該讀取/寫入係根據 命令的解譯結果。該RAM5 0 5當來自於記憶體晶片 102之資料正藉由介面LSI106而發送時,而對作 爲補充記憶體之資料緩衝器予以塡滿。每個上述單元係藉 由區域資料匯流排2 0 9、控制信號限、位址匯流排或資 料匯流排之機構而連接。 接合在圖二之檔案系統之晶片特殊例係展示在圖三中 〇 圖三係展示接合建構在圖二之資料記憶體再生裝置上 之樣本晶片之平面圖。在此圖中,該微電腦5 0 4解譯藉 由系統匯流排1 0 9所發送之命令以及功能,而檔案系統 101之控制器包含中央處理單元5041 (CPU 5 0 4 1 )以控制讀取以及寫入至RAM5 0 5之資料以 及讀取以及寫入至記億體晶片1 0 2之資料(此後稱爲 R/W),該讀取/寫入係根據命令的解譯結果。介面 2 0 1進一步地被提供。 (請先闖讀背面之注意事項再填寫本頁) 本纸張尺度適用中國®家橾準(CNS ) Α4规格(210X297公釐) -27- 4366 75 A7 B7 五、發明説明(25 ) (請先《讀背面之注意事項再填寫本頁) 接著’參考圖四而描述該記憶體晶片1 〇 2之操作。 在此圖中’記憶體1 〇 3係作爲記錄或再生資料之媒介。 1/ ◦緩衝器6 0 1係作爲藉由系統匯流排1 0 9或來自 於內部E C C電路1 〇 4所發送之資料之補充記憶體。解 碼器6 0 2係作爲當R/W資料至記憶體1 〇 3時,控制 在記憶體1 0 3中之資料記錄或再生位置。開關/選擇器 6 0 3係作爲將資料之輸入/輸出切換至記憶體1 〇 3以 及內部E C C電路1 〇 4,以對應於記錄或再生資料至記 憶體1 03時,來自於內部控制器604之控制信號。該 內部控制器6 〇 4係作爲根據由區域數位匯流排所發送之 控制信號,控制解碼器6 0 2以及切換/選擇器6 0 3之 控制器6 0 4。該S/A與柵匣6 0 5係當自記億體 1 0 3 R/W資料時,作爲塡補資料緩衝器之補充記憶體 。每個上述單元係藉由控制信號限、位址匯流排,或資料 匯流排而連接。 經濟部中央樣準局员工消費合作社印裝 假如系統碼係爲系統單元更正碼,任何碼可被資料錯 誤更正以及偵測。在第一個例子中,一個1 E C雷所門碼 將被使用。在該例子中| 一個符號重複符號被加入以增進 錯誤偵測能力。因此,重複符號變成2 X 1 + 1 = 3個符 號。且,資料符號長度係根據所應用的情形以及被轉換爲 一個批次之資料量而被改變。在此例子中,此長度係設定 爲一個位元組八個位元,且2 0 4 8 + 5 8位元組= 2 1 0 6位元組之資料係被轉換爲一個批次。假如正被使 用之因此高斯(G a 1 〇 i s )單元構件塡滿以下所列之 本纸張尺度逋用中國國家標準(CNS &gt;A4祝格(210X297公釐) _ · 436675 A7 經濟部中夬櫺隼局員工消费合作社印装 __ B7五、發明説明(26 ) 狀態時,則任何碼皆可被接受。 Galois單元構件狀況: 當錯誤更正容量設定爲t符號,且碼字元係高斯單元 構件G F ( 2 m )之原始單元構件,則 最大碼字元長度爲n = 2m - 1符號 重複符號之數目爲会2 t符號 最大資訊數目符號k=(重複符號)符號 當碼字元W係設定爲(w !,w 2 .........w &gt; - !). 碼字元多項式 C (X) — 2X&quot;-2 + ......... + W 1 X + W 〇 結果,C (X)持有GF (210)之原始1 · α,…… …,a 2 χ ~ 1 « 許多値可使用做高斯單元構件之狀況,單是資料之處 理在一個位元組對應一個符號時係較爲簡單。檢視此種狀 況以及上述高斯單元構件,該碼資料符號長度係爲1 2位 元。接著,該高斯單元構件之原始數目Ρ係爲2到1 2的 次方。該最大碼長度η係爲4 0 9 5個符號。 該E C C電路以及解碼方法將解釋於後。該E C C電 路將首先利用圖五而說明。 圖五係展示本發明資料再生狀製之內部錯誤更正碼電 路之實施例的結構圖。在此圖中,參考號70 1 a, 701b,701c係表示12個位元延遲正反器(此後 簡稱爲DFF),其持有一個區塊部份的12位元資料( 本紙張尺度適用中國國家揉準(CNS ) A4規格(210X297公釐) .OQ - (請先W讀背面之注^&gt;項再填寫本頁) A7 B7 經濟部中央橾準局貝工消费合作杜印装 五、發明説明(27 ) 此或DFF701a,701b,701 c將簡列爲 7〇1),且之後輸出此資料至下一個區塊。該偵測器嗲 路7〇2a,702b (整理表列爲偵測器702,每個 以下所列之電路係以相同方式而表列)係爲1 2個位元| 兩個輸入互斥或邏輯電路(此後稱爲XOR )。該NOR 電路7 〇 3係爲1 2個位元,兩個輸入反向邏輯電路(此 後稱爲NOR)第一開關704,第二開關705,第三 開關7 0 6以及第五開關7 1 0在編碼以及解碼時係控制 資料流。該第四開關7 0 7在解碼時,於自NOR電路 7 0 3處接收到一個信號時,而被開啓•此數,第二,第 四’第五開關705,707,710係爲開/閉開關。 該第一以及第三開關704,706係爲三點選擇開關。 該第一開關7 0 4係爲中間點,換句話說,係在關閉位置 (未顯示在圖中),且具有白色環狀接觸點7 0 4 a以及 黑色環狀接觸點7 0 4 b。該第三開關7 0 6具有白色環 狀接觸點7 0 6 a (未顯示在圖中)以及黑色環狀接觸點 7 0 6 a- 乘法器7 08係由乘法電路708a ,7 08b, 7 0 8 c所構成。該乘法器係作爲乘上具有對應於碼產生 多項式G ( X )之係數資料的電路。每個係數項目之次方 係由碼字元多項式之原多項式g ( x )以及重複符號、高 斯單元構件之原始數目所決定。在第—個例子中,GF ( 212)之原多項式g (X)係以等式(24)而展示。 g (χ) = χ12+χ6+χ4 + χ+1 ......... ( 2 4 ) (諳先閲讀背面之注意事項再填寫本頁) 订 -r丨· 本紙張尺度適用中國國家榣準(CNS ) A4規格(21 Οχ 297公釐) -30- 經濟部中央樣準局員工消费合作社印裝 4 3 667 5 A7 _B7___ 五、發明説明(28 ) 當α設定爲g (X)的根時,高斯單元構件GF (2 的m次方)之原多項式係爲不可縮減之多項式表示式持有 具(根的m次方)一 1的根時期之答案。且,碼字元產生 多項表示式G ( X )之指數係爲碼之重複符號之數目,且 總和爲3。因此,該碼字元產生器多項式表示式G ( X ) 係以等式(2 5)而展不。然而,g (X)具有(α之m 次方)一 1的週期,且係爲持有cr根的不可縮減多項式。 進一步地,對於每個碼字元產生器多項式表示式G ( X ) 項目的係數可藉由獲自g ( X)之at的次方關係而決定( 然而’在位元處理中,A + B = A — B)。藉由使用等式 2 4之根α,該碼字元產生器多項數表示式G (X)可被 轉移至等式(2 5 )。 G (x) = (x— 1) (χ — α) ( x — α 2 ) =(x + 1 ) ( χ + α ) ( χ + α 2 ) = χ3 + ( a 3 + a 2 + a ) χ 2 ( α 2 + α + 1 ) χ + α 3 ......... (25) 藉由等式(24),等式(25)的每個係數項目接 著被轉換成如等式(2 6 )所得之原始次方表示式。 G{x) = +aimλ2 +σ1Μν + αΓ3......... (26) 該除法器7 0 9係作爲將輸出自1 2位元正反器 D F F 7 0 1之資料予以相除,而包含除法電路7 0 9 a ,709b,709c,且所獲得的次方(數學上的)係 由所使用的碼字元產生器多項式表示式G(χ)之原始多 項式g ( χ )以及所使用之重複符號、高斯單元構件以及 (請先W讀背面之注意事項再填寫本頁) 本紙張尺度逍用中國國家搮準(CNS ) A4規格(210X2S&gt;7公着) -31 - 經濟部中央揉準局負工消费合作社印製 A7 B7_____五、發明説明(29 ) 碼長度所決定。 在第一實施例的情形中’碼字元長度1爲2 1 09個 符號。因此,在計算等式(21)、等式(2 2)、等式 (24)以及等式(26)的次方時’碼字元多項式G ( X)之每個像的係數如下:X的第二係數Η係爲α的一 26 8 1次方,主要係數I係爲《的_1 8 5次方,係數 J的固定項係爲α的_2 3 3 3次方。且’ 電路 70 2到72 3將執行1 2位元的X〇R計算。 開關/選擇器6 0 3係裝設在S/A&amp;柵匣6 0 5以 及第一開關7 0 4之間,如圖四所示之第三開關在此時並 無相關功能,因此圖五之解釋予以略去。該等式(9 )或 等式(2 3 )兩者之一的碼組態可被使用,然而該重複部 位係在碼組態之開始處。 該編碼方法將首先藉由圖六之圖而解釋。 圖六係展示藉由內部錯誤更正碼電路之編碼操作的流 程圖。在此圖中,如步驟8 0 1所示,該輸入至I / 〇緩 衝器6 0 1之資料被輸入至S/A&amp;柵匣6 0 5以及其他 ECC電路1 04A的電路,藉由第一開關704以及第 三開關7 0 6 .。此時,接觸係在第一開關7 0 4以及第 三開關706之個別接觸點704a,706a :該第二 開關7 0 5被開啓,而第五開關7 1 0被關閉。 爲了使一個符號對應於一個位元,在I /0緩衝器 6 0 1中,一個4位元之零輸入被加至8位元資訊部位之 資料而轉換爲1 2位元之輸入。此4個位元可加至1 2個 4 366 7 5 (請先閲讀背面之注意事項再填寫本頁) 本紙張尺度遢用中國國家標準(CMS ) A4规格(210X297公釐} -32- 經濟部中央揉準局貝工消费合作社印装 4366 7 5 五、發明説明(30 ) 位元的任何地方’ 1 2個位元至8個位元的轉換經證明如 果置於最高四位元或最低第位元將會更容易。接著,上四 個位元在第一實施例中將設爲〇输入。該重複部位係藉由 將資訊資料输入至ECC電路1 04A而計算。且,在同 —時間,資訊之1 2個位元將在S/A&amp;栅匣6 〇 5中而 轉換爲8個位元*因此,資訊資料的8個位元將輸入至連 接至S/A &amp;柵E6 0 5之記億體'1 0 3 (未顯示在圖中 )。 步驟8 0 2所示係將零(0 )輸入至E C C電路 104A,且1986時脈計算將含有12個位元DFF 70 1以及乘法器電路708。此時,該第一開關704 係連接在中心點且被關閉,而第四開關7 0 7以及第五開 關7 1 0亦被關閉。該第二開關7 0 5係爲作用(〇 η ) ,且連接在該中心點的第三開關7 0 6係關閉或爲零(〇 )輸入係爲固定*如圖七所示,上述處理係對應於對位在 資訊部位之前所加入之重複部位的循環碼移位以及碼組態 之設定。 圇七係展示本發明在η符號碼時期之碼未使用部位、 資訊部位以及重複部位。在此圖中,參考號7 1係η-( k + 2 t + 1)符號之未使用部位。參考號72係k符號 之資訊部位》參考號73係2 t + 1符號之重複部位。如 等式(23)所示,這些部位係以資訊部位72、碼未使 用部位71、以及重複部位73。在這些部位中,該重複 部位7 3以及資訊部位7 2被實際記綠,0 (零)係被輸 本紙張尺度逍用中國國家棣準(CNS &gt; A4规格(210X297公釐) (請先η讀背面之注項再填寫本瓦) -# -33- 經濟部中央樣準局5工消费合作杜印装 4 3 66 7 5 A7 _______B7五、發明説明(31 ) 入(η — k — 2t - 1)次’且藉由對循環碼移位,該部 位可依序而在碼組態中設定。 該重複部位7 3係以此種方法而自S/A&amp;栅匣 6 0 5中輸出,如步驟8 0 3所示》該來自於重複部位 7 3之資料係以1 2位元而輸出,而1 2位元DF F 7 0 1之內容係高指數之係數順序而輸出。該第一開關 704係連接至704b之連接點,而第二開關705、 第三開關706、第四開關707以及第五開關710係 爲關閉》該以此編碼之資料係由S/A&amp;柵匣6 0 5而記 錄在記憶體1 0 3中。 可使用許多種方法以記錄該編碼資料,然而,當讀取 正在解碼之資料時,以重複部位以及資訊部位之順序而讀 取之資料經證明最爲方便。 因此在此實施例中,資料係以重複部位7 3以及資訊 部位7 2之順序而自記憶體中讀取,而記錄在記憶體 1 0 3中(參見圖四)。記錄單元係爲1位元組=8位元 ',而使資訊部位7 2可讀取所輸入之資料。該3個符號重 複部位7 3係分割成許多位元組,而後被記錄。該位元之 總數係爲1 2 X 3位元=3 6位元,且五個位元組之最小 限制係必須的,但以分離之偶數位元組而記錄經證明係在 解碼時最爲有效,而使在此時實例中,資料被分割成6個 位元組群而被記錄。圖八展示編碼時之時間圖。 圖八係展示當圖五之編碼時之操作的時間圖。圖8 A 係展示在E C C電路中碼之產生的時間圖。圖8 B係展示 (請先《讀背面之注意事項再填寫本&quot;) 本紙張尺度遘用中國國家標準(CNS) A4规格(210X297公釐) -34- 經濟部中央橾準局貝工消费合作社印製 43 66 7 5 A7 ____B7五、發明説明(32 ) 自ECC電路輸出資料之時間圖》在圖8A中,該重複部 位73係從資訊部位23而形成,而之後,DFF701 係以1 9 8 6時脈部位而被空白旋轉。此間隙係形成重複 部位之時間。與自資訊部位7 2形成重複部位之開始同步 ,資料資訊輸出係在E C C電路1 〇 4A中的S/A&amp;柵 匣6 0 5處開始,而重複部位7 3係自DFF7 0 1空白 旋轉結束處之點輸出。解碼接著將由圖9之圖而解釋。 圖九係展示當解碼時操作的流程圖。圖步驟9 0 1所 示,該倆自於記憶體1 0 3之資料輸出係暫時保持在S/ A&amp;栅匣6 0 5中》該資料係以重複部位7 3以及資訊部 位7 2之順序而讀取。接著,資料以重複部位7 3以及資 訊部位7 2之順序而輸入至E C C電路1 〇 4A,如步驟 9 0 2所示。在此時,該第一開關7 0 4係連接在中心點 且係關閉的,該第二開關7 0 5係爲作用且該第三開關 706係連接至接觸點706b。該第四開關707以及 第五開關710係爲關閉的。 在重複部位7 3之資料被自記憶體1 0 3中讀取之後 ,該資料在S/A&amp;柵匣6 0 5中被轉移爲1 2位元資料 ,且輸入至E CC電路1 04A *且,因爲資訊部位72 之資料係爲8位元,因此此資料係以將0(零)輸入至 S/A&amp;柵匣6 0 5之最高四個位元而被輸入•且之後被 輸入到ECC電路104A。倂發式係在被重複部位73 以及資訊部位7 2之資料輸入時,而在E C C電路1 0 4 A中被產生。接著,如步驟9 0 3所示,所使用之併發式 (請先閲讀背面之注意事項再填寫本頁) 本紙浪尺度逋用中國國家樣準(CNS &gt; A4规格(210X297公釐&gt; _沾. 436675 五、發明説明(33 ) 5 (X)被計算,所做之決策係作爲決定S (X)是否等 於零(0 )。 ‘ 首先,解釋當S (X)等於零(〇)之操作。S (X )=0之結果展示並無發生讀取資料之錯誤=因此•在此 情形下,如步驟9 0 9所示,該保持在S/A&amp;柵匣 6 0 5之資訊部位7 2將輸出爲改變。該第一開關7 0 4 ,第二開關7 0 5 ,第三開關70.6,第四開關707係 皆在此時爲關閉的,而第五開關7 1 0係爲作用。 經濟部中央樣準局貝工消費合作社印袋 接著,解釋當S (X)並不等於零(〇)之情形。不 等於零(0)之S (X)結果表示所讀取之資料有錯誤。 結果,該E C C電路1 0 4 A讀取在S/A&amp;柵匣6 0 5 中所持有資料,而後執行錯誤更正/偵測處理|如9 0 4 所示。首先,步驟9 0 5展示對於重複部位7 3之捜尋。 在此時候,第二開關705係爲作用,第一開關704, 第三開關706,第四開關707,以及第五開關710 係爲關閉。假如NOR電路7 0 3在此時輸出一個1,則 在重複部位7 3將發生一個錯誤。在此情形下,該在S/ A&amp;柵匣6 0 5中所持有之資訊部位7 2將输出爲改變, 如步驟909所示。該第一開關704,第二開關705 ,第三開關706,以及第四開關707係爲關閉,而該 第五開關7 1 0係爲作用。假如該NOR電路7 0 3並無 輸出一個1,則此結果展示在重複部位73中並無偵測到 錯誤,所以在資訊部位7 2中執行錯誤之捜尋,如步驟 9 0 6所示。該第一開關7 0 4在此時係爲關閉,而第二 -36- {請先閱讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國國家標準(CNS ) A4規格(210X297公釐) 436675 A7 B7 五、發明説明(34 ) 開關7 0 5係爲作用,而在此該第三開關7 0 6係爲關閉 ,而第五開關710係爲作用。 (請先閲讀背面之注意事項再填寫本頁) 在此時,假如NOR電路7 0 3在第I時脈時輸出一 個1,則在資訊部位之I部位將偵測到錯誤》從等式( 2 2 )所得之錯誤圖樣E p i將等於從開關7 0 7之输出 ’而E C C電路1 〇 4A將計算所XOR之讀取資料以及 錯誤圇樣,而將資料輸出至I/O.緩衝器6 0 1中。假如 NOR電路7 0 3在對資訊部位之錯誤搜尋時沒有輸出一 個1,則資訊資料將不改變的輸出至I/O緩衝器,因爲 第四開關7 0 7係被關閉》假如NOR電路7 0 3並無輸 出一個1,甚至當處理資訊部位之資料長度k時脈將藉由 ECC電路104A而執行,而ECC電路104A將外 部蘇出錯誤偵測資訊,如步驟9 0 8所示。圖十展示解碼 操作之時間圖。 經濟部中央橾準局負工消费合作社印裝 圖十展示當圖五之錯誤更正碼電路解碼時,錯誤更正 以及錯誤偵測處理的時間圖。圖1 0 A展示E C C電路之 處理的時間圖。圖1 0 B展示錯誤更正資訊之輸出時間。 如圖十Α淸楚所示,該具有重複部位7 3 +資訊部位7 2 以及錯誤偵測結構之系統碼係在重複部位7 3以及資訊部 位7 2中執行。當錯誤出現時,在重複部位7 3有錯誤檢 査,而在資訊部位有錯誤偵測,而執行更正。資訊部位 72 (資料)係與位在ECC電路104Α之输出所執行 之錯誤偵測/更正同步得輸出》 在圖五所示之ECC電路104Α,重複部位73 + 本紙張尺度適用中國國家揲準(CNS ) Α4规格(210Χ 297公釐) _ 37 _ 經濟部中央標準局員工消费合作社印衷 A7 B7五、發明説明(35 ) 資訊部位7 2之碼組態被形成,且未使用碼部位之偵測可 藉由使用除法電路7 0 9以及偵測器7 0 2而被刪除,如 圖1 Ο B所示。 進一步地,使用乘法器708,12位元之DFF 7 0 1以及XOR電路7 2 1至7 2 3可允許對於符號單 元之更正* 當記億體晶片1 0 2藉由使用上述之方法以及裝置* 可保有充分錯誤更正的容量以對付伴隨儲存在記憶體 103中多數個値之增加的資料讀出錯誤。進一步地,因 爲錯誤資訊可被輸出,可以錯誤補償之相容資料可被有效 地使用爲資料。進一步地,該解碼時間可藉以相較於習知 R S方法的最大5 0百分率或最小3 0百分率而被減少。 該錯誤偵測資訊係與資料輸出結束相同步地输出,而 使得因爲不需在输出資料後還要等待錯誤偵測資訊之輸出 而較無限制或較無不便。且,電路大小只對除法電路之增 加而增加,而電路大小之增加相較於習知R S方法而可保 持爲最小。 接著,該第二實施例參考圖十一至圖十五而解釋。 圖十一係展示本發明資料記憶體再生裝置之第二實施 例的錯誤更正碼電路的方塊圖。在此圖中,該1 2個位元 DFF701 係由 DFF701a ,701b,701c 所構成。該位元乘法器708係由乘法電路708 a, 708b,708c所構成*且位元涂法器7〇9係由與 圖五相同的除法器電路709a,709b * 709c所 436675 {請先W讀背面之注意ί項再填寫本頁) 本紙張尺度適用中國國家樣车(CNS) Α4規格(2丨〇&gt;&lt;297公釐) -38 - 4 3 66 75 Μ濟部中央標準局貝Η消費合作社印掣 五、 發明説明(36 ) 1 構 成 9 第 二實 施例之 該1 2 個位元C F F 7 0 1 偵 測 器 1 1 7 0 2 - 該N 0 R電 路7 0 3、該第一 開 關 7 0 4 、 第 — 1 | 開 關 7 0 5、 第 三開 關7 0 6、第四開 關 7 0 7 第 五 開 請 1 先 關 7 1 0 、位 元 乘法 器電』 络 708、位元除法器電路 聞 讀 1 I 7 0 9 以 及X 0 R電 路7 2 0 至 7 2 3 具 有 與 第 實 施 例 背 A 之 1 相 同 的 功 能。 注 意 事 1 1 1 2 位元 緩 衝器 7 1 1 被加至整體 電 路 如 圖 十 一 所 項 再 1 填 1 示 9 此 1 2位 元 緩衝 器7 1 1係由第一 緩 衝 器 7 1 1 a % 寫 本 Λ 1 第 二 緩 衝 器7 1 lb 、第 三緩衝器7 1 1 L c :所構成》 此 Ά 1 1 I 1 2 位 元 緩衝 器 7 1 1持 有 —個時脈的 1 2 個 位 元 資 料 〇 1 1 且 如 ΓΒ1 圓 五所 示 » —- 個開 關 /選擇器7 0 3 係 裝 設 在 S / 1 1 A &amp; 恤 fflff 匣 6 0 5 與第 —開 關 7 0 4之間 第 三 開 關 7 0 6 訂 因 爲 開 關 /選 擇 器6 0 3 對 於圖十一之解 釋 並 4trr 撕 功 能 相 關 1 1 I 因 此 略 去 〇 1 碼 組 態接 著 被解 釋。 該 等式(9 ) 或 等 式 ( 2 3 ) 之 1 I 碼 組 態 可 被使 用 9妖 而第 二 實施例之例 子 具 有 加 在 資 訊 部 疒 I 位 7 2 之 後的 重 複部 位7 3 。該 E C C 電 路 1 0 4 B 以 及 1 1 解 碼 方法可藉 由 圖十 二至圖十五而解釋。 i 1 1 該 編 碼方法係使用圖十二之圖而解釋》 \ 1 圖 十 二係 展 示圖 -f 編 γΠΗΒ 碼之流程圖 0 如 步 驟 1 3 0 1 1 1 所 示 資 料藉 由 第一 開關 7 0 4以及第 三 開 關 7 0 6 而 輸 1 i 入 至 I / Ρ緩 衝 器6 0 1 且 輸入至E C C 電 路 1 0 4 B 以 ( I 及 S / A &amp;栅 匣 6 0 5。 此 時*該第一 開 關 7 0 4 以 及第 1 三 開 關 7 0 6 係 個別 連接 至 7 0 4 a 以 及 7 0 6 a 側 之 接 1 1 1 本紙張尺度適用中闺國家標準{ CNS ) Α4規格(210X297公釐) -39 * 4 3 6 6 7 5 a? ____B7_ 五、發明説明(37 ) 觸點,該第二開關係作用,而第五開關係爲關閉。該I / 〇緩衝器6 0 1以與第一個實施例相同的理由而將8位元 輸入轉換成1 2位元的輸入》該4位元之0 (零)輸入可 輸入在1 2位元中之任何地方,但是將零輸入放置在最高 或最低4位元將使8位元的轉換變得更方便》接著,該輸 入在第二實施例中係爲最高4位元》 經濟部中央猱準局W工消費合作社印製 (请先《讀背面之注意事項再填寫本頁) 重複部位的計算係以資訊資料之輸入而在E C C電路 中執行。如步驟1302中所示,該經計算之重複部位係 輸出至S/A&amp;柵匣6 0 5 »該重複部位資料變成1 2位 元輸出,而1 2位元DFF70 1之內容係以高指數優先 之次序而輸出。該第一開關7 0 4係連接至7 0 4 b側之 接觸點,而第二開關705 ,第三開關706,第四開關 7 0 7,以及第五開關7 1 0係爲關閉。該以此方式而記 錄之資料係經由S/A&amp;柵匣6 0 5而傳送,如步驟 1 3 0 3所示,而記錄在記億體1 ◦ 3中。有許多方法可 記錄該編碼資料,然而最方便的方法係在編碼時以與系統 碼相同的順序而依序讀取資料β因此,在第二實施例中, 該資料係以資訊部位而後重複部位之次序而讀出,而記錄 在記億體1 0 3中。因爲記錄係以一個位元的單位而執行 ’該第三符號重複部位係分開成許多位元組而記錄,如第 一實施例所示》該第二實施例之資料係分開爲六個位元組 的群組而記錄,如第一實施例相同的理由。圖十三係展示 編碼時相同的時間圖。 圖十三係展示圖十一之E C C電路當編碼時之操作時 本紙張尺度逍用中國國家樣率(CNS ) Α4規格(2丨0Χ297公釐) 71 4366 75 5 經濟部中央標準局貝工消费合作社印製 五、發明説明(38) 間圖》圖十三A係展示當對於位在錯誤更正碼電路內側之 碼組態時之資料輪出時間圖。圖十三B係展示錯誤更正碼 電路輸出之時間圖。重複部位8 3係從圖十三A之資訊部 位8 2中成形β當重複部位成形時,資訊部位8 2同時自 ECC電路104Β而輸出至S/A&amp;柵匣605,如圖 十三Β。當重複部位8 3產生時,此重複部位8 3係輸出 至3/厶&amp;柵匣605。 接著,參考圖十三之流程圖而解釋解碼操作。 圖十三係展示圖十一解碼操作之流程圖。 該自記憶體1 0 3中讀出之資料係暫時保持在S/A &amp;柵匣60 5中,如圖中步驟1 40 1所示。此時,資料 係以資訊部位8 2以及重複部位8 3之次序而讀出。 如步驟1 4 0 2所示,該資料係以資訊部位8 2以及 重複部位83之次序而輸入至ECC電路104Β。該第 一開關7 0 4此時係爲關閉,該第二開關7 0 5係爲作用 ,第三開關7 0 6係連接至接觸點側7 0 6 b。該第四開 關707,以及第五開關710係爲關閉》 該經編碼之資料係输入至E C C電路。在重複部位 8 3之資料自記億體讀出之後,此資料被轉換爲1 2個位 元而被輸入。該資訊部位8 2之資料係爲8位元,使得0 輪入係爲最高4位元,而轉換爲1 2個位元而後輸入。 當資訊部位8 2以及重複部位之資料被輸入時,倂發 式S (X)在ECC電路104B中被產生。如步驟 1 4 0 3所示,藉由使用所計算之倂發式S ( X)而檢査 —„---:-----.'------訂----1----rI (請先閲讀背面之注意事項再填疼本頁&gt; 本紙張尺度逍用中國國家標準{ CNS &gt; A4規格U10X297公釐} •41 - 436675 A7 B7 經濟部中央搮隼局貝工消费合作社印装 五、發明説明(39 ) S ( X )是否等於零* 首先解釋S (X)是否等於零。S (X) =〇之結果 表示沒有錯誤發生在資料讀取中。接著,如步驟1 4 1 〇 所示之情形,持有S/A&amp;柵匣6 0 5之資訊部位係不改 變的输出》在此時,該第一開關704、該第二開關 705、第三開關706以及該第四開關704係爲關閉 ,而該第五開關_ 7 1 0係爲作用》 接著解釋S (X)不等於零的情形。S (X)不等於 零(0 )之結果表示在讀取資料時有錯誤發生》該E C C 電路1 0 4 B再次讀取儲存在S/A&amp;柵匣6 0 5中之資 料。此時,該E C C電路執行錯誤更正/偵測之處理,如 步驟1 4 0 4所示。 如步驟1 40 5所示,在E C C電路1 0 4Β係在零 (0 )輸入狀態下時,係計算3個符號,換句話說,只有 ECC重複符號被執行。該第三緩衝器7 i χ a,7 1 χ b以及7 1 1 c係位在ECC電路1 04中,而使計算結 果延遲三個時脈,而輸出至第五開關7 1 0之前的XOR 電路7 2 0。該第開關7 0 4在此時係爲關閉,而第二開 關705、第三開關706,第五開關710係爲關閉》 在此時之計算中,係計算E C C電路1 0 4 B之內部時脈 〇 在資訊部位的錯誤捜尋接著係以步驟1 4 0 6所示之 而執行。ECC電路104B係在處理步驟1406之後 而由外部時脈而控制。該第一開關7 0 4在此時係爲關閉 本紙浪尺度速用中國國家揉车(CNS &gt; A4规格(2丨0X297公* ) _ _ &quot; (請先聞讀背面之注$項再填寫本頁) 436675 A7 B7 五、發明説明(4〇 ) ’而第二開關7 0 5係爲作用,第三開關7 0 6係爲關閉 ,而第五開關7 1 0係爲作用。E C C電路1 〇 4 B在資 料自資訊部位輸出三個時脈之前執行計算,但是當對於位 在第五開關710之前的XOR電路中之資訊資料予以計 算時,此資料亦變成位置I之資料。假如此時NOR電路 703輸出一個1 ( 一),則位置I係決定在資訊部位I 位置中被偵測到。該從第四開關7.0 7之輸出係等於等式 (22)之錯誤圖樣Epi ,所以ECC電路104B執 行錯誤圖樣的XOR計算以及讀取資料,如步驟1 4 0 7 所示,而資料輸出至I/O緩衝器60 1中。當^^0只電 路7 0 3沒有自資訊部位8 2中之資料輸出一個1 ,此結 果表示在該位置沒有錯誤,所以資料係爲改變得輸出至 I/O緩衝器601中。 重複部位8 3之錯誤搜尋接著依照步驟1 4 0 7而解 釋。此時第一開關7 0 5係爲作用,而第二開關7 0 5、 第三開關706、第四開關707以及第五開關7 10係 爲關閉。假如NOR電路7 0 3在此時輸出一個一(1 ) ,則錯誤係在重複部位8 3中被偵測。假如NOR電路 703沒有輸出一個一(1),則結果顯示在重複部位 8 3沒有偵測到錯誤。假如NOR電路7 0 3沒有輸出一 個一(1),甚至當ECC電路104B執行重複部位資 料長度3時脈計算時,則錯誤偵測之執行係如步驟 1 4 0 9所示而執行。該E C C電路1 〇 4 B係外部輸出 錯誤偵測資訊》因爲資訊部位8 2資料係以由E C C電路 本紙張尺度適用中國國家標準(CNS )八4辑潘·( 210X297公釐) (請先《讀背*之注項再填寫本頁)* 1T &quot;! This paper size is applicable to China National Standards (CNS) A4 (210X297 public shame) • 26 · 436675 Printed by the Consumers ’Cooperative of the Central Government Standards Bureau of the Ministry of Economic Affairs A7 B7_V. Description of the invention (24). In FIG. 2, the memory chip 102 is a recording medium containing the memory 103 and the internal ECC circuit 104. The interface LS I 106 is implemented between the casket system bus 1 0 9 and the use of the memory chip 1 The LSI controlled by the interface between 0 2 file system 1 0 «Microcomputer 5 0 4 interprets the commands and functions sent by the system bus 1 0 9 while the controller of file system 1 0 1 includes a central processing unit 5041 (CPU5041) to control the reading and writing of data to RA 505 and reading and writing of lambda to terabyte chip. 10 2 of data (hereinafter referred to as R / W), the reading / writing The interpretation result according to the order. The RAM 505 fills the data buffer as supplementary memory when the data from the memory chip 102 is being transmitted through the interface LSI 106. Each of the above units is connected by a mechanism of a regional data bus 209, a control signal limit, an address bus, or a data bus. A special example of a wafer bonded to the file system of Figure 2 is shown in Figure 3. Figure 3 is a plan view of a sample wafer bonded to the data memory reproduction device of Figure 2. In this figure, the microcomputer 5 0 4 interprets the commands and functions sent by the system bus 1 0 9 and the controller of the file system 101 includes a central processing unit 5041 (CPU 5 0 4 1) to control reading As well as the data written to the RAM 505 and the data read and written to the memory chip 102 (hereinafter referred to as R / W), the read / write is based on the interpretation result of the command. Interface 2 0 1 is further provided. (Please read the precautions on the back before filling out this page) This paper size is applicable to China® furniture standard (CNS) Α4 size (210X297 mm) -27- 4366 75 A7 B7 V. Description of the invention (25) (Please "Read the precautions on the back before filling out this page.) Then 'refer to Figure 4 and describe the operation of the memory chip 102. In this figure, 'Memory 103' is used as a medium for recording or reproducing data. 1 / ◦ Buffer 6 0 1 is used as supplementary memory for data transmitted through the system bus 1 0 9 or from the internal EC C circuit 104. The decoder 602 is used to control the data recording or reproducing position in the memory 103 when the R / W data is in the memory 103. The switch / selector 603 is used to switch the data input / output to the memory 1 〇3 and the internal ECC circuit 1 〇4 to correspond to the recording or reproduction of data to the memory 103 from the internal controller 604 The control signal. The internal controller 604 is a controller 604 that controls the decoder 602 and the switch / selector 603 according to a control signal sent from the regional digital bus. The S / A and the grid box 605 are used as supplementary memory for the supplementary data buffer when self-recording 100 million R / W data. Each of these units is connected by a control signal limit, an address bus, or a data bus. Printed by the Consumer Cooperatives of the Central Sample Bureau of the Ministry of Economic Affairs If the system code is a system unit correction code, any code can be corrected and detected by data errors. In the first example, a 1 E C Thunder gate code will be used. In this example | A symbol repeat symbol was added to improve error detection. Therefore, the repeated symbol becomes 2 X 1 + 1 = 3 symbols. Moreover, the data symbol length is changed according to the application and the amount of data converted into a batch. In this example, the length is set to eight bytes per byte, and the data of 2048 + 58 bytes = 2 106 bytes is converted into one batch. If Gaussian (G a 1 〇is) unit components are being used, the following paper standards listed below are used: Chinese National Standards (CNS &gt; A4 Zhuge (210X297 mm) _ · 436675 A7 Ministry of Economic Affairs Printed by the Consumer Cooperative of the Bureau of the People's Republic of China __ B7 V. Description of Invention (26) Any code can be accepted. Galois unit component status: When the error correction capacity is set to t symbol, and the code character is Gauss For the original unit component of the unit component GF (2 m), the maximum codeword length is n = 2m-the number of 1 repeated symbols is 2 t symbol, the maximum information number symbol k = (repeated symbol) symbol is the codeword W Is set to (w!, W 2 ......... w &gt;-!). Code character polynomial C (X) — 2X &quot; -2 + ......... + W 1 X + W 〇 As a result, C (X) holds the original 1 · α,…, a 2 χ ~ 1 of GF (210) «Many 値 can be used as Gaussian unit components, only the data processing in It is relatively simple when one byte corresponds to one symbol. Looking at this situation and the above Gaussian unit components, the code data symbol length is 12 bits. Then, the original number P of the Gaussian unit component is a power of 2 to 12. The maximum code length η is 4 095 symbols. The ECC circuit and decoding method will be explained later. The ECC circuit will be first This is illustrated with reference to Fig. 5. Fig. 5 is a structural diagram showing an embodiment of the internal error correction code circuit of the data reproduction system of the present invention. In this figure, reference numerals 70 1 a, 701b, and 701c represent 12 bit delays. Flip-flop (hereafter referred to as DFF), which holds 12-bit data of a block portion (this paper size applies to China National Standard (CNS) A4 specification (210X297 mm) .OQ-(Please read first Note on the back ^ &gt; please fill in this page again) A7 B7 Dubaizhuang, Consumer Co-operation, Shellfish Consumer Cooperation, Central Bureau of Standards, Ministry of Economic Affairs V. Description of Invention (27) This or DFF701a, 701b, 701c will be briefly listed as 701) , And then output this data to the next block. The detectors are 702a, 702b (the list is arranged as detector 702, and each of the circuits listed below is listed in the same way) as 1 2 bits | Two inputs are mutually exclusive or logic circuits (hereinafter referred to as XOR). The NOR circuit 7 〇3 For 12 bits, two input reverse logic circuits (hereinafter referred to as NOR). The first switch 704, the second switch 705, the third switch 706, and the fifth switch 7 1 0 are controlled during encoding and decoding. Data stream. The fourth switch 7 0 7 is turned on when a signal is received from the NOR circuit 7 0 3 during decoding. This number is the second and fourth 'fifth switches 705, 707, and 710. On / off switch. The first and third switches 704 and 706 are three-point selection switches. The first switch 7 0 4 is an intermediate point, in other words, it is in a closed position (not shown in the figure), and has a white ring-shaped contact point 7 0 4 a and a black ring-shaped contact point 7 0 4 b. The third switch 7 0 6 has a white ring-shaped contact point 7 0 6 a (not shown in the figure) and a black ring-shaped contact point 7 0 6 a- the multiplier 7 08 is composed of multiplication circuits 708a, 7 08b, 7 0 8 c. The multiplier serves as a circuit for multiplying data having coefficients corresponding to a code generating polynomial G (X). The power of each coefficient item is determined by the original polynomial g (x) of the codeword polynomial and the original number of repeated symbols and Gaussian unit components. In the first example, the original polynomial g (X) of GF (212) is shown by equation (24). g (χ) = χ12 + χ6 + χ4 + χ + 1 ... (2 4) (谙 Please read the notes on the back before filling this page) Order -r 丨 · This paper size is applicable to China National Standards (CNS) A4 specifications (21 〇χ 297 mm) -30- Printed by the Consumer Cooperatives of the Central Procurement Bureau of the Ministry of Economic Affairs 4 3 667 5 A7 _B7___ 5. Description of the invention (28) When α is set to g (X) The root polynomial of the Gaussian unit component GF (2th power of m) is an irreducible polynomial expression holding the answer of the root period (mth power of the root)-1. Moreover, the exponent of the polynomial expression G (X) generated by the code character is the number of repeated symbols of the code, and the sum is 3. Therefore, the codeword generator polynomial expression G (X) cannot be expressed by equation (2 5). However, g (X) has a period of (the mth power of α)-1 and is an irreducible polynomial that holds the root of cr. Further, for each codeword generator polynomial expression the coefficients of the G (X) term can be determined by the power relationship obtained from at of g (X) (however, in bit processing, A + B = A — B). By using the root α of equation 24, the codeword generator polynomial expression G (X) can be transferred to equation (2 5). G (x) = (x— 1) (χ — α) (x — α 2) = (x + 1) (χ + α) (χ + α 2) = χ3 + (a 3 + a 2 + a) χ 2 (α 2 + α + 1) χ + α 3 ......... (25) With equation (24), each coefficient item of equation (25) is then converted into such as The original power expression obtained by formula (2 6). G (x) = + aimλ2 + σ1Μν + αΓ3 ... (26) The divider 7 0 9 is used to divide the data output from the 12-bit flip-flop DFF 7 0 1 , And includes division circuits 7 0 9 a, 709b, 709c, and the obtained power (mathematically) is the original polynomial g (χ) of the polynomial expression G (χ) of the codeword generator used, and Repeated symbols used, Gaussian unit components, and (please read the precautions on the back before filling this page) This paper standard uses the Chinese National Standard (CNS) A4 specification (210X2S &gt; 7)-31-Ministry of Economic Affairs A7 B7_____ printed by the Central Government Bureau of Work and Consumer Cooperatives 5. The invention description (29) is determined by the code length. In the case of the first embodiment, the 'codeword length 1 is 2 1 09 symbols. Therefore, the coefficients of each image of the codeword polynomial G (X) when calculating the powers of equation (21), (22), (24), and (26) are as follows: X The second coefficient of Η is a power of 261 to the power of α, the main coefficient I is the power of -1 to 8.5, and the fixed term of the coefficient J is the power of _2 3 3 to 3. And 'circuits 70 2 to 72 3 will perform 12-bit XOR calculations. The switch / selector 6 0 3 is installed between the S / A &amp; box 605 and the first switch 704. As shown in Figure 4, the third switch has no related functions at this time, so Figure 5 The explanation is omitted. A code configuration of either equation (9) or equation (2 3) may be used, however, the repeating portion is at the beginning of the code configuration. The encoding method will be explained first with the graph in FIG. Figure 6 is a flowchart showing the encoding operation by the internal error correction code circuit. In this figure, as shown in step 801, the data input to the I / 〇 buffer 601 is input to the S / A & cascade 605 and other ECC circuits 104A circuits. A switch 704 and a third switch 7 0 6. At this time, the contacts are at the individual contact points 704a, 706a of the first switch 704 and the third switch 706: the second switch 705 is turned on, and the fifth switch 710 is turned off. In order to make a symbol correspond to one bit, in the I / 0 buffer 601, a 4-bit zero input is added to the data of the 8-bit information part and converted into a 12-bit input. These 4 bits can be added to 1 2 4 366 7 5 (Please read the precautions on the back before filling this page) This paper size uses the Chinese National Standard (CMS) A4 specification (210X297 mm) -32- Economy Printed by the Ministry of the Central Government Bureau of Shellfish Consumer Cooperatives 4366 7 5 V. Description of the invention (30) Any place '1 2 bits to 8 bits conversion proved to be placed in the highest four bits or the lowest The first bit will be easier. Then, the last four bits will be set to 0 input in the first embodiment. The repetition position is calculated by inputting information data to the ECC circuit 104A. And, in the same— Time, 12 bits of information will be converted to 8 bits in the S / A &amp; grid 605 *. Therefore, the 8 bits of information data will be input to the S / A &amp; grid E6. Billion body of 0 5 '1 0 3 (not shown in the figure). Step 8 0 2 shows the input of zero (0) to the ECC circuit 104A, and the 1986 clock calculation will contain 12 bits DFF 70 1 And the multiplier circuit 708. At this time, the first switch 704 is connected at the center point and is turned off, and the fourth switch 7 0 7 and the fifth switch 7 1 0 are also turned off. The second switch 705 is functioning (〇η), and the third switch 706 connected to the center point is closed or zero (〇) The input system is fixed * As shown in Figure 7, the above processing It is the setting of the cyclic code shift and code configuration corresponding to the repetitive part added before the information part. The seventh series shows the code unused part, information part and repetitive part of the present invention in the period of η symbol code. In this figure, reference number 7 1 is the unused part of the η- (k + 2 t + 1) symbol. Reference number 72 is the information part of the k symbol. Reference number 73 is the repeated part of the 2 t + 1 symbol. As shown in formula (23), these parts are the information part 72, the code unused part 71, and the repeat part 73. Among these parts, the repeat part 7 3 and the information part 7 2 are actually recorded in green, 0 (zero) The paper size used in the paper standard is the Chinese National Standard (CNS &gt; A4 size (210X297 mm) (please read the notes on the back before filling in this tile)-# -33- 5th job of the Central Bureau of Standards, Ministry of Economic Affairs Consumption cooperation Du printed 4 3 66 7 5 A7 _______B7 V. Description of the invention (31) Enter (η — k — 2t -1) times, and by shifting the cyclic code, this part can be set in the code configuration in order. The repeating part 7 3 is output from the S / A & box 6 0 5 in this way. As shown in step 803, the data from the repeated part 73 is output in 12 bits, and the content of the 12 bit DF F 7 0 1 is output in the order of the high index coefficients. The first switch 704 is connected to the connection point of 704b, and the second switch 705, the third switch 706, the fourth switch 707, and the fifth switch 710 are closed. The data encoded by this is provided by the S / A &amp; Cassette 6 0 5 and recorded in memory 103. Many methods can be used to record the encoded data, however, when reading the data being decoded, it is proved to be most convenient to read the data in the order of the repeated parts and information parts. Therefore, in this embodiment, the data is read from the memory in the order of the repeating portion 73 and the information portion 72, and is recorded in the memory 103 (see FIG. 4). The recording unit is 1 byte = 8 bits, and the information part 72 can read the input data. The 3-symbol repeating part 7 3 is divided into a plurality of bytes and then recorded. The total number of bits is 1 2 X 3 bits = 36 bits, and the minimum limit of five bytes is required, but records with separate even bytes proved to be the most effective when decoding. Valid, so in this example, the data is divided into 6 byte groups and recorded. Figure 8 shows the timing diagram when coding. FIG. 8 is a time chart showing operations when the encoding of FIG. 5 is performed. Figure 8A is a timing diagram showing the generation of codes in the ECC circuit. Figure 8 B series display (please read the “Notes on the back side before filling in this”) This paper size uses the Chinese National Standard (CNS) A4 specification (210X297 mm) -34- Shellfish Consumption Printed by the cooperative 43 66 7 5 A7 ____B7 V. Description of the invention (32) Time chart for outputting data from the ECC circuit "In Fig. 8A, the repeated portion 73 is formed from the information portion 23, and thereafter, DFF701 is marked with 1 9 8 6 clockwise and was rotated in blank. This gap is the time it takes to form a repeat. Synchronized with the start of the repeated part from the information part 72, the data information output starts at the S / A &amp; box 6 0 5 in the ECC circuit 104, and the repeated part 7 3 starts from the blank rotation of DFF 7 0 1 Point output. The decoding will then be explained by the diagram of FIG. Figure 9 shows a flowchart of the operation when decoding. As shown in step 901 in the figure, the data output from the two memory 103 is temporarily maintained in the S / A & box 605. The data is in the order of repeating part 7 3 and information part 7 2 And read. Then, the data is input to the E C C circuit 104A in the order of the repeating portion 73 and the information portion 72, as shown in step 902. At this time, the first switch 704 is connected at the center point and is closed, the second switch 705 is active and the third switch 706 is connected to the contact point 706b. The fourth switch 707 and the fifth switch 710 are closed. After the data in the repeating part 73 is read from the memory 103, the data is transferred to 12-bit data in the S / A & box 60 05, and is input to the E CC circuit 104A * And, since the data of the information part 72 is 8 bits, this data is inputted by inputting 0 (zero) to the highest four bits of the S / A &amp; box 6 0 5 • and then inputted to ECC circuit 104A. The burst type is generated in the E C C circuit 1 0 4 A when the data of the repeated portion 73 and the information portion 72 are input. Next, as shown in step 903, the concurrent type used (please read the precautions on the back before filling this page) This paper uses the Chinese national standard (CNS &gt; A4 specification (210X297mm &gt; _) D. 436675 V. Description of the invention (33) 5 (X) is calculated, and the decision made is to determine whether S (X) is equal to zero (0). 'First, explain the operation when S (X) is equal to zero (0). The result of S (X) = 0 shows that there is no error in reading the data = Therefore • In this case, as shown in step 9 0 9, it should be kept in the information part of S / A &amp; box 6 0 5 7 2 The output is changed. The first switch 7 0 4, the second switch 7 0 5, the third switch 70.6, and the fourth switch 707 are all closed at this time, and the fifth switch 7 10 is used. Economy The Central Government Bureau of Prototype and Boiler Consumer Cooperatives printed bags, and then explained when S (X) is not equal to zero (0). An S (X) result that is not equal to zero (0) indicates that the data read is incorrect. As a result, The ECC circuit 1 0 4 A reads the data held in the S / A &amp; grid 6 0 5 and then performs error correction / detection processing | as shown in 9 0 4. Step 9 0 5 shows the search for the repeated part 73. At this time, the second switch 705 is functioning, and the first switch 704, the third switch 706, the fourth switch 707, and the fifth switch 710 are closed. If the NOR circuit 7 0 3 outputs a 1 at this time, an error will occur at the repeating position 7 3. In this case, the information position 7 2 held in the S / A &amp; box 6 0 5 The output is changed, as shown in step 909. The first switch 704, the second switch 705, the third switch 706, and the fourth switch 707 are closed, and the fifth switch 7 1 0 is active. If this The NOR circuit 7 0 3 does not output a 1 and the result shows that no error was detected in the repeated portion 73, so the error search is performed in the information portion 7 2 as shown in step 9 0. The first A switch 7 0 4 is closed at this time, and the second one is -36- {Please read the precautions on the back before filling this page) This paper size uses the Chinese National Standard (CNS) A4 specification (210X297 mm) 436675 A7 B7 V. Description of the invention (34) Switch 7 0 5 is used, and here the third switch 7 0 6 To close, the fifth switch 710 is used. (Please read the precautions on the back before filling this page.) At this time, if the NOR circuit 7 0 3 outputs a 1 at the I clock, it will be in the information section. Part I will detect an error. "The error pattern E pi obtained from equation (2 2) will be equal to the output from the switch 7 0 7 'and the ECC circuit 1 04A will calculate the read data of the XOR and the error pattern. The data is output to the I / O. Buffer 601. If the NOR circuit 7 0 3 does not output a 1 during an incorrect search of the information part, the information data will be output to the I / O buffer unchanged, because the fourth switch 7 0 7 is turned off. "If the NOR circuit 7 0 3 does not output a 1, even when processing the data length k clock of the information part will be performed by the ECC circuit 104A, and the ECC circuit 104A will externally detect the error detection information, as shown in step 908. Figure 10 shows the timing diagram of the decoding operation. Printed by the Consumer Affairs Cooperative of the Central Bureau of Standards and Quarantine of the Ministry of Economic Affairs Figure 10 shows the timing diagram of error correction and error detection and processing when the error correction code circuit of Figure 5 is decoded. Figure 10 A shows the timing diagram of the processing of the E C C circuit. Figure 10 B shows the output time of the error correction information. As shown in Fig. 10A, the system code with the repeating part 7 3 + information part 7 2 and the error detection structure is executed in the repeating part 73 and the information part 72. When an error occurs, there is an error check in the repeated portion 73, and an error detection in the information portion, and a correction is performed. The information part 72 (data) is output in synchronization with the error detection / correction performed by the output of the ECC circuit 104A. In the ECC circuit 104A shown in Figure 5, the repeated part 73 + This paper size is applicable to the Chinese national standard ( CNS) Α4 specification (210 × 297 mm) _ 37 _ Employee Consumer Cooperative Association of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (35) The code configuration of the information part 7 2 is formed, and the detection of the code part is not used The measurement can be deleted by using the division circuit 709 and the detector 702, as shown in FIG. 10B. Further, using a multiplier 708, 12-bit DFF 7 0 1 and XOR circuits 7 2 1 to 7 2 3 can allow correction of the symbol unit. * Dangji billion chip 1 0 2 by using the above method and device * It has enough error correction capacity to cope with the data read errors accompanying the increase of most of the data stored in the memory 103. Further, since error information can be output, compatible data that can be error-compensated can be effectively used as data. Further, the decoding time can be reduced compared to the maximum 50% or minimum 30% of the conventional RS method. The error detection information is output in synchronization with the end of the data output, so that there is no restriction or inconvenience because there is no need to wait for the output of the error detection information after the data is output. Moreover, the circuit size only increases with the increase of the division circuit, and the increase in circuit size can be kept to a minimum compared with the conventional RS method. Next, the second embodiment is explained with reference to FIGS. 11 to 15. Fig. 11 is a block diagram showing an error correction code circuit of a second embodiment of the data memory reproducing apparatus of the present invention. In this figure, the 12-bit DFF701 is composed of DFF701a, 701b, and 701c. The bit multiplier 708 is composed of multiplying circuits 708 a, 708b, 708c * and the bit multiplier 709 is composed of the same divider circuits 709a, 709b * 709c as shown in Figure 5. 436675 {Please read first Note on the back, fill in this page, and then fill in this page) This paper size applies to China National Sample Vehicle (CNS) Α4 specification (2 丨 〇 &gt; &lt; 297 mm) -38-4 3 66 75 ΜBeijing Central Bureau of Standards Consumption cooperative stamp 5. Description of the invention (36) 1 Composition 9 The 12-bit CFF 7 0 1 detector of the second embodiment 1 1 7 0 2-the N 0 R circuit 7 0 3, the first Switch 7 0 4th — 1 | Switch 7 0 5, Third Switch 7 0 6, Fourth Switch 7 0 7 Fifth On Please 1 First Off 7 1 0, Bit Multiplier Power ”Network 708, Bit Division The reader circuit 1 I 7 0 9 and the X 0 R circuit 7 2 0 to 7 2 3 have the same functions as those of the first embodiment A-1. Note 1 1 1 2 bit buffer 7 1 1 is added to the overall circuit as shown in item 11 and 1 is filled in 1 shown 9 This 1 2 bit buffer 7 1 1 is the first buffer 7 1 1 a % Copybook Λ 1 2nd buffer 7 1 lb, 3rd buffer 7 1 1 L c: composition》 This Ά 1 1 I 1 2 bit buffer 7 1 1 holds 1 2 bits of a clock Metadata 〇1 1 and as shown in ΓΒ1 round five »—- switches / selectors 7 0 3 are installed between S / 1 1 A & shirt fflff box 6 0 5 and — switch 7 0 4 The three switches 7 0 6 are ordered because the switch / selector 6 0 3 is explained for the figure 11 and the 4trr tear function is related to 1 1 I, so the 〇1 code configuration is omitted and explained. The I code configuration of the equation (9) or (23) of the equation (2) can be used. The example of the second embodiment has a repeating unit bit 73 which is added after the information unit 疒 I bit 7 2. The E C C circuit 10 4 B and the 1 1 decoding method can be explained by referring to FIGS. 12 to 15. i 1 1 This encoding method is explained using the diagram in Figure 12. "\ 1 Figure 12 shows the flowchart of figure -f encoding the γΠΗΒ code. 0 As shown in step 1 3 0 1 1 1 The data shown by the first switch 7 0 4 and the third switch 7 0 6 and input 1 i into the I / P buffer 6 0 1 and input to the ECC circuit 1 0 4 B to (I and S / A &amp; grid box 6 0 5. At this time * The first switch 7 0 4 and the first third switch 7 0 6 are individually connected to the 7 0 4 a and 7 0 6 a side connections 1 1 1 This paper size applies to the national standard {CNS) Α4 size (210X297 male (Centi) -39 * 4 3 6 6 7 5 a? ____B7_ V. Description of the invention (37) The contact, the second open relationship functions, and the fifth open relationship is closed. The I / 〇 buffer 601 converts an 8-bit input to a 12-bit input for the same reason as in the first embodiment. The 4-bit 0 (zero) input can be input in 12 bits. Anywhere in the yuan, but placing the zero input at the highest or lowest 4 bits will make the 8-bit conversion easier. Then, the input is the highest 4 bits in the second embodiment. Central of the Ministry of Economy Printed by the Wonder Bureau Consumer Industry Cooperatives (please read the “Notes on the back side before filling out this page”) The calculation of the repeated parts is performed in the ECC circuit with the input of information materials. As shown in step 1302, the calculated repeated position is output to the S / A &amp; box 6 0 5 »The data of the repeated position becomes a 12-bit output, and the content of the 12-bit DFF70 1 is displayed with a high index Output in priority order. The first switch 704 is connected to the contact point on the 704b side, and the second switch 705, the third switch 706, the fourth switch 708, and the fifth switch 710 are closed. The data recorded in this way is transmitted via the S / A &amp; box 605, as shown in step 1 303, and recorded in the record body 1 ◦ 3. There are many ways to record the coded data. However, the most convenient method is to read the data in the same order as the system code during coding. Therefore, in the second embodiment, the data is repeated in the information part and then the part. The sequence is read out and recorded in the record 1003. Because the recording is performed in one-bit units, the third symbol repetition part is divided into a plurality of bytes and recorded, as shown in the first embodiment. The data of the second embodiment is divided into six bits The group is recorded for the same reason as in the first embodiment. Figure 13 shows the same timing diagram when coding. Figure 13 shows the ECC circuit shown in Figure 11 when it is operated during encoding. This paper scale uses the Chinese National Sample Rate (CNS) A4 specification (2 丨 0 × 297 mm) 71 4366 75 5 Shellfish consumption of the Central Standards Bureau of the Ministry of Economic Affairs. Printed by the cooperative V. Description of the invention (38) Intergraph "Figure 13A shows the data rotation time chart for the code configuration located inside the error correction code circuit. Figure 13B is a timing chart showing the output of the error correction code circuit. The repeating part 8 3 is formed β from the information part 82 in FIG. 13A. When the repeating part is formed, the information part 8 2 is simultaneously output from the ECC circuit 104B to the S / A &amp; box 605, as shown in FIG. 13B. When the repeating part 83 is generated, the repeating part 83 is output to the 3/3 &amp; box 605. Next, the decoding operation is explained with reference to the flowchart of FIG. FIG. 13 is a flowchart showing the decoding operation of FIG. 11. The data read from the self-memory 103 is temporarily stored in the S / A &amp; box 60 5 as shown in step 1 40 1 in the figure. At this time, the data is read out in the order of the information part 82 and the repeated part 83. As shown in step 142, the data is input to the ECC circuit 104B in the order of the information part 82 and the repeat part 83. The first switch 704 is closed at this time, the second switch 705 is active, and the third switch 706 is connected to the contact point side 7 0 6 b. The fourth switch 707 and the fifth switch 710 are closed. The encoded data is input to the ECC circuit. After the data of the repeating part 83 is read out from the memory, this data is converted into 12 bits and input. The data of the information part 8 2 is 8 bits, so that the round 0 is the highest 4 bits, which is converted into 12 bits and then input. When the data of the information part 82 and the repeated part are input, the burst S (X) is generated in the ECC circuit 104B. As shown in step 1 4 0 3, check by using the calculated burst S (X) — “---: -----.'------ order ---- 1- --- rI (Please read the notes on the back before filling this page &gt; This paper size is free to use Chinese national standard {CNS &gt; A4 size U10X297 mm} • 41-436675 A7 B7 Central Bureau of Economic Affairs Industrial and Consumer Cooperative Cooperative Printing V. Description of the Invention (39) Is S (X) equal to zero? First explain whether S (X) is equal to zero. The result of S (X) = 〇 indicates that no error occurred in reading the data. Then, follow the steps In the situation shown in 1 4 1 0, the information part holding the S / A &amp; casket 6 0 5 is an output that does not change. At this time, the first switch 704, the second switch 705, the third switch 706, and The fourth switch 704 is closed, and the fifth switch _ 7 10 is active. Next, explain the case where S (X) is not equal to zero. The result that S (X) is not equal to zero (0) indicates that when reading data An error occurred "The ECC circuit 1 0 4 B reads the data stored in the S / A &amp; box 6 0 5 again. At this time, the ECC circuit performs error correction / detection processing, as in step 1 4 0 4 As shown in step 1 405, when the ECC circuit 1 0 4B is in the zero (0) input state, 3 symbols are calculated, in other words, only ECC repeated symbols are executed. The third buffer 7 i χ a, 7 1 χ b, and 7 1 1 c are located in the ECC circuit 104, delaying the calculation result by three clocks, and output to the XOR circuit 7 2 0 before the fifth switch 7 1 0. This The first switch 7 0 4 is closed at this time, and the second switch 705, the third switch 706, and the fifth switch 710 are closed. In the calculation at this time, the internal clock of the ECC circuit 1 0 4 B is calculated. 〇 Error search in the information area is then performed as shown in step 1406. The ECC circuit 104B is controlled by the external clock after processing step 1406. The first switch 7 04 is at this time. In order to close this paper, we will use the Chinese national kneading car (CNS &gt; A4 size (2 丨 0X297 male *) _ _ &quot; (Please read the note on the back before filling this page) 436675 A7 B7 V. Description of the invention (40) 'The second switch 705 is active, the third switch 706 is closed, and the fifth switch 705 is active. ECC circuit 〇 4 B performs calculation before the data is output from the information three clocks, but when the information data in the XOR circuit before the fifth switch 710 is calculated, this data also becomes the data of position I. If this is the case, the NOR circuit 703 outputs a 1 (one), then the position I is determined to be detected in the information part I position. The output from the fourth switch 7.0 7 is equal to the error pattern Epi of equation (22), so the ECC circuit 104B performs the XOR calculation of the error pattern and reads the data, as shown in step 1 4 0 7 and the data is output to I / O buffer 60 1. When the ^^ 0 circuit 7 0 3 does not output a 1 from the data in the information part 8 2, this result indicates that there is no error at that position, so the data is output to the I / O buffer 601 for the change. Repeat the error search for part 8 3 and follow the steps 1 4 0 7 to explain. At this time, the first switch 705 is active, and the second switch 705, the third switch 706, the fourth switch 707, and the fifth switch 710 are turned off. If the NOR circuit 7 0 3 outputs a one (1) at this time, an error is detected in the repeating portion 8 3. If the NOR circuit 703 does not output a one (1), the result shows that no error was detected at the repeated portion 8 3. If the NOR circuit 7 0 3 does not output one by one (1), even when the ECC circuit 104B performs the calculation of the data length 3 clock of the repeating part, the execution of the error detection is performed as shown in step 14 0 9. The ECC circuit 1 04 B is the external output error detection information. Because the information part 8 2 data is based on the ECC circuit, the paper size applies the Chinese National Standards (CNS) 8th Series Pan · (210X297 mm) (Please first (Read the notes of the back * and fill in this page)

-、1T 經濟部中央樣準局負工消费合作社印製 '436675 A7 B7 五、發明説明(41 &gt; &lt;請先W讀背面之注意事項再填寫本頁) 1 0 4 B內側所計算之三個時脈而延遲之緩衝器7 1而輸 出,該資訊部位資料之輸出結束與錯誤偵測資訊之輸出同 步。解碼操作之時間圖係如圖十五所示* 圖十五展示圖十一解碼時之錯誤更正以及偵測方法之 實施例的時間圖。 圖十五A展示位在錯誤更正碼電路中處理之時間圖。 圖十五B展示經錯誤更正資訊的時間輸出圖。 偵測以發現錯誤是否出現係對於具有資訊部位8 2 + 重複部位8 3結構之系統碼而執行,如圖十五A之淸楚展 示。如圖十五B所示有錯誤發生的情形,資訊部位之錯誤 更正被執行,結果資料輸出至緩衝器7 1 1,且該資料以 三個時脈之延遲而自ECC電路104B中輸出。重複部 位8 3之錯誤偵測以及更正之後接著被執行。在於實施例 中,資訊部位8 2之輸出係完全與重複部位8 3之錯誤偵 測以及更正結束時同步•以藉由三個時脈而延遲自緩衝器 7 11之資訊部位8 2之輸出。 經濟部中央梂準局貝工消费合作社印家 如圖十一所示,未使用部位之偵測可藉由資訊部位+ 重複部位之碼組態以及使用除法器7 0 9以及偵測器 702而在ECC電路104B中除去。 且,更正可藉由使用乘法器708,12位元DFF 7 0 1,XOR電路7 2 1至7 2 3而在符號單元中執行 。當記憶體晶片1 0 2以上述方法以及裝置而在每個單元 中使用,適當之錯誤更正容量對於因爲處理儲存在記憶體 1 0 3中之多重値而發生之漸增之資料讀取錯誤而言係有 -44- 本紙張尺度適用中國國家標準(CNS } Α4规格(210X297公釐) 經濟部中央棣隼局貝工消費合作社印装 43 66 7 5 a? ___ B7__五、發明説明(42 ) 益的。進一步地,因爲錯誤資訊可以被輸出•允許錯誤補 償之相容資料可被有效地使用爲資料》 更進一步地,解碼時間與習知技藝之R S方法相比, 可減少至最大5 0百分比或最小3 0個百分比》 且,錯誤偵測資訊與資料輸出結束同步地輸出,使得 因爲使用者不需在输出資料後等待錯誤偵測資訊之輸出, 而讓使用者不會有限制以及不會有.不便。與習知R S方法 相同的編碼方法,經證明可使編碼時間縮短》 第一以及第二實施例之檔案系統亦可使用在數位相機 、可攜式數位輔助終端機、可攜式電話以及P H S記憶體 裝置。 圖十六係展示連接至個人電腦的數位相機、可攜式數 位輔助終端機以及可攜式電話。在此圖中,參考號9 2表 示數位相機,而參考號9 2表示可攜式數位輔助終端機。 可攜式電話8 3係可攜式數位輔助終端機之部分。且圖中 分開所示的係個人電腦9 4 (此後稱爲P C )以及記億體 晶片95,96以及97- 在此架構中,記億體晶片9 5 — 9 7可攜式媒介可簡 易地與數位相機9 1以及可攜式數位輔助終端機9 2安裝 以及移除。這些晶片可像是由快取記億體所構成之卡片式 儲存媒介以構成快取記憶體系統,而由使用者可在主要單 元中執行錯誤更正之功能。可攜式儲存媒介之介面以及形 狀可根據所使用之裝備之需要而選擇。 進一步地’例如錯誤補償之功能以P C 9 4數位相機 本紙张尺度適用中國國家櫟率(CNS ) Α4現格(210X297公釐) _ · {請先聞讀背面之注意事項再填寫本頁) 經濟部中夬標準局負工消费合作社印製 43 66 7 5 A7 _B7五、發明説明(43) 軟體以及硬體而使用記錄在數位相檻91中之資料而執行 〇 由於高密度半導體記億體、多重値儲存以及消逝( elapsed )時間所發生的改變,而使保持錯誤越來越增加。 結果,由於多重位元錯誤可在多重値記憶體儲存中而使多 重位元錯誤可能發生在單一記億體單元構件,因此E C C (錯誤更正碼)電路可對於作爲錯誤更正工具係爲有效率 E C C電路1 〇 4可以接合在記憶體晶片,且進一步的 問題係在於習知技藝之位元單元更正E C C電路並不一直 提洪足夠的信賴度。 本發明可處理在一個記億體單元構件中之多個位元錯 誤,因爲雷所門碼之方法係作爲在多重單元中執行符號更 正。進一步地,當雷所門式ECC電路1〇4裝設在記憶 體晶片中*即可解決雷所門式E C C電路1 〇 4之三個問 題,即,電路大小,解碼時間以及解碼不便的問題》 當考慮電路大小時,具有適當電路大小的著床(〇n-chip ) ECC可藉由使用編碼以及解碼電路之接合的電路 組態而得。藉由使用等式(2 4 )至等式(2 8 )所示之 演算法以作爲解碼時間的工具以縮短編碼以及解碼的時間 ,而得到大約較習知使用相同編碼系統方法的約3 0至 5 0百分比爲短的時間。 考慮解碼時間的不便,使用例如自與資訊資料輸出結 束同步的符號單元更正E C C電路1 〇 4中所輸出的錯誤 更正/偵測資訊的方法,可使得錯誤偵測資訊可與資料輸 (請先閲讀背面之注意事項再填寫本頁) 本紙朵尺度遑用中國國家橾奉(CNS ) ( 21〇X297公釐) -46- 43667 5 ;; 五、發明説明(44 ) 出之結束同步的輸出,而不會對使用者不便。 本發明可以其他特殊形式實施而部爲被本發明的基本 特色之精神。本實施例因此係爲展示各個方面而不在限制 ,本發明之範圍係藉由以下所附之申請專利範圍而標示, 而不是藉由上述描述,且與申請專利範圍等效之意義以及 範圍內的改變係在本發明之中。 (請先閱讀背面之注意ί項再填寫本頁) 經濟部中夹橾準局貞工消费合作社印策 本紙張尺度逍用中國國家棣準(CNS ) Α4规格U10X297公釐)-、 1T printed '436675 A7 B7 printed by the Central Procurement Bureau of the Ministry of Economic Affairs. V. Description of the invention (41 &gt; &lt; Please read the notes on the back before filling this page) 1 0 4 Calculated on the inside of B Three clock-delayed buffers 71 are output, and the output of the information part data is synchronized with the output of the error detection information. The time chart of the decoding operation is shown in Figure 15 * Figure 15 shows the time chart of the embodiment of the error correction and detection method in Figure 11 decoding. Fig. 15A shows a timing chart of bit processing in the error correction code circuit. FIG. 15B shows a time output diagram of the error correction information. The detection to find out whether an error occurs or not is performed for a system code having an information part 8 2 + repeated part 8 3 structure, as shown in Fig. 15A. As shown in Fig. 15B, an error occurs. The error correction of the information part is performed. As a result, the data is output to the buffer 7 1 1 and the data is output from the ECC circuit 104B with a delay of three clocks. The error detection and correction of the repeated part 83 is then executed. In the embodiment, the output of the information part 8 2 is completely synchronized with the error detection of the repeated part 8 3 and the end of the correction. To delay the output of the information part 8 2 from the buffer 7 11 by three clocks. As shown in Figure XI, the Central Government of the Ministry of Economic Affairs of the Central Working Group of the Bayong Consumer Cooperative, the detection of unused parts can be configured by the code configuration of the information part + repeated parts and the use of the divider 709 and detector 702. It is removed in the ECC circuit 104B. Also, the correction can be performed in a symbol unit by using a multiplier 708, a 12-bit DFF 7 0 1, and an XOR circuit 7 2 1 to 7 2 3. When the memory chip 102 is used in each unit with the above-mentioned method and device, the appropriate error correction capacity is for the increasing data read errors that occur as a result of processing the multiple buffers stored in the memory 103. The wording is -44- This paper size is applicable to the Chinese national standard (CNS) Α4 size (210X297 mm) Printed by the Central Government Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperatives 43 66 7 5 a? ___ B7__ V. Description of the invention (42 ). Further, because error information can be output. • Compatible materials that allow error compensation can be effectively used as data. ”Furthermore, the decoding time can be reduced to a maximum of 5 compared with the RS method of conventional techniques. 0% or minimum 30% "Moreover, the error detection information is output synchronously with the end of the data output, so that the user does not need to wait for the output of the error detection information after outputting the data, so that the user will not have restrictions and There will be no inconvenience. The same coding method as the conventional RS method has been proven to shorten the coding time. The file systems of the first and second embodiments can also be used in digital phase. , Portable digital assistant terminal, portable phone and PHS memory device. Figure 16 shows the digital camera, portable digital assistant terminal and portable phone connected to the personal computer. In this figure, Reference numeral 92 refers to a digital camera, and reference numeral 92 refers to a portable digital assistant terminal. The portable telephone 8 3 is a part of the portable digital assistant terminal. The personal computer 9 is shown separately in the figure. 4 (hereafter referred to as PC) and memory chips 95, 96, and 97- In this architecture, the memory chip 9 5 — 9 7 portable media can be easily connected with the digital camera 9 1 and the portable digital assistant Terminal 92 is installed and removed. These chips can be like a card-type storage medium composed of cache memory to form a cache memory system, and the user can perform the function of error correction in the main unit. The interface and shape of the portable storage medium can be selected according to the needs of the equipment used. Further 'For example, the function of error compensation is based on the PC 9 4 digital camera. (210X297 mm) _ · {Please read and read the notes on the back before filling out this page) Printed by the Consumers' Cooperative of the China Standards Bureau of the Ministry of Economic Affairs 43 66 7 5 A7 _B7 V. Description of the invention (43) Software and hardware The use of the data recorded in the digital phase threshold 91 is performed. Due to the changes in the high-density semiconductor memory, multiple plutonium storage, and elapsed time, holding errors are increasing. As a result, ECC (Error Correction Code) circuits can be effective ECC as an error correction tool because multiple bit errors can occur in multiple memory units and multiple bit errors can occur in a single memory cell unit. Circuit 104 can be bonded to a memory chip, and a further problem is that the bit unit correction ECC circuit of the conventional technique does not always provide sufficient reliability. The present invention can handle multiple bit errors in a memory unit component, because the method of the Thunder Gate code is performed as a symbol correction in multiple units. Further, when Thunderbolt-type ECC circuit 104 is installed in a memory chip *, three problems of Thunderbolt-type ECC circuit 104 can be solved, namely, circuit size, decoding time, and inconvenience of decoding. 》 When considering the circuit size, the ECC (on-chip) ECC with the appropriate circuit size can be obtained by the circuit configuration using the junction of the encoding and decoding circuits. By using the algorithm shown in equations (2 4) to (2 8) as a tool for decoding time to shorten the encoding and decoding time, about 3 0 more approximately than the conventional method using the same encoding system is obtained. To 50 percent is a short time. Considering the inconvenience of the decoding time, the method of correcting the error correction / detection information outputted from the ECC circuit 104 by using the symbol unit synchronized with the end of the information data output can make the error detection information be compatible with the data input (please Read the notes on the back and fill in this page again.) This paper uses the Chinese National Standards (CNS) (21 × 297 mm) -46- 43667 5; V. The output of the invention (44) ends the synchronization. Without inconvenience to the user. The invention may be embodied in other specific forms that are part of the spirit that is a basic feature of the invention. This embodiment is therefore intended to show various aspects without limitation. The scope of the present invention is indicated by the scope of patent application attached below, rather than by the above description, and the meaning and scope of the scope equivalent to the scope of patent application. Changes are in the present invention. (Please read the note on the back first and then fill out this page.) Printing policy of the Ministry of Economic Affairs of the Zhengzhou Bureau of Zhenggong Consumer Cooperative Co., Ltd. This paper size is in accordance with China National Standard (CNS) Α4 size U10X297 mm.

Claims (1)

經濟部中*梂率局Λ工消费合作社印装 B8 C8 D8六、申請專利範圍 1 . 一種記億體再生裝置,包含位在記憶體晶片上之 記憶體,以及作爲將儲存在該記億體晶片內側之編碼資料 資訊予以錯誤更正以及作爲產生一錯誤更正信號之內部錯 誤更正碼電路,且該內部錯誤更正碼電路使用讀取自記憶 體之錯誤更正碼以將該錯誤更正碼解碼。 2.如申請專利範圍第1項所述之記憶體再生裝置, 其中該內部錯誤更正碼電路係由編碼電路所組成,該編碼 電路係作爲將該資料資訊之編碼予以錯誤更正,且亦具有 一解碼電路以作爲將執行錯誤更正之該資料資訊予以解碼 0 3·如申請專利範圍第2項所述之記億體再生裝置, 其中該編碼電路以及該解碼電路係結合使用在該內部錯誤 更正碼電路》 4 .如申請專利範圍第1項所述之記憶體再生裝置* 其中該內部錯誤更正碼電路係由一除法器以及錯誤更正執 行機構所組成,該除法器係作爲在錯誤更正解碼時將錯誤 更正電路之多個位元之操作處理結果予以連續相除,而該 錯誤更正執行機構係當除法結果滿足特殊狀況時而執行; 以及一結束資料解碼機構以在當碼長度之資料输入時執行 ,以及當該除法結果不滿足該特殊狀況,甚至當所有輸入 資料之解碼時,一將錯誤偵測資訊輸出至外部電路的機構 〇 5.如申請專利範圍第4項所述之記憶體再生裝置, 其中該除法器係由多個除法電路所組成,且一錯誤更正機 436675 (請先W讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國Β家揉率{ CNS ) Α4规林(210X297公釐)-48 - Α843 66 7 5 cf DS 經濟部中央梂準局属工消费合作社印製 六、申請專利範圍 構係包含一偵測器以及NOR電路,以在當倆自該錯誤更 正機構之結果與來自於該多個除法器電路之結果相同時. 執行錯誤更正,以及當NOR電路之輸出不等於1 (―) 時’該錯誤更正機構輸出錯誤資訊。 6 .如申請專利範圍第1項所述之記憶體再生裝置, 其中該內部錯誤更正碼電路係包含一錯誤更正電路以及重 複位元持有機構.,該機構係在當錯誤更正解碼時,將作爲 重複位元部位而將至資訊資料中之該错誤更正電路之處理 結果予以保持,以及藉由以等於加至資訊資料之重複位元 部位之數暈而在錯誤更正解碼時,而將位在內部錯誤更正 碼電路中所處理之開端處予以延遲,而在當錯誤更正電路 之處理結束時,將所解碼資料輸出予以同步結束。 7.如申請專利範園第6項所述之記憶體再生裝置, 其中該重複位元持有機構係由緩衝器所予以組構。 8 .如申請專利範圍第1項所述之記憶體再生裝置, 其中該該內部錯誤更正碼電路係輸入一特殊値,該値係根 據對應於錯誤更正碼解碼時所使用之碼長度之特殊量而予 以建立,以及將含有資訊資料以及重複位元部位的錯誤更 正碼之碼組態予以改變。 9 _如申請專利範圍第8項所述之記憶體再生裝置, 其中該特殊値係爲零(0)。 10.如申請專利範圍第8項所述之記億體再生裝置 ,其中該內部錯誤更正碼電路係含有一機構,在當錯誤更 正碼被編碼時,該特殊値最好以對應於被使用之碼長度之 本紙張尺度逋用中國國家#準(CNS ) A4规格(210XW7公釐)ΓΣαΊ --:---:------I-I (請先Η讀背面之注意事項再填寫本頁 訂 經濟部中央標準局貝工消費合作社印製 4366 7 5 g! ^__ r _·-______六、申請專利範圍 特殊計量而輸入至編碼電路,且該錯誤更正碼經組構以使 重複位元値於資訊資料之前方。 11.如申請專利範圍第10項所述之記憶體再生裝 置’其中該特殊値係爲零(〇 ) » 1 2 _如申請專利範圍第1項所述之記憶體再生裝置 ’包含一執行機構以執行資訊資料之更正碼以及將位在內 部錯誤更正碼電路之重複位元,以及在錯誤更正編碼以及 解碼時將位在資訊資料之前之重複位元結果予以處理,以 及其中該所解碼資料之輸出在當藉由內部錯誤更正碼電路 結束處理時,而同步地結束。 1 3 .如申請專利範圍第1項所述之記憶體再生裝置 1其中該使用在內部錯誤更正碼電路之錯誤更正碼係爲雷 所門碼。 1 4 種可攜式數位輔助終端機,含有一具有內部 儲存記憶體之記億體晶片以及內部裝設有錯誤更正碼電路 之記憶體再生裝置,以執行將儲存在記憶體晶片內側之資 訊資料執行錯誤更正編碼,以及亦產生一錯誤更正碼;且 該記憶體再生裝置之內部錯誤更正碼電路亦藉由使用讀取 自該記憶體中之錯誤更正碼而將錯誤更正碼予以解碼:以 及其中該記憶體再生裝置進一步地具有將資料以及暫時儲 存以及將資料交換的能力。 1 5 .—種數位相機,包含一具有內部儲存記億體之 記憶體晶片以及裝設有內部錯誤更正碼電路之記億體再生 裝置*以將儲存在記憶體晶片內側之資訊資料執行錯誤更 本紙張尺度遑用中困國家樣準(CNS ) Α4洗格(210X297公釐)· 50 - 1 1 I I I : I &gt;Λ. I I ,ΤΓ-I (請先W讀背面之注意事項再填寫本頁) M濟部中央搮隼扃負工消费合作社印輦 B84 3 66 7 5 _g__六、申請專利範圍 正編碼’以及亦產生一錯誤更正碼;以及該內部錯誤更正 碼電路亦使用讀取自該記憶體之錯誤更正碼而將錯誤更正 信號予以解碼:且其中該記憶體再生裝置具有將資料以及 暫時儲存以及將資料交換的能力。 1 6 .—種將記憶體再生裝置更正之方法,該裝置包 含一具有內部儲存記憶體以及內部錯誤更正電路之記憶體 晶片,以將儲存在記憶體晶片內側之資訊資料執行錯誤更 正編碼,以及亦產生一錯誤更正碼:且該更正方法包含在 當錯誤更正解碼時,將內部錯誤更正碼電路之多個位元之 操作處理結果予以連續相除的步驟,以及當相除結果滿足 —特殊狀況時,對於內部錯誤更正碼電路中予以執行錯誤 更正的步驟:以及將錯誤偵測資訊輸出至內部錯誤更正碼 電路之外部部位的步驟,當該除法結果不滿足該特殊狀況 ,甚至當所有輸入資料之解碼完成時。 1 7 . —種將記億體再生裝置更正之方法,該裝置包 含一具有內部儲存記憶體以及內部錯誤更正電路之記憶體 晶片,以將儲存在記億體晶片內側之資訊資料執行錯誤更 正編碼,以及亦產生一錯誤更正碼:以及該更正方法進一 步地包含藉由以等於加至資訊資料之重複位元部位之數量 而在錯誤更正解碼時,將位在內部錯誤更正碼電路中所處 理之開端處予以延遲,而在當錯誤更正電路之處理結束時 ,將所解碼資料输出予以同步結束之步驟。 1 8 . —種將記憶體再生裝置更正之方法,該裝置包 含一具有內部儲存記億體以及內部錯誤更正電路之記憶體 本紙張尺度逍用中國國家#隼(CNS ) A4规格(210&gt;&lt;297公釐)&quot;&quot;&quot;:51 - (請先S讀背面之注f項再填寫本K ) 訂 4366 7 5 cl D8 六、申請專利範圍 晶片’以將儲存在記憶體晶片內側之資訊資料執行錯誤更 正編碼,以及亦產生一錯誤更正碼;以及該更正方法進一 步地包含藉由當錯誤更正編碼時,以對應於所使用之碼長 度之特殊計量而連續輸入一特殊値至編碼電路,而改變資 訊資料以及重複位元部位的組態的步驟,以及在錯誤更正 解碼時將位在資訊資料之前之重複位元部位之操作結果予 以處理,以及當內部錯誤更正碼電路操作處理結束時,而 同步地輸出解碼資料的步驟。 -----*--------- (請先Μ讀背面之注^項再填寫本頁) 訂. 經濟部中央螵準局貝工消费合作社印裂 本紙張尺度逍用中國國家揲奉(CNS)A4规格(210x297公釐) 52 ·Printed by the Ministry of Economic Affairs of the Bureau of Industrial and Commercial Cooperatives, B8, C8, and D8 6. Scope of patent application 1. A device for recording billions of cells, including a memory on a memory chip, and as a storage device for the billions of records The coded data information on the inside of the chip is subjected to error correction and an internal error correction code circuit that generates an error correction signal, and the internal error correction code circuit uses an error correction code read from the memory to decode the error correction code. 2. The memory reproduction device according to item 1 of the scope of the patent application, wherein the internal error correction code circuit is composed of an encoding circuit, and the encoding circuit is used to correct errors of the data information, and also has a The decoding circuit is used to decode the data information for performing error correction. 0. As described in the item 2 of the scope of patent application, the recording device is recorded in the billionth body, wherein the encoding circuit and the decoding circuit are used in combination with the internal error correction code. "Circuit" 4. The memory regeneration device as described in the first item of the patent application scope *, wherein the internal error correction code circuit is composed of a divider and an error correction executing mechanism, and the divider is used as The operation processing results of multiple bits of the error correction circuit are continuously divided, and the error correction execution mechanism is executed when the division result satisfies a special condition; and an end data decoding mechanism is executed when data of code length is input. , And when the division result does not satisfy the special situation, or even when all input data is decoded, one will A mechanism for outputting error detection information to an external circuit. 5. The memory regeneration device described in item 4 of the scope of patent application, wherein the divider is composed of a plurality of division circuits, and an error correction machine 436675 (please first W Read the notes on the back of the page and fill in this page again.) This paper size is based on China ’s B family rate {CNS) Α4 gauge (210X297 mm) -48-Α843 66 7 5 cf DS Cooperative printed 6. The scope of the patent application structure includes a detector and a NOR circuit when the results from the error correction mechanism are the same as those from the multiple divider circuits. Error correction is performed, and when When the output of the NOR circuit is not equal to 1 (―), the error correction mechanism outputs error information. 6. The memory reproduction device according to item 1 of the scope of the patent application, wherein the internal error correction code circuit includes an error correction circuit and a duplicate bit holding mechanism. When the error correction decoding is performed, the mechanism The processing result of the error correction circuit to the information data is maintained as a repeated bit position, and the bit is corrected when the error correction is decoded by a number equal to the number of repeated bit positions added to the information data. The processing is delayed at the beginning of the internal error correction code circuit, and when the processing of the error correction circuit ends, the decoded data output is synchronized to end. 7. The memory reproduction device according to item 6 of the patent application park, wherein the repeating bit holding mechanism is configured by a buffer. 8. The memory reproduction device according to item 1 of the scope of the patent application, wherein the internal error correction code circuit is input with a special code, which is based on a special quantity corresponding to a code length used in decoding the error correction code. It is created, and the code configuration containing error correction codes for information data and repeated bits is changed. 9 _ The memory reproduction device described in item 8 of the scope of patent application, wherein the special system is zero (0). 10. The device for regenerating billions of years as described in item 8 of the scope of the patent application, wherein the internal error correction code circuit includes a mechanism, and when the error correction code is encoded, the special code is preferably corresponding to the used code. The paper size of the code length uses the Chinese national standard (CNS) A4 specification (210XW7 mm) ΓΣαΊ-: ---: ------ II (Please read the precautions on the back before filling this page Ordered by the Central Standards Bureau of the Ministry of Economic Affairs and printed by the Shellfish Consumer Cooperative, 4366 7 5 g! Yuan Yuan is before the information materials. 11. The memory regeneration device described in item 10 of the scope of patent application 'wherein the special unit is zero (0) »1 2 _memory as described in item 1 of the scope of patent application The volume reproduction device includes an executing mechanism to execute the correction code of the information data and the repeated bits that are located in the internal error correction code circuit, and to process the repeated bit results that precede the information data during the error correction encoding and decoding. , And its The output of the decoded data is ended synchronously when the processing is ended by the internal error correction code circuit. 1 3. The memory reproduction device 1 described in the first item of the patent application scope, wherein the internal error correction is used. The error correction code of the code circuit is the Thunder Gate code. 1 4 kinds of portable digital auxiliary terminals, including a memory chip with internal storage memory and a memory regeneration device with an error correction code circuit inside To execute the error correction coding of the information data stored inside the memory chip, and also generate an error correction code; and the internal error correction code circuit of the memory reproduction device also reads from the memory by using The error correction code is decoded: and the memory reproduction device further has the ability to store data and temporarily store and exchange data. 1 5. — A digital camera including an internal storage memory Memory chip and memory regenerating device with internal error correction code circuit * to store in memory chip The information is incorrectly executed in this paper. The paper size is in the standard of the poor countries (CNS). Α4 wash grid (210X297 mm) · 50-1 1 III: I &gt; Λ. II, ΤΓ-I (Please read the back first Please pay attention to this page before filling in this page) Seal of the Ministry of Economic Affairs, Central Labor and Consumer Cooperatives, B84 3 66 7 5 _g__ VI. The patent application scope is positively coded and an error correction code is also generated; The circuit also uses the error correction code read from the memory to decode the error correction signal: and the memory regeneration device has the ability to temporarily store data and exchange data. 1 6. A kind of memory regeneration A method for correcting a device. The device includes a memory chip with internal storage memory and an internal error correction circuit to perform error correction coding on information data stored inside the memory chip, and also generates an error correction code: and the The correction method includes the steps of successively dividing the operation processing results of multiple bits of the internal error correction code circuit when the error correction is decoded, and The result is satisfied—in special conditions, the steps for performing error correction in the internal error correction code circuit: and the step of outputting error detection information to an external part of the internal error correction code circuit. When the division result does not satisfy the special condition, Even when decoding of all input data is complete. 17. A method for correcting a memory device for regenerating billions of memory. The device includes a memory chip having internal storage memory and an internal error correction circuit to perform error correction coding on information stored inside the memory of billions of chips. , And also generates an error correction code: and the correction method further includes processing the bits in the internal error correction code circuit when decoding the error correction by an amount equal to the number of repeated bit positions added to the information data. The start is delayed, and when the processing of the error correction circuit is ended, the decoded data output is synchronized to the end step. 1 8. A method for correcting a memory regeneration device, the device includes a memory with internal storage memory and internal error correction circuit. This paper is scaled to China # 国家 (CNS) A4 specification (210 &gt; &lt; 297 mm) &quot; &quot; &quot;: 51-(Please read the note f on the back and fill in this K first) Order 4366 7 5 cl D8 VI. Patent application scope chip 'to be stored inside the memory chip The information data performs error correction coding, and also generates an error correction code; and the correction method further includes continuously inputting a special frame to the code with a special measurement corresponding to the used code length when the error correction coding is performed. Circuit, the steps of changing the configuration of the information data and the repeated bit parts, and processing the operation results of the repeated bit parts located before the information data when the error correction decoding is performed, and when the internal error correction code circuit operation processing ends Steps to output decoded data synchronously. ----- * --------- (Please read the note ^ on the back before filling in this page) Order. Printed on paper scales by the Central Laboratories of the Ministry of Economic Affairs CNS A4 size (210x297 mm) 52 ·
TW087121815A 1998-01-07 1998-12-29 Memory reproduction device, error correciton method, and portable information terminal and digital camera using the same TW436675B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP132498 1998-01-07

Publications (1)

Publication Number Publication Date
TW436675B true TW436675B (en) 2001-05-28

Family

ID=11498327

Family Applications (1)

Application Number Title Priority Date Filing Date
TW087121815A TW436675B (en) 1998-01-07 1998-12-29 Memory reproduction device, error correciton method, and portable information terminal and digital camera using the same

Country Status (2)

Country Link
KR (1) KR100290964B1 (en)
TW (1) TW436675B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4534498B2 (en) * 2004-01-28 2010-09-01 ソニー株式会社 Semiconductor device and its startup processing method
KR100680473B1 (en) 2005-04-11 2007-02-08 주식회사 하이닉스반도체 Flash memory device with reduced access time

Also Published As

Publication number Publication date
KR19990066892A (en) 1999-08-16
KR100290964B1 (en) 2002-04-17

Similar Documents

Publication Publication Date Title
KR950012983B1 (en) Reed solomon decoding method
US7844880B2 (en) Error correction for flash memory
US4706250A (en) Method and apparatus for correcting multibyte errors having improved two-level code structure
EP0387924B1 (en) Method and apparatus for decoding error correction code
EP0567148B1 (en) Operating circuit for galois field
US7231585B2 (en) Error correction for flash memory
US10635528B2 (en) Memory controller and method of controlling memory controller
JPS6354254B2 (en)
US8332727B2 (en) Error correction circuit, flash memory system including the error correction circuit, and operating method of the error correction circuit
Wang et al. Reliable MLC NAND flash memories based on nonlinear t-error-correcting codes
JPH0421944B2 (en)
EP0438907A2 (en) Improved error trapping decoding method and apparatus
TW436675B (en) Memory reproduction device, error correciton method, and portable information terminal and digital camera using the same
KR100258951B1 (en) Rs decoder having serial expansion architecture and method therefor
TW499685B (en) Error-correcting code adapted for memories that store multiple bits per storage cell
US7904786B2 (en) Assisted memory system
JPH11143787A (en) Recording and reproducing device
US7228490B2 (en) Error correction decoder using cells with partial syndrome generation
EP0341851A2 (en) Method and apparatus for interleaved encoding
US6728052B2 (en) Recording/reproducing apparatus, error correcting coding method and information recording method
CN101931415A (en) Encoding device and method, decoding device and method as well as error correction system
JPH11272568A (en) Storage reproducer, error correction method, portable information terminal and digital camera using the same
JPH07226687A (en) Error correction processor
JP2603613B2 (en) Information storage device
JP2000349652A (en) Storage device provided with error correction means

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent