JP2544012B2 - Data buffer parity check circuit - Google Patents

Data buffer parity check circuit

Info

Publication number
JP2544012B2
JP2544012B2 JP2219075A JP21907590A JP2544012B2 JP 2544012 B2 JP2544012 B2 JP 2544012B2 JP 2219075 A JP2219075 A JP 2219075A JP 21907590 A JP21907590 A JP 21907590A JP 2544012 B2 JP2544012 B2 JP 2544012B2
Authority
JP
Japan
Prior art keywords
port
data
parity check
low
signal
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 - Fee Related
Application number
JP2219075A
Other languages
Japanese (ja)
Other versions
JPH04102127A (en
Inventor
公一 ▲かい▼田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2219075A priority Critical patent/JP2544012B2/en
Publication of JPH04102127A publication Critical patent/JPH04102127A/en
Application granted granted Critical
Publication of JP2544012B2 publication Critical patent/JP2544012B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 〔概要〕 データバッファの入出力ポートにおけるデータのパリ
ティチェックに関し、 データをデータバッファ内でスワップせしめたときに
パリティエラーが発生した場合の原因箇所の検出を容易
にすることを目的とし、 データのスワップの条件に応じて各ポートにおけるパ
リティチェックを行なうか行なわないかを制御する手段
を設けることにより構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] Regarding a parity check of data at an input / output port of a data buffer, facilitating detection of a cause when a parity error occurs when data is swapped in the data buffer. For this purpose, it is configured by providing means for controlling whether or not the parity check is performed at each port according to the data swap condition.

〔産業上の利用分野〕 本発明は小型電子計算機のデータバスのパリティチェ
ック方式に関し、特に、複数の装置間に在って、対応す
る装置との間のデータバスを接続するポートを有し、内
部でポート間を接続し、または、切り替えることにより
経路を設定して装置間のデータ転送を中継制御する如く
構成されていて、各ポートはハイ(HIGH)側とロウ(LO
W)側とから成り、ハイ側のデータをロウ側へ、また
は、ロウ側のデータをハイ側に転送せしめる手段を有す
るデータバッファのパリティチェック方式に係る。な
お、本明細書中においては、データバッファ内におけ
る、ハイ側のデータをロウ側へ、または、ロウ側のデー
タをハイ側に転送することをスワップと称する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parity check method for a data bus of a small computer, and more particularly, it has a port for connecting a data bus between a plurality of devices and a corresponding device, It is configured to internally connect or switch between ports to set a route to relay control of data transfer between devices. Each port has a high side and a low side.
W) side, and relates to a parity check system of a data buffer having means for transferring high-side data to the low side or low-side data to the high side. In this specification, transferring high-side data to the low-side or low-side data to the high-side in the data buffer is called swap.

〔従来の技術〕[Conventional technology]

第11図は従来の小型電子計算機のデータバスの周辺の
構成の例を示すブロック図であって、51はCPU、52はメ
モリ、53は入出力装置(図においては略号にてI/Oと表
記)、54は拡張入出力装置(図においては拡張I/Oと表
記)、55−1〜55−5はバッファ、56はDBバス、57はED
Bバス、58はLDバス、59はMDバスを表わしている。
FIG. 11 is a block diagram showing an example of a peripheral configuration of a data bus of a conventional small-sized computer, 51 is a CPU, 52 is a memory, 53 is an input / output device (I / O is indicated by an abbreviation in the figure). (Notation), 54 is an expansion input / output device (expressed as expansion I / O in the figure), 55-1 to 55-5 are buffers, 56 is a DB bus, 57 is an ED
B bus, 58 is an LD bus, and 59 is an MD bus.

この構成では、CPU51はバッファ55−3を介して、メ
モリ52はバッファ55−4を介して、また拡張I/O54はバ
ッファ55−5を介してDBバス56に接続されていて、これ
らのバッファにより、それぞれ、LDバス58、MDバス59、
EDBバス57と、DBバス56とのデータ転送上のタイミング
の整合を行なっている。
In this configuration, the CPU 51 is connected to the DB bus 56 via the buffer 55-3, the memory 52 is connected to the buffer 55-4, and the expansion I / O 54 is connected to the DB bus 56 via the buffer 55-5. LD bus 58, MD bus 59,
The timing of data transfer between the EDB bus 57 and the DB bus 56 is adjusted.

近年これらのバッファを小形化するため、これらをLS
I化することが行なわれるようになった。
In order to downsize these buffers in recent years, they have been
The conversion to I began to take place.

第12図は、バッファをLSI化した場合の構成の例を示
すブロック図であって、51〜59は第11図と同様であり、
60はデータバッファ、61−0〜61−3はポート0〜ポー
ト3を表わしている。
FIG. 12 is a block diagram showing an example of a configuration in which the buffer is made into an LSI, and 51 to 59 are the same as those in FIG.
Reference numeral 60 represents a data buffer, and 61-0 to 61-3 represent ports 0 to 3.

データバッファ60は各ポート間を内部で接続すること
により装置間のデータ転送を中継する。
The data buffer 60 relays data transfer between devices by internally connecting the respective ports.

例えば、数字符61−0で示すポート0と数字符61−2
で示すポート2を接続することにより拡張入出力装置54
からのEDBバス57とメモリ52からのMDバス59とが結ばれ
て拡張入出力装置54とメモリ52間のデータ転送が行なわ
れる。
For example, port 0 indicated by numeral 61-0 and numeral 61-2
Expansion I / O device 54 by connecting port 2
And the EDB bus 57 from the memory 52 and the MD bus 59 from the memory 52 are connected to perform data transfer between the expansion input / output device 54 and the memory 52.

このとき、各ポートではデータのパリティチェックが
行なわれる。
At this time, data parity check is performed at each port.

これらの各ポートは、例えば、32ビット(4バイト)
幅のデータ転送を行なうことが可能なようになってい
る。そして、これはさらに上位16ビット(2バイト)を
ハイ(HIGH)側のバイト(H−BYTE)とし、下位16ビッ
ト(2バイト)をロウ(LOW)側のバイト(L−BYTE)
として、これらの内の一方を用いたデータ転送も行なえ
る。
Each of these ports is, for example, 32 bits (4 bytes)
Width data transfer is possible. Then, the upper 16 bits (2 bytes) are set to the high-side byte (H-BYTE), and the lower 16 bits (2 bytes) are set to the low-side byte (L-BYTE).
As a result, data transfer using one of these can also be performed.

また、データバッファ内ではハイ側から入力した2バ
イトのデータをロウ側にスワップして出力したり、ロウ
側から入力した2バイトのデータをハイ側にスワップし
て出力することも可能なように構成される。
Also, in the data buffer, it is possible to swap the 2-byte data input from the high side to the low side and output it, or to swap the 2-byte data input from the low side to the high side and output it. Composed.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述のようなデータバッファにおいて、あるポートか
ら入力されたデータがデータバッファ内でスワップされ
て、入力された時の側(ハイまたはロウ)と異なる側の
データとして出力されるときは、入出力ポートにおける
該データのパリティチェックも適切な位置で行なわれな
いと無意味でもあり、またパリティエラーが発生したと
きそれが何処で発生したかあの切り分けも甚だしく困難
になる。
In the above data buffer, when the data input from a certain port is swapped in the data buffer and is output as the data on the side (high or low) different from the input side, the input / output port It is meaningless if the parity check of the data is not performed at an appropriate position, and when a parity error occurs, it is extremely difficult to determine where it occurred.

本発明はこのような従来の問題点に鑑み、データバッ
ファにおけるパリティチェックを合理的に行なう手段を
提供することを目的としている。
The present invention has been made in view of such conventional problems, and an object thereof is to provide means for rationally performing a parity check in a data buffer.

〔課題を解決するための手段〕[Means for solving the problem]

本発明によれば上述の目的は前記特許請求の範囲に記
載した手段により達成される。
According to the present invention, the above objects are achieved by the means as set forth in the appended claims.

すなわち、本発明は、複数の装置間に位置して、対応
する装置との間のデータバスを接続するポートを有し、
内部でポート間の接続を切り替えることにより経路を設
定して装置間のデータ転送を中継制御する如く構成され
ていて、各ポートはハイ(HIGH)側とロウ(LOW)側と
から成り、ハイ側のデータをロウ側へ、または、ロウ側
のデータをハイ側に転送せしめる手段を有するデータバ
ッファにおいて、各ロウ側及びハイ側の各ポートは、入
力側と出力側にパリティチェック手段を有し、ハイ側の
ポートからロウ側のポートにデータを転送する際は、ハ
イ側の入力側とロウ側の出力側でパリティチェックを行
ない、ロウ側の入力側ではパリティチェックを行わず、
ロウ側のポートからハイ側のポートにデータを転送する
際は、ロウ側の入力側とハイ側の出力側でパリティチェ
ックを行ない、ハイ側の入力側ではパリティチェックを
行わない様に制御する手段を設けたことを特徴とするデ
ータバッファのパリティチェック回路である。
That is, the present invention has a port which is located between a plurality of devices and which connects a data bus with a corresponding device,
It is configured to internally set up a route by switching connections between ports to relay control of data transfer between devices. Each port consists of a high side and a low side, and a high side. In the data buffer having means for transferring the data of the low side to the low side or the data of the low side to the high side, each of the low side and high side ports has a parity check means on the input side and the output side, When transferring data from the high side port to the low side port, parity check is performed on the high side input side and the low side output side, and the parity check is not performed on the low side input side.
When transferring data from a port on the low side to a port on the high side, a means to perform a parity check on the input side on the low side and an output side on the high side, and not to perform a parity check on the input side on the high side. Is a parity check circuit of a data buffer.

〔作 用〕[Work]

第1図は本発明の原理を説明する図であって、1はデ
ータバッファ、2は入力ポートで、2aはハイ(HIGH)
側、2bはロウ(LOW)側、3は出力ポートで、3aはハイ
(HIGH)側、3bはロウ(LOW)側、4−1〜4−4はそ
れぞれバッファ、5はスワッパを表わしている。
FIG. 1 is a diagram for explaining the principle of the present invention, in which 1 is a data buffer, 2 is an input port, and 2a is high.
Side, 2b is low (LOW) side, 3 is an output port, 3a is high (HIGH) side, 3b is low (LOW) side, 4-1 to 4-4 are buffers, and 5 is a swapper. .

同図においては、入力ポート2のハイ側2aから入力さ
れたデータは、バッファ4−1でパリティチェック(P
C)を受けた後、英字符Aで示す経路を経てバッファ4
−3で再びパリティチェック(PC)を受け、出力ポート
3のハイ側3aに出力されると共に、スワッパ5によっ
て、バッファ4−1の出力がスワップされ英字符Bで示
す経路を通りバッファ4−4でパリティチェック(PC)
を受け出力ポート3のロウ側3bから出力される様子を示
している。
In the figure, the data input from the high side 2a of the input port 2 is parity checked (P
After receiving C), take the path indicated by the letter A and go to buffer 4
-3 again receives the parity check (PC), is output to the high side 3a of the output port 3, and the output of the buffer 4-1 is swapped by the swapper 5 and passes through the path indicated by the letter B to the buffer 4-4. Check parity with (PC)
It is shown that the received signal is output from the row side 3b of the output port 3.

同図に示すようにスワッパ5が動作しているときは、
入力ポート2のロウ側2bからの入力については、それが
中継されることはないのでバッファ4−2においてパリ
ティチェックを行なう意味はない。(同図においてはパ
リティチェックを行なう場合を黒の四角印、パリティチ
ェックを行なわない場合を白の四角印で示している) また、図では示していないが入力ポート2のロウ側2b
から入力されたデータがバッファ4−2を経た後、バッ
ファ4−3に接続されるような経路を採るようにスワッ
パ5が動作した場合にはバッファ4−1におけるパリテ
ィチェックは無意味となる。
As shown in the figure, when the swapper 5 is operating,
The input from the row side 2b of the input port 2 is not relayed, so there is no point in performing a parity check in the buffer 4-2. (In the figure, a black square mark indicates that a parity check is performed, and a white square mark indicates that a parity check is not performed.) Although not shown in the figure, the low side 2b of the input port 2 is shown.
If the swapper 5 operates so as to take a path connected to the buffer 4-3 after the data input from the buffer 4-2 passes through the buffer 4-2, the parity check in the buffer 4-1 becomes meaningless.

一方、入力ポート2のハイ側2aからの入力がそのまま
出力ポート3のハイ側3aへ抜け、ロウ側2bからの入力が
そのまま出力ポートのロウ側3bに抜けるような場合には
各バッファ4−1〜4−4のいずれにおいてもパリティ
チェックが必要である。
On the other hand, when the input from the high side 2a of the input port 2 is directly output to the high side 3a of the output port 3 and the input from the low side 2b is directly output to the low side 3b of the output port, each buffer 4-1 is used. Parity check is required in all of 4-4.

本発明はこのようなスワップの条件に応じて各ポート
のハイ側あるいはロウ側におけるパリティチェックを行
なうか、行なわないかを制御するものである。
The present invention controls whether or not to perform the parity check on the high side or the low side of each port according to such a swap condition.

これによって、パリティチェックを合理的に行なうこ
とが可能となり、また、パリティエラーが発生した場合
の原因箇所の特定が容易になる。
As a result, the parity check can be reasonably performed, and the cause of the occurrence of the parity error can be easily identified.

〔実施例〕〔Example〕

第2図は本発明の一実施例のデータバッファについて
のポートごとのパリティチェック実施の有無の決定につ
いて説明する図である。
FIG. 2 is a diagram for explaining the determination as to whether or not to execute the parity check for each port for the data buffer according to the embodiment of the present invention.

データバッファ6の各ポートにおけるパリティチェッ
クを行なうか否かはデータバッファのIN信号あるいはGA
TE信号によって決められる。
Whether or not to perform the parity check at each port of the data buffer 6 depends on the IN signal of the data buffer or GA.
Determined by TE signal.

すなわち、IN信号またはGATE信号がONになっているポ
ートについてのみパリティチェックを行なう。
That is, the parity check is performed only on the port for which the IN signal or the GATE signal is ON.

第2図ではポート1のIN信号とGATE信号が共にOFFで
あるためパリティチェックを行なわないことを×印で示
しており、ポート0、ポート2、ポート3はIN信号ある
いはGATE信号のいずれかがONであるためパリティチェッ
クを行なうことを○印によって示している。
In Fig. 2, the IN signal and GATE signal of port 1 are both OFF, so that the parity check is not performed is indicated by the cross mark. Port 0, port 2 and port 3 indicate either the IN signal or the GATE signal. The mark "○" indicates that the parity check is performed because it is ON.

第3図はIN信号がONであるポートのハイ側バイト、ロ
ウ側バイトのチェック条件を説明する図であって、
(a)はINPORT32信号がONの場合を、(b)はINPORT32
信号がOFFの場合を示しており、数字符7はデータバッ
ファ1(DBF1)、8はデータバッファ2(DBF2)を表わ
している。また、D0〜D7、D8〜D15はそれぞれディジッ
ト0〜7、ディジット8〜15のロウ側の各1バイトのデ
ータを、D16〜D23、D24〜D31はそれぞれディジット16〜
23、ディジット24〜31のハイ側の各1バイトのデータを
表わしている。
FIG. 3 is a diagram for explaining the check condition of the high-side byte and the low-side byte of the port where the IN signal is ON,
(A) is when INPORT32 signal is ON, (b) is INPORT32
The case where the signal is OFF is shown, and the numeral mark 7 represents the data buffer 1 (DBF1) and the numeral 8 represents the data buffer 2 (DBF2). Also, D0 to D7 and D8 to D15 are digit 1 to 7 and digits 8 to 15 are each 1 byte of data on the low side, and D16 to D23 and D24 to D31 are each digit 16 to.
It represents data of 1 byte each on the high side of 23 and digits 24 to 31.

同図(a)において、INPORT32がONであれば、そのポ
ートは4バイト転送が可能と言うことであり、そのバイ
トの指定はBE(バイトイネーブル)を使用することにな
る。従ってパリティチェックもBEを使用することにな
る。
In FIG. 9A, if INPORT32 is ON, it means that the port can transfer 4 bytes, and BE (byte enable) is used to specify the byte. Therefore, the parity check also uses BE.

同図(b)において、INPORT32がOFFであれば、その
ポートは下位2バイト(D0からD15を使用する16ビット
マスタまたはスレーブ)を使用するポートであり、その
バイトの指定はA0およびBHE(バスハイイネーブル)を
使用する。従ってパリティチェックもA0およびBHEを使
用することになる。
In the same figure (b), if INPORT32 is OFF, the port uses the lower 2 bytes (16-bit master or slave that uses D0 to D15), and the designation of that byte is A0 and BHE (bus High enable). Therefore, the parity check also uses A0 and BHE.

これらの条件を整理すると第1表に示すようになる。 Table 1 summarizes these conditions.

上述のように、その時点での有効なバイトに対するパ
リティチェック条件は、IN信号がONになっているボート
によって決定されることになる。
As described above, the parity check condition for the valid byte at that time is determined by the boat in which the IN signal is ON.

一方、GATE信号がONであるポートのデータは、ワード
スワップ回路を通してHIGHワードからLOWワード、LOWワ
ードからHIGHワードあるいは、スルーで通過という制御
が行なわれる。
On the other hand, the data of the port in which the GATE signal is ON is controlled to pass through the word swap circuit through the HIGH word to the LOW word, the LOW word to the HIGH word, or through.

従ってGATE信号がONであるポートのデータは、ワード
スワップ(SWAP信号)がONかOFFかによって、HIGHワー
ドからスワップされたデータか、LOWワードからスワッ
プされたデータかあるいはスルーで通過したデータかを
識別し、それぞれのデータのパリティ・ビットをIN信号
がONになっているポートと同じ条件でチェックする必要
がある。
Therefore, depending on whether the word swap (SWAP signal) is ON or OFF, the data of the port where the GATE signal is ON is either the data swapped from the HIGH word, the data swapped from the LOW word, or the data passed through. It is necessary to identify and check the parity bit of each data under the same conditions as the port where the IN signal is ON.

第4図は入力ポート、出力ポートの各バイトのパリテ
ィチェックの条件を説明する図であって(a)はデータ
がデータバッファの内でポート間をスルーで通過する場
合、(b)はHIGHワードからLOWワードへスワップした
場合、(c)はLOWワードからHIGHワードへスワップし
た場合を示しており、黒四角印はパリティチェック(P
C)を行なうことを、白四角印はパリティチェック(P
C)を行なわないことを示している。
FIG. 4 is a diagram for explaining the condition of the parity check of each byte of the input port and the output port. (A) shows the case where the data passes through between the ports in the data buffer, and (b) shows the HIGH word. From the LOW word to the LOW word, (c) shows the case from the LOW word to the HIGH word, and the black squares indicate the parity check (P
C), the white square indicates the parity check (P
C) is not performed.

同図(a)で示すデータがスルーで通過する場合の入
力ポート、出力ポートの各バイトのチェック条件を整理
すると、第2表のとおりとなる。
Table 2 summarizes the check conditions for each byte of the input port and output port when the data shown in FIG.

同図(b)に示すような、HIGHワードからLOWワード
へのスワップは、入力ポートのSWAP信号によって行なわ
れる。従って出力ポートのLOW側バイトのチェック条件
は、入力ポートのSWAP信号によって決定される。
The swap from the HIGH word to the LOW word as shown in FIG. 9B is performed by the SWAP signal of the input port. Therefore, the check condition of the LOW side byte of the output port is determined by the SWAP signal of the input port.

この場合のパリティチェックの条件を整理すると第3
表に示すようになる。
The conditions of the parity check in this case can be summarized as follows.
As shown in the table.

同図(c)に示すような、LOWワードからHIGHワード
へのスワップは、出力ポートのSWAP信号によって行なわ
れる。従って出力ポートのHIGH側バイトのチェック条件
は、出力ポートのSWAP信号によって決定される。
Swap from a LOW word to a HIGH word as shown in FIG. 7C is performed by the SWAP signal of the output port. Therefore, the check condition of the HIGH side byte of the output port is determined by the SWAP signal of the output port.

この場合のパリティチェックの条件を整理すると第4
表に示すようになる。
The conditions of the parity check in this case are summarized as follows.
As shown in the table.

第5図は本発明の一実施例の各信号の生成回路を示す
図であって、(a)は信号INPORT32の生成回路、
(b),(c)はHIGH側バイト、LOW側バイトのチェッ
ク条件を示す信号を生成する回路で(b)はHIGH側バイ
ト、(c)はLOW側バイトの信号生成回路を示してお
り、10はANDゲート、11はORゲート、12はインバータを
表わしている。これらは以下の各図においても特に断る
ことなく同様の数字符で表わす。
FIG. 5 is a diagram showing a signal generation circuit of one embodiment of the present invention, in which (a) is a signal INPORT 32 generation circuit.
(B) and (c) are circuits for generating a signal indicating the check conditions for the HIGH side byte and the LOW side byte. (B) is a HIGH side byte, and (c) is a LOW side byte signal generation circuit. 10 is an AND gate, 11 is an OR gate, and 12 is an inverter. These are represented by similar numeral marks in the following figures without any particular notice.

同図(b)において、入力ポートが32ビットポートで
あれば、BEを使用し、16ビットポートであればチェック
しない。
In FIG. 7B, BE is used if the input port is a 32-bit port, and it is not checked if it is a 16-bit port.

この回路は全てのポートに共通である。 This circuit is common to all ports.

同図(c)において、信号A0、または*BHEはレベル
が“L"であるときLOWバイトが有効であることを示す。
In FIG. 7C, the signal A0 or * BHE indicates that the LOW byte is valid when the level is "L".

本回路は、入力ポートが32ビットポートであればBEを
使用し、16ビットポートであればA0および*BHEを使用
する。
This circuit uses BE when the input port is a 32-bit port, and A0 and * BHE when it is a 16-bit port.

この回路も全てのポートに共通である。 This circuit is also common to all ports.

第6図は入力ポートのスワップ条件を示すINSWAPON信
号を生成する回路を示す図である。
FIG. 6 is a diagram showing a circuit for generating an INSWAPON signal indicating the swap condition of the input port.

この回路では入力ポートのSWAP信号がONであるか、OF
Fであるかを識別するもので、全てのポートに共通であ
る。
In this circuit, whether the SWAP signal of the input port is ON or OF
It identifies whether it is F, and is common to all ports.

第7図はIN信号がONであるポートでのパリティチェッ
ク条件信号生成回路を示す図である。同図の信号名称中
におけるnはポート番号に対応する。
FIG. 7 is a diagram showing a parity check condition signal generation circuit at a port where the IN signal is ON. In the signal names in the figure, n corresponds to the port number.

この回路は各ポートごとに独立に設けられる。 This circuit is provided independently for each port.

第8図はGATE信号がONであるポートについてのパリテ
ィチェック条件信号生成回路を示す図であって、(a)
はHIGH側バイト、(b)はLOW側バイトの場合を示して
おり、10はアンドゲート、12はインバータを表わしてい
る。
FIG. 8 is a diagram showing a parity check condition signal generation circuit for a port in which the GATE signal is ON.
Shows a case of a HIGH side byte, (b) shows a case of a LOW side byte, 10 is an AND gate, and 12 is an inverter.

同図(a)に示すHIGH側バイトのチェック回路では、
出力ポートのSWAP信号がOFFであれば、そのままHIGH側
パリティ・ビットとしてチェックする。ONであれば、LO
W側パリティ・ビットとしてチェックする。
In the HIGH side byte check circuit shown in FIG.
If the SWAP signal at the output port is OFF, check it as it is as the high-side parity bit. If ON, LO
Check as W side parity bit.

同図の出力信号のTHはスルーを、SPはスワップを意味
している。
In the output signal of the figure, TH means through and SP means swap.

このチェックは各ポートごとに独立的に行なわれる。 This check is performed independently for each port.

同図(b)に示すLOW側バイトのチェック回路では、
入力ポートのSWAP信号がOFFであれば、そのままLOW側パ
リティ・ビットとしてチェックする。ONであれば、HIGH
側パリティ・ビットとしてチェックする。
In the LOW side byte check circuit shown in FIG.
If the SWAP signal at the input port is OFF, check the LOW side parity bit as it is. If ON, HIGH
Check as side parity bit.

このチェックも各ポートごとに独立的に行なわれる。 This check is also performed independently for each port.

第9図はパリティチェックの最終段の回路を示す図で
あって、出力信号PSTnはポートごとのパリティ・ステー
タスを示す信号である。
FIG. 9 is a diagram showing a circuit at the final stage of the parity check, and the output signal PSTn is a signal showing the parity status for each port.

同図において、IN信号がONのときのパリティ・ビッ
ト、GATE信号がONのときのパリティ・ビット、かつそれ
にスワップ条件を加えたパリティ・ビットの論理和をと
り、最終的にHIGH側バイトのチェック条件(HCHECK)、
LOW側バイトのチェック条件(LCHECK)との論理積をと
っている。
In the figure, the logical sum of the parity bit when the IN signal is ON, the parity bit when the GATE signal is ON, and the parity bit with the swap condition added is ORed, and finally the HIGH side byte is checked. Condition (HCHECK),
It is ANDed with the LOW side byte check condition (LCHECK).

この回路は各ポートごとに独立に設けられる。 This circuit is provided independently for each port.

第10図はパリティ・エラー信号の出力回路を示す図で
ある。
FIG. 10 is a diagram showing a parity error signal output circuit.

同図に示す回路においては、第9図で示した回路によ
り得られたポートごとのパリティ・ステータスの論理和
を採り、パリティ・エラー信号としてデータバッファか
ら信号*PEを出力する。
In the circuit shown in the figure, the logical sum of the parity status for each port obtained by the circuit shown in FIG. 9 is taken, and the signal * PE is output from the data buffer as the parity error signal.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、データバッファ
内で、データのスワップが行なわれる場合のパリティチ
ェックを合理的に行なうことが可能であり、また、パリ
ティ・エラーが発生した場合の、エラーバイト、エラー
ポート等の検出が容易に行なえる利点がある。
As described above, according to the present invention, it is possible to rationally perform a parity check in the case where data is swapped in the data buffer, and an error byte when a parity error occurs. There is an advantage that an error port etc. can be easily detected.

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

第1図は本発明の原理を説明する図、第2図は本発明の
一実施例のデータバッファのパリティチェックについて
説明する図、第3図はIN信号がONであるポートのチェッ
ク条件を説明する図、第4図は入出力ポートの各バイト
のチェック条件を説明する図、第5図は本発明の一実施
例の各信号の生成回路を示す図、第6図は入力ポートの
スワップ条件を示す信号の生成回路を示す図、第7図は
IN信号がONであるポートでのパリティチェック条件信号
生成回路を示す図、第8図はGATE信号がONであるポート
についてのパリティチェック条件信号生成回路を示す
図、第9図はパリティチェックの最終段の回路を示す
図、第10図はパリティ・エラー信号の出力回路を示す
図、第11図は従来の小型電子計算機のデータバス周辺の
構成の例を示す図、第12図はバッファをLSI化した場合
の構成の例を示す図である。 1,6〜9……データバッファ、2……入力ポート、3…
…出力ポート、4−1〜4−4……バッファ、5……ス
ワッパ、10……ANDゲート、11……ORゲート、12……イ
ンバータ
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a diagram for explaining the parity check of the data buffer of one embodiment of the present invention, and FIG. 3 is a diagram for explaining the check conditions of the port where the IN signal is ON. FIG. 4, FIG. 4 is a diagram for explaining check conditions of each byte of the input / output port, FIG. 5 is a diagram showing a signal generation circuit of each embodiment of the present invention, and FIG. 6 is a swap condition of the input port. FIG. 7 shows a circuit for generating a signal indicating
FIG. 8 is a diagram showing a parity check condition signal generation circuit for a port where the IN signal is ON, FIG. 8 is a diagram showing a parity check condition signal generation circuit for a port where the GATE signal is ON, and FIG. 9 is the final parity check FIG. 10 is a diagram showing a stage circuit, FIG. 10 is a diagram showing a parity error signal output circuit, FIG. 11 is a diagram showing an example of a configuration around a data bus of a conventional small-sized computer, and FIG. 12 is a buffer LSI. It is a figure which shows the example of a structure at the time of becoming. 1, 6-9 ... Data buffer, 2 ... Input port, 3 ...
... output ports, 4-1 to 4-4 ... buffers, 5 ... swappers, 10 ... AND gates, 11 ... OR gates, 12 ... inverters

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の装置間に位置して、対応する装置と
の間のデータバスを接続するポートを有し、内部でポー
ト間の接続を切り替えることにより経路を設定して装置
間のデータ転送を中継制御する如く構成されていて、各
ポートはハイ(HIGH)側とロウ(LOW)側とから成り、
ハイ側のデータをロウ側へ、または、ロウ側のデータを
ハイ側に転送せしめる手段を有するデータバッファにお
いて、 各ロウ側及びハイ側の各ポートは、入力側と出力側にパ
リティチェック手段を有し、 ハイ側のポートからロウ側のポートにデータを転送する
際は、ハイ側の入力側とロウ側の出力側でパリティチェ
ックを行ない、ロウ側の入力側ではパリティチェックを
行わず、ロウ側のポートからハイ側のポートにデータを
転送する際は、ロウ側の入力側とハイ側の出力側でパリ
ティチェックを行ない、ハイ側の入力側ではパリティチ
ェックを行わない様に制御する手段を設けたことを特徴
とするデータバッファのパリティチェック回路。
1. Data between devices is provided by having a port located between a plurality of devices and connecting a data bus with a corresponding device, and internally setting a path by switching connection between the ports. It is configured to relay transfer, and each port consists of a high side and a low side.
In a data buffer having means for transferring high-side data to the low side or low-side data to the high side, each low-side and high-side port has a parity check means on the input side and the output side. However, when transferring data from the high-side port to the low-side port, the parity check is performed on the high-side input side and the low-side output side, and the parity check is not performed on the low-side input side. When data is transferred from the port on the high side to the port on the high side, the parity check is performed on the input side on the low side and the output side on the high side, and the means for controlling not to perform the parity check on the input side on the high side is provided. A parity check circuit for a data buffer characterized by the above.
JP2219075A 1990-08-22 1990-08-22 Data buffer parity check circuit Expired - Fee Related JP2544012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2219075A JP2544012B2 (en) 1990-08-22 1990-08-22 Data buffer parity check circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2219075A JP2544012B2 (en) 1990-08-22 1990-08-22 Data buffer parity check circuit

Publications (2)

Publication Number Publication Date
JPH04102127A JPH04102127A (en) 1992-04-03
JP2544012B2 true JP2544012B2 (en) 1996-10-16

Family

ID=16729871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2219075A Expired - Fee Related JP2544012B2 (en) 1990-08-22 1990-08-22 Data buffer parity check circuit

Country Status (1)

Country Link
JP (1) JP2544012B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101640821B1 (en) 2015-03-12 2016-07-19 엘에스산전 주식회사 Controller for confirming contact status and controlling contact of latch relay in electric power meter

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5936359B2 (en) * 1980-12-15 1984-09-03 株式会社日立製作所 data buffer device
JPS58107937A (en) * 1981-12-22 1983-06-27 Fujitsu Ltd Channel controlling system

Also Published As

Publication number Publication date
JPH04102127A (en) 1992-04-03

Similar Documents

Publication Publication Date Title
US5435000A (en) Central processing unit using dual basic processing units and combined result bus
WO1986000436A1 (en) Data processor having dynamic bus sizing
US4201337A (en) Data processing system having error detection and correction circuits
JP2544012B2 (en) Data buffer parity check circuit
JPS61180330A (en) Alu system
JPH1166762A (en) Floppy disk system
US4745581A (en) LSI system of a structure requiring no additional address signals to incorporate additional status registers into the system
JP2704062B2 (en) Information processing device
JPH0638239B2 (en) Error correction mechanism
JPH07146825A (en) Memory system
JP2790172B2 (en) Logical operation circuit placement device
JPS58200351A (en) Error correcting circuit
JP2975638B2 (en) Semiconductor integrated circuit
JPS6362064A (en) Bus converter
JPS61166635A (en) Data bus system
US4841298A (en) Bit pattern conversion system
JPS599306Y2 (en) data processing equipment
US5457403A (en) Fault tolerant and gate circuit
JP3374923B2 (en) Logic module and data processing device
SU1051533A2 (en) Adder in m-from-n-code
JPS61175843A (en) Interruption detecting system
JPS6146534A (en) Scan address control system
JPH04352268A (en) Data processor
JPH04170661A (en) Microprocessor system
JPS62125453A (en) Storage device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees