JPS63282872A - Data processor - Google Patents

Data processor

Info

Publication number
JPS63282872A
JPS63282872A JP62117027A JP11702787A JPS63282872A JP S63282872 A JPS63282872 A JP S63282872A JP 62117027 A JP62117027 A JP 62117027A JP 11702787 A JP11702787 A JP 11702787A JP S63282872 A JPS63282872 A JP S63282872A
Authority
JP
Japan
Prior art keywords
circuit
data
central processing
processing unit
dma
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
Application number
JP62117027A
Other languages
Japanese (ja)
Inventor
Kazuo Sumiya
炭谷 和男
Hiroki Masuda
増田 博樹
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 JP62117027A priority Critical patent/JPS63282872A/en
Publication of JPS63282872A publication Critical patent/JPS63282872A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

PURPOSE:To inhibit the transmission of one-bit error detection during DMA data transfer to a CPU by suppressing an one-bit error detecting signal outputted from an ECC circuit having an one-bit error detecting/correcting function by a DMA data transfer signal outputted from the CPU. CONSTITUTION:A main memory device 1 has a detecting/correcting circuit (ECC circuit) 10 having the one-bit detecting and correcting function and a memory part 20. A DMA control circuit 3 is allowed to execute the I/O of data to/from the main memory device 1 independently of the instruction executing operation of the CPU 2. When a signal indicating direct data transfer is outputted from the CPU 2, a signal suppressing circuit 4 inhibits the transmission of an one-bit error detecting signal from the circuit 10 to the CPU 2. Even if the one-bit error is detected by the circuit 10 during the DMA data transfer, the error detecting signal is not transmitted from the ECC circuit 10 to the CPU 2 only during the DMA data transfer.

Description

【発明の詳細な説明】 〔概要〕 1ビット誤り検出・訂正機能を持っECC回路の1ビッ
ト誤り検出信号を、中央処理装置からのDMAデータ転
送中信号によって抑止し、DMAデータ転送中の1ビッ
ト誤り検出を中央処理装置に伝えないようにしたデータ
処理装置である。
[Detailed Description of the Invention] [Summary] The 1-bit error detection signal of the ECC circuit, which has a 1-bit error detection/correction function, is suppressed by the DMA data transfer in progress signal from the central processing unit, and the 1-bit error detection signal during DMA data transfer is suppressed. This is a data processing device that does not transmit error detection to the central processing unit.

〔産業上の利用分野〕[Industrial application field]

本発明はデータ処理装置に関し、特に、1ビット誤り検
出・訂正機能を持つ主記憶装置のDMAデータ転送中の
1ビット誤り検出信号の制御に関する。
The present invention relates to a data processing device, and more particularly to control of a 1-bit error detection signal during DMA data transfer in a main memory device having a 1-bit error detection/correction function.

−iに、DMA (ダイレクト・メモリ・アクセス)と
いう言葉はプログラム制御モードという言葉に相対して
使用され、中央処理装置のプログラムによって1つ1つ
の動作が制御されるプログラム制御モードに相対して、
DMAモードでは中央処理装置の介在なしにデータ転送
が主記憶装置と入出力装置との間で直接行われる。即ち
、中央処理装置がデータを自分のアキュムレータに蓄積
してデータ転送を実行するのがプログラム制御モードで
あり、中央処理装置が命令だけして勝手にデータ転送を
実行させるのがDMAモードである。
-i, the term DMA (direct memory access) is used in contrast to the term program control mode, in which each operation is controlled by a central processing unit program.
In DMA mode, data transfer occurs directly between main storage and input/output devices without central processing unit intervention. That is, in the program control mode, the central processing unit stores data in its own accumulator and executes data transfer, and in the DMA mode, the central processing unit executes data transfer by issuing only commands.

中央処理装置がDMAモードを起動する時には、まず中
央処理装置はプログラム制御モードでDMA制御装置に
、DMAデータ転送を行うための情報をセットする。こ
の情報は、■データの転送量(ワードで与えられる場合
と、バイトで与えられる場合とがあるが、いずれにせよ
、何ワード(何バイト)送りなさいという情報)、■メ
モリの番地(メモリ空間上の何番地から何ワード送りな
さい、反対にメモリのある番地に入れなさいという情報
)■制御情報(入力なのか、出力なのかのデータ転送の
方向を示す情報)である。更に中央処理装置は入出力装
置にコマンドを与える。そして、これらの情報が与えら
れると、与えられた入出力装置とDMA制御装置はこの
情報に従って、中央処理装置の命令動作とは独立にデー
タ転送を行う。
When the central processing unit starts the DMA mode, the central processing unit first sets information for performing DMA data transfer in the DMA control unit in the program control mode. This information consists of ■the amount of data to be transferred (sometimes it is given in words and sometimes it is given in bytes, but in either case, information on how many words (bytes) to send), ■memory address (memory space Control information (information indicating the direction of data transfer, whether input or output). Additionally, the central processing unit provides commands to the input/output devices. When this information is given, the given input/output device and DMA control device perform data transfer in accordance with this information, independently of the command operation of the central processing unit.

DMAが開始されると中央処理装置はホールトする。そ
の間前記情報に従って、主記憶装置と入出力装置との間
でデータ転送が行われる。この間、中央処理装置はずっ
とホールトしたままである。
When DMA is started, the central processing unit halts. Meanwhile, data is transferred between the main storage device and the input/output device according to the information. During this time, the central processing unit remains in a halt state.

データ転送が終了すると、中央処理装置が動き始め、ホ
ールトした次の命令からプログラム制御モードを再開し
ていく。
When the data transfer is completed, the central processing unit starts operating and resumes the program control mode from the next command that was halted.

このようなデータ転送においては、転送されるデータの
正確さが必要とされる。
Such data transfer requires accuracy of the transferred data.

〔従来の技術〕[Conventional technology]

主記憶装置の記憶部(メモリ)はD−RAM(ダイナミ
ック・RAM)で構成されており、D−RAMにはソフ
トエラーという一過性のメモリ障害、いわば記憶内容が
破壊された時に恒久的にそこが使えなくなるのではない
一過性の障害、例えばα線によるビット破壊(記憶破壊
)がある。
The storage section (memory) of the main storage device is composed of D-RAM (dynamic RAM). There is a temporary failure that does not make it unusable, such as bit destruction (memory destruction) caused by alpha rays.

この障害はある確率でおきるが、これを訂正するために
、従来はECC回路(エラー・コレクティング・アンド
・チェツキング回路:誤り検出・訂正回路)というのを
付けている。
This failure occurs with a certain probability, but in order to correct it, an ECC circuit (error correcting and checking circuit) is conventionally provided.

ECC回路は一般にメモリから読み出したデータの中に
、1ビツトの誤りがある時にはこれを検出し、訂正する
が、2ビツト以上の誤りがある時には検出のみ行い、訂
正は行わないように構成されたものである。即ち、メモ
リ上のある1ワードを着目した時に、ここのある1ビツ
トが障害になったとすると、この障害はデータ読み出し
時にECC回路によって検出され、ECC回路はこの障
害を本来の正しい値に直して出力する。そして、同時に
ECC回路はメモリ内のデータに誤りを検出した時点で
中央処理装置に対して割込を起こす。
ECC circuits generally detect and correct 1-bit errors in data read from memory, but when there are 2 or more bits of errors, they are configured to only detect and not correct them. It is something. In other words, when focusing on a certain word in memory, if one bit here becomes a fault, this fault will be detected by the ECC circuit when reading data, and the ECC circuit will correct the fault to the original correct value. Output. At the same time, the ECC circuit generates an interrupt to the central processing unit when it detects an error in the data in the memory.

中央処理装置にこの割込が起きると、罹障データ修復プ
ログラムが前記ECC回路に保持されている正しいデー
タを情報誤りが検出された番地に記憶する。このように
して主記憶装置内の誤ったデータも中央処理装置の処理
により正しい値に訂正される。
When this interrupt occurs in the central processing unit, the affected data restoration program stores the correct data held in the ECC circuit at the address where the information error was detected. In this way, even erroneous data in the main memory is corrected to a correct value by the processing of the central processing unit.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところが、従来のデータ処理装置では、前述のように、
ECC回路のデータ訂正処理により、データ転送を行っ
ている時のデータ内容は保障されているにもかかわらず
、データ転送を途中で止めて中央処理装置のホールトを
解除してメモリ内の誤り箇所のデータの訂正を実行して
いる。即ち、データ転送はうま(いっており、止める必
然性がないのにデータ転送を中止してメモリ内の誤り箇
所の訂正を行っている。
However, with conventional data processing devices, as mentioned above,
Even though the data contents are guaranteed during data transfer due to the data correction process of the ECC circuit, the data transfer is stopped midway, the central processing unit is released from the halt state, and the error location in the memory is corrected. Performing data correction. In other words, the data transfer is progressing well and there is no necessity to stop the data transfer, but the data transfer is stopped and the error location in the memory is corrected.

確かにメモリを直すという観点から言えば、早く直すの
であるから良いが、折角正常なデータが転送されている
にもかかわらず、データ転送を止めるということはもう
一度データ転送を最初からやり直さなければならず、時
間的に大きなロスになるという問題点がある。
It is true that from the perspective of fixing the memory, it is good because it fixes it quickly, but stopping data transfer even though normal data is being transferred means having to start the data transfer all over again. However, there is a problem in that it results in a large loss of time.

データ転送を中断した続きからデータ転送を再開すれば
このような問題点は生じないが、この処理を行うにはソ
フト処理が非常に困難である。
This problem does not occur if the data transfer is resumed from where it left off, but this process requires very difficult software processing.

本発明は、DMAデータ転送の最中にデータに誤りが発
見されても、ECC回路から出力されるデータは保障さ
れているということに着目してなされたものであり、そ
の目的とするところは、DMA転送中にデータにエラー
があっても、エラーがあったことを無視する、即ち、D
MAデータ転送の最中にデータに誤りが検出されても、
その検出結果を中央処理装置に対して教えず、DMA転
送終了後にデータ中の誤りの検出を通知するデータ処理
装置を提供することにある。
The present invention was made based on the fact that even if an error is discovered in the data during DMA data transfer, the data output from the ECC circuit is guaranteed, and its purpose is to , even if there is an error in the data during DMA transfer, the error is ignored, i.e. D
Even if an error is detected in the data during MA data transfer,
It is an object of the present invention to provide a data processing device that notifies the central processing unit of the detection of an error in data after DMA transfer ends, without informing the central processing unit of the detection result.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明のデータ処理装置の原理ブロフク図を示
すものである。
FIG. 1 shows a basic diagram of the data processing apparatus of the present invention.

図において1は主記憶装置であり、1ビット誤りの検出
機能及び訂正機能を持つ検出・訂正回路10(ECC回
路)および記憶部20を有する。2は中央処理装置であ
り、命令実行動作を行う。3はDMA制御回路であり、
前記主記憶装置lへのデータの入出力を前記中央処理装
置2の命令実行動作とは独立に実行させることができる
。4は信号抑止回路であり、前記検出・訂正回路10か
らの1ビット誤り検出信号を、前記中央処理装置2から
のデータの直接転送中を示す信号がある時には、中央処
理装置2に伝達を禁止する。5は入出力装置、6は周辺
機器、8はパスラインである。
In the figure, 1 is a main memory device, which includes a detection/correction circuit 10 (ECC circuit) having a 1-bit error detection function and correction function, and a storage section 20. 2 is a central processing unit that executes instructions. 3 is a DMA control circuit;
Data input/output to the main memory device 1 can be executed independently of the instruction execution operation of the central processing unit 2. Reference numeral 4 denotes a signal suppression circuit, which prohibits transmission of the 1-bit error detection signal from the detection/correction circuit 10 to the central processing unit 2 when there is a signal indicating that data is being directly transferred from the central processing unit 2. do. 5 is an input/output device, 6 is a peripheral device, and 8 is a pass line.

〔作用〕[Effect]

本発明のデータ処理装置によれば、DMAデータ転送中
にECC回路によりデータに1ビット誤りが検出されて
も、その誤り検出信号はDMAデータ転送中に限り、E
CC回路から中央処理装置に伝達されない。
According to the data processing device of the present invention, even if a 1-bit error is detected in the data by the ECC circuit during DMA data transfer, the error detection signal is emitted only during DMA data transfer.
It is not transmitted from the CC circuit to the central processing unit.

〔実施例〕〔Example〕

以下添付図面を用いて本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第2図は本発明のデータ処理装置の一実施例の構成を示
すものである。
FIG. 2 shows the configuration of an embodiment of the data processing apparatus of the present invention.

図において1は主記憶装置であり、1ビット誤りの検出
機能及び訂正機能を持つ検出・訂正回路であるECC回
路10および記憶部であるメモリ2゜を有する。2は中
央処理装置であり、命令実行動作を行う。3は中央処理
袋W2内にあるD M A制御回路であり、前記主記憶
装置1へのデータの入出力を前記中央処理装置2の命令
実行動作とは独立に実行させることができる。
In the figure, 1 is a main memory device, which includes an ECC circuit 10 which is a detection/correction circuit having a function of detecting and correcting a 1-bit error, and a memory 2° which is a storage section. 2 is a central processing unit that executes instructions. Reference numeral 3 denotes a DMA control circuit within the central processing bag W2, which can input and output data to the main storage device 1 independently of the instruction execution operation of the central processing unit 2.

4は信号抑止回路であり、この実施例では正論理の入力
と負論理の入力とを有するANDゲート4aから構成さ
れている。ANDゲート4aの正論理入力はECC回路
10にある1ビット誤り検出信号の出力端子に接続され
、負論理入力は前記DMA装置3のDMAデータ転送中
を示す信号の出力端子に接続されている。そして、この
ANDゲート4aの出力端子は前記中央処理装置2の割
込ビット端子2aに接続されている。
Reference numeral 4 denotes a signal suppression circuit, which in this embodiment is composed of an AND gate 4a having a positive logic input and a negative logic input. The positive logic input of the AND gate 4a is connected to the output terminal of the 1-bit error detection signal in the ECC circuit 10, and the negative logic input is connected to the output terminal of the DMA device 3 for a signal indicating that DMA data is being transferred. The output terminal of this AND gate 4a is connected to the interrupt bit terminal 2a of the central processing unit 2.

前記主記憶装置Iと中央処理装置2とはプロセッサバス
8aに接続している。このプロセッサバス8aには周辺
バス8bが接続しており、この周辺バス8bに入出力装
置としてファイルメモリ制御装置5aやデータ通信制御
装置5b等が接続されている。ファイルメモリ制御装置
5aにはフロンピーディスク装置6aやハードディスク
装置6b等の周辺機器が接続されており、ファイルメモ
リ制御装置5aの書込/読出制御により前記主記憶装置
1とのデータ転送を行う。また、ハードディスク装置5
bには保守コンソール6c等が接続されており、前記主
記憶装置1とのデータ転送を行うことにより、このデー
タ処理装置の運用、保守管理、作業を行うためのコマン
ドやメソセージの入出力を行う。
The main memory device I and central processing unit 2 are connected to a processor bus 8a. A peripheral bus 8b is connected to the processor bus 8a, and a file memory control device 5a, a data communication control device 5b, etc. are connected as input/output devices to this peripheral bus 8b. Peripheral devices such as a floppy disk device 6a and a hard disk device 6b are connected to the file memory control device 5a, and data is transferred to and from the main storage device 1 under write/read control of the file memory control device 5a. In addition, the hard disk device 5
A maintenance console 6c, etc. is connected to b, and by transferring data with the main storage device 1, it inputs and outputs commands and messages for operation, maintenance management, and work of this data processing device. .

以上のように構成されたデータ処理装置では、DMA制
御回路3の命令により主記憶装置1と前記フロッピーデ
ィスク装置6aやハードディスク装ff6bあるいは保
守コンソール60等の周辺機器とDMAデータ転送が行
われる。そして、DMAデータ転送中にECC回路10
がデータの1ビツトFりを検出すると、ECC回路10
はそのデータを正しい値に訂正すると共に、その出力端
子に1ビット誤り検出信号を出力する。この1ビット誤
り検出信号はAND回路4aの正論理入力に伝えられる
In the data processing device configured as described above, DMA data transfer is performed between the main storage device 1 and peripheral devices such as the floppy disk device 6a, the hard disk device ff6b, or the maintenance console 60 according to commands from the DMA control circuit 3. Then, during DMA data transfer, the ECC circuit 10
detects 1 bit F of data, the ECC circuit 10
corrects the data to a correct value and outputs a 1-bit error detection signal to its output terminal. This 1-bit error detection signal is transmitted to the positive logic input of AND circuit 4a.

一方、AND回路4aの負論理入力には前記DMA装置
3からDMAデータ転送中の信号が出力されている。よ
って、この時はAND回路4aの出力にはECC回路1
0からの1ビット誤り検出信号が現れず、この信号は中
央処理袋W2の割込ビット2aには伝達されない。
On the other hand, a signal indicating that DMA data is being transferred is output from the DMA device 3 to the negative logic input of the AND circuit 4a. Therefore, at this time, the output of the AND circuit 4a is the ECC circuit 1.
The 1-bit error detection signal from 0 does not appear, and this signal is not transmitted to interrupt bit 2a of central processing bag W2.

この結果、DMAデータ転送中は例えECC回路10が
転送データ中に1ビット誤りを検出しても、その検出信
号は中央処理装置2には伝わらず、従って、DMAデー
タ転送は転送データが終了するまで確実に行われる。そ
して、DMAデータ転送が終了すると、DMA制御回路
3からAND回路4aの負論理入力への出力がなくなる
ので、ECC回路10からのlビット誤り検出信号がA
ND回路4aの出力に現れ、これが中央処理装置2の割
込ビット2aに伝えられ、中央処理装置2は主記憶装置
1の誤ったデータの訂正を行う。この処理を第3図を用
いて説明する。
As a result, even if the ECC circuit 10 detects a 1-bit error in the transferred data during DMA data transfer, the detection signal is not transmitted to the central processing unit 2, and therefore, the DMA data transfer ends. will be carried out reliably. Then, when the DMA data transfer is completed, there is no output from the DMA control circuit 3 to the negative logic input of the AND circuit 4a, so that the l bit error detection signal from the ECC circuit 10 is
This appears at the output of the ND circuit 4a, and is transmitted to the interrupt bit 2a of the central processing unit 2, and the central processing unit 2 corrects the erroneous data in the main memory 1. This process will be explained using FIG. 3.

第3図はECC回路10を含む主記憶装置1と中央処理
装置2の構成を詳細に示すものである。
FIG. 3 shows in detail the configuration of the main memory device 1 including the ECC circuit 10 and the central processing unit 2. As shown in FIG.

第3図において、1は主記憶装置、2は中央処理装置、
2aは割込ビット、3はDMA制御回路、4は信号抑止
回路、4aはAND回路、10はECC回路、20はメ
モリ、31.32は図示しないプロセッサバス8aから
の書込データ線(mビット)、12はチェックビット発
生回路、33はチェックビットデータ線(nビット)、
21は書込データレジスタ(書込データ+チェックビッ
ト= m + nビット)、22はメモリアレイ部、2
3は読出データレジスタ(続出データ+チェックピット
= m + nビット)、34は続出チェックビット線
(nビット)、35はメモリ読出データ線(mビット)
、13はメモリ読出/書込制御回路、14はシンドロー
ム発生回路、36はシンドローム線、15はシンドロー
ムデコード回路、16は誤り検出回路、17はデータ訂
正回路、37は訂正済のメモリ続出データ線である。
In FIG. 3, 1 is the main memory, 2 is the central processing unit,
2a is an interrupt bit, 3 is a DMA control circuit, 4 is a signal suppression circuit, 4a is an AND circuit, 10 is an ECC circuit, 20 is a memory, 31.32 is a write data line (m bits) from a processor bus 8a (not shown). ), 12 is a check bit generation circuit, 33 is a check bit data line (n bits),
21 is a write data register (write data + check bit = m + n bits), 22 is a memory array section, 2
3 is a read data register (sequential data + check pit = m + n bits), 34 is a continuous check bit line (n bits), and 35 is a memory read data line (m bits).
, 13 is a memory read/write control circuit, 14 is a syndrome generation circuit, 36 is a syndrome line, 15 is a syndrome decode circuit, 16 is an error detection circuit, 17 is a data correction circuit, and 37 is a corrected memory continuation data line. be.

まず、前記DMA制御回路3による書込方向のDMAデ
ータ転送について説明する。図示しないプロセッサバス
8aから送出される書込データは書込データ線31を通
って後述のチェックビット発生回路12に送られてチェ
ックビット (チェックビットはnビットなのでC0〜
C+t−+)が生成される。このチェックビットと書込
データとを合わせることにより、m + nビットの符
号語を生成し、書込データレジスタ21を経由してメモ
リアレイ部22に書き込む。これがDMAデータ転送の
書込動作である。
First, DMA data transfer in the write direction by the DMA control circuit 3 will be described. Write data sent from a processor bus 8a (not shown) is sent through a write data line 31 to a check bit generation circuit 12, which will be described later, to generate check bits (check bits are n bits, so C0~
C+t-+) is generated. By combining this check bit and the write data, an m+n bit code word is generated and written to the memory array section 22 via the write data register 21. This is the write operation of DMA data transfer.

次に、前記D M A制御回路3による読出方向のDM
Aデータ転送について説明する。読出動作時にはメモリ
アレイ部22に格納されていた符号語であるm + n
ビットが読み出さ゛れて続出データレジスタ23に取り
込まれる。この符号語中のデータ部及びチェックビット
部はシンドローム発生回路14に送出され、データ訂正
回路17にはデータ部のみが送出される。
Next, the DM in the read direction by the DMA control circuit 3
A data transfer will be explained. m + n, which is the code word stored in the memory array section 22 during the read operation.
The bits are read out and taken into successive data register 23. The data part and check bit part in this code word are sent to the syndrome generation circuit 14, and only the data part is sent to the data correction circuit 17.

シンドローム発生回路14においては、書込時チェック
ピット発生回路12でチェックビットを生成した時と同
様に、データ部よりチェックビット(nビット)を作成
し、この結果と読み出したチェックビット (nビット
)との比較を行い、この結果がシンドロームS0〜Sn
−1となる。比較の結果、シンドロームの各ビットが全
て“0″になれば誤りがないことになり、また、いずれ
かlビット以上“1”になっていれば誤りがあることに
なる。
In the syndrome generation circuit 14, check bits (n bits) are created from the data section in the same way as when check bits were generated in the write check pit generation circuit 12, and this result and the read check bits (n bits) are This result is the syndrome S0~Sn
-1. As a result of the comparison, if each bit of the syndrome is all "0", it means that there is no error, and if any one bit or more is "1", it means that there is an error.

このシンドローム(nビット)はシンドローム線36に
よりシンドロームデコード回路15及び誤り検出回路1
6に送出される。シンドロームデコード回路15におい
ては前記30〜S?l−1をデコーダに人力して、1ビ
ット誤りの場合に、このデコーダの出力で誤りビットの
位置を検出する。この誤りビットの位置は出力はデータ
訂正回路17に送出して、先に送出されていた続出デー
タレジスタ23の出力である続出データの誤りビットを
反転させて訂正する。
This syndrome (n bits) is transmitted to the syndrome decode circuit 15 and the error detection circuit 1 by the syndrome line 36.
6 is sent out. In the syndrome decoding circuit 15, the above-mentioned 30 to S? l-1 is input to a decoder, and in the case of a 1-bit error, the position of the error bit is detected from the output of this decoder. The position of this error bit is outputted to the data correction circuit 17 and corrected by inverting the error bit of the successive data that was output from the successive data register 23 that was sent out earlier.

訂正されたデータ部は訂正済のメモリ読出データ線37
により前記プロセッサバス8aに送出され、入出力回路
へ送られる。
The corrected data section is connected to the corrected memory read data line 37.
The signal is sent to the processor bus 8a and sent to the input/output circuit.

ECC回路10は以上のような動作を行い、メモリアレ
イ部へのデータ続出時に、読み出したデータに1ビット
誤りを検出した時には、これをデータ訂正回路17にて
訂正して出力すると共に、1ビット誤りの検出信号を誤
り検出回路16に保持する。
The ECC circuit 10 operates as described above, and when it detects a 1-bit error in the read data while continuously outputting data to the memory array section, the data correction circuit 17 corrects it and outputs it, and also outputs the 1-bit error. The error detection signal is held in the error detection circuit 16.

この1ビット誤りの検出信号は信号抑制回路4を介して
中央処理装置2の割込ビット2aに伝達される。一方、
DMAデータ転送中は、前記信号抑制回路4のAND回
路4aの負論理入力にはDMA制御回路3からのDMA
データ転送中を示す信号が入力されているので、誤り検
出回路16からの信号はDMAデータ転送中に限り信号
抑制回路4から出力されない。
This one-bit error detection signal is transmitted to the interrupt bit 2a of the central processing unit 2 via the signal suppression circuit 4. on the other hand,
During DMA data transfer, the negative logic input of the AND circuit 4a of the signal suppression circuit 4 receives the DMA data from the DMA control circuit 3.
Since the signal indicating that data is being transferred is input, the signal from the error detection circuit 16 is not output from the signal suppression circuit 4 only during DMA data transfer.

DMA転送が終了し、D M A ?IIJ御回路3か
ら信号抑制回路4への信号がなくなると、前記誤り検出
回路16からの1ビット誤りの検出信号は信号抑制回路
4を介して中央処理装置2の割込ピッ)2aに伝達され
るので、中央処理装置2は割込処理によりデータ訂正回
路17に保持されていた訂正済のメモリ続出データをプ
ロセッサバス8aを介して読出し、これをプロセッサバ
ス8aおよび書込みデータ線32を通してメモリアレイ
部22の1ビット誤りの発生した箇所をこの正しいデー
タで訂正する。
DMA transfer is completed and DMA? When the signal from the IIJ control circuit 3 to the signal suppression circuit 4 disappears, the 1-bit error detection signal from the error detection circuit 16 is transmitted to the interrupt pin 2a of the central processing unit 2 via the signal suppression circuit 4. Therefore, the central processing unit 2 reads out the corrected memory successive data held in the data correction circuit 17 via the processor bus 8a by interrupt processing, and sends it to the memory array unit via the processor bus 8a and the write data line 32. The location where the 1-bit error of 22 has occurred is corrected using this correct data.

このように、本発明ではDMAデータ転送中に転送デー
タに1ビット誤りが検出されても、DMAデータ転送は
中断されず、最後まで実行される。
As described above, in the present invention, even if a 1-bit error is detected in the transfer data during DMA data transfer, the DMA data transfer is not interrupted and is executed to the end.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のデータ処理装置ではDM
Aデータ転送中に検出された主記憶装置1内の記憶デー
タの1ビット誤りは、DMAデータ転送が終了した後に
訂正されるので、DMAデータ転送が途中で中断される
ことがな、(、もう一度データ転送を最初からやり直す
必要が無くなって時間的な効率化が図れるという効果が
ある。
As explained above, in the data processing device of the present invention, the DM
A 1-bit error in the storage data in the main storage device 1 detected during data transfer is corrected after the DMA data transfer is completed, so that the DMA data transfer is not interrupted midway (, This has the effect of making it possible to improve time efficiency by eliminating the need to re-transfer data from the beginning.

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

第1図は本発明のデータ処理装置の原理ブロック図、第
2図は本発明のデータ処理装置の一実施例のブロック図
、第3図は第2図の主記憶装置、中央処理装置、信号抑
制回路の詳細な構成を示すブロック回路図である。 1・・・主記憶装置、2・・・中央処理装置、3・・・
DMA制御回路、4・・・信号抑制回路、4a・・・A
ND回路、IO・・・ECC回路、20・・・メモリ。 本発明の原理ブロック図 第1図 第2図
FIG. 1 is a principle block diagram of the data processing device of the present invention, FIG. 2 is a block diagram of an embodiment of the data processing device of the present invention, and FIG. 3 is the main storage device, central processing unit, and signal FIG. 2 is a block circuit diagram showing a detailed configuration of a suppression circuit. 1... Main storage device, 2... Central processing unit, 3...
DMA control circuit, 4...signal suppression circuit, 4a...A
ND circuit, IO...ECC circuit, 20...memory. Principle block diagram of the present invention Fig. 1 Fig. 2

Claims (1)

【特許請求の範囲】 1ビット誤りの検出機能及び訂正機能を持つ検出・訂正
回路(10)を備えた主記憶装置(1)と、中央処理装
置(2)と、 前記主記憶装置(1)へのデータの入出力を前記中央処
理装置(2)を介さずに直接実行させることができるD
MA制御回路(3)と、 前記検出・訂正回路(10)からの1ビット誤り検出信
号を、前記中央処理装置(2)からのデータの直接転送
中を示す信号がある時には、前記中央処理装置(2)に
伝達を禁止する信号抑止回路(4)とを備え、前記DM
A制御回路(3)の動作終了後に前記1ビット誤り検出
信号を前記中央処理装置(2)に伝達し、前記中央処理
装置(2)により前記主記憶装置(1)の1ビット誤り
を訂正するようにしたデータ処理装置。
[Scope of Claims] A main storage device (1) equipped with a detection/correction circuit (10) having a 1-bit error detection function and a correction function, a central processing unit (2), and the main storage device (1). D that can directly input and output data to and from the computer without going through the central processing unit (2);
The MA control circuit (3) and the 1-bit error detection signal from the detection/correction circuit (10) are transmitted to the central processing unit when there is a signal indicating that data is being directly transferred from the central processing unit (2). (2) and a signal inhibiting circuit (4) for inhibiting transmission;
After the operation of the A control circuit (3) is completed, the 1-bit error detection signal is transmitted to the central processing unit (2), and the 1-bit error in the main storage device (1) is corrected by the central processing unit (2). data processing device.
JP62117027A 1987-05-15 1987-05-15 Data processor Pending JPS63282872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62117027A JPS63282872A (en) 1987-05-15 1987-05-15 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62117027A JPS63282872A (en) 1987-05-15 1987-05-15 Data processor

Publications (1)

Publication Number Publication Date
JPS63282872A true JPS63282872A (en) 1988-11-18

Family

ID=14701632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62117027A Pending JPS63282872A (en) 1987-05-15 1987-05-15 Data processor

Country Status (1)

Country Link
JP (1) JPS63282872A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5617442A (en) * 1979-07-21 1981-02-19 Nippon Telegr & Teleph Corp <Ntt> Parity error processing system
JPS5622291A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Bit error correction method for memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5617442A (en) * 1979-07-21 1981-02-19 Nippon Telegr & Teleph Corp <Ntt> Parity error processing system
JPS5622291A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Bit error correction method for memory

Similar Documents

Publication Publication Date Title
US5274646A (en) Excessive error correction control
JPS63282872A (en) Data processor
CN111061591A (en) System and method for realizing data integrity check based on memory integrity check controller
JPS62242258A (en) Storage device
JP2010061258A (en) Duplex processor system and processor duplex method
JP2891897B2 (en) Store-in cache failure handling system
JP2022148854A (en) Storage device
JPS6319053A (en) Memory device
JPS63278162A (en) Error correction device in information processor
JPS59217298A (en) Memory error relieve system
JPS63198132A (en) Data processing system
JPS59129995A (en) Storage device
JPH0230060B2 (en)
JPH08166891A (en) Fault tolerant computer system
JPH01100636A (en) Error control circuit
JPS6155744A (en) Recovery processing of errors
JPH1083357A (en) Data storage control method and its device
JPH0337751A (en) Error correcting system for data memory
JPS61282949A (en) Memory error processing system
JPS61139836A (en) Instruction control system of pipeline computer
JPS6325380B2 (en)
JPH01133147A (en) Data processor
JPH04199247A (en) Pseudo-memory error generation circuit
JPS61196341A (en) System for correcting memory error
JPS60110047A (en) Error correction system