JPH01121941A - Data buffering device - Google Patents

Data buffering device

Info

Publication number
JPH01121941A
JPH01121941A JP62279139A JP27913987A JPH01121941A JP H01121941 A JPH01121941 A JP H01121941A JP 62279139 A JP62279139 A JP 62279139A JP 27913987 A JP27913987 A JP 27913987A JP H01121941 A JPH01121941 A JP H01121941A
Authority
JP
Japan
Prior art keywords
data
signal
check pattern
check
pattern 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.)
Pending
Application number
JP62279139A
Other languages
Japanese (ja)
Inventor
Ichirou Shirasaka
白阪 一郎
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62279139A priority Critical patent/JPH01121941A/en
Publication of JPH01121941A publication Critical patent/JPH01121941A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To check and detect trouble like data drop-out or false data occurrence by taking out a pattern signal to be checked corresponding to the check pattern added to an input signal and comparing this taken-out signal with the check pattern signal. CONSTITUTION:When input data 12 is given, a signal 35 in the low level or the high level is repeatedly generated to form the check pattern signal, and data is stored in memory groups 22-16 in order. An unload signal 40 is inputted to a terminal 41 to take out stored data 12 and the check pattern signal, and they are sent to an output terminal 51. Meanwhile, the check pattern signal is sent as a pattern signal 52 to be checked to a check circuit 54. The circuit 54 checks the signal in the order of the low level, the high level, the low level... of the original check pattern signal. When the signal 52 whose order is different from that of the check pattern signal is inputted from the memory 22, an error signal 55 is outputted from a terminal 56. This operation is repeated, and error is detected when the drop-out or false occurrence of one word occurs in taken- out data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ転送制御に係わり、特にデータバッフ
ァ時に生じる誤りを検出する機能を付加したデータバッ
ファ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to data transfer control, and more particularly to a data buffer device having a function of detecting errors occurring during data buffering.

〔従来の技術〕[Conventional technology]

一般に、周辺装置と中央処理装置の間のデータ転送は周
辺側ill装置により制御される。その場合、周辺装置
と中央処理装置とはデータ転送速度に大きな差がある。
Generally, data transfer between a peripheral device and a central processing unit is controlled by a peripheral ill device. In that case, there is a large difference in data transfer speed between the peripheral device and the central processing unit.

従って、転送速度を合わせるためデータバッファの使用
が不可欠となる。
Therefore, it is essential to use a data buffer to match the transfer speed.

このデータバッファ装置には回路を簡単にするためFI
FO(先入れ先出し)方式のものがよく用いられている
。このFIFO方式を採用したデータバッファ装置では
、データロード信号によりデータを入力端子からロード
し、装置内のメモリに順次データを書き込み、一方デー
タアンロード信号によりデータを出力端子から取り出す
ように構成されている。
This data buffer device has FI to simplify the circuit.
The FO (first in, first out) system is often used. A data buffer device employing this FIFO method is configured to load data from an input terminal using a data load signal and sequentially write the data into the memory within the device, while taking out data from an output terminal using a data unload signal. There is.

このようなFIFO方式では、入力端子から−番最初に
入力されたデータから順次出力端子を通して外部に取り
出すようになっている。このようにすれば、データの書
き込みおよび読み出しの制御が非常に簡単になり、回路
も小さな規模で済ますことができる。
In such a FIFO system, the data inputted first from the input terminal is sequentially taken out to the outside through the output terminal. In this way, data writing and reading can be controlled very easily, and the circuit size can be reduced.

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

しかしながら、このような従来のデータバッファ装置に
は以下に述べる欠点があった。 すなわち、制御回路が
故障したりすることにより、ロード信号やアンロード信
号が不正になると、同一データを二度取り出してしまっ
たり、データが抜けてしまうなどの事故が生じ易い欠点
があった。
However, such conventional data buffer devices have the following drawbacks. That is, if the load signal or unload signal becomes invalid due to a failure of the control circuit, there is a drawback that accidents such as the same data being retrieved twice or data being omitted are likely to occur.

このような事故に起因するデータ誤りはデータに付加し
たパリティチェックピットによっても検出することがで
きなかった。このため、誤りの発見が遅れたり、全く発
見できなかったりするため、重要なデータを喪失してし
まうという問題があった。
Data errors caused by such accidents could not be detected even by parity check pits added to the data. For this reason, there is a problem in that errors are detected late or not detected at all, resulting in loss of important data.

そこで本発明の目的は、従来のチェック方式では検出で
きなかったデータ抜けや湧き出しなどの障害を有効に検
出できるデータバッファ装置の誤り検出装置を提供する
ことにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an error detection device for a data buffer device that can effectively detect failures such as data dropouts and data overflows that could not be detected using conventional checking methods.

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

本発明では、周辺装置と中央処理装置の間に配置され、
これらの装置間のデータ転送を制御する周辺制御装置j
ごおいて、上記周辺装置からのデータを一時格納するメ
モリ群と、これらのメモリ群へのデータの書き込み、ま
たは読み出しを制御する制御回路と、上記周辺制御装置
で発生されるロード信号により順次特定の信号を発生し
、これろの信号が上記メモリ群に上記データと共に書き
込まれたとき特定のチェックパターンを形成してなるチ
ェックパターン発生回路と、上記周辺制御装置内で発生
されるアンロード信号により上記メモリ群に上記データ
と共に書き込まれた、上記特定のチェックパターン信号
に対応する被チェックパターン信号を読み出し、上記特
定のチェックパターン信号と比較して誤りの有無をチェ
ックするチェック回路とをデータバッファ装置に具備さ
せる。
In the present invention, the device is arranged between the peripheral device and the central processing unit,
Peripheral control device that controls data transfer between these devices
A memory group that temporarily stores data from the peripheral devices, a control circuit that controls writing or reading data to these memory groups, and a load signal generated by the peripheral control device to sequentially identify the a check pattern generation circuit which generates a signal and forms a specific check pattern when these signals are written to the memory group together with the data; and an unload signal generated within the peripheral control device. A data buffer device includes a check circuit that reads a checked pattern signal corresponding to the specific check pattern signal written in the memory group together with the data, and compares it with the specific check pattern signal to check for errors. be equipped.

〔作用〕[Effect]

本発明におけるデータバッファの誤り検出装置は、デー
タバッファに入力される入力データにデータ入力の順序
を示すチェックパターン信号を付加し、これろを−旦格
納する。この格納された信号に含まれるチェックパター
ン信号に対応する被チェックパターン信号を取り出して
チェックパターン信号と比較する。この比較結果からデ
ータの抜けや湧き出しなどの障害を有効にチェック検出
することができる。
The data buffer error detection device according to the present invention adds a check pattern signal indicating the order of data input to the input data input to the data buffer, and temporarily stores the check pattern signal. A checked pattern signal corresponding to the check pattern signal included in the stored signals is extracted and compared with the check pattern signal. From the results of this comparison, it is possible to effectively check and detect failures such as missing data or overflowing data.

C実施例〕 以下実施例につき本発明の詳細な説明する。C Example] The present invention will be described in detail below with reference to Examples.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

図において、入力端子11に人力データ12が人力され
る。ここで、ロード端子14に当該データバッファ装置
からのロード信号15を人力すると、入力データ12は
メモリ群16〜22の初めのメモリ16にラッチされる
。このロード信号15は更に、制御回路24にも入力さ
れる。制御回路24はこのロード信号15を受けるとメ
モリ群16〜22内で入力データ12を順次シフトさせ
るシフトストローブ信号25〜31を発生する。
In the figure, human input data 12 is input to an input terminal 11 . Here, when the load signal 15 from the data buffer device is input to the load terminal 14, the input data 12 is latched into the first memory 16 of the memory groups 16-22. This load signal 15 is further input to the control circuit 24. When control circuit 24 receives load signal 15, it generates shift strobe signals 25-31 that sequentially shift input data 12 within memory groups 16-22.

このシフトストローブ信号25〜31により、例えばメ
モリ16に格納された入力データ12はメモリ群16〜
22内を次々とシフトされて最終段のメモリ22に格納
される。次に人力された人力データ12も同様にシフト
され、メモリ21に格納され、以下同様に格納されて行
く。
For example, the input data 12 stored in the memory 16 is changed by the shift strobe signals 25 to 31 to the memory groups 16 to 31.
22 one after another and stored in the final stage memory 22. Next, the human data 12 that has been manually input is similarly shifted and stored in the memory 21, and is stored in the same manner thereafter.

一方、パターン発生回路34は、上記のロード信号15
が人力される毎に、「ロー(LOW)Jまたは[ハイ(
High)jの信号35を交互に発生するように構成さ
れている。例えば、最初の人力データ12が入力端子1
1に与えられると、「ロー」信号35を発生し、人力デ
ータ12と共にメモリ16に格納される。同様に、次の
人力データ12が与えられると、「ハイ」信号35を発
生し、人力データ12と共にメモリ16に格納される。
On the other hand, the pattern generation circuit 34 receives the load signal 15 described above.
Each time ``LOW'' or ``HIGH'' is input manually,
High) j signal 35 is alternately generated. For example, the first human data 12 is input terminal 1
1, it generates a "low" signal 35 and is stored in memory 16 along with human data 12. Similarly, when the next human power data 12 is applied, a "high" signal 35 is generated and stored in the memory 16 along with the human power data 12.

以下同様にして、入力データ12がある度に「ロー」ま
たは「ハイ」の信号35を発生し、「ロー」 「ハイ」
の繰り返しからなるパターン38を形成するようにメモ
リ群22〜16に順に格納されて行く。
In the same manner, a "low" or "high" signal 35 is generated every time there is input data 12, and a "low" or "high" signal 35 is generated.
The data are sequentially stored in the memory groups 22 to 16 so as to form a pattern 38 consisting of repetitions of the following.

このようにしてメモリ群16〜22に順次格納された入
力データ12とチェックパターン信号38を形成する「
ロー」または「ハイ」の信号35は、当該データバッフ
ァ装置内で発生されるアンロード信号40をアンロード
端子41に人力することにより取り出される。すなわち
、このアンロード信号40がアンロード端子41を介し
て制御回路24に人力されると、制御回路24はメモリ
群16〜22に格納された入力データ12と「ロー」ま
たは「ハイ」信号35をシフトさせるシフトストローブ
信号43〜49をメモリ群16〜22に与える。
In this way, the input data 12 sequentially stored in the memory groups 16 to 22 and the check pattern signal 38 are formed.
The "low" or "high" signal 35 is taken out by manually applying an unload signal 40 generated within the data buffer device to an unload terminal 41. That is, when this unload signal 40 is input to the control circuit 24 via the unload terminal 41, the control circuit 24 outputs the input data 12 stored in the memory groups 16 to 22 and the "low" or "high" signal 35. Shift strobe signals 43-49 are applied to memory groups 16-22.

これによって、最初の人力データ12、すなわちメモリ
22に格納された人力データ12は出力端子51に送出
される。この結果人力データ12が順次シフトし、メモ
リ22には次に入力された人力データ12が格納される
As a result, the first human power data 12, that is, the human power data 12 stored in the memory 22, is sent to the output terminal 51. As a result, the human power data 12 is sequentially shifted, and the next input human power data 12 is stored in the memory 22.

一方、「ロー」または「ハイ」信号35から構成された
チェックパターン信号38は被チェックパターン信号5
2としてチェック回路54に送出される。
On the other hand, the check pattern signal 38 composed of the "low" or "high" signal 35 is the checked pattern signal 5.
2 to the check circuit 54.

チェック回路54では、元のチェックパターン信号38
の「ロー」、「ハイ」、「ロー」・・・・・・の順に被
チェックパターン信号52をチェックして行く。このチ
ェックパターン信号38の順序と異なる被チェックパタ
ーン信号54がメモリ22から人力されたときはエラー
信号55をエラ一端子56から出力する。以上の動作を
反復することにより当該データバッファ装置から取り出
されたデータに1ワード抜けや湧き出しなどがあった場
合にエラーとして検出することができる。
In the check circuit 54, the original check pattern signal 38
The pattern signal 52 to be checked is checked in the order of "low", "high", "low", and so on. When a check pattern signal 54 different from the order of the check pattern signals 38 is manually inputted from the memory 22, an error signal 55 is outputted from the error terminal 56. By repeating the above operations, it is possible to detect an error if one word is missing or overflowing in the data taken out from the data buffer device.

なお、以上に説明した実施例では、チェックパターン信
号38は1ビツトの繰り返しで構成したが、例えばこれ
を2ビツトにしてチェックパターン信号38を4つのパ
ターンで構成すれば、最大4ワードまでの抜けまたは湧
き出し等があった場合も同様にエラーとして検出するこ
とができる。
In the embodiment described above, the check pattern signal 38 is composed of 1 bit repetition, but if this is changed to 2 bits and the check pattern signal 38 is composed of 4 patterns, up to 4 words can be omitted. Alternatively, if there is a gush, it can be detected as an error in the same way.

チェックパターン信号35ビツト数を更にワード数の大
きなエラーの検出も可能なことば明らかである。
It is clear that it is possible to detect errors with a larger number of words than the 35-bit check pattern signal.

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

以上説明したように本発明によるデータバッファ装置は
、このデータバッファ装置に入力される入力データに対
し、順次チェック信号を付加して被チェックパターンを
形成し、人力データの取り出し時に元のチェックパター
ンと順次比較しチェックするように構成することにより
、従来のパリティチェックなどのチェック方式ではチェ
ックできなかったデータ抜けや湧き出しなどを有効。
As explained above, the data buffer device according to the present invention sequentially adds check signals to the input data input to the data buffer device to form a checked pattern, and when manually retrieving data, the data buffer device forms a checked pattern. By configuring the system to perform sequential comparisons and checks, it is possible to detect data omissions and leaks that could not be checked using conventional parity checks and other checking methods.

にチェックできるという効果がある。また、チェックパ
ターン信号のビット数を増すことにより、数ワードに渡
るデータ抜けや湧き出し、およびデータ順序の乱れなど
を検出できる効果がある。
This has the effect of allowing you to check. Furthermore, by increasing the number of bits of the check pattern signal, it is possible to detect missing or overflowing data over several words, as well as data out of order.

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

第1図は本発明によるデータバッファ装置の一実施例を
示すブロック図である。 16〜22・・・・・・メモリ、 24・・・・・・制御回路、 34・・・・・・パターン発生回路、 54・・・・・・チェック回路。 出  願  人 日本電気株式会社 代  理  人
FIG. 1 is a block diagram showing an embodiment of a data buffer device according to the present invention. 16-22...Memory, 24...Control circuit, 34...Pattern generation circuit, 54...Check circuit. Applicant: NEC Corporation Representative

Claims (1)

【特許請求の範囲】[Claims] 周辺装置と中央処理装置との間に配置され、これらの装
置間のデータ転送を制御する周辺制御装置において、前
記周辺装置からのデータを一時格納するメモリ群と、こ
れらのメモリ群へのデータの書き込みまたは読み出しを
制御する制御回路と、当該周辺制御装置で発生されるロ
ード信号により順次特定の信号を発生し、これらの信号
が前記メモリ群に前記データと共に書き込まれたとき特
定のチェックパターンを形成してなるチェックパターン
発生回路と、当該周辺制御装置内で発生されるアンロー
ド信号により前記メモリ群に前記データと共に書き込ま
れた前記特定のチェックパターン信号に対応する被チェ
ックパターン信号を読み出し、前記特定のチェックパタ
ーン信号と比較して誤りの有無をチェックするチェック
回路とを具備することを特徴とするデータバッファ装置
A peripheral control device that is placed between a peripheral device and a central processing unit and controls data transfer between these devices includes a memory group for temporarily storing data from the peripheral device, and a memory group for temporarily storing data from the peripheral device, and a memory group for temporarily storing data from the peripheral device. A control circuit that controls writing or reading and a load signal generated by the peripheral control device sequentially generate specific signals, and when these signals are written to the memory group together with the data, a specific check pattern is formed. A check pattern generation circuit comprising a check pattern generating circuit and an unload signal generated within the peripheral control device read out a check pattern signal corresponding to the specific check pattern signal written in the memory group together with the data, and 1. A data buffer device comprising: a check circuit that compares the check pattern signal with a check pattern signal to check whether there is an error.
JP62279139A 1987-11-06 1987-11-06 Data buffering device Pending JPH01121941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62279139A JPH01121941A (en) 1987-11-06 1987-11-06 Data buffering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62279139A JPH01121941A (en) 1987-11-06 1987-11-06 Data buffering device

Publications (1)

Publication Number Publication Date
JPH01121941A true JPH01121941A (en) 1989-05-15

Family

ID=17606977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62279139A Pending JPH01121941A (en) 1987-11-06 1987-11-06 Data buffering device

Country Status (1)

Country Link
JP (1) JPH01121941A (en)

Similar Documents

Publication Publication Date Title
JPS6141028B2 (en)
JPH01121941A (en) Data buffering device
JPH1097471A (en) Method and system for error correction of memory data
JPS62299000A (en) Semiconductor memory
JPH0689236A (en) Random access memory monitor circuit
JPS58200351A (en) Error correcting circuit
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JP2949984B2 (en) Memory monitoring circuit
JPS61224044A (en) Error check circuit
JPH0528056A (en) Memory device
JPH0378055A (en) Memory trouble detection system for double buffer
JPH0552912A (en) Integrated circuit
JPH01194035A (en) Address parity checking system for information processor
JPH04115338A (en) Alternating memory system
JPH03233638A (en) Memory error information collecting system
JPS63303448A (en) Data storing circuit
JPH02196356A (en) Information processor
JPH05128900A (en) Cam device
JPH04283500A (en) Operation monitoring circuit of ram
JPH0793243A (en) Channel device
JPH02116233A (en) Error checking system for interface device
JPS58118097A (en) Memory device
JPS63174139A (en) System for checking readout data
JPS63155345A (en) Memory check system
JPH04329444A (en) Error correcting and detecting system for information processor