JPS6051952A - Parity checking system - Google Patents
Parity checking systemInfo
- Publication number
- JPS6051952A JPS6051952A JP58159533A JP15953383A JPS6051952A JP S6051952 A JPS6051952 A JP S6051952A JP 58159533 A JP58159533 A JP 58159533A JP 15953383 A JP15953383 A JP 15953383A JP S6051952 A JPS6051952 A JP S6051952A
- Authority
- JP
- Japan
- Prior art keywords
- parity check
- data
- check code
- memory
- read
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Abstract
Description
【発明の詳細な説明】
(al 発明の技術分野
本発明はデータ送信装置に係り、特に半固定的記憶装置
に格納されたデータが変更になった場合に、対応するパ
リティ検査符号を容易に変更可能とするパリティ検査方
式に関す。DETAILED DESCRIPTION OF THE INVENTION (al) Technical Field of the Invention The present invention relates to a data transmission device, and in particular, to a data transmission device that easily changes a corresponding parity check code when data stored in a semi-permanent storage device is changed. Regarding the parity check method that makes it possible.
山) 従来技術と問題点
第1図はこの種データ送信装置における従来あるパリテ
ィ検査方式の一例を示す図である。第1図において、送
信装wlSNDは送出ずべきデータdを各アドレスaに
記憶する続出し専用メモリM1と、該データdに対応し
て所定の検査則に基づき予め生成されたパリティ検査符
号pを前記データdと同一のアドレスaに記憶する続出
し専用メモリM2とが設けられている。続出し専用メモ
リM1およびM2に所定のアドレスaが入力されると、
続出し専用メモリM1からは該アドレスaに格納されて
いるデータdが抽出されてデータ伝送路DI、に送出さ
れ、また続出し専用メモリM2からは前記71ルスaに
格納されているパリティ検査符号pが抽出されてパリテ
ィ検査符号伝送路Pl、に送出される。一方受信装置R
ECにおいては、パリティ検査符号発生回路PGがデー
タ伝送路DI7から到着するデータ(1′から前記検査
則に基づきパリティ検査符!+p゛を生成し、排他論理
和ゲートEGに伝達する。IA他論理和ゲートEGは、
パリティ検査符号伝送路P Lから到着するパリティ検
査符号pと、パリティ検査符号発生回28− p cか
ら伝達されるパリティ検査符号p′との排他論理和処理
を行い、両パリティ検査符号pおよびp′の論理値が一
致すればパリティ検査出力信号Ckを論理値0に設定し
て到着したデータd′に誤りの無いことを示し、若し両
パリティ検査符号pおよびp“の論理値が一致しなけれ
ばパリティ検査出力信号ckを論理値1に設定して到着
したデータd1に誤りが発生したことを示す。Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional parity check method in this type of data transmitter. In FIG. 1, the transmitting device wlSND includes a memory M1 for continuous output that stores data d that should not be transmitted at each address a, and a parity check code p generated in advance based on a predetermined check rule corresponding to the data d. A continuous read only memory M2 is provided to store data at the same address a as the data d. When a predetermined address a is input to the continuous output dedicated memories M1 and M2,
The data d stored in the address a is extracted from the continuous output memory M1 and sent to the data transmission path DI, and the parity check code stored in the 71 address a is extracted from the continuous output memory M2. p is extracted and sent to the parity check code transmission path Pl. On the other hand, receiving device R
In the EC, the parity check code generation circuit PG generates a parity check code !+p from the data (1') arriving from the data transmission path DI7 based on the above-mentioned check rule, and transmits it to the exclusive OR gate EG. Wa Gate EG is
Exclusive OR processing is performed on the parity check code p arriving from the parity check code transmission path PL and the parity check code p' transmitted from the parity check code generation circuit 28-pc, and both parity check codes p and p are processed. If the logical values of the parity check codes p and p'' match, the parity check output signal Ck is set to a logical value of 0, indicating that there is no error in the arrived data d', and if the logical values of both parity check codes p and p'' match, If not, the parity check output signal ck is set to a logical value of 1 to indicate that an error has occurred in the arrived data d1.
以上の説明から明らかな如く、従来あるパリティ検査方
式においては、読出し専用メモリM1に格納されている
データdに対応するパリティ検査符号pは読出し専用メ
モリM2に予め格納されており、データdが抽出される
際に対応するパリティ検査符号pが抽出されていた。従
って万一読出し専用メモリMl内のデータdが何等かの
理由で変更された場合、読出し専用メモリM2内の対応
するパリティ検査符号pも同時に変更する必要がある。As is clear from the above explanation, in a conventional parity check method, the parity check code p corresponding to the data d stored in the read-only memory M1 is stored in advance in the read-only memory M2, and the data d is extracted. When the parity check code p is extracted, the corresponding parity check code p is extracted. Therefore, if the data d in the read-only memory M1 is changed for some reason, the corresponding parity check code p in the read-only memory M2 must also be changed at the same time.
然し読出し専用メモリM2は簡単には記憶内容を変更出
来ぬ欠点があった。However, the read-only memory M2 has the drawback that the stored contents cannot be easily changed.
(C1発明の目的
本発明の「1的【、1゛、[111述の如き従来あるパ
リティ検査方式の欠点を除去し、記憶内容を容易に変更
出来ぬ読出し専用メモリを不要とするパリティ検査方式
を実現することに在る。(C1 Purpose of the Invention The present invention is a parity check method that eliminates the drawbacks of the conventional parity check methods as described in It is about realizing.
++11 発明の構成
この目的は、予め半固定的記1a装置に格納されたデー
タを抽出し、パリティ検査符号を付加して送出するデー
タ送信装置において、前記データに対応するパリティ検
査符号を予め生成して随時書込み続出しメモリに格納し
、前記半固定的記憶装置から前記データを抽出する際に
前記随時書込み続出しメモリから対応するパリティ検査
符号を抽出し、前記データに付加して送出することによ
り達成される。++11 Structure of the Invention This object is to extract data previously stored in a semi-fixed memory 1a device, add a parity check code, and transmit the data, in which a parity check code corresponding to the data is generated in advance. By storing the parity check code in the continuous write memory at any time, and when extracting the data from the semi-permanent storage device, extracting the corresponding parity check code from the continuous write memory and adding it to the data and transmitting it. achieved.
(el 発明の実施例 以下、本発明の一実施例を図面により説明する。(el Embodiments of the invention An embodiment of the present invention will be described below with reference to the drawings.
第2図は本発明の一実施例によるパリティ検査方式を示
す図である。なお、全図を通じて同一符号は同一対象物
を示す。第2図においては、送信装置SNDにパリティ
検査符号発生回路PG’と随時書込み読出しメモリM3
とが設けられており、第1図に示される如き読出し専用
メモリM2は除去されている。第2図において、送信装
置SNDは送信状態となるに先立ち、読出し専用メモリ
M1の各アドレスaに格納されているデータdを順次抽
出し、パリティ検査符号発生回路PC“に伝達する。パ
リティ検査符号発生回路PG”は、伝達されたデータd
に対応するパリティ検査符号pを所定の検査則に基づき
生成し、随時書込み読出しメモリM3に伝達する。送信
装置SNDは、読出し専用メモリM1に入力したと同一
のアドレスaと書込み信号Wとを随時書込み読出しメモ
リM3に入力することにより、伝達されたパリティ検査
符号pを対応するデータdと同一アドレスaに格納する
。読出し専用メモリM1に格納されている総てのデータ
dに対応するパリティ検査符号pを随時書込み読出しメ
モリM3に格納し終わると、送信装置SNDは送信状態
となる。かがる状態で読出し専用メモリM1および随時
書込み読出しメモリM3に所定のア1ルスaが入力され
ると、読出し専用メモリM1から抽出されたデータdは
データ伝送路D I、に送出され、また随時書込み読出
しメモリM3から読出されたパリティ検査符号pはパリ
ティ検査符号伝送路P Lに送出される。受信装置RF
Cにおいては、パリティ検査符号発生回路PGが第1図
におけると同様にデータ伝送路DI、から到着するデー
タ(1゛からパリティ検査符号p1を生成し、排他論理
和ゲー1− E Cがパリティ検査符号伝送路p t、
から到着したパリティ検査符号pとパリティ検査符号発
生回路PGが生成したパリティ検査符号p“との排他論
理和処理を行ってデータd′の正常性を検査し、パリテ
ィ検査出力信号ckの論理値を設定する。送信装置SN
Dにおいて、読出し専用メモリMl内のデータdが変更
された場合には、送信装置SNDは再びパリティ検査符
号発生回路PC’により変更されたデータdに対応する
パリティ検査符号pを生成し、随時書込み続出しメモリ
M3に格納する。FIG. 2 is a diagram illustrating a parity check method according to an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 2, the transmitting device SND includes a parity check code generation circuit PG' and an occasional write/read memory M3.
, and the read-only memory M2 as shown in FIG. 1 has been removed. In FIG. 2, before entering the transmitting state, the transmitter SND sequentially extracts data d stored in each address a of the read-only memory M1 and transmits it to the parity check code generation circuit PC''. The generation circuit PG'' generates the transmitted data d
A parity check code p corresponding to is generated based on a predetermined check rule, and transmitted to the read/write memory M3 as needed. The transmitting device SND inputs the same address a and the write signal W inputted into the read-only memory M1 into the write/read memory M3 at any time, so that the transmitted parity check code p is stored at the same address a as the corresponding data d. Store in. When the parity check code p corresponding to all the data d stored in the read-only memory M1 is written as needed and stored in the read-out memory M3, the transmitting device SND enters the transmitting state. When a predetermined pulse a is input to the read-only memory M1 and the occasional write/read memory M3 in the overloaded state, the data d extracted from the read-only memory M1 is sent to the data transmission path DI, and The parity check code p read from the read/write memory M3 at any time is sent to the parity check code transmission path PL. Receiving device RF
In C, the parity check code generation circuit PG generates a parity check code p1 from data (1) arriving from the data transmission path DI, as in FIG. code transmission path p t,
Exclusive OR processing is performed on the parity check code p arriving from the parity check code p'' generated by the parity check code generation circuit PG to check the normality of the data d', and the logic value of the parity check output signal ck is determined. Set.Sending device SN
In D, when the data d in the read-only memory Ml is changed, the transmitting device SND again generates a parity check code p corresponding to the changed data d by the parity check code generation circuit PC', and writes it as needed. The data is stored in the continuous output memory M3.
以上の説明から明らかな如く、本実施例によれば、読出
し専用メモリM1から抽出されてデータ伝送路DLに送
出されるデータdに付加されるパリティ検査符号pはパ
リティ検査符号発生回路PG°により予め生成され、随
時書込み読出しメモリM3に格納されている為、データ
dが変更された場合にも対応するパリティ検査符号pを
パリティ検査符号発生回路PG’により直ち生成し直し
、随時書込み読出しメモリM3に格納されているパリテ
ィ検査符号pを更新することが出来る。As is clear from the above description, according to this embodiment, the parity check code p added to the data d extracted from the read-only memory M1 and sent to the data transmission path DL is generated by the parity check code generation circuit PG°. Since it is generated in advance and stored in the read/write memory M3 at any time, even if data d is changed, the corresponding parity check code p is immediately regenerated by the parity check code generation circuit PG', and the code is stored in the memory M3 for write/read at any time. The parity check code p stored in M3 can be updated.
なお、第2図はあく迄本発明の一実施例に過ぎず、例え
ば送信装置SNDおよび受信装置RECの構成は図示さ
れるものに限定されることは無く、他に幾多の変形が考
慮されるが、何れの場合にも本発明の効果は変らない。Note that FIG. 2 is only one embodiment of the present invention, and for example, the configurations of the transmitting device SND and the receiving device REC are not limited to those shown, and many other modifications may be considered. However, in either case, the effects of the present invention remain the same.
(fl 発明の効果
以上、本発明によれば、前記データ送信装置において、
パリティ検査符号は対応するデータに基づき予め生成さ
れて随時書込み読出しメモリに格納される為、データの
変更に伴い容易に変更可能となる。(fl) As described above, according to the present invention, in the data transmitting device,
Since the parity check code is generated in advance based on the corresponding data and stored in the read/write memory as needed, it can be easily changed as the data changes.
第ル0.1従来あるパリティ検査方式の一例を示す図、
第2図番、を本発明の一実施例によるパリティ検査方式
を示す図である。
図において、2Iはアドレス、ckはパリティ検査出力
信シj−1dおよびdlばデータ、D Lはデータ伝送
路、EGはIJI伯論理和ゲーI・、MlおよびM2は
読出し専用メモリ、M3は随時書込み読出しメモリ、p
およびp′はパリティ検査符号、PGおよびPC“はパ
リティ検査符号発生回路、PI、はパリティ検査符号伝
送路、RECは受信装置、5Nr)は送信装置、を示す
。Section 0.1 A diagram showing an example of a conventional parity check method,
FIG. 2 is a diagram showing a parity check method according to an embodiment of the present invention. In the figure, 2I is an address, ck is a parity check output signal, j-1d and dl are data, DL is a data transmission line, EG is an IJI logic sum game I, M1 and M2 are read-only memories, and M3 is an optional memory. write/read memory, p
and p' is a parity check code, PG and PC" are parity check code generation circuits, PI is a parity check code transmission path, REC is a receiving device, and 5Nr) is a transmitting device.
Claims (1)
リティ検査符号を付加して送出するデータ送信装置にお
いて、前記データに対応するパリティ検査符号を予め生
成して随時書込み読出しメモリに格納し、前記半固定的
記憶装置から前記データを抽出する際に前記随時書込み
続出しメモリから対応するパリティ検査符号を抽出し、
前記データに付加して送出することを特徴とするパリテ
ィ検査方式。In a data transmitting device that extracts data stored in a semi-permanent storage device in advance, adds a parity check code, and transmits the data, a parity check code corresponding to the data is generated in advance and stored in a read/write memory as needed; extracting a corresponding parity check code from the continuous write memory when extracting the data from the semi-permanent storage;
A parity check method characterized in that the parity check method is added to the data and sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58159533A JPS6051952A (en) | 1983-08-31 | 1983-08-31 | Parity checking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58159533A JPS6051952A (en) | 1983-08-31 | 1983-08-31 | Parity checking system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6051952A true JPS6051952A (en) | 1985-03-23 |
Family
ID=15695845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58159533A Pending JPS6051952A (en) | 1983-08-31 | 1983-08-31 | Parity checking system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6051952A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010199811A (en) * | 2009-02-24 | 2010-09-09 | Fanuc Ltd | Memory system of controller |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57212695A (en) * | 1981-06-23 | 1982-12-27 | Kokusai Electric Co Ltd | Redundant code adding circuit system of electronic computer |
-
1983
- 1983-08-31 JP JP58159533A patent/JPS6051952A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57212695A (en) * | 1981-06-23 | 1982-12-27 | Kokusai Electric Co Ltd | Redundant code adding circuit system of electronic computer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010199811A (en) * | 2009-02-24 | 2010-09-09 | Fanuc Ltd | Memory system of controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3795901A (en) | Data processing memory system with bidirectional data bus | |
US4692893A (en) | Buffer system using parity checking of address counter bit for detection of read/write failures | |
US3209330A (en) | Data processing apparatus including an alpha-numeric shift register | |
US5872802A (en) | Parity generation and check circuit and method in read data path | |
US3887901A (en) | Longitudinal parity generator for mainframe memories | |
US5127088A (en) | Disk control apparatus | |
US4103823A (en) | Parity checking scheme for detecting word line failure in multiple byte arrays | |
US5021994A (en) | Look-ahead flag generator | |
US5825204A (en) | Apparatus and method for a party check logic circuit in a dynamic random access memory | |
US4035766A (en) | Error-checking scheme | |
JPS6051952A (en) | Parity checking system | |
US4225959A (en) | Tri-state bussing system | |
US4410988A (en) | Out of cycle error correction apparatus | |
US5774482A (en) | Apparatus and method for processing errors associated with data transfers in a computer | |
JPS6312303B2 (en) | ||
JP3114177B2 (en) | Error correction circuit | |
JPH0689236A (en) | Random access memory monitor circuit | |
JPS6221142B2 (en) | ||
JPS5958698A (en) | Semiconductor integrated circuit storage device | |
JPS5936359B2 (en) | data buffer device | |
JPH0348542B2 (en) | ||
JPH01236389A (en) | Memory card | |
JPH05160811A (en) | Data transfer system | |
JPH01158554A (en) | Data processing system providing dma device | |
JPS61191144A (en) | Communication control equipment |