JPS61285558A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS61285558A JPS61285558A JP60127367A JP12736785A JPS61285558A JP S61285558 A JPS61285558 A JP S61285558A JP 60127367 A JP60127367 A JP 60127367A JP 12736785 A JP12736785 A JP 12736785A JP S61285558 A JPS61285558 A JP S61285558A
- Authority
- JP
- Japan
- Prior art keywords
- address
- bus
- read
- memory
- write
- 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
Landscapes
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、主記憶装置への書き込み不正動作を検出す
る機構を付加的に追加できる構造を持つデータ処理装置
に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device having a structure in which a mechanism for detecting illegal writing operations to a main memory device can be additionally added.
第3図は従来のデータ処理装置の構造を示すブロック図
であシ2図において、(1)はシステム全体を管理する
CFtr装置、(2)はこのCPtr装置の主記憶装置
、(3)は上記主記憶装置(2)に関するパリティチェ
ック・ジェネレート機構、(4)は入出力装置を制御す
る入出力制御装置* (Sl) は以上の(1)から
(4)までの上記装置を接続するシステムバス。Figure 3 is a block diagram showing the structure of a conventional data processing device. In Figure 2, (1) is a CFtr device that manages the entire system, (2) is the main storage of this CPtr device, and (3) is a The parity check/generate mechanism for the main storage device (2), (4) is the input/output control device that controls the input/output devices* (Sl) connects the above devices (1) to (4). system bus.
(52)は同バス制御装置である。(52) is the same bus control device.
次に動作について説明する。Next, the operation will be explained.
データ処理装置の機能は、CPU(11で処理するデー
タ及び入出力制御装置(4)で処理生成したデータを主
記憶装置(2)の任意の番地へ書き込む機能(ライト動
作)と、主記憶装置(2)の任意番地からのデータを読
み出しCP U (11へ取り込む動作又は入出力制御
装置(4νへ送シ込む機能(リード動作)がある。゛
ライト動作時はパリティチェック・ジェネレート機構(
3)では、パリティ・ジェネレート回路が有効になりシ
ステムバス(51)に送出されたデータに基づきパリテ
ィ・ビットが生成され、対応する番地の主記憶装置(2
1にライト動作完了と同時に格納される。リード動作時
には、前記パリティ・ビットも読み出され、読み出され
たデータから生成されるパリティ−情報とこの保存され
たパリティ・ビットの比較が行なわれる。との比較の結
果が一致している場合には、ライト動作及びリード動作
は安全正確に行なわれた事を示し処理は続行され続ける
が、不一致の場合には、パリティ・エラーであシャデー
タ処理は中断されエラー状態に移行しシステム的に対応
策が必要になる。The functions of the data processing device include a function (write operation) to write data processed by the CPU (11) and data processed and generated by the input/output control device (4) to an arbitrary address in the main storage device (2); (2) There is a function (read operation) that reads data from an arbitrary address and imports it into the CPU (11) or sends it to the input/output control device (4ν).
In 3), the parity generation circuit is enabled, a parity bit is generated based on the data sent to the system bus (51), and the parity bit is generated in the main memory device (2) at the corresponding address.
1 is stored at the same time as the write operation is completed. During a read operation, the parity bit is also read and the parity information generated from the read data is compared with the stored parity bit. If the comparison results match, it means that the write and read operations were performed safely and accurately, and processing continues; however, if they do not match, a parity error occurred and data processing is interrupted. will be interrupted and transition to an error state, requiring system-wide countermeasures.
従来のデータ処理装置は2以上のように構成されている
のでパリティ・エラー発生の瞬間は、当然リード動作中
に限定されているので、ライト動作にパリティ・エラー
発生の原因がある場合でも当該番地の主記憶を読み出さ
ない限シェラ−に気が付かず、さらに読み出した時点で
パリティ・エラーが発生するとその不具合解決のために
は、前回書き込み動作をした瞬間の各種環境条件を推定
して、書き込み不良の原因を探シ出す必要があシ解決す
るまでに長時間必要であるなどの欠点があった。Since conventional data processing devices are configured with two or more units, the moment when a parity error occurs is naturally limited to the read operation, so even if the cause of the parity error is in a write operation, the address The sheller will not be noticed unless the main memory is read, and if a parity error occurs at the time of reading, the problem must be resolved by estimating various environmental conditions at the moment of the previous write operation and detecting the write failure. There were disadvantages such as the need to find the cause and the need for a long time to resolve the problem.
この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、データ処理装置に必要に応じて
接続可能なリードアフターライト機構を取りりけること
によシ、ライト動作の不正によるトラブル解決までの時
間を短縮することができる構造のデータ処理装置を提供
するものである。This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and by providing a read-after-write mechanism that can be connected to a data processing device as necessary, it prevents unauthorized write operations. An object of the present invention is to provide a data processing device having a structure that can shorten the time required to resolve a problem.
この発明は、データ処理装置に、必要に応じて接続可能
なリードアフターライト機構を取フ付けこのリードアフ
ターライト機構に、主記憶装置への書込コマンドが主流
憶装置に出力された事を検出する機能と、書き込まれた
アドレスを記憶することによシ書込直後に自動的に当該
アドレスを読み出す機能とを持たせたものである。This invention provides a data processing device with a read-after-write mechanism that can be connected as needed, and the read-after-write mechanism detects when a write command to the main storage device is output to the main storage device. and a function to automatically read out the written address immediately after writing by storing the written address.
この発明によれば、リードアフターライト機構がデータ
処理装置に接続されている場合には、主記憶装置への書
き込みが行われると、直ちにこれを検出し、書込アドレ
スを記憶し【、当該アドレスを利用してメモリリード動
作を実行させ、同時にパリティチェック動作を行わせる
。According to this invention, when the read-after-write mechanism is connected to a data processing device, when writing to the main storage device is performed, it immediately detects this and stores the write address. A memory read operation is performed using the ``Memory Read'' operation, and a parity check operation is performed at the same time.
以下、この発明の一実施例を図について説明する。第1
図において、(1)から(5)までは第3図と同じもの
管示す。(61はこのデータ処理装置に取シ付けられた
リードアフターライト機構全体を示す。An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, tubes (1) to (5) are the same as in FIG. 3. (61 indicates the entire read-after-write mechanism attached to this data processing device.
(7)はCPU装置(1)又は入出力制御装置(4)か
ら主記憶装置(2)を読出し/書き込みする際に発生さ
れる主記憶(メモリ)アドレス信号、(8)は主記憶(
メモリ)ライト・コマンド信号、(9)は主記憶(メモ
リ)アドレス信号ラッチ、α1はこのリード・アフタ・
ライト機構がシステム・バス(51)へtB力fルハス
要求M 号−III)はこのシステムバスよりバス使用
を許された場合に前記バス要求信号に応答して返送され
るバス応答信号、Hはシステム・バス制御装置(52)
が発生するバスクロック信号、 (IIIはこのリード
・アフタ・ライト機構の動作を管理するシーケンス回路
、α4はこのリード・ア7り・ライト機構がバスを使用
している最中であることを示すバス使用中信号、aりは
この機構がシステム・バスへ送出する主記憶(メモリ)
リード・コマンド信号である。(7) is a main memory (memory) address signal generated when the main memory (2) is read/written from the CPU device (1) or the input/output control device (4), and (8) is the main memory (
(memory) write command signal, (9) is the main memory (memory) address signal latch, and α1 is this read after command signal.
H is a bus response signal that is returned in response to the bus request signal when the write mechanism is allowed to use the bus by the system bus (51). System bus controller (52)
bus clock signal that is generated, (III is a sequence circuit that manages the operation of this read-after-write mechanism, and α4 indicates that this read-after-write mechanism is currently using the bus. The bus busy signal, a, is the main memory that this mechanism sends to the system bus.
This is a read command signal.
この発明によるリード・アフタ・ライト機構(6:をシ
ステムバス(Sl) の一番プライオリティーの高い
位置へ接続する。従来のデータ処理装置に単に接続する
だけで良い。The read-after-write mechanism (6:) according to the present invention is connected to the highest priority position of the system bus (Sl). It is sufficient to simply connect it to a conventional data processing device.
CPU装置(1)又は入出力制御装置(4)から主記憶
装置(2)へのデータ書き込み動作は、第2図に示すタ
イミングに従って実行される。CPU装置+11又は入
出力制御装置(4)からメモリ・アドレス(7)がシス
テム・バス(51)へ出力される。次いでメモリ・ライ
ト・コマンド(81が出力され、さらにデータ信号も出
力される。この実施例では、データは関係させ【ないの
で第1図・第2図・第3図とも省略した。The data writing operation from the CPU device (1) or the input/output control device (4) to the main memory device (2) is executed according to the timing shown in FIG. The memory address (7) is output from the CPU unit +11 or the input/output control unit (4) to the system bus (51). Next, a memory write command (81) is output, and a data signal is also output. In this embodiment, since data is not involved, FIGS. 1, 2, and 3 are omitted.
メモリライト直後すぐメモリ・リード動作を起動するた
めに、メモリーアドレス信号(7)はメモリ・ライト・
コマンド信号(8)でアドレス・ラッチ+91 K保存
される。同時にシステム・バス(51)の使用権を得る
ためシーケンス回路ajが起動されバスクロック信号a
2に同期してバス要求信号(1Gがシステム・バス(s
i) へ送ル出すれる。システム・バス制御回路(52
)では、プライオリティ−順にバス要求に応じてバス応
答信号αat返送しておシ、一番プライオリティーの高
い位置に接続されたこの発明によるリード・アフタ・ラ
イト機構(6)からの要求は直ちに許可され、結果的に
、メモリライト動作直後のバス使用権は全てリード・ア
フタ・ライト機構(6)に設定される。バス応答信号α
Dを受けたシーケンス回路(ljは、バス使用中信号I
をバスクロック信号(Izに同期して確立させる。この
状態はバス使用権がリード・アフタ・ライト機構(6)
に有る状態であシ、システムバス(51)へメモリ・リ
ード・コマンド(15を送出して良い。シーケンス回路
αjは、バス使用中信号a着が確立するとまずメモリ・
アドレス信号(7)としてアドレス・ラッチ(9]に保
存されていたアドレス信号(ラッチドアドレスと呼称)
を送出する。In order to start the memory read operation immediately after the memory write, the memory address signal (7) is
Address latch +91K is saved by command signal (8). At the same time, sequence circuit aj is activated to obtain the right to use the system bus (51), and bus clock signal a is activated.
The bus request signal (1G is the system bus (s
i) Sent to. System bus control circuit (52
), the bus response signal αat is returned in response to bus requests in order of priority, and requests from the read-after-write mechanism (6) of the present invention connected to the position with the highest priority are immediately granted. As a result, the right to use the bus immediately after the memory write operation is all set to the read-after-write mechanism (6). Bus response signal α
The sequence circuit that receives D (lj is the bus busy signal I
is established in synchronization with the bus clock signal (Iz). In this state, the right to use the bus is set to the read-after-write mechanism (6).
In this state, the memory read command (15) may be sent to the system bus (51). When the bus busy signal a is established, the sequence circuit αj first sends the memory read command (15) to the system bus (51).
Address signal stored in address latch (9) as address signal (7) (referred to as latched address)
Send out.
その後メモリ・リード・コマンドa9をシステムバス(
51)へ送出する。主記憶装置(メモリ)(2)はメモ
リのリード・コマンドαりに対しメモリ・リード・動作
を実行すると同時に、パリティ・チェック・ジェネレー
ト機構(3)のパリティ−・チェック動作を実行する。After that, send the memory read command a9 to the system bus (
51). The main storage device (memory) (2) executes a memory read operation in response to a memory read command α, and at the same time executes a parity check operation of a parity check generation mechanism (3).
従って直前に実行されたメモリ・ライト・動作がもし不
良であシ、パリティ・エラーが発生した場合には直ちに
エラーが発見できる。直前のライト動作のエラーであ〕
、エラーを起こす原因の追求に際しては9条件を詰め易
<、トラブル解決までの大巾な時間短縮が期待できる。Therefore, if the memory write operation executed just before is defective and a parity error occurs, the error can be discovered immediately. This is an error in the previous write operation.
, when searching for the cause of an error, it is easy to narrow down the 9 conditions.You can expect a significant reduction in the time it takes to resolve a problem.
以上の様に上記実施例では、リード・アフタ・ライト機
構(6)にアドレスラッチ+97を設けたものを示シた
が、システム・バス(51) のデータをラッチする機
構と、リード・アフタ・ライトの結果読み出されるデー
タとの比較機構管取シ付け、データの比較チェックを行
なってもよい。As described above, in the above embodiment, the read-after-write mechanism (6) is provided with the address latch +97, but the read-after-write mechanism (51) has a mechanism for latching data on the system bus (51) and a read-after-write mechanism. A comparison mechanism may be installed to compare and check the data read as a result of writing.
またチェックする条件例えば特定アドレス領域のみへの
書き込み動作だeを本リード・ブック・ライト機構のチ
ェック対象として動作させるように条件設定機構を追加
すると、チェック必要な場合のみシステム・バスへの介
入が発生し9通常のデータ処理動作時は全く影響を与え
力くできるので、データ処理スループットを必要最小限
の低下におさえチェック効果を得ることが可能である。In addition, if a condition setting mechanism is added so that the conditions to be checked, e.g. write operations only to a specific address area, are checked by the read/book/write mechanism, intervention to the system bus is performed only when checking is necessary. Since the occurrence of this error has no effect at all during normal data processing operations, it is possible to suppress the reduction in data processing throughput to the necessary minimum level and obtain a checking effect.
以上のようにこの発明によれば、主記憶装置のリードア
フターライト機構をデータ処理装置に全く影響を与えず
に、接続するよう忙構成したので取シ外ずしか自由にで
き、エラー発生時のみ組み込んで使用し通常は接続しな
い運用が可能であシ装置が安価にできる効果がある。ま
たデータ処理装置のソフトウェアにも全く影響を与えず
に純ハードウェア的にリードアフターライト処理を実行
するので、高速であシワパリティ拳エラー等発生時の原
因追求及び解明時間を大巾に短縮する効果がある。As described above, according to the present invention, the read-after-write mechanism of the main memory device is configured to be connected without affecting the data processing device at all, so it can be removed and removed freely, and only when an error occurs. It is possible to operate the device by incorporating it and not normally connecting it, which has the effect of making the device cheaper. In addition, read-after-write processing is executed purely as hardware without affecting the software of the data processing device at all, so it is fast and greatly reduces the time required to investigate and solve the cause when wrinkle parity errors occur. effective.
第1図はこの発明の一実施例によるデータ処理装置を示
すブロック図、第2図はこの発明の一実施例の動作タイ
ミングを示すタイミングチャート。
第3図は従来のデータ処理装置を示すブロック図である
。
(1)はCPU装置、(2)は主記憶装置、(3)はパ
リティ・チェック・ジェネレート機構、(4)は入出力
側9N&置、 (sl) はシステムバスt (
52) ババス制御装置、(6)はリード・ブック・
ライト機構、(7)は主記憶(メモリ)アドレス信号、
(81は主記憶(メモリ)ライト・コマンド信号、(9
)はアドレス・ラッチ、αりはバス要求信号、αDはバ
ス応答信号、α2はバスクロック信号、αjはシーケン
ス回路、 (141はバス使用中信号、α9は主記憶(
メモリ)リード・コマンド信号である。
なお9図中、同一符号は同一、又は相当部分な示す。FIG. 1 is a block diagram showing a data processing device according to an embodiment of the present invention, and FIG. 2 is a timing chart showing the operation timing of the embodiment of the present invention. FIG. 3 is a block diagram showing a conventional data processing device. (1) is the CPU device, (2) is the main memory, (3) is the parity check/generate mechanism, (4) is the input/output side 9N&, (sl) is the system bus t (
52) Babasu control device, (6) is a read book
Write mechanism, (7) is main memory (memory) address signal,
(81 is the main memory write command signal, (9
) is the address latch, α is the bus request signal, αD is the bus response signal, α2 is the bus clock signal, αj is the sequence circuit, (141 is the bus busy signal, α9 is the main memory (
Memory) read command signal. In Figure 9, the same reference numerals indicate the same or corresponding parts.
Claims (1)
体を管理するCPU装置と、入出力装置を制御する入出
力制御装置、及びこれらを結び付けるバス使用権の制御
論理を持つシステムバスとから成るデータ処理装置にお
いて、主記憶装置への書き込みコマンドが主記憶装置へ
出力された事を検出する機能を持ち、書き込まれたアド
レスを記憶する事により書き込み直後に自動的に当該ア
ドレスを読み出す機構を付加的に追加可能にしたことを
特徴とするデータ処理装置。A data processing device consisting of a main storage device with a parity check function, a CPU device that manages the entire system, an input/output control device that controls input/output devices, and a system bus that has control logic for bus usage rights that connects these devices. , has a function to detect when a write command to the main memory is output to the main memory, and additionally adds a mechanism to automatically read the address immediately after writing by memorizing the written address. A data processing device characterized by making it possible.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60127367A JPS61285558A (en) | 1985-06-12 | 1985-06-12 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60127367A JPS61285558A (en) | 1985-06-12 | 1985-06-12 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61285558A true JPS61285558A (en) | 1986-12-16 |
Family
ID=14958210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60127367A Pending JPS61285558A (en) | 1985-06-12 | 1985-06-12 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61285558A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07271679A (en) * | 1994-04-01 | 1995-10-20 | Nec Corp | Memory diagnostic circuit |
-
1985
- 1985-06-12 JP JP60127367A patent/JPS61285558A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07271679A (en) * | 1994-04-01 | 1995-10-20 | Nec Corp | Memory diagnostic circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4603406A (en) | Power backed-up dual memory system | |
US8365031B2 (en) | Soft error correction method, memory control apparatus and memory system | |
US6347365B1 (en) | Data storage system having a[n] memory responsive to clock pulses produced on a bus and clock pulses produced by an internal clock | |
JPH1011348A (en) | Controller for dram, and the dram | |
US4488223A (en) | Control apparatus for a plurality of memory units | |
JPS61285558A (en) | Data processor | |
JP3239935B2 (en) | Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor | |
JPH0316655B2 (en) | ||
JPH096725A (en) | Asynchronous data transfer receiver | |
JP3862777B2 (en) | Duplex data matching method and duplex control device | |
JPS6134645A (en) | Control system of duplex structure memory | |
JPS5836439B2 (en) | Buffer memory access processing method | |
JPH05108493A (en) | Memory control system | |
JPS61125652A (en) | Control system | |
JPH05265790A (en) | Microprocessor device | |
JPH05324487A (en) | Memory control system | |
JPH04239355A (en) | Electronic disk device | |
JPS6073763A (en) | Detecting system of memory address error | |
JPH083803B2 (en) | NMI processing method | |
JPS62184564A (en) | Electronic computer control system | |
JPH08328997A (en) | Local bus access method and bus adapter | |
JPS63251840A (en) | Multiprocessor abnormality detection control method | |
JPH02302855A (en) | Memory control system | |
JPS59116998A (en) | Main storage failure detection method | |
JPS63273950A (en) | Data processor containing duplex memory |