JPS6042973B2 - Input/output information check method - Google Patents
Input/output information check methodInfo
- Publication number
- JPS6042973B2 JPS6042973B2 JP53007360A JP736078A JPS6042973B2 JP S6042973 B2 JPS6042973 B2 JP S6042973B2 JP 53007360 A JP53007360 A JP 53007360A JP 736078 A JP736078 A JP 736078A JP S6042973 B2 JPS6042973 B2 JP S6042973B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- line
- register
- data
- 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
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Shift Register Type Memory (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】
この発明は、電子計算機などで用いられる入出力レジス
タにおける入出力情報チェック方式に関するものである
。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for checking input/output information in input/output registers used in electronic computers and the like.
従来のこの種入出力レジスタにおける入出力情報チェッ
ク方式では、該レジスタにおける情報の格納誤りを完全
には検出できないものであつた。Conventional methods for checking input/output information in this type of input/output register cannot completely detect errors in storing information in the register.
第1図および第2図はそれぞれ従来の入出力情報チェッ
ク方式を示し、第3図はそれに用いられる各信号の送出
タイミングを示す図である。これらの図において、1乃
至4はそれぞれレシーバ、5はデコーダ、6乃至8はそ
れぞれアンドゲート、9乃至11はそれぞれインバータ
、101乃至103はそれぞれパリテイチェック回路、
201乃至203はそれぞれ入出力レジスタ、を示す。
一般に、入出力情報の転送は、転送データを送るデータ
転送バスラインDTBと、転送データの奇数もしく偶数
パリテイビットを送るデータ転送・パリテイラインDT
Pと、入出力レジスタを選択するためのコード信号を送
るファンクションラインFUNと、転送データのサンプ
リングのためのパルス信号を送るデータ転送サンプリン
グラインDTSとがが用意されて、それらのラインを介
し・て各信号がインターフェース信号として第3図に示
すタイミングで送出されることにより、おこなわれる。FIGS. 1 and 2 each show a conventional input/output information checking system, and FIG. 3 is a diagram showing the sending timing of each signal used therein. In these figures, 1 to 4 are receivers, 5 are decoders, 6 to 8 are AND gates, 9 to 11 are inverters, 101 to 103 are parity check circuits,
201 to 203 indicate input/output registers, respectively.
Generally, input/output information is transferred between a data transfer bus line DTB that sends transfer data and a data transfer/parity line DT that sends odd or even parity bits of transfer data.
P, a function line FUN that sends a code signal for selecting an input/output register, and a data transfer sampling line DTS that sends a pulse signal for sampling transfer data are prepared. This is done by sending each signal as an interface signal at the timing shown in FIG.
すなわち第3図においては、DTBライン上の転送デー
タと、DTPライン上のパリテイビットと、FUNライ
ン上のコード信号と、のそれぞれの論理値が或る一定値
を示している期間、すなわちデータの確定しているデー
タ確定時間に、DTSライン上のサンプリングパルスを
使つて、データやパリテイビットの取り込み、レジスタ
の選択をおこなうことを示している。さて第1図に示し
た従来の方式では、DTBラインによつて転送されるデ
ータは、レシーバ1を介して入出力レジスタ201,2
02,203の入力側に送られ、またパリテイチェック
回路101に送られる。In other words, in FIG. 3, the period in which the logical values of the transfer data on the DTB line, the parity bit on the DTP line, and the code signal on the FUN line each exhibit a certain constant value, that is, the data This shows that data and parity bits are captured and registers are selected using sampling pulses on the DTS line during the data confirmation time. Now, in the conventional system shown in FIG.
02 and 203, and is also sent to the parity check circuit 101.
いまFUNラインにより送られたコード信号によりR1
入出力レジスタ201が指定されたとすると、該コード
信号は、レシーバ4を介してデコーダに入力され、デコ
ーダ5においてデコーダされてアンドゲート6に出力が
送出され、該アンドゲート6は許可状態となる。その後
、DTSラインからサンプリングパルスがレシーバ3を
介して入力されると、アンドゲート6から出力を送出さ
れR1入出力レジスタ201をトリガし、転送データが
該レジスタR1の格納される。一方、DTPラインから
転送データのパリテイビットがレシーバ2を介してパリ
テイチェック回路101に送られ、DTSラインからサ
ンプリングパルスによつて転送データのパリテイチェッ
クが行なわれ、誤まりが奇数ビット誤まりであれば検出
される。他の入出力レジスタ202,203へのデータ
格納も同様の動作で行なわれる。次に、第2図に示した
従来方式について説明す,るが、第2図の方式が第1図
のそれと相違するところは、転送データのパリテイチェ
ックをおこなう場所が、第1図の方式ては入出力レジス
タの入力側であつたのに対し、第2図の方式では出力側
であることである。すなわち、第2図においてIは、第
1図の場合と同様にして、DTBラインから転送データ
がレシーバ1を介して入出力レジスタ201乃至203
の入力側に送られ、またDTI)ラインからパリテイビ
ットがレシーバ2を介してパリテイチェック回路101
乃至103へ・送られている。いまFUNラインより送
られたコード信号によりR1入出力レジスタ201が指
定されるものとすると、該コード信号はレシーバ4を介
してデコーダ5に入力され、そこでデコードされてアン
ドゲート6に出力が送られ、該アンドゲート6は許可状
態となる。その後、DTSラインからサンプリングパル
スがレシーバ3を介して入力されると、アンドゲート6
から出力が送出され、R1入出力レジスタ201をトリ
ガし、転送データが該レジスタR1に格納される。一方
、アンドゲート6の出力は、インバータ9を介してパリ
テイチェック回路101に送られ、入出力レジスタR1
に格納後の出力データについて回路1011でパリテイ
チェックをおこなつている。以上、説明した如き従来の
入出力情報チェック方式では、入出力レジスタにおける
回路素子不良もしくは外部要因(誘導ノズルなど)によ
り、該レジスタにおいてて偶数ビットの格納誤まりが発
生した場合、パリテイチェックによる検査では誤まり検
出ができず、その結果、該レジスタから出力される誤ま
つた情報により電子計算機などにおけるプログラム処理
もしくは入出力装置動作などが実行され、重大な情報の
喪失、破壊を生じることになる。この発明は、上述の如
き従来の方式の欠点を克服するためになされたものであ
り、従つてこの発明の目的は、入出力レジスタにおける
転送情報の複数ビットにわたる格納誤まりを検出可能と
した入出力情報チェック方式を提供することにある。R1 due to the code signal just sent by the FUN line.
If the input/output register 201 is specified, the code signal is input to the decoder via the receiver 4, decoded by the decoder 5, and outputted to the AND gate 6, and the AND gate 6 enters the enabled state. Thereafter, when a sampling pulse is input from the DTS line through the receiver 3, an output is sent from the AND gate 6 to trigger the R1 input/output register 201, and the transferred data is stored in the register R1. On the other hand, the parity bit of the transfer data is sent from the DTP line to the parity check circuit 101 via the receiver 2, and the parity check of the transfer data is performed using a sampling pulse from the DTS line. If it is true, it will be detected. Data storage in other input/output registers 202 and 203 is performed in a similar manner. Next, the conventional method shown in Fig. 2 will be explained.The difference between the method shown in Fig. 2 and that shown in Fig. 1 is that the place where the parity check of the transferred data is performed is In contrast to the input side of the input/output register in the case of the method shown in FIG. 2, it is the output side of the input/output register. That is, in FIG. 2, I is similar to the case in FIG.
The parity bit is sent from the DTI line to the input side of the parity check circuit 101 via the receiver 2.
It is being sent to 103. Assuming that the R1 input/output register 201 is now specified by the code signal sent from the FUN line, the code signal is input to the decoder 5 via the receiver 4, decoded there, and the output is sent to the AND gate 6. , the AND gate 6 enters the permission state. After that, when a sampling pulse is input from the DTS line via the receiver 3, the AND gate 6
An output is sent from the register R1, triggering the R1 input/output register 201, and the transfer data is stored in the register R1. On the other hand, the output of the AND gate 6 is sent to the parity check circuit 101 via the inverter 9, and input/output register R1
A circuit 1011 performs a parity check on the output data stored in the . In the conventional input/output information checking method as explained above, if an error occurs in storing an even number of bits in the input/output register due to a defective circuit element or an external factor (induction nozzle, etc.), a parity check is performed. The inspection cannot detect errors, and as a result, program processing or input/output device operations in computers, etc., may be executed due to the incorrect information output from the register, resulting in loss or destruction of important information. Become. The present invention was made to overcome the drawbacks of the conventional system as described above, and an object of the present invention is to provide an input/output register that can detect errors in storing transfer information over multiple bits in an input/output register. The purpose of the present invention is to provide an output information checking method.
この発明の構成の要点は、入出力レジスタにおいて、そ
の入力情報と、該レジスタに格納され、それと同時に出
力される出力情報とを比較することにより、該レジスタ
における情報の格納誤まりを検出するようにした構成に
ある。次に図を参照してこの発明の実施例を詳細に説明
する。The main point of the configuration of the present invention is to detect an error in storing information in an input/output register by comparing the input information with the output information stored in the register and output at the same time. The configuration is as follows. Next, embodiments of the present invention will be described in detail with reference to the drawings.
第4図はこの発明の一実施例を示すブロックである。第
4図において、301乃至303はそれぞれ比較回路を
示す。第4図に示すこの発明の一実施例が、第1図に示
した従来の方式と相違するところは、入出力レジスタ2
01乃至203の各出力側に比較回路301乃至303
を設けた点にある。FIG. 4 is a block diagram showing one embodiment of the present invention. In FIG. 4, 301 to 303 each indicate a comparison circuit. The difference between the embodiment of the present invention shown in FIG. 4 and the conventional system shown in FIG. 1 is that the input/output register 2
Comparison circuits 301 to 303 are provided on each output side of 01 to 203.
The point is that it has been established.
この回路の動作説明は次の如くである。すなわち、第1
図について説明したのと同様にして、DTBラインから
の転送データがレシーバ1を介して各入出力レジスタ2
01乃至203の入力側、および比較回路301乃至3
03に印加される。FUNラインからのコード信号が入
出力レジスタR1を指定するコード信号であるとすると
、先に第1図について説明したのと同様にして、デコー
ダ5からアンドゲート6へ出力が送られて該ゲート6が
許可状態となる。次にDTSラインからサンプリングパ
ルスがレシニバ3を介して入力されると、該パルスはア
ンドゲート6を通過し、その前縁で入出力レジスタR1
をトリガして転送データを該レジスタR1に格納する。
また、それと同時にサンプリングパルスはインバータ9
を介して比較回路301に印加されるので、該サンプリ
ングパルスの後縁が比較回路301をトリガして、該サ
ンプリングパルスの前縁で今ほどレジスタR1に格納さ
れて出力される出力データと、該レジスタの入力側の入
力データとの比較をおこない、レジスタR1における格
納データの誤りをチェックする。第5図はこの発明の他
の実施例を示す図であり、第5図において401は選択
回路を示す。The operation of this circuit will be explained as follows. That is, the first
In the same way as explained in the figure, the transfer data from the DTB line is passed through the receiver 1 to each input/output register 2.
Input side of 01 to 203 and comparison circuits 301 to 3
03. Assuming that the code signal from the FUN line is a code signal specifying the input/output register R1, the output is sent from the decoder 5 to the AND gate 6 in the same manner as described above with reference to FIG. is in the permitted state. Next, when a sampling pulse is input from the DTS line via the receiver 3, the pulse passes through the AND gate 6, and at its leading edge, the input/output register R1
is triggered and the transfer data is stored in the register R1.
At the same time, the sampling pulse is transferred to the inverter 9.
is applied to the comparator circuit 301 via the sampling pulse, so that the trailing edge of the sampling pulse triggers the comparator circuit 301, and the output data that has just been stored in the register R1 and is output at the leading edge of the sampling pulse. A comparison is made with the input data on the input side of the register to check for errors in the data stored in register R1. FIG. 5 is a diagram showing another embodiment of the present invention, and in FIG. 5, reference numeral 401 indicates a selection circuit.
第5図の実施例では、第4図のそれと相違して、入出力
レジスタ201乃至203の各々毎に比較回路を設ける
代りに、各レジスタの出力を選択回路401を介して1
個の比較回路301に印加している。従つて、先に説明
したのと同様にして、Dnl3ラインから転送データが
レシーバ1を介して入出力レジスタ201乃至203の
入力側に印加され、また比較回路301にも印加されて
いる状態で、FUNラインからのコード信号がR1レジ
スタ201を指定するコード信号であつたとする。デコ
ーダ5のデコード出力はアンドゲート6を開き、DTS
ラインからのサンプリングパルスが該アンドゲート6を
通過してR1レジスタ201をトリガした該レジスタの
入力側に印加されていた転送データを取り込み、同時に
その取り込んだ格納データをR1レジスタから出力して
選択回路401へ送る。一方、FUNラインからのR1
レジスタ201を指定するコード信号は、デコーダ5へ
印加されるほか、選択回路401へも印加されて、R1
レジスタ201の出力のみを比較回路201へ通過させ
る作用をする。かくして、あとは第4図を参照して説明
したのと同様にして、D゛mラインからサンプリングパ
ルスの前縁でR1レジスタ201へのデータの取り込み
がおこなわれた後、該サンプリングパルスはインバータ
9を介して、その後縁が比較回路301をトリガして、
R1レジスタ201の入力側データと該レジスタR1に
格納出力されたデータとの比較をおこない、該レジスタ
R1における格納誤まりを検出する。FUNラインから
のコード信号が他のレジスタR2,RNなどを指定した
場合も、そのチェック動作は全く同様である。第5図に
示した実施例は、第4図のそれに比し、選択回路を余分
に必要とするが比較回路は1個でよく、全体として回路
素子の削減に成功している。以上の説明から既に明らか
なように、この発明によれば従来のチェック方式では検
出できなかつた偶数ビットにわたる入出力レジスタ格納
誤まりをも完全に検出可能であるので、その結果、電子
計算機などにおける誤動作や誤処理を防止でき、重大な
情報の喪失、破壊を免れ得るという利点がある。In the embodiment of FIG. 5, unlike that of FIG. 4, instead of providing a comparison circuit for each of the input/output registers 201 to 203, the output of each register is connected to
The voltage is applied to two comparison circuits 301. Therefore, in the same manner as described above, while the transfer data from the Dnl3 line is applied to the input sides of the input/output registers 201 to 203 via the receiver 1, and is also applied to the comparison circuit 301, Assume that the code signal from the FUN line is a code signal that specifies the R1 register 201. The decoded output of the decoder 5 opens the AND gate 6, and the DTS
A sampling pulse from the line passes through the AND gate 6 and triggers the R1 register 201.The transfer data applied to the input side of the register is captured, and at the same time, the captured stored data is outputted from the R1 register to select the circuit. Send to 401. On the other hand, R1 from the FUN line
In addition to being applied to the decoder 5, the code signal specifying the register 201 is also applied to the selection circuit 401, and R1
It functions to pass only the output of the register 201 to the comparison circuit 201. Thus, in the same manner as described with reference to FIG. via, the trailing edge triggers the comparator circuit 301,
The input side data of the R1 register 201 and the data stored and output to the register R1 are compared to detect a storage error in the register R1. Even when the code signal from the FUN line specifies other registers R2, RN, etc., the checking operation is exactly the same. The embodiment shown in FIG. 5 requires an extra selection circuit compared to the embodiment shown in FIG. 4, but only one comparison circuit is required, and overall the number of circuit elements has been successfully reduced. As is already clear from the above explanation, according to the present invention, it is possible to completely detect input/output register storage errors involving even number bits, which could not be detected by conventional checking methods. This has the advantage that malfunctions and incorrect processing can be prevented, and important information can be avoided from being lost or destroyed.
第1図および第2図はそれぞれ従来の入出力情報チェッ
ク方式と示し、第3図はそれに用いられる各信号の送出
タイミングを示し、第4図はこの発明の一実施例を、第
5図は他の実施例を、それぞれ示すブロック図である。1 and 2 respectively show the conventional input/output information checking system, FIG. 3 shows the sending timing of each signal used therein, FIG. 4 shows an embodiment of the present invention, and FIG. 5 shows the conventional input/output information checking method. FIG. 7 is a block diagram showing other embodiments.
Claims (1)
TBラインときう)と入出力レジスタ選択用のコード信
号を送るファンクションライン(以下、FUNラインと
いう)と転送データのサンプリングのためのパルス信号
を送るデータ転送サンプリングライン(以下、DTSラ
インという)とによつて、複数存在する入出力レジスタ
のうちの特定のものを選択してそのレジスタにデータを
転送する際し、前記DTBラインにより転送されてきた
入出力情報としてのデータを前記複数の入出力レジスタ
のそれぞれの入力側に送り、次にFUNラインにより送
られてきたコード信号をデコードして前記複数の入出力
レジスタのうちの特定のものを選択しておき、次にDT
Sラインからのサンプリングパルスを、選択された前記
特定の入出力レジスタにのみ付与して、その入力側に与
えられている前記転送データを取り込み、格納するよう
にした入出力情報転送方式において、前記特定の入出力
レジスタに付与されるサンプリングパルスを利用して、
当該特定レジスタに取り込まれたデータと、その結果、
該レジスタから出力されることになるデータとを比較し
て、その一致の有無を検出する比較手段を具備したこと
を特徴とする入出力情報チェック方式。1 Data transfer bus line (hereinafter referred to as D) that sends transfer data
TB line), a function line (hereinafter referred to as FUN line) that sends a code signal for input/output register selection, and a data transfer sampling line (hereinafter referred to as DTS line) that sends a pulse signal for sampling transfer data. Therefore, when selecting a specific one of the plurality of input/output registers and transferring data to that register, the data as input/output information transferred by the DTB line is transferred to the plurality of input/output registers. The code signal sent via the FUN line is then decoded to select a specific one of the plurality of input/output registers, and then the DT
In the input/output information transfer method, the sampling pulse from the S line is applied only to the selected specific input/output register, and the transfer data applied to the input side of the register is taken in and stored. Using sampling pulses given to specific input/output registers,
The data captured in the specific register and the result,
An input/output information checking method characterized by comprising a comparing means for comparing data to be output from the register and detecting whether or not there is a match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53007360A JPS6042973B2 (en) | 1978-01-27 | 1978-01-27 | Input/output information check method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53007360A JPS6042973B2 (en) | 1978-01-27 | 1978-01-27 | Input/output information check method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54101630A JPS54101630A (en) | 1979-08-10 |
| JPS6042973B2 true JPS6042973B2 (en) | 1985-09-26 |
Family
ID=11663784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53007360A Expired JPS6042973B2 (en) | 1978-01-27 | 1978-01-27 | Input/output information check method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6042973B2 (en) |
-
1978
- 1978-01-27 JP JP53007360A patent/JPS6042973B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54101630A (en) | 1979-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5001712A (en) | Diagnostic error injection for a synchronous bus system | |
| EP0032957B1 (en) | Information processing system for error processing, and error processing method | |
| US4037091A (en) | Error correction circuit utilizing multiple parity bits | |
| EP0287338A2 (en) | Security fuse circuit for programmable logic array | |
| JPH0481932A (en) | Interruption controller | |
| US5488615A (en) | Universal digital signature bit device | |
| US3421148A (en) | Data processing equipment | |
| EP0492072A1 (en) | Data transfer bus system and method serving multiple parallel asynchronous units | |
| JPS6042973B2 (en) | Input/output information check method | |
| US3046523A (en) | Counter checking circuit | |
| JPH08297588A (en) | Double collator | |
| US3649963A (en) | Error detection arrangement for register-to-register data transmission | |
| RU2103815C1 (en) | Redundant counter | |
| JPH0535616A (en) | Data transfer system | |
| JP2730342B2 (en) | Interrupt control circuit | |
| KR840000246B1 (en) | Data processing system with error handling device | |
| JPS5827247A (en) | Logical device | |
| JPS6318223B2 (en) | ||
| SU1661840A1 (en) | Memory with self-testing | |
| JPS63303448A (en) | Data storing circuit | |
| JPS61109154A (en) | Error detecting system for fixed data register | |
| JPS5816487B2 (en) | Multiple selection detection device in computer system | |
| JPH0750454B2 (en) | Channel device | |
| JPS6253100B2 (en) | ||
| JPS6329850A (en) | Preventing device for microcomputer from generation of malfunction |