JPS6223338B2 - - Google Patents
Info
- Publication number
- JPS6223338B2 JPS6223338B2 JP55081621A JP8162180A JPS6223338B2 JP S6223338 B2 JPS6223338 B2 JP S6223338B2 JP 55081621 A JP55081621 A JP 55081621A JP 8162180 A JP8162180 A JP 8162180A JP S6223338 B2 JPS6223338 B2 JP S6223338B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- write
- information
- bank
- circuit
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】
本発明は、記憶装置、特に、誤り訂正機能を有
するとともにインタリーブ機能を有している場合
の部分書込動作に関わる書込データ系の回路構成
に特徴を有する記憶装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a storage device, particularly a storage device characterized by a circuit configuration of a write data system related to a partial write operation when it has an error correction function and an interleave function. Regarding.
第1図に従来の誤り訂正ができる記憶装置の構
成を示す。同図は4つのバンクに対しての回路構
成例を示してあり、以下、回路構成および動作を
説明する。 FIG. 1 shows the configuration of a conventional storage device capable of error correction. This figure shows an example of the circuit configuration for four banks, and the circuit configuration and operation will be explained below.
一般的に、部分書込動作とは、記憶装置と外部
処理装置との間でとり決めたデータ処理幅(普通
複数バイトで構成されている)が、記憶装置内で
アドレス付けされて記憶されており、このデータ
処理幅の内、外部処理装置からの指定されるバイ
ト位置の情報を、外部処理装置から送られてくる
対応するバイトの情報に置換させ、その他指定さ
れないバイトの情報は、以前の情報とし記憶装置
に書込む動作を云う。 In general, a partial write operation means that a data processing width (usually made up of multiple bytes) agreed upon between the storage device and an external processing device is addressed and stored within the storage device. Within this data processing width, the information in the specified byte position from the external processing device is replaced with the corresponding byte information sent from the external processing device, and the information in other bytes not specified is replaced with the previous information. Refers to the operation of writing information into a storage device.
従つて、誤り訂正機能を有する記憶装置の部分
書込動作ではデータと誤り訂正符号の一致性を保
つため、まず、指定されたアドレスの情報を記憶
回路より読出し、エラーの有無のチエツクを行
い、訂正可能なエラーがあれば修正を行い、その
後外部処理装置から指定されているバイト位置に
のみ外部処理装置からの書込データに置換させ、
再度誤り訂正符号を付加させて記憶回路へ書込む
ことになる。 Therefore, in a partial write operation of a storage device having an error correction function, in order to maintain consistency between the data and the error correction code, the information at the specified address is first read from the storage circuit, and the presence or absence of an error is checked. If there is a correctable error, it is corrected, and then only the byte position specified by the external processing device is replaced with the write data from the external processing device.
The error correction code is added again and written into the storage circuit.
このような動作を実現するには外部処理装置か
ら転送される書込みデータ10は、バンク対応に
対して時分割的に記憶装置に供給される。この書
込みデータが供給されたデータ切り替え回路36
では、切り替え制御信号23により外部処理装置
からの書込みデータか、または部分書込み動作時
の再書込みデータかの選択切り替えが行なわれ
る。この回路の出力データ11は、バンク対応に
従い発生するタイミング信号24,25,26お
よび27に応答して、それぞれのバンクの第1書
込みデータ保持回路38,39,40および41
に、一時記憶されるとともに誤り訂正符号発生回
路37にも供給され、ここでデータ11に基づき
誤り訂正符号および書き込みデータが発生され、
データ18が出力される。その後データ18はバ
ンク対応に従い発生するタイミング信号32,3
3,34および35に対答して各バンクに対応す
る記憶部52,53,54および55に具備して
いる第2書込みデータ保持回路44,45,46
および47に一時記憶され、これら回路44―4
7の出力データ19,20,21および22がバ
ンク対応の記憶回路48,49,50および51
に供給される。 To realize such an operation, write data 10 transferred from an external processing device is supplied to the storage device in a time-division manner in correspondence with banks. Data switching circuit 36 supplied with this write data
Then, the switching control signal 23 is used to select and switch between write data from an external processing device and rewrite data during a partial write operation. The output data 11 of this circuit is transmitted to the first write data holding circuits 38, 39, 40 and 41 of each bank in response to timing signals 24, 25, 26 and 27 generated according to bank correspondence.
The data 11 is temporarily stored and also supplied to the error correction code generation circuit 37, where an error correction code and write data are generated based on the data 11.
Data 18 is output. After that, data 18 is generated by timing signals 32 and 3 according to bank correspondence.
3, 34 and 35, the second write data holding circuits 44, 45, 46 provided in the storage units 52, 53, 54 and 55 corresponding to each bank
and 47, and these circuits 44-4
7 output data 19, 20, 21 and 22 are stored in memory circuits 48, 49, 50 and 51 corresponding to banks.
supplied to
一方、部分書込み動作の場合には、外部処理装
置から指定されたバンクの書込データを選択する
ために、第1書込み保持回路38―41の出力デ
ータ12,13,14および15が与えられたデ
ータ切替え回路42でバンク選択制御信号28お
よび29により指定されたバンクのデータが選択
出力され出力データ16が出力される。この出力
データ16は記憶装置に対して新たにデータの更
新を所望する書込データとなり次段のデータ切替
え回路43に供給され、このデータ切替え回路4
3においては前述の説明のように、まず指定され
たアドレスのバンク対応記憶部内の記憶回路から
読出されたデータが、誤り訂正回路を介して転送
され読出しデータ30との間で、指定されたバン
ク対応に準じた複数のデータバイト位置指定制御
切替え信号31により、データ16の全てのデー
タバイトを出力データとして選択するか、また
は、読出しデータ30を出力データとして選択す
るか、または、データ16の一部のデータバイト
と、残りのデータバイトを読出しデータ30とし
て選択するかのデータをバイト位置指定により、
データ交換の切り替えを行う。この回路の出力デ
ータ17がバンク対応に従う部分書込み動作の再
書込みデータとなり、データ切り替え回路36に
供給され、切り替え制御信号23により、再度誤
り訂正符号発生回路37に転送される。 On the other hand, in the case of a partial write operation, the output data 12, 13, 14 and 15 of the first write holding circuit 38-41 are given to select the write data of the specified bank from the external processing device. The data switching circuit 42 selects and outputs the data of the bank designated by the bank selection control signals 28 and 29, and outputs the output data 16. This output data 16 becomes write data for newly requesting data update to the storage device and is supplied to the data switching circuit 43 at the next stage.
3, as described above, the data read from the storage circuit in the bank-corresponding storage section at the specified address is transferred via the error correction circuit and transferred to the specified bank. A plurality of data byte position designation control switching signals 31 according to the correspondence select all data bytes of data 16 as output data, select read data 30 as output data, or select one of data bytes 16 as output data. By specifying the byte position, the remaining data bytes and the remaining data bytes are selected as read data 30.
Switch data exchange. Output data 17 of this circuit becomes rewrite data for a partial write operation according to bank correspondence, is supplied to a data switching circuit 36, and is again transferred to an error correction code generation circuit 37 in response to a switching control signal 23.
ここで、再書込みデータに対する誤り訂正符号
および書込みデータが発生されて、指定されたバ
ンク対応に従う52,53,54および55の記
憶部内の第2書込みデータ保持回路44,45,
46,および47に再度一時記憶されて、指定さ
れたバンク対応の記憶回路48,49,50およ
び51に供給され、部分書込み動作時の書込みデ
ータの転送が完了する。これらの回路構成では、
記憶装置の記憶容量を増加接続を行うに従い、記
憶部内の第2書込みデータ保持回路の増加が必然
的に生ずることになり、使用電気部品の増加にと
もなう装置の信頼度低下を招くという欠点があ
る。 Here, an error correction code and write data for the rewrite data are generated, and the second write data holding circuits 44, 45 in the storage sections 52, 53, 54 and 55 according to the specified bank correspondence are generated.
The data is temporarily stored again in 46 and 47 and supplied to storage circuits 48, 49, 50 and 51 corresponding to the designated bank, completing the transfer of write data during the partial write operation. In these circuit configurations,
As the storage capacity of the storage device is increased and connections are made, the number of second write data holding circuits within the storage section will inevitably increase, which has the drawback of reducing the reliability of the device due to the increase in the number of electrical components used. .
本発明の目的は上述の欠点を解決するようにし
た記憶装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a storage device that overcomes the above-mentioned drawbacks.
本発明の記憶装置は、外部処理装置からの要求
により指定されたアドレスに対して書込動作、読
出動作および部分書込動作が可能な記憶装置にお
いて、外部処理装置から与えられる第1の書込デ
ータと部分書込動作時の再書込データとのどちら
か一方を選択し第2の書込データを出力する第1
のデータ切替手段36と、前記第2の書込データ
とこの第2の書込データに対する誤り訂正符号と
からなる書込情報を作成して出力する情報手段3
7と、前記書込情報をバンク毎に格納する複数の
一時格納手段38〜41と、前記複数の一時格納
手段のそれぞれに一対一対応に設けられかつ対応
する一時格納手段からの書込情報を記憶する複数
の記憶手段48〜51と、前記複数の一時格納手
段からの複数の書込情報から対応するバンクへの
書込情報を選択し選択された書込情報と、前記複
数の記憶手段のうちの対応するバンクから読み出
した読出情報との間で情報の部分的置換を行い部
分書込動作時に再書込データとして送出する第2
のデータ切替手段42,43とを含んで構成され
る。 The storage device of the present invention is a storage device capable of writing, reading, and partial writing to an address specified by a request from an external processing device. The first selects either the data or the rewrite data during partial write operation and outputs the second write data.
data switching means 36, and information means 3 for creating and outputting write information consisting of the second write data and an error correction code for the second write data.
7, a plurality of temporary storage means 38 to 41 for storing the write information for each bank, and a plurality of temporary storage means provided in a one-to-one correspondence with each of the plurality of temporary storage means, and storing write information from the corresponding temporary storage means. The plurality of storage means 48 to 51 to store, the write information selected by selecting the write information to the corresponding bank from the plurality of write information from the plurality of temporary storage means, and the selected write information of the plurality of storage means. A second memory that performs partial replacement of information with the read information read from the corresponding bank and sends it out as rewrite data during a partial write operation.
data switching means 42 and 43.
次に本発明について図面を参照して詳細に説明
する。 Next, the present invention will be explained in detail with reference to the drawings.
第2図を参照すると、本発明の一実施例は、部
分書込動作時の再書込みデータ17と外部処理装
置からの書込みデータ10とのどちらか一方を切
替制御信号23の指定により出力するデータ切替
え回路36、この回路36からの出力データ11
に基づいて誤り訂正符号を発生させ前記データ1
1に付加して出力する誤り訂正符号発生回路3
7、この誤り訂正符号発生回路37からのデータ
18をタイミング信号24,25,26および2
7に応答して保持させる書込みデータ保持回路3
8,39,40および41、これらの書込みデー
タ保持回路38―41からの書込みデータを記憶
する記憶回路48,49,50および51、前記
書込みデータ12〜15のうちの1つを前記バン
ク制御信号28および29により出力するデータ
切替え回路42およびこのデータ切替え回路42
からのデータ16と部分書込動作時に、まず指定
されたアドレスのバンクに対応する記憶回路より
読出されたデータが誤り訂正回路を経て得られる
読出しデータ30との間で指定されたデータバイ
ト位置指定制御切替え信号31により新たに記憶
回路へ書込むべきデータの部分的置換を行うデー
タ切替え回路43から構成されている
次に本発明の動作を第2図を参照しながら詳細
に説明する。 Referring to FIG. 2, one embodiment of the present invention outputs either rewrite data 17 during a partial write operation or write data 10 from an external processing device by specifying a switching control signal 23. Switching circuit 36, output data 11 from this circuit 36
generates an error correction code based on the data 1
Error correction code generation circuit 3 which is added to 1 and outputs
7. The data 18 from this error correction code generation circuit 37 is sent to timing signals 24, 25, 26 and 2.
Write data holding circuit 3 for holding in response to 7
8, 39, 40 and 41, storage circuits 48, 49, 50 and 51 that store write data from these write data holding circuits 38-41, and one of the write data 12 to 15 as the bank control signal. 28 and 29 output data switching circuit 42 and this data switching circuit 42
The data byte position specified between the data 16 from the data 16 and the read data 30, which is obtained after the data read from the storage circuit corresponding to the bank at the specified address first passes through the error correction circuit during the partial write operation. It is comprised of a data switching circuit 43 that partially replaces data to be newly written to the storage circuit in response to a control switching signal 31. Next, the operation of the present invention will be explained in detail with reference to FIG.
先ず外部処理装置から、バンク対応に従い時分
割的に記憶装置に供給される書込みデータ10は
データ切替え回路36に入力され、ここで切替え
制御信号23により外部処理装置から書込みデー
タまたは部分書き込み動作時の再書き込みデータ
17の選択が行われる。この回路36の出力デー
タ11は、誤り訂正符号発生回路37に入力され
データ11に従い誤り訂正符号と書き込みデータ
との発生が行われ、出力データ18が発生され
る。そのあとで該データ18はバンク対応に従い
発生するタイミング24,25,26および27
により、それぞれのバンクに対応する書込みデー
タ保持回路38,39,40および41に一時記
憶される。これら保持回路の出力データ12,1
3,14および15はそれぞれ対応するバンクの
記憶回路48,49,50および51に供給され
ると同時にデータ切替え回路42にも供給され
る。このデータ切替え回路42では、部分書込み
動作の場合、書込みデータ保持回路38―41か
ら供給されるそれぞれのバンクの書込みデータ1
2,13,14および15からバンク選択制御信
号28および29によりどのバンクのデータを出
力するかの選択が行なわれ、その結果であるデー
タ16が出力される。該データ16は、次段のデ
ータ切り替え回路43に供給される。一方、バン
ク対応の記憶回路からの読出しデータが誤り訂正
回路を介して供給される読出しデータ30が前記
データ切替え回路43に供給される。 First, the write data 10 that is supplied from the external processing device to the storage device in a time-divisional manner according to the bank correspondence is input to the data switching circuit 36, where the switching control signal 23 causes the write data 10 to be supplied from the external processing device to the storage device in a time-sharing manner or during a partial write operation. Selection of rewrite data 17 is performed. The output data 11 of this circuit 36 is input to an error correction code generation circuit 37, and an error correction code and write data are generated according to the data 11, and output data 18 is generated. After that, the data 18 is generated at timings 24, 25, 26 and 27 according to the bank correspondence.
As a result, the write data is temporarily stored in write data holding circuits 38, 39, 40 and 41 corresponding to the respective banks. Output data 12,1 of these holding circuits
3, 14, and 15 are supplied to the storage circuits 48, 49, 50, and 51 of the corresponding banks, respectively, and at the same time, they are also supplied to the data switching circuit 42. In this data switching circuit 42, in the case of a partial write operation, the write data 1 of each bank supplied from the write data holding circuits 38-41
2, 13, 14, and 15, bank selection control signals 28 and 29 select which bank data is to be output, and the resultant data 16 is output. The data 16 is supplied to the data switching circuit 43 at the next stage. On the other hand, read data 30, which is read data from a storage circuit corresponding to a bank and is supplied via an error correction circuit, is supplied to the data switching circuit 43.
前記データ16と該読出しデータ30とのどち
らか一方が、バンク対応に準じた複数のデータブ
ロツク位置指定制御切り替え信号31の指定によ
り、前記データ16の全てのデータバイトを出力
データとして選択するか、または、前記読出しデ
ータ30を出力データとして選択するか、または
前記データ16の一部のデータバイトと、残りデ
ータバイトを前記読出しデータ30として出力選
択するかの選択動作が行なわれる。この回路43
の出力データ17が、部分書き込み動作の再書き
込みデータとなり、前記データ切り替え回路36
に供給され、切替え制御信号23の指定により、
再度誤り訂正回路37に供給される。ここで、再
書込みデータに対する誤り訂正符号および書込み
データが再発生され、再度バンク対応に従う書込
みデータ保持回路38,39,40,および41
にタイミング信号24,25,26および27に
応答して一時記憶され、対応するバンクの記憶回
路に書込みデータの転送が行われて本発明の動作
が完了する。 Whether either the data 16 or the read data 30 selects all data bytes of the data 16 as output data by specifying a plurality of data block position designation control switching signals 31 according to bank correspondence; Alternatively, a selection operation is performed as to whether the read data 30 is selected as output data or some data bytes of the data 16 and the remaining data bytes are selected to be output as the read data 30. This circuit 43
The output data 17 becomes the rewrite data of the partial write operation, and is sent to the data switching circuit 36.
and by specifying the switching control signal 23,
The signal is again supplied to the error correction circuit 37. Here, the error correction code and write data for the rewrite data are regenerated, and the write data holding circuits 38, 39, 40, and 41 again follow the bank correspondence.
The write data is temporarily stored in response to the timing signals 24, 25, 26, and 27, and the write data is transferred to the storage circuit of the corresponding bank, thereby completing the operation of the present invention.
本発明には、書込みデータ保持回路の共用化を
行うことにより、記憶容量の増加接続時にともな
う書込みデータ保持回路の削減が行なわれ、価格
の低減、並びに信頼度の向上が図られるという効
果がある。 The present invention has the effect that by sharing the write data holding circuit, the number of write data holding circuits can be reduced as the storage capacity is increased and the number of write data holding circuits is reduced, thereby reducing costs and improving reliability. .
第1図は従来の記憶装置の構成を示す図、およ
び第2図は本発明の一実施例を示す図。
第1図および第2図において、10,12,1
3,14,15,19,20,21,22……書
込みデータ、11,16,17,18……出力デ
ータ、23,31……切替え制御信号、24,2
5,26,27,32,33,34,35……タ
イミング信号、28,29……バンク選択制御信
号、30……読出しデータ、31……データバイ
ト位置指定制御切替え信号、36,42,43…
…データ切替え回路、37……誤り訂正符号発生
回路、38,39,40,41……第1書込みデ
ータ保持回路、44,45,46,47……第2
書込みデータ保持回路、48,49,50,51
……記憶回路、52,53,54,55……記憶
部。
FIG. 1 is a diagram showing the configuration of a conventional storage device, and FIG. 2 is a diagram showing an embodiment of the present invention. In Figures 1 and 2, 10, 12, 1
3, 14, 15, 19, 20, 21, 22...Write data, 11, 16, 17, 18...Output data, 23, 31...Switching control signal, 24, 2
5, 26, 27, 32, 33, 34, 35...timing signal, 28, 29...bank selection control signal, 30...read data, 31...data byte position designation control switching signal, 36, 42, 43 …
...Data switching circuit, 37...Error correction code generation circuit, 38, 39, 40, 41...First write data holding circuit, 44, 45, 46, 47...Second
Write data holding circuit, 48, 49, 50, 51
...Memory circuit, 52, 53, 54, 55...Storage section.
Claims (1)
ドレスに対して書込動作、読出動作および部分書
込動作が可能な記憶装置において、外部処理装置
から与えられる第1の書込データと部分書込動作
時の再書込データとのどちらか一方を選択し第2
の書込データを出力する第1のデータ切替手段
と、前記第2の書込データとこの第2の書込デー
タに対する誤り訂正符号とからなる書込情報を作
成して出力する情報発生手段と、前記書込情報を
バンク毎に格納する複数の一時格納手段と、前記
複数の一時格納手段のそれぞれに一対一対応に設
けられかつ対応する一時格納手段からの書込情報
を記憶する複数の記憶手段と、前記複数の一時格
納手段からの複数の書込情報から対応するバンク
への書込情報を選択し選択された書込情報と前記
複数の記憶手段のうちの対応するバンクから読み
出した読出情報との間で情報の部分的置換を行い
部分書込動作時に再書込データとして送出する第
2のデータ切替手段とを含むことを特徴とする記
憶装置。1. In a storage device capable of writing, reading, and partial writing operations to an address specified by a request from an external processing device, the first write data and partial writing operation given from the external processing device Select either the rewrite data at the time and the second
a first data switching means for outputting the write data; and an information generation means for creating and outputting write information consisting of the second write data and an error correction code for the second write data. , a plurality of temporary storage means for storing the write information for each bank, and a plurality of memories provided in a one-to-one correspondence with each of the plurality of temporary storage means and storing write information from the corresponding temporary storage means. and selecting write information to a corresponding bank from a plurality of write information from the plurality of temporary storage means, and reading out the selected write information and the corresponding bank from the plurality of storage means. 2. A storage device comprising: second data switching means for partially replacing information with other information and sending it out as rewrite data during a partial write operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8162180A JPS578997A (en) | 1980-06-17 | 1980-06-17 | Storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8162180A JPS578997A (en) | 1980-06-17 | 1980-06-17 | Storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS578997A JPS578997A (en) | 1982-01-18 |
| JPS6223338B2 true JPS6223338B2 (en) | 1987-05-22 |
Family
ID=13751393
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8162180A Granted JPS578997A (en) | 1980-06-17 | 1980-06-17 | Storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS578997A (en) |
-
1980
- 1980-06-17 JP JP8162180A patent/JPS578997A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS578997A (en) | 1982-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11347444B2 (en) | Memory device for controlling operations according to different access units of memory | |
| US7721165B2 (en) | External storage device and memory access control method thereof | |
| JPH06266607A (en) | Data processing system and method for programming its memory timing | |
| JPH02297647A (en) | Memory system | |
| JPS6221143B2 (en) | ||
| JPS6113268B2 (en) | ||
| JPS6223338B2 (en) | ||
| US5864567A (en) | Data memory apparatus | |
| JPS6321225B2 (en) | ||
| JPS6349809B2 (en) | ||
| US20240272836A1 (en) | Control circuit, memory device including the same, and method | |
| JPH0588989A (en) | Memory device | |
| JPS6127781B2 (en) | ||
| JPH029392Y2 (en) | ||
| JP2970822B2 (en) | Time slot replacement circuit | |
| KR900009212Y1 (en) | Address controller | |
| KR20010005149A (en) | Interface method for flash memory | |
| JPS59123918A (en) | Buffer memory controlling system | |
| JP3655658B2 (en) | Numerical controller | |
| JPS60254477A (en) | Memory system | |
| JPH0241058B2 (en) | ||
| JPH04268936A (en) | memory device | |
| JPS58179977A (en) | Memory controller | |
| JPH1063577A (en) | Memory control method and device | |
| JPH0329021A (en) | Printer server |