[go: up one dir, main page]

JPS6042496B2 - Parity error processing method - Google Patents

Parity error processing method

Info

Publication number
JPS6042496B2
JPS6042496B2 JP54092134A JP9213479A JPS6042496B2 JP S6042496 B2 JPS6042496 B2 JP S6042496B2 JP 54092134 A JP54092134 A JP 54092134A JP 9213479 A JP9213479 A JP 9213479A JP S6042496 B2 JPS6042496 B2 JP S6042496B2
Authority
JP
Japan
Prior art keywords
parity error
parity
memory
processor
error
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
Application number
JP54092134A
Other languages
Japanese (ja)
Other versions
JPS5617442A (en
Inventor
元晴 浅野
隆司 川出
尚明 足達
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP54092134A priority Critical patent/JPS6042496B2/en
Publication of JPS5617442A publication Critical patent/JPS5617442A/en
Publication of JPS6042496B2 publication Critical patent/JPS6042496B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 本発明は、コンピュータあるいはマイクロコンピュー
タ等のプロセッサおよびメモリを用いて情報処理を行う
システムに関し、特にそのメモリアクセスの際におおる
パリテイエラー処理方式に関するものてある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system for processing information using a processor and memory of a computer or a microcomputer, and particularly to a parity error processing method that occurs during memory access.

従来この種情報処理装置のメモリにおけるパリテイエ
ラーの処理にあたつては、パリテイエラー が発生した
場合に、メモリをアクセスした装置の違いや、メモリが
アクセスされた状態の違いによつてプロセツサヘパリテ
イエラー発生の報告を行う場合の報告種別に差を設けて
いなかつた。
Conventionally, when processing parity errors in the memory of this type of information processing equipment, when a parity error occurs, processing is performed depending on the device that accessed the memory or the state in which the memory was accessed. There was no difference in the type of report when reporting the occurrence of a parity error.

換言すると、メモリでパリテイエラーが発生した場合、
プロセッサでの処理は常に同一であつた。従つて、この
ような方法では、パリテイエラーが発生した際に、パリ
テイエラーを発生したデータの重要度の差に応じてプロ
セッサ側で異なつた処理を行なわせることができないと
いう欠点があつた。 本発明はこれらの欠点を除去する
ことを目的とし、そのために、メモリのパリテイエラー
が発生した際に、メモリを起動(アクセス)してきた装
置の種別や、メモリが起動された時点の状態の差に応じ
て、プロセツサヘ異なる形態の報告を行なうことにより
、パリテイエラーを発生したデータの重要度の差に応じ
てプロセッサが異なつた処理を実行できるようにする。
In other words, if a parity error occurs in memory,
Processing in the processor was always the same. Therefore, this method has the disadvantage that when a parity error occurs, it is not possible to cause the processor to perform different processing depending on the difference in the importance of the data in which the parity error has occurred. . The purpose of the present invention is to eliminate these drawbacks, and for this purpose, when a memory parity error occurs, the type of device that started (accessed) the memory and the state of the memory at the time it was started are detected. By reporting different forms to the processor depending on the difference, the processor can execute different processing depending on the difference in the importance of the data in which the parity error has occurred.

・ 以下、本発明を図面を参照して詳細に説明する。- Hereinafter, the present invention will be explained in detail with reference to the drawings.

図は本発明の一実施例を示し、図中の破線て囲まれた
部分Aはプロセッサを有する制御装置を示している。
The figure shows one embodiment of the present invention, and a portion A surrounded by a broken line in the figure shows a control device having a processor.

ここで、1はプロセッサ、2はメインメモリ、3はメモ
リ2の書き込み時にパリテイ信号を付加し、メモリ2か
ら読み出し時にパリテイ照合を行つてメモリ2の蓄積デ
ータの誤りを監視するパリテイ付加およびチェック回路
、4は外部入力の有無、処理状態等を表示する状態表示
レジスタ、5は外部装置Bとの間で情報の授受を行うイ
ンターフェース部、6はDMA(DirectMemO
ryAccess)転送の制御回路、7はパリテイエラ
ーが発生した時、その発生時の状況に応じて異なつた内
容の障害報告をレジスタ4に行なうパリテイエラー処理
回路、8は制御装置A内のバスを示す。パリテイエラー
処理回路7は、例えば、情報線P,qに接続された禁止
ゲート11とアンドゲート12により構成でき、各ゲー
ト11,12の出力をレジスタ4に送出する。外部装置
Bは情報の授受をメインメモリ2との間で行なう場合に
、その都度プロセッサ1を介さないで行なうことも可能
である。
Here, 1 is a processor, 2 is a main memory, and 3 is a parity addition and check circuit that adds a parity signal when writing to the memory 2, performs parity verification when reading from the memory 2, and monitors the stored data in the memory 2 for errors. , 4 is a status display register that displays the presence or absence of external input, processing status, etc., 5 is an interface unit that exchanges information with external device B, and 6 is a DMA (Direct MemO
ryAccess) transfer control circuit; 7 is a parity error processing circuit that sends a fault report with different contents to the register 4 depending on the situation at the time of occurrence when a parity error occurs; 8 is a bus in the control device A; shows. The parity error processing circuit 7 can be composed of, for example, an inhibit gate 11 and an AND gate 12 connected to the information lines P and q, and sends the output of each gate 11 and 12 to the register 4. When the external device B exchanges information with the main memory 2, it is also possible to do so without going through the processor 1 each time.

すなわち、外部装置Bを通じてインタフェース部5が起
動されると、インタフェース部5はDMA転送制御回路
6を起動する。Drl!4A転送制御回路6は、外部装
置Bとメインメモリ2とが直接に情報転送することを、
プロセッサ1の制御クロックを利用して可能とする。外
部装置Bとメインメモリ2との間で情報転送が行なわれ
ている間は、その状態を表わす信号が情報線pを通して
パリテイエラー処理回路7へ供給されている。パリテイ
エラー付加およびチェック回路3は、メインメモリ2へ
情報を格納する時にパリテイビットを付加し、メインメ
モリ2から情報を取り出す時にパリテイチェックを行な
う。パリテイチェックを行なつた際にパリテイエラーが
検出された場合はパリテイエラー付加およびチェック回
路3より、情報線qを通して、パリテイエラー処理回路
7へパリテイエラー検出信.号を送出する。このパリテ
イエラー処理回路7では、情報線qを通じてパリテイエ
ラーの発生が通知された場合には、そのパリテイエラー
が、メインメモリ2が外部装置Bとの間のDMA制御に
よる直接の情報転送の際に発生したパリテイエラー・で
あるのか、プロセッサ1との制御中に発生したパリテイ
エラーであるかを情報線pを通じて受信される状態信号
によつて識別することができる。このようにして、パリ
テイエラー処理回路7は、メモリパリテイエラーが発生
した楊合には、そのパリテイエラーを、プロセッサ1か
らのメモリアクセス時に生じたものと、DMA転送制御
回路6の動作中に生じたものとに区別して状態表示レジ
スタ4へ報告することができる。しかして、プロセッサ
1は状態表示レジスタ4の内容をルックインすることに
よつて必要な処理を行なう。なお、実時間性の高い処理
については状態表示レジスタ4よりプロセッサ1への割
込も可能である。状態l表示レジスタ4では、メモリパ
リテイエラーが発生した場合には、そのパリテイエラー
がプロセッサ1からのメモリアクセス時に発生したもの
か、あるいはDMA転送制御回路6の動作中に発TIL
′−たものかを区別して表示を行うので、プロセッサ1
ではアクセスした装置の違いに応じて異なつた処理を行
なうことができる。なお、上例では、パリテイエラー処
理回路7はメインメモリ2でパリテイエラーが発生した
場合にプロセッサ1からのアクセス中に発生したものか
、DMA転送制御中に発生したものかを識別しているが
、特にDMA転送中という状態でない場合においても、
本発明を適用することがてきる。
That is, when the interface unit 5 is activated through the external device B, the interface unit 5 activates the DMA transfer control circuit 6. Drl! The 4A transfer control circuit 6 controls the direct information transfer between the external device B and the main memory 2.
This is possible by using the control clock of the processor 1. While information is being transferred between external device B and main memory 2, a signal representing the state is supplied to parity error processing circuit 7 through information line p. The parity error addition and check circuit 3 adds a parity bit when storing information to the main memory 2, and performs a parity check when taking out information from the main memory 2. If a parity error is detected during the parity check, the parity error addition and check circuit 3 sends a parity error detection signal to the parity error processing circuit 7 through the information line q. send out the issue. In this parity error processing circuit 7, when the occurrence of a parity error is notified through the information line q, the parity error is processed so that the main memory 2 directly transfers information with the external device B by DMA control. It is possible to identify whether the parity error occurred during the process or during control with the processor 1 by the status signal received through the information line p. In this way, when a memory parity error occurs, the parity error processing circuit 7 converts the parity error into one that occurred during memory access from the processor 1 and the operation of the DMA transfer control circuit 6. It is possible to report to the status display register 4 separately from those that have occurred during the period. Thus, the processor 1 performs necessary processing by looking in the contents of the status display register 4. Note that for highly real-time processing, it is also possible to interrupt the processor 1 from the status display register 4. If a memory parity error occurs, the status l display register 4 determines whether the parity error occurred during memory access from the processor 1 or if the TIL was generated during the operation of the DMA transfer control circuit 6.
Since the display is performed by distinguishing whether the
It is possible to perform different processing depending on the accessed device. In the above example, when a parity error occurs in the main memory 2, the parity error processing circuit 7 identifies whether it occurs during access from the processor 1 or during DMA transfer control. However, even when the DMA transfer is not in progress,
The present invention can be applied.

すなわち、メインメモリ2へアクセスする装置が複数で
ある場合には、いずれの装置からアクセスされているか
の状態信号を情報線を通じてパリテイエラー処理回路7
に供給することにより、パリテイエラー処理回路7では
メインメモリ2へアクセスした装置を把握し、その装置
の種別により異なつた報告を状態表示レジスタ4へ行な
うことができる。また、情報線pを通じて各種装置の処
理状態を表示するように構成して、装置がどのような処
理を行なつているかに応じて、パリテイエラー処理回路
7より異なつた報告を状態表示レジスタ4へ行なうこと
により、制御装置の処理状態に応じてプロセッサ1は異
なつた処理を行なうこともできる。以上説明したように
、本発明によれば、パリテイエラー処理回路7では、メ
インメモリ2へアクセスした装置の種別あるいは状態の
違いに応じてプロセッサ1への報告内容を変えることに
より、メモリパリテイエラーが発生した場合、プロセッ
サ1ではメインメモリ2で処理を行つているデータの状
態、種類を把握できるので、そのデータの重要度の差に
応じて異なつた処理を行うことができる利点がある。
That is, when there are multiple devices accessing the main memory 2, a status signal indicating which device is accessing the main memory 2 is sent to the parity error processing circuit 7 through the information line.
By supplying the signal to the parity error processing circuit 7, the parity error processing circuit 7 can grasp the device that has accessed the main memory 2, and can send different reports to the status display register 4 depending on the type of the device. In addition, the processing status of various devices is displayed through the information line p, and the parity error processing circuit 7 sends different reports to the status display register 4 depending on what kind of processing the device is performing. By doing so, the processor 1 can perform different processing depending on the processing state of the control device. As explained above, according to the present invention, the parity error processing circuit 7 changes the content of the report to the processor 1 according to the type or state of the device that accessed the main memory 2, thereby improving the memory parity error processing circuit 7. When an error occurs, the processor 1 can grasp the state and type of data being processed in the main memory 2, which has the advantage of being able to perform different processes depending on the importance of the data.

例えば、多少の符号誤りの許容されるファクシミリ画信
号に対しては、パリテイエラーが頻発しない限り特に処
置を行なわず、エラー発生頻度を監視するのみとし、プ
ログラムデータに対しては、ただちに異常処理を行なう
などの形態をとつて、誤りの許容される信号部分につい
ては過剰な処理をとらないでもすむようにし、以て必要
以上の処理を行う必要のない経済的なプログラム構成を
行うことができる。
For example, for facsimile image signals that are allowed to have some code errors, no special measures are taken unless parity errors occur frequently, and the frequency of error occurrence is simply monitored.For program data, abnormalities are immediately handled. By doing so, it is possible to eliminate the need for excessive processing on signal parts where errors are allowed, and to create an economical program structure that does not require unnecessary processing. .

【図面の簡単な説明】[Brief explanation of drawings]

図面は本発明の構成の一実施例を示すブロック図である
。 A・・・・・・制御装置、B・・・・・・外部装置、1
・・・・・・プロセッサ、2・・・・・メインメモリ、
3・・・・・・パリテイ付加およびチェック回路、4・
・・・・状態表示レジスタ、5・・・・・外部装置との
インタフェース部、6・・・・・・DMA転送の制御回
路、7・・・・・・パリテイエラー処理回路、8・・・
・・装置内バス、11・・・・・・禁止ゲート、12・
・・・・・アンドゲート。
The drawing is a block diagram showing an embodiment of the configuration of the present invention. A: Control device, B: External device, 1
...Processor, 2...Main memory,
3... Parity addition and check circuit, 4.
...Status display register, 5...Interface unit with external device, 6...DMA transfer control circuit, 7...Parity error processing circuit, 8...・
...Device bus, 11... Prohibition gate, 12.
...and gate.

Claims (1)

【特許請求の範囲】[Claims] 1 プロセッサおよびメモリを用いて情報処理を行うに
あたり、前記メモリの書き込み時にパリテイ信号を付加
し、前記メモリからの読み出し時にパリテイ照合を行う
誤り検査/誤り検査コード発生回路を有するパリテイエ
ラー処理方式において、前記メモリの使用状態を表わす
情報信号と、前記誤り検査/誤り検査コード発生回路か
ら送出されるパリテイエラー検出信号とを導入して、前
記情報信号の種別に対応した複数種の誤り検出信号を送
出する誤り処理手段を備え、前記プロセッサに対するパ
リテイエラーの報告内容を適宜変更し得るよう構成した
ことを特徴とするパリテイエラー処理方式。
1 In a parity error processing method that includes an error check/error check code generation circuit that adds a parity signal when writing to the memory and performs parity verification when reading from the memory when performing information processing using a processor and memory. , by introducing an information signal representing the usage state of the memory and a parity error detection signal sent from the error check/error check code generation circuit, to generate a plurality of types of error detection signals corresponding to the types of the information signal. 1. A parity error processing method, comprising: an error processing means for sending out a parity error, and configured to appropriately change the content of a parity error report to the processor.
JP54092134A 1979-07-21 1979-07-21 Parity error processing method Expired JPS6042496B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54092134A JPS6042496B2 (en) 1979-07-21 1979-07-21 Parity error processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54092134A JPS6042496B2 (en) 1979-07-21 1979-07-21 Parity error processing method

Publications (2)

Publication Number Publication Date
JPS5617442A JPS5617442A (en) 1981-02-19
JPS6042496B2 true JPS6042496B2 (en) 1985-09-24

Family

ID=14045954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54092134A Expired JPS6042496B2 (en) 1979-07-21 1979-07-21 Parity error processing method

Country Status (1)

Country Link
JP (1) JPS6042496B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63282872A (en) * 1987-05-15 1988-11-18 Fujitsu Ltd data processing equipment
US5499346A (en) * 1993-05-28 1996-03-12 International Business Machines Corporation Bus-to-bus bridge for a multiple bus information handling system that optimizes data transfers between a system bus and a peripheral bus

Also Published As

Publication number Publication date
JPS5617442A (en) 1981-02-19

Similar Documents

Publication Publication Date Title
US5594890A (en) Emulation system for emulating CPU core, CPU core with provision for emulation and ASIC having the CPU core
GB1589180A (en) Data processing apparatus
JPS58129568A (en) Computer system with auxiliary service computor
JPS6042496B2 (en) Parity error processing method
JPS634209B2 (en)
JPH05282244A (en) Information processor
JPH033043A (en) Semiconductor device
JPH07302208A (en) Protective relay device
JPH06266630A (en) Input/output controller with trace function
JPS6049465A (en) Data transfer method between microcomputers
JPS6213703B2 (en)
JPH0333939A (en) Microprocessor
JPH1020968A (en) Selective hardware reset circuit
JPH04257044A (en) Bus parity error generating position detecting system
JP2001043104A (en) Bus monitor for computer system
JPH0512235A (en) Electronics
JPH0496847A (en) Bus monitor system
JPS6327933A (en) Tracing memory constitution system
JPH0145660B2 (en)
JPH0784933A (en) Input/output control board
JPH0713879A (en) Bus connecting device
JPS61135293A (en) Remote supervisory control system
JPH0521458B2 (en)
JPS61138344A (en) Debugging system
JPS59221131A (en) Data transmission station