JPH05298193A - Memory access fault detecting circuit - Google Patents

Memory access fault detecting circuit

Info

Publication number
JPH05298193A
JPH05298193A JP4101483A JP10148392A JPH05298193A JP H05298193 A JPH05298193 A JP H05298193A JP 4101483 A JP4101483 A JP 4101483A JP 10148392 A JP10148392 A JP 10148392A JP H05298193 A JPH05298193 A JP H05298193A
Authority
JP
Japan
Prior art keywords
memory
data
error
port
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.)
Withdrawn
Application number
JP4101483A
Other languages
Japanese (ja)
Inventor
Ichiro Kasahara
一郎 笠原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4101483A priority Critical patent/JPH05298193A/en
Publication of JPH05298193A publication Critical patent/JPH05298193A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To enable detection that erroneous data is not written in a memory and to which memory port a fault belongs regarding a device using a shared memory. CONSTITUTION:In a device which uses a shared memory 76 provided with a memory port circuit 77 provided with pulral ports 38 to 39 performing the data transfer between a common bus 9 and a memory 34 and performing the error detection and correctionof transfer data by using error correction codes, and a memory access control circuit 37 to buffer data to be written in the memory 34, and which is provided with a write in means 43 writing in data in shared memory 76 via the common bus 9, an error detection means 40 performing the error check of data to be transmitted to the memory 34 by using the error correction codes and an inhibition means 41 to inhibit the data writing-in for the memory 34 at the time when the error detection means 40 detects the data error of plural bits and notification means 42 notifying the inhibition of the data writing-in to the write in means 43 provided in the constitution.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は共通バスに接続された複
数のメモリポートと、メモリアクセス制御回路とを経
て、メモリにデータを書込む構成の共用メモリを使用す
る装置に係り、特にメモリポート及びメモリアクセス制
御回路の障害により誤ったデータがメモリに書込まれる
ことを防止すると共に、どのメモリポートの障害かを検
出し得るメモリアクセス障害検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus using a shared memory configured to write data into a memory via a plurality of memory ports connected to a common bus and a memory access control circuit, and more particularly to a memory port. The present invention also relates to a memory access failure detection circuit that can prevent erroneous data from being written in a memory due to a failure of the memory access control circuit and can detect which memory port has a failure.

【0002】共通バスに接続された共用メモリを使用す
る装置には、例えば、プロセッサによって夫々制御され
る複数の機能単位で構成されるディスク制御装置があ
る。そして、このディスク制御装置は、上位装置との間
のデータ転送を制御するチャネルアダプタと呼ばれる機
能単位と、ディスク装置との間のデータ転送を制御する
デバイスアダプタと呼ばれる機能単位と、これらの機能
単位の処理を統率するリソースマネージャと呼ばれる機
能単位と、これらの機能単位の診断を行うサービスアダ
プタと呼ばれる機能単位と、転送データを格納する共用
メモリと呼ばれる機能単位から構成されている。
A device that uses a shared memory connected to a common bus is, for example, a disk control device that is composed of a plurality of functional units that are each controlled by a processor. The disk control device includes a functional unit called a channel adapter that controls data transfer with a host device, a functional unit called a device adapter that controls data transfer with a disk device, and these functional units. It is composed of a functional unit called a resource manager that controls the processing of the above, a functional unit called a service adapter that diagnoses these functional units, and a functional unit called a shared memory that stores transfer data.

【0003】ところで、共用メモリは前記の如く、複数
のメモリポートと、メモリアクセス制御回路とを経て、
メモリにデータを書込む構成となっているため、このメ
モリポートとメモリアクセス制御回路に障害が発生する
と、誤ったデータがメモリに書込まれてデータが破壊さ
れるが、このような状態は防止されることが必要であ
る。
By the way, the shared memory passes through a plurality of memory ports and a memory access control circuit as described above,
Since the data is written to the memory, if a failure occurs in this memory port and memory access control circuit, incorrect data will be written to the memory and the data will be destroyed. Needs to be done.

【0004】そして、複数のメモリポートのどのポート
が障害となったかを容易に選別し得ることが望ましい。
It is desirable to be able to easily select which of the plurality of memory ports has failed.

【0005】[0005]

【従来の技術】図5は従来技術の一例を説明するブロッ
ク図で、図6と図7は各機能単位の詳細ブロック図であ
る。
2. Description of the Related Art FIG. 5 is a block diagram for explaining an example of a conventional technique, and FIGS. 6 and 7 are detailed block diagrams of each functional unit.

【0006】ディスク制御装置2は、複数の機能単位で
構成されており、チャネルアダプタ4は、図6(A) に示
す如き構成で、プロセッサ12は制御記憶13に格納さ
れたプログラムを読出して動作し、インタフェース回路
10を経て、チャネル1からのスタートI/O命令の受
領と、チャネル1との間のデータ転送を行うと共に、共
通バス制御回路11を制御して、共通バス9を経て他の
機能単位との間のデータ転送を行う。
The disk controller 2 is composed of a plurality of functional units. The channel adapter 4 has a structure as shown in FIG. 6A, and the processor 12 operates by reading a program stored in the control memory 13. Then, through the interface circuit 10, the start I / O command is received from the channel 1 and the data transfer with the channel 1 is performed, and the common bus control circuit 11 is controlled so that another signal is transmitted through the common bus 9. Transfers data to and from the functional unit.

【0007】デバイスアダプタ5は、図6(A) に示す如
き構成で、プロセッサ12は制御記憶13に格納された
プログラムを読出して動作し、インタフェース回路10
を経て、ディスク装置3に命令を送出し、ディスク装置
3との間のデータ転送を行うと共に、共通バス制御回路
11を制御して、共通バス9を経て他の機能単位との間
のデータ転送を行う。
The device adapter 5 has a structure as shown in FIG. 6 (A), and the processor 12 operates by reading the program stored in the control memory 13 to operate the interface circuit 10.
Command is sent to the disk device 3 to transfer data to and from the disk device 3, and the common bus control circuit 11 is controlled to transfer data to and from other functional units via the common bus 9. I do.

【0008】リソースマネージャ6は、図6(B) に示す
如き構成で、プロセッサ15は制御記憶14に格納され
ているプログラムを読出して動作し、共通バス制御回路
16を制御して共通バス9を経由し、チャネル1からの
総てのスタートI/O命令を受領してRAM17に格納
し、このスタートI/O命令を集中管理すると共に、各
スタートI/O命令毎に、チャネルアダプタ4と、デバ
イスアダプタ5にデータ転送処理の指示を行う。
The resource manager 6 has a configuration as shown in FIG. 6 (B), and the processor 15 operates by reading the program stored in the control memory 14 to control the common bus control circuit 16 to operate the common bus 9. All the start I / O commands from the channel 1 are received and stored in the RAM 17 via the route, the start I / O commands are centrally managed, and a channel adapter 4 is provided for each start I / O command. The device adapter 5 is instructed to perform data transfer processing.

【0009】又、受領した全スタートI/O命令毎の制
御情報や、チャネル経路毎の制御情報、ディスク装置3
の制御情報をRAM17に格納し、他の機能単位がRA
Mアクセス制御回路18を経て、このRAM17をアク
セスし、上記情報を読出すことを可能として、この情報
を集中管理する。
The control information for each received start I / O command, the control information for each channel path, and the disk device 3
Control information is stored in the RAM 17 and other functional units are RA
This information can be read out by accessing the RAM 17 through the M access control circuit 18, and the information is centrally managed.

【0010】サービスアダプタ8は図6(C) に示す如き
構成で、プロセッサ21は制御記憶22に格納されてい
るプログラムを読出して動作し、インタフェース回路2
0を経てオペレータから診断を指示されると、共通バス
制御回路23を制御して共通バス9を経て指定された機
能単位の診断を行って、その結果をRAM19に格納
し、オペレータの指示により図示省略した操作パネル等
に表示する。
The service adapter 8 has a structure as shown in FIG. 6C, and the processor 21 operates by reading the program stored in the control memory 22 to operate.
When the operator gives a diagnosis instruction via 0, the common bus control circuit 23 is controlled to perform the diagnosis of the designated functional unit via the common bus 9, and the result is stored in the RAM 19 and illustrated by the operator's instruction. Display on the omitted operation panel.

【0011】共用メモリ7は図7に示す如き構成で、メ
モリポート回路24には複数のポート27〜28とドラ
イバ29及びドライバ/レシーバ30が設けられ、メモ
リアクセス制御回路25にはレジスタ31と32が設け
られ、メモリ回路26には命令解析回路33とメモリ3
4が設けられている。
The shared memory 7 has a structure as shown in FIG. 7, a memory port circuit 24 is provided with a plurality of ports 27 to 28, a driver 29 and a driver / receiver 30, and a memory access control circuit 25 is provided with registers 31 and 32. Is provided, and the memory circuit 26 includes an instruction analysis circuit 33 and a memory 3.
4 are provided.

【0012】そして、ポート27には、誤り訂正符号の
発生と誤り検出及び訂正を行うECC35が、ポート2
8には、誤り訂正符号の発生と誤り検出及び訂正を行う
ECC36が夫々設けられており、共通バス9のデータ
転送能力に対応して、複数のポート27〜28が設けら
れている。
At the port 27, an ECC 35 for generating an error correction code and detecting and correcting an error is provided at the port 2.
An ECC 36 for generating an error correction code and for detecting and correcting an error is provided in the reference numeral 8, and a plurality of ports 27 to 28 are provided corresponding to the data transfer capability of the common bus 9.

【0013】即ち、共通バス9のデータ転送能力が96
Mバイトで、ポート27〜28のデータ転送能力が夫々
12Mバイトであると、ポートの数は8となる。チャネ
ル1がチャネルアダプタ4にスタートI/O命令を送出
し、例えば、ディスク装置3に対するデータの書込みを
指示すると、チャネルアダプタ4はリソースマネージャ
6に共通バス9の使用権を要求し、許可されるとリソー
スマネージャ6のRAM17にシリンダアドレスとヘッ
ドアドレスとセクタアドレスを格納する。
That is, the data transfer capability of the common bus 9 is 96.
If the data transfer capability of the ports 27 to 28 is 12 Mbytes in M bytes, the number of ports becomes eight. When the channel 1 sends a start I / O command to the channel adapter 4 and instructs to write data to the disk device 3, for example, the channel adapter 4 requests the resource manager 6 for the right to use the common bus 9 and is granted. The cylinder address, head address, and sector address are stored in the RAM 17 of the resource manager 6.

【0014】そして、チャネルアダプタ4はチャネル1
が送出するデータを共用メモリ7に書込む。即ち、ポー
ト27〜28の中の一つのポート、例えば、ポート27
に書込みデータのアドレスを設定した後、書込み命令と
転送ワード数を発行し、チャネル1が送出するデータの
書込みを指示する。
The channel adapter 4 is the channel 1
Write the data sent by the. That is, one of the ports 27 to 28, for example, the port 27
After setting the address of the write data to, the write command and the number of transfer words are issued, and the writing of the data transmitted by the channel 1 is instructed.

【0015】従って、ポート27はドライバ29を経て
レジスタ31に書込み命令とアドレスを書込み、レジス
タ31は書込み命令とアドレスを分離して、命令解析回
路33にコマンドとアドレスを送出する。
Therefore, the port 27 writes the write command and the address to the register 31 via the driver 29, the register 31 separates the write command and the address, and sends the command and the address to the command analysis circuit 33.

【0016】ポート27〜28は共通バス9を経て転送
されるデータに、ECC35〜36が作成する誤り訂正
符号を付加して、ドライバ/レシーバ30を経てメモリ
34に送出し、メモリ34は命令解析回路33の制御信
号に基づき、指定されたアドレスから順次データの書込
みを行う。
The ports 27 to 28 add the error correction code created by the ECCs 35 to 36 to the data transferred via the common bus 9 and send it to the memory 34 via the driver / receiver 30, and the memory 34 analyzes the instruction. Based on the control signal of the circuit 33, data is sequentially written from the designated address.

【0017】デバイスアダプタ5はリソースマネージャ
6の指示により、リソースマネージャ6のRAM17に
格納されたシリンダアドレスとヘッドアドレスとセクタ
アドレスを読出し、ディスク装置3を制御して、ヘッド
を指定されたシリンダに位置付けすると、ポート27に
読出しデータのアドレスを設定した後、読出し命令と転
送ワード数を発行し、メモリ34からデータの読出しを
指示する。
The device adapter 5 reads a cylinder address, a head address and a sector address stored in the RAM 17 of the resource manager 6 according to an instruction from the resource manager 6, controls the disk device 3 and positions the head at a designated cylinder. Then, after setting the address of the read data in the port 27, the read command and the number of transfer words are issued, and the reading of the data from the memory 34 is instructed.

【0018】即ち、前記同様命令解析回路33にレジス
タ31から与えられたコマンドとアドレスにより、メモ
リ34から読出されたデータはレジスタ32に書込ま
れ、ドライバ/レシーバ30を経てポート27〜28に
転送され、ECC35〜36によって誤り検出と訂正を
受け、共通バス9を経てデバイスアダプタ5に転送され
る。
That is, similarly to the above, the data read from the memory 34 is written in the register 32 by the command and address given from the register 31 to the instruction analysis circuit 33, and transferred to the ports 27 to 28 via the driver / receiver 30. Then, the error detection and correction are performed by the ECCs 35 to 36, and the data is transferred to the device adapter 5 via the common bus 9.

【0019】従って、デバイスアダプタ5は指定された
ヘッドに転送されたデータを送出し、指定されたセクタ
から順次データの書込みを行わせる。
Therefore, the device adapter 5 sends the transferred data to the designated head, and causes the designated sector to sequentially write the data.

【0020】[0020]

【発明が解決しようとする課題】上記の如く、従来はE
CC35〜36によってメモリ34に書込まれるデータ
に誤り訂正符号が付加されており、メモリ34から読出
されたデータが誤っているか否かをECC35〜36に
よって検出されている。
As described above, the conventional E
An error correction code is added to the data written in the memory 34 by the CCs 35 to 36, and the ECC 35 to 36 detects whether or not the data read from the memory 34 is erroneous.

【0021】そして、1ビットの誤りならば訂正されて
使用されるが、複数ビットの誤りであると、訂正不能と
してエラー報告が行われる。ところで、メモリ34とポ
ート27〜28の間には、ドライバ/レシーバ30とレ
ジスタ32が存在し、ポート27〜28やレジスタ32
を構成するLSiのピンやデータ線等に2箇所以上の障
害が発生すると、メモリ34に多ビットのエラーを持つ
データが書込まれた後、読出し時にそのエラーが検出さ
れるため、メモリ34に書込まれたデータが破壊される
という問題がある。
If a 1-bit error is corrected, it will be used, but if it is a multi-bit error, an error will be reported as uncorrectable. By the way, the driver / receiver 30 and the register 32 exist between the memory 34 and the ports 27 to 28, and the ports 27 to 28 and the register 32 are provided.
If two or more faults occur in the pins or data lines of the LSi configuring the memory, data with a multi-bit error is written in the memory 34, and the error is detected during reading. There is a problem that the written data is destroyed.

【0022】又、サービスアダプタ8が共用メモリ7の
診断を行った場合は、ポート27〜28の中のどのポー
トを経てメモリ34のデータを読出しても、メモリ34
のエラーであることが検出されるため、共用メモリ7の
どのポートが障害かを検出することが出来ないという問
題がある。
Further, when the service adapter 8 diagnoses the shared memory 7, even if the data in the memory 34 is read through any of the ports 27 to 28, the memory 34 is read.
Since the error is detected, it is impossible to detect which port of the shared memory 7 has the failure.

【0023】本発明はこのような問題点に鑑み、複数の
ポート27〜28の中で、障害となったポートを検出す
ることを可能とすると共に、メモリ34にエラーデータ
の書込みを行わせないようにすることを目的としてい
る。
In view of such a problem, the present invention makes it possible to detect a faulty port among the plurality of ports 27 to 28 and prevent the memory 34 from writing error data. The purpose is to do so.

【0024】[0024]

【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。図1(A) において、装置は転
送データを格納するメモリ34と、共通バス9に接続さ
れて、この共通バス9と前記メモリ34との間のデータ
転送を行うと共に、誤り訂正符号を用いて転送データの
誤り検出及び訂正を行うECC機能を夫々備えた複数の
ポート38〜39を備えたメモリポート回路77と、前
記メモリ34に対するアクセスを制御すると共に、この
メモリ34に書込むデータをバッファリングするメモリ
アクセス制御回路37とを備えた共用メモリ76を使用
し、前記共通バス9を経由して、この共用メモリ76に
データを書込む書込み手段43を備えている。
FIG. 1 is a block diagram for explaining the principle of the present invention. In FIG. 1 (A), the device is connected to a memory 34 for storing transfer data and a common bus 9 for transferring data between the common bus 9 and the memory 34, and using an error correction code. A memory port circuit 77 having a plurality of ports 38 to 39 each having an ECC function for error detection and correction of transfer data, controlling access to the memory 34, and buffering data to be written in the memory 34. The shared memory 76 including the memory access control circuit 37 is used, and the writing means 43 for writing data into the shared memory 76 via the common bus 9 is provided.

【0025】そして、前記誤り訂正符号を用いて前記メ
モリアクセス制御回路37がバッファリングして前記メ
モリ34に送出するデータのエラーチェックを行う誤り
検出手段40と、この誤り検出手段40が複数ビットの
データエラーを検出した時点で、前記メモリ34に対す
るデータ書込みを禁止する禁止手段41と、データの書
込み禁止をメモリポート回路77を経て前記書込み手段
43に通知する通知手段42とを設けている。
Then, the error detection means 40 performs error checking of the data buffered by the memory access control circuit 37 and sent to the memory 34 using the error correction code, and the error detection means 40 has a plurality of bits. When a data error is detected, a prohibiting unit 41 for prohibiting data writing to the memory 34 and a notifying unit 42 for notifying the write prohibition of the data to the writing unit 43 via the memory port circuit 77 are provided.

【0026】又、図1(B) において、装置は転送データ
を格納するメモリ34と、共通バス9に接続されて、こ
の共通バス9と前記メモリ34との間のデータ転送を行
うと共に、誤り訂正符号を用いて該転送データの誤り検
出及び訂正を行うECC機能を夫々備えた複数のポート
47〜48を備えたメモリポート回路45と、メモリ3
4に対するアクセスを制御すると共に、このメモリ34
に書込むデータをバッファリングするメモリアクセス制
御回路46とを備えた共用メモリ44を使用し、前記共
通バス9を経由して、共用メモリ44にデータを書込む
書込み手段43と、共用メモリ44の診断を行う診断手
段54とを備えている。
Further, in FIG. 1B, the device is connected to a memory 34 for storing transfer data and a common bus 9 so as to perform data transfer between the common bus 9 and the memory 34 and to make an error. A memory port circuit 45 having a plurality of ports 47 to 48 each having an ECC function for detecting and correcting an error in the transfer data using a correction code;
4 is controlled, and the memory 34
Using a shared memory 44 having a memory access control circuit 46 for buffering the data to be written in, the writing means 43 for writing the data in the shared memory 44 via the common bus 9 and the shared memory 44 The diagnostic means 54 which diagnoses is provided.

【0027】そして、前記メモリポート回路45の各ポ
ート47〜48には、前記メモリ34に転送するデータ
の送出時に、自己のポートアドレスを送出するアドレス
送出手段49〜50を夫々設けており、前記メモリアク
セス制御回路46には、前記誤り訂正符号を用いて該メ
モリアクセス制御回路46がバッファリングして前記メ
モリ34に送出するデータのエラーチェックを行う誤り
検出手段40と、この誤り検出手段40が複数ビットの
データエラーを検出した時点で、前記アドレス送出手段
49〜50が送出するポートアドレスを各ポート毎に区
別して記憶する記憶手段51と、この記憶手段51の記
憶するポートアドレスを各ポート47〜48毎に区別し
て読出す読出し手段52と、前記誤り検出手段40が複
数ビットのデータエラーを検出したことを前記診断手段
54に通知する通知手段53とを設けている。
Each of the ports 47 to 48 of the memory port circuit 45 is provided with address transmitting means 49 to 50 for transmitting its own port address when transmitting the data to be transferred to the memory 34. The memory access control circuit 46 includes an error detecting means 40 for performing an error check on the data buffered by the memory access control circuit 46 and sent to the memory 34 using the error correction code, and the error detecting means 40. When a data error of a plurality of bits is detected, the storage means 51 for storing the port address transmitted by the address transmission means 49 to 50 separately for each port, and the port address stored in the storage means 51 for each port 47. Read-out means 52 for distinguishing and reading out for every 48 to 48, and the error detection means 40 has a plurality of bits of data. The detection of the error is provided to a notification unit 53 for notifying the diagnosis means 54.

【0028】そして、前記通知手段53がメモリポート
回路45を経て前記診断手段54に複数ビットのデータ
エラーの検出を通知した場合、この診断手段54がメモ
リポート回路45を経て前記読出し手段52を制御し
て、記憶手段51が記憶している障害の発生したポート
のアドレスを読出す。
When the notifying means 53 notifies the diagnosing means 54 of the detection of a data error of a plurality of bits via the memory port circuit 45, the diagnosing means 54 controls the reading means 52 via the memory port circuit 45. Then, the address of the faulty port stored in the storage means 51 is read.

【0029】[0029]

【作用】上記の如く構成することにより、誤り検出手段
40が複数ビットのデータエラーを検出した時点で、禁
止手段41がデータの書込みを禁止するため、メモリ3
4に対するデータの書込みが停止する。従って、メモリ
34のデータが破壊されることが防止される。
With the above arrangement, the prohibiting means 41 prohibits the writing of data at the time when the error detecting means 40 detects a data error of a plurality of bits.
Writing of data to 4 is stopped. Therefore, the data in the memory 34 is prevented from being destroyed.

【0030】そして、書込み手段43は通知手段42か
らの通知により、データの書込みが中止されたことを認
識することが出来る。又、記憶手段51は誤り検出手段
40が複数ビットのデータエラーを検出した時点で、ア
ドレス送出手段49〜50の中でポートアドレスを送出
した一つのポートのアドレスを記憶する。
Then, the writing means 43 can recognize that the writing of data has been stopped by the notification from the notifying means 42. Further, the storage means 51 stores the address of one port which has transmitted the port address among the address transmission means 49 to 50 when the error detection means 40 detects a data error of a plurality of bits.

【0031】即ち、ポート47〜48の中で、複数ビッ
トのデータエラーの発生したデータブロックを転送中の
ポートのアドレスが記憶される。そして、診断手段54
は通知手段53によってデータエラー発生を通知される
ため、読出し手段52を制御して、記憶手段51が記憶
しているポートアドレスを読出す。
That is, among the ports 47 to 48, the address of the port which is transferring the data block in which the data error of a plurality of bits has occurred is stored. Then, the diagnostic means 54
Since the notification means 53 notifies the occurrence of a data error, the reading means 52 is controlled to read the port address stored in the storage means 51.

【0032】このポートアドレスは、障害の発生したポ
ートを示しているため、容易に障害発生ポートを認識す
ることが出来る。
Since this port address indicates the faulty port, the faulty port can be easily recognized.

【0033】[0033]

【実施例】図2は本発明の一実施例を示す回路のブロッ
ク図で、図3はメモリアクセス制御回路の詳細ブロック
図で、図4は図3の動作を説明するタイムチャートであ
る。
2 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 3 is a detailed block diagram of a memory access control circuit, and FIG. 4 is a time chart for explaining the operation of FIG.

【0034】図2において、図4と同一符号は同一機能
のものを示す。メモリポート回路45のポート47〜4
8は、図6に示すポート27〜28に夫々アドレス送出
回路55〜56を追加したもので、ドライバ29を経て
メモリアクセス制御回路78に書込み又は読出し命令と
アドレスを送出する際に、アドレス送出回路55はポー
ト47のアドレスを付加して送出し、アドレス送出回路
56はポート48のアドレスを付加して送出する。
In FIG. 2, the same reference numerals as those in FIG. 4 indicate the same functions. Ports 47 to 4 of the memory port circuit 45
8 is a port 27 to 28 shown in FIG. 6 to which address sending circuits 55 to 56 are added, respectively, and when sending a write or read command and an address to the memory access control circuit 78 via the driver 29, the address sending circuit 55 adds the address of the port 47 and sends it out, and the address sending circuit 56 adds the address of the port 48 and sends it out.

【0035】メモリアクセス制御回路78は図3に示す
如き構成で、メモリポート回路45のドライバ29が図
4のに示す如く、を経て送出するアドレスと命令及
びポートアドレスとが、図示省略したクロック分配回路
によって時分割で動作するレジスタ57と58によって
受領される。
The memory access control circuit 78 has a configuration as shown in FIG. 3, and the address, the instruction and the port address transmitted by the driver 29 of the memory port circuit 45 via the clock distribution as shown in FIG. It is received by registers 57 and 58 which operate in a time division manner by the circuit.

【0036】即ち、アドレスと命令をレジスタ57が受
領し、続いて送出されるポートアドレスをレジスタ58
が受領する。そして、レジスタ57に受領されたアドレ
スと命令は、図4の57出力に示す如く、アドレスに続
いて命令がマルチプレクサ59に送出され、マルチプレ
クサ59を経て図4のに示す如く、アドレスに続いて
命令がより図7で説明した如く、メモリ回路26の命
令解析回路33に夫々送出される。
That is, the register 57 receives the address and the instruction, and the port address to be subsequently transmitted is registered in the register 58.
To receive. Then, the address and the instruction received in the register 57 are sent to the multiplexer 59 following the address as indicated by the output 57 in FIG. 4, and through the multiplexer 59, the instruction is continued following the address as shown in FIG. Are sent to the instruction analysis circuit 33 of the memory circuit 26, respectively, as described in FIG.

【0037】そして、レジスタ58が受領したポートア
ドレスは、図4の58出力に示す如く、レジスタ65〜
66に送出される。チャネルアダプタ4又はデバイスア
ダプタ5が送出するデータは、ポート47〜48に入
り、ECC35〜36によってECCチェックコードが
付加される。そして、図4のに示す如く、からレシ
ーバ73に入り、図示省略したクロック分配回路により
時分割で動作するレジスタ74にはデータが、レジスタ
75にはデータに付加されたECCチェックコードが分
離されて格納される。
Then, the port address received by the register 58 is registered in the registers 65 to 65 as shown at 58 output in FIG.
Sent to 66. The data transmitted by the channel adapter 4 or the device adapter 5 enters the ports 47 to 48, and ECC check codes are added by the ECCs 35 to 36. Then, as shown in FIG. 4, the receiver 73 enters, and a register 74, which operates in a time division manner by a clock distribution circuit (not shown), separates the data, and the register 75 separates the ECC check code added to the data. Is stored.

【0038】そして、データは図4の74出力に示す如
く、ECCエラー検出回路62に送出されると共にを
経てメモリ34に送出され、ECCチェックコードは図
4の75出力に示す如く、ECCエラー検出回路62に
送出されると共にを経てメモリ34に送出され、夫々
メモリ34の指定されたアドレスに書込まれる。
Then, the data is sent to the ECC error detection circuit 62 and then sent to the memory 34 as shown at 74 output in FIG. 4, and the ECC check code is sent to the ECC error detection circuit as shown at 75 output in FIG. The data is sent to the circuit 62 and then to the memory 34, and written to the designated addresses of the memory 34, respectively.

【0039】この時、ECCエラー検出回路62は、こ
のデータとECCチェックコードとを用いてエラーチェ
ックを行い、エラーがなけれは論理 "0”をAND回路
60に送出したままであるため、マルチプレクサ59は
前記の如くレジスタ57の送出するアドレスと命令をメ
モリ回路26の命令解析回路33に送出する。
At this time, the ECC error detection circuit 62 performs an error check using this data and the ECC check code, and if there is no error, the logic "0" is still sent to the AND circuit 60, so that the multiplexer 59. Sends the address and instruction sent from the register 57 to the instruction analysis circuit 33 of the memory circuit 26 as described above.

【0040】若し、ECCエラー検出回路62が図4の
62エラー検出に示す如く、複数ビットのエラーを検出
すると、AND回路60に論理 "1”を送出し、デコー
ダ61も命令をデコードして論理 "1”をAND回路6
0に送出するため、AND回路60は論理 "1”をマル
チプレクサ59に送出する。
If the ECC error detection circuit 62 detects an error of a plurality of bits as indicated by 62 error detection in FIG. 4, a logic "1" is sent to the AND circuit 60 and the decoder 61 also decodes the instruction. Logic "1" is AND circuit 6
To send to 0, AND circuit 60 sends a logic "1" to multiplexer 59.

【0041】従って、マルチプレクサ59はレジスタ5
7が送出する命令の代わりに、から与えられる動作停
止命令を図4のに示す命令送出のタイミングでを経
て命令解析回路33に送出する。
Therefore, the multiplexer 59 has the register 5
Instead of the command sent by 7, the operation stop command given from is sent to the command analysis circuit 33 at the command sending timing shown in FIG.

【0042】従って、命令解析回路33はメモリ34に
対し、データの書込み動作の停止を指示するため、エラ
ーの発生したデータの書込みは中止される。フリップフ
ロップ63は、ECCエラー検出回路62が論理 "1”
を送出するため、セットされて図4のに示す如く、
を経てポート47〜48にエラー発生信号を送出し、ポ
ート47〜48はリソースマネージャ6にエラー発生を
通知する。
Therefore, the instruction analysis circuit 33 instructs the memory 34 to stop the data writing operation, so that the writing of the data in which the error has occurred is stopped. In the flip-flop 63, the ECC error detection circuit 62 has a logic "1".
To be sent, as shown in FIG.
After that, an error occurrence signal is sent to the ports 47 to 48, and the ports 47 to 48 notify the resource manager 6 of the error occurrence.

【0043】従って、リソースマネージャ6はチャネル
アダプタ4又はデバイスアダプタ5にエラー発生による
データの書込み中止を通知する。前記の如く、レジスタ
58に受領されたポートアドレスは、図4の65〜66
に示す如く、レジスタ65〜66に送出され、例えば、
ポート47のアドレスはレジスタ65に、ポート48の
アドレスはレジスタ66に夫々対応して記憶されるよう
に構成されている。
Therefore, the resource manager 6 notifies the channel adapter 4 or the device adapter 5 that the writing of data due to an error has occurred. As described above, the port address received in the register 58 is 65-66 in FIG.
As shown in FIG.
The address of the port 47 is stored in the register 65, and the address of the port 48 is stored in the register 66, respectively.

【0044】そして、ECCエラー検出回路62が複数
ビットのエラーを検出すると、前記の如く論理 "1”が
カウンタ68に送出される。カウンタ68はクロックに
よってポート47のポートアドレスがレジスタ65に記
憶され、ポート48のポートアドレスがレジスタ66に
記憶されるようなタイミングでカウントアップを繰り返
しており、論理 "1”が入ると図4の68に示す如く、
デコーダ67にその時点のカウント値を送出する。
When the ECC error detection circuit 62 detects an error of a plurality of bits, the logic "1" is sent to the counter 68 as described above. The counter 68 repeats counting up at a timing such that the port address of the port 47 is stored in the register 65 and the port address of the port 48 is stored in the register 66 by the clock, and when a logical "1" is input, the counter 68 of FIG. As shown in 68,
The count value at that time is sent to the decoder 67.

【0045】デコーダ67はこのカウント値に対応する
レジスタ65〜66の中の一つをイネーブルとしてレジ
スタ58が送出するポートアドレスを記憶させる。サー
ビスアダプタ8はリソースマネージャ6からエラー発生
を通知されると、ポート47〜48を経て診断を開始
し、レジスタ57を経てデコーダ61に命令を送出し、
カウンタ71のカウント値をデコーダ70に送出させ
る。
The decoder 67 enables one of the registers 65 to 66 corresponding to this count value to store the port address transmitted by the register 58. When the service manager 8 is notified of the error occurrence by the resource manager 6, the service adapter 8 starts diagnosis via the ports 47 to 48, sends an instruction to the decoder 61 via the register 57,
The count value of the counter 71 is sent to the decoder 70.

【0046】カウンタ71はレジスタ65〜66の内容
を順次読出すように巡回するカウント値を送出してお
り、このカウント値をデコードするデコーダ70が送出
する信号によって、OR回路72はドライバ69をイネ
ーブルとするため、マルチプレクサ64は順次レジスタ
65〜66の内容を読出して、ドライバ69を経てか
らポート47〜48に送出する。
The counter 71 sends out a count value that circulates so as to sequentially read the contents of the registers 65 to 66, and the OR circuit 72 enables the driver 69 by the signal sent out by the decoder 70 which decodes this count value. Therefore, the multiplexer 64 sequentially reads the contents of the registers 65 to 66, sends them to the ports 47 to 48 via the driver 69.

【0047】サービスアダプタ8は、ポート47〜48
を経て送出されるレジスタ65〜66の内容から、エラ
ー発生時のポートアドレスを認識すると、リソースマネ
ージャ6のRAM17に格納されている制御情報を更新
させ、障害発生ポートの使用を禁止させる。
The service adapter 8 has ports 47 to 48.
When the port address at the time of error occurrence is recognized from the contents of the registers 65 to 66 sent via the above, the control information stored in the RAM 17 of the resource manager 6 is updated and the use of the faulty port is prohibited.

【0048】メモリ34からデータが読出される場合、
マルチプレクサ64にはを経てリードデータが入り、
を経てリード信号がOR回路72に入るため、マルチ
プレクサ64はリードデータをドライバ69に送出し、
リードデータはリード信号でイネーブルとなったドライ
バ69により、を経てポート47〜48に送出され
る。
When data is read from the memory 34,
Read data enters through the multiplexer 64,
Since the read signal enters the OR circuit 72 via the, the multiplexer 64 sends the read data to the driver 69,
The read data is sent to the ports 47 to 48 via the driver 69 enabled by the read signal.

【0049】[0049]

【発明の効果】以上説明した如く、本発明は複数ビット
が誤ったエラーデータをメモリに書込むことによるデー
タの破壊を防止すると共に、複数ビットのエラー発生を
認識することが出来る。
As described above, according to the present invention, it is possible to prevent the destruction of data caused by writing error data in which a plurality of bits are erroneous into a memory, and it is possible to recognize the occurrence of an error in a plurality of bits.

【0050】又、複数のポートの中で障害を発生したポ
ートを検出することが可能となり、且つ、ドライバやレ
ジスタ等の共通部分の障害かを判別することが出来るた
め、保守を容易とすることが出来る。
Further, it becomes possible to detect a faulty port among a plurality of ports, and it is possible to determine whether or not a fault is in a common part such as a driver or a register, which facilitates maintenance. Can be done.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】 本発明の一実施例を示す回路のブロック図FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.

【図3】 メモリアクセス制御回路の詳細ブロック図FIG. 3 is a detailed block diagram of a memory access control circuit.

【図4】 図3の動作を説明するタイムチャートFIG. 4 is a time chart explaining the operation of FIG.

【図5】 従来技術の一例を説明するブロック図FIG. 5 is a block diagram illustrating an example of a conventional technique.

【図6】 各機能単位の詳細ブロック図(その1)FIG. 6 is a detailed block diagram of each functional unit (No. 1)

【図7】 各機能単位の詳細ブロック図(その2)FIG. 7 is a detailed block diagram of each functional unit (No. 2)

【符号の説明】[Explanation of symbols]

1 チャネル 2 ディスク制御装置 3 ディスク装置 4 チャネルアダプタ 5 デバイスアダプタ 6 リソースマネージャ 7、44、76 共用メモリ 8 サービスアダプタ 9 共通バス 10、20 インタフェース回路 11、16、23 共通バス制御回路 12、15、21 プロセッサ 13、14、22 制御記憶 17、19 RAM 18 RAMアクセス制御回路 24、45、77 メモリポート回路 25、37、46、78 メモリアクセス制御回路 26 メモリ回路 27、28、38、39、47、48 ポート 29、69 ドライバ 30 ドライバ/レシーバ 31、32、57、58、65、66、74、75 レジスタ 33 命令解析回路 34 メモリ 35、36 ECC 40 誤り検出手段 41 禁止手段 42、53 通知手段 43 書込み手段 49、50 アドレス送出手段 51 記憶手段 52 読出し手段 54 診断手段 55、56 アドレス送出回路 59、64 マルチプレクサ 60 AND回路 61、67、70 デコーダ 62 ECC エラー検出回路 63 フリップフロップ 68、71 カウンタ 72 OR回路 73 レシーバ 1 channel 2 disk controller 3 disk device 4 channel adapter 5 device adapter 6 resource manager 7,44,76 shared memory 8 service adapter 9 common bus 10,20 interface circuit 11,16,23 common bus control circuit 12,15,21 Processor 13, 14, 22 Control memory 17, 19 RAM 18 RAM access control circuit 24, 45, 77 Memory port circuit 25, 37, 46, 78 Memory access control circuit 26 Memory circuit 27, 28, 38, 39, 47, 48 Port 29, 69 Driver 30 Driver / Receiver 31, 32, 57, 58, 65, 66, 74, 75 Register 33 Instruction analysis circuit 34 Memory 35, 36 ECC 40 Error detection means 41 Inhibition means 42, 53 Notification means 43 Writing means 49, 50 Address sending means 51 Storage means 52 Reading means 54 Diagnostic means 55, 56 Address sending circuit 59, 64 Multiplexer 60 AND circuit 61, 67, 70 Decoder 62 ECC Error detecting circuit 63 flip-flops 68 and 71 the counter 72 OR circuit 73 Receiver

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 転送データを格納するメモリ(34)と、共
通バス(9) に接続されて該共通バス(9) と該メモリ(34)
との間のデータ転送を行うと共に、誤り訂正符号を用い
て該転送データの誤り検出及び訂正を行うECC機能を
夫々備えた複数のポート(38)〜(39)を備えたメモリポー
ト回路(77)と、該メモリ(34)に対するアクセスを制御す
ると共に、該メモリ(34)に書込むデータをバッファリン
グするメモリアクセス制御回路(37)とを備えた共用メモ
リ(76)を使用し、前記共通バス(9) を経由して該共用メ
モリ(76)にデータを書込む書込み手段(43)を備えた装置
において、 前記誤り訂正符号を用いて前記メモリアクセス制御回路
(37)がバッファリングして前記メモリ(34)に送出するデ
ータのエラーチェックを行う誤り検出手段(40)と、 該誤り検出手段(40)が複数ビットのデータエラーを検出
した時点で、前記メモリ(34)に対するデータ書込みを禁
止する禁止手段(41)と、 データの書込み禁止を前記書込み手段(43)に通知する通
知手段(42)と、 を設けたことを特徴とするメモリアクセス障害検出回
路。
1. A memory (34) for storing transfer data, and a common bus (9) connected to the common bus (9) and the memory (34).
Memory port circuit (77) including a plurality of ports (38) to (39) each having an ECC function of performing data transfer between ) And a memory access control circuit (37) for controlling access to the memory (34) and buffering data to be written in the memory (34), the common memory (76) is used. In a device having a writing means (43) for writing data to the shared memory (76) via a bus (9), the memory access control circuit using the error correction code
An error detecting means (40) for buffering the data sent by the (37) to the memory (34), and an error detecting means (40) when the error detecting means (40) detects a multi-bit data error. Memory access failure detection, characterized in that a prohibiting means (41) for prohibiting data writing to the memory (34) and a notifying means (42) for notifying the write means (43) of data write prohibition are provided. circuit.
【請求項2】 転送データを格納するメモリ(34)と、共
通バス(9) に接続されて該共通バス(9) と該メモリ(34)
との間のデータ転送を行うと共に、誤り訂正符号を用い
て該転送データの誤り検出及び訂正を行うECC機能を
夫々備えた複数のポート(47)〜(48)を備えたメモリポー
ト回路(45)と、該メモリ(34)に対するアクセスを制御す
ると共に、該メモリ(34)に書込むデータをバッファリン
グするメモリアクセス制御回路(46)とを備えた共用メモ
リ(44)を使用し、前記共通バス(9) を経由して該共用メ
モリ(44)にデータを書込む書込み手段(43)と、該共用メ
モリ(44)の診断を行う診断手段(54)とを備えた装置にお
いて、 前記メモリポート回路(45)の各ポート(47)〜(48)には、
前記メモリ(34)に転送するデータの送出時に、自己のポ
ートアドレスを送出するアドレス送出手段(49)〜(50)を
夫々設け、 前記メモリアクセス制御回路(46)には、前記誤り訂正符
号を用いて該メモリアクセス制御回路(46)がバッファリ
ングして前記メモリ(34)に送出するデータのエラーチェ
ックを行う誤り検出手段(40)と、該誤り検出手段(40)が
複数ビットのデータエラーを検出した時点で前記アドレ
ス送出手段(49)〜(50)が送出するポートアドレスを各ポ
ート毎に区別して記憶する記憶手段(51)と、該記憶手段
(51)の記憶する該ポートアドレスを各ポート(47)〜(48)
毎に区別して読出す読出し手段(52)と、該誤り検出手段
(40)が複数ビットのデータエラーを検出したことを前記
診断手段(54)に通知する通知手段(53)とを設け、 前記通知手段(53)が前記診断手段(54)に複数ビットのデ
ータエラーの検出を通知した場合、該診断手段(54)が前
記読出し手段(52)を制御して、障害の発生したポートの
アドレスを読出すことを特徴とするメモリアクセス障害
検出回路。
2. A memory (34) for storing transfer data and a common bus (9) connected to the common bus (9) and the memory (34).
And a memory port circuit (45) having a plurality of ports (47) to (48) each having an ECC function of performing error detection and correction of the transferred data by using an error correction code. ) And a memory access control circuit (46) for controlling access to the memory (34) and buffering data to be written in the memory (34). A device comprising a writing means (43) for writing data to the shared memory (44) via a bus (9) and a diagnostic means (54) for diagnosing the shared memory (44), For each port (47) to (48) of the port circuit (45),
When sending data to be transferred to the memory (34), each is provided with address sending means (49) to (50) for sending its own port address, and the memory access control circuit (46) is provided with the error correction code. An error detecting means (40) for buffering the data by the memory access control circuit (46) and sending it to the memory (34) for error checking, and a data error of a plurality of bits by the error detecting means (40). Storage means (51) for storing the port addresses transmitted by the address transmission means (49) to (50) separately for each port at the time of detecting
The port address stored in (51) is assigned to each port (47) to (48).
A reading means (52) for distinguishing and reading for each, and the error detecting means
(40) is provided with a notifying means (53) for notifying the diagnosing means (54) that a multi-bit data error has been detected, and the notifying means (53) provides the diagnosing means (54) with multi-bit data. A memory access failure detection circuit, wherein the diagnostic means (54) controls the read means (52) to read the address of the failed port when the error detection is notified.
JP4101483A 1992-04-22 1992-04-22 Memory access fault detecting circuit Withdrawn JPH05298193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4101483A JPH05298193A (en) 1992-04-22 1992-04-22 Memory access fault detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4101483A JPH05298193A (en) 1992-04-22 1992-04-22 Memory access fault detecting circuit

Publications (1)

Publication Number Publication Date
JPH05298193A true JPH05298193A (en) 1993-11-12

Family

ID=14301963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4101483A Withdrawn JPH05298193A (en) 1992-04-22 1992-04-22 Memory access fault detecting circuit

Country Status (1)

Country Link
JP (1) JPH05298193A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318357A (en) * 2003-04-15 2004-11-11 Hitachi Ltd Channel adapter
WO2009116661A1 (en) * 2008-03-18 2009-09-24 セイコーエプソン株式会社 Liquid container
JP2009289106A (en) * 2008-05-30 2009-12-10 Fujitsu Ltd Semiconductor integrated circuit, its controlling method, and information-processing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318357A (en) * 2003-04-15 2004-11-11 Hitachi Ltd Channel adapter
WO2009116661A1 (en) * 2008-03-18 2009-09-24 セイコーエプソン株式会社 Liquid container
JP2009259225A (en) * 2008-03-18 2009-11-05 Seiko Epson Corp Liquid container
JP2009289106A (en) * 2008-05-30 2009-12-10 Fujitsu Ltd Semiconductor integrated circuit, its controlling method, and information-processing device

Similar Documents

Publication Publication Date Title
US4686621A (en) Test apparatus for testing a multilevel cache system with graceful degradation capability
US6886116B1 (en) Data storage system adapted to validate error detection logic used in such system
EP1703398B1 (en) Techniques for soft error correction
US5005172A (en) Diagnostic system in a data processing system
JPS6229827B2 (en)
KR870000114B1 (en) Data processing system
US6587963B1 (en) Method for performing hierarchical hang detection in a computer system
US5430747A (en) Bus configuration validation for a multiple source disk array bus
JPH05298193A (en) Memory access fault detecting circuit
JPH10312340A (en) Error detection and correction system of semiconductor storage device
JPH05324950A (en) Logical card for information processor
KR950012495B1 (en) Memory device diagnosis apparatus and method thereof
JPH07160587A (en) Multiplex memory device
JP3008914B2 (en) Semiconductor integrated circuit
JPH0275043A (en) Information processor
JPH02297235A (en) Memory data protecting circuit
JPS5832422B2 (en) Micro Shindan Houshiki
JPH0816487A (en) Data processor
JPH06110721A (en) Memory controller
JPH0528052A (en) Method for restoration from abnormality of memory access control
JPH0520200A (en) Error processing system for address conversion buffer
JPH0528056A (en) Memory device
JPH02242452A (en) Memory card
JPS5847055B2 (en) Failure diagnosis method for information processing equipment
JPS6218066B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706