JPH02104048A - Parallel interface circuit - Google Patents

Parallel interface circuit

Info

Publication number
JPH02104048A
JPH02104048A JP63256223A JP25622388A JPH02104048A JP H02104048 A JPH02104048 A JP H02104048A JP 63256223 A JP63256223 A JP 63256223A JP 25622388 A JP25622388 A JP 25622388A JP H02104048 A JPH02104048 A JP H02104048A
Authority
JP
Japan
Prior art keywords
data
signal
data latch
circuit
parallel interface
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
JP63256223A
Other languages
Japanese (ja)
Inventor
Yoshiaki Ota
太田 良昭
Norio Shibata
柴田 則雄
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
NEC Data Terminal Ltd
Original Assignee
NEC Corp
NEC Data Terminal 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 NEC Corp, NEC Data Terminal Ltd filed Critical NEC Corp
Priority to JP63256223A priority Critical patent/JPH02104048A/en
Publication of JPH02104048A publication Critical patent/JPH02104048A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To prevent the reception of erroneous reception data by latching a reception data in time division and comparing and discriminating the result. CONSTITUTION:A control section 5 outputs a 2nd data latch signal 7 when no data confirming signal 8 is outputted and allows a 2nd data latch cirucit 3 to latch the output of a 1st data latch circuit 2. Then a 1st data latch signal 6 is outputted and a received data 10 is latched to the 1st data latch cirucit 2. Thus, the control section 5 repeats the operation till the data confirming signal 8 is outputted from a comparator 4 and does not output a data requesting signal 9 to a host parallel interface till the control section 5 discriminates the received data 10 to be a correct received data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパラレルインタフェース回路に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to parallel interface circuits.

〔従来の技術〕[Conventional technology]

従来、この種のパラレルインタフェース回路は、受信デ
ータを確認せずにデータ要求信号を出力し、データの受
信を行なっていた。
Conventionally, this type of parallel interface circuit receives data by outputting a data request signal without checking the received data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のパラレルインタフェース回路は、受信デ
ータを確認せずにデータ要求信号を出力し、データ受信
を行なう為に誤ったデータを受信してしまうという欠点
があった。
The above-described conventional parallel interface circuit has the disadvantage that it outputs a data request signal without confirming the received data, and receives erroneous data when receiving data.

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

本発明のパラレルインタフェース回路は、受信データの
正誤を判断する為に、上位からのデータラッチ信号又は
制御部からのデータラッチ信号によりデータをラッチす
る第一のデータラッチ回路と、第一のデータラッチ回路
の出力を制御部からのデータラッチ信号によりラッチす
る第二のデータラッチ回路と、第一のデータラッチ回路
及び第二のデータラッチ回路の出力を比較する比較回路
と、比較回路の出力により受信データの正誤を判断し上
位にデータ要求信号を出力する制御部とを有している。
The parallel interface circuit of the present invention includes a first data latch circuit that latches data using a data latch signal from a host or a data latch signal from a control unit, and a first data latch circuit to determine whether received data is correct or incorrect. a second data latch circuit that latches the output of the circuit using a data latch signal from the control section; a comparison circuit that compares the outputs of the first data latch circuit and the second data latch circuit; It has a control section that determines whether the data is correct or incorrect and outputs a data request signal to a higher-level device.

〔実施例〕〔Example〕

次に本発明の一実施例について図面を参照して説明する
Next, an embodiment of the present invention will be described with reference to the drawings.

上位パラレルインタフェースlからの受信データ10は
、上位パラレルインタフェース1から出力される第一デ
ータラッチ信号6により、第一データラッチ回路2にラ
ッチされる。この第一データラッチ信号6は、送信信号
11として制御部5に入力される。制御部5は送信信号
11を確認すると第二データラッチ信号7を出力する。
Received data 10 from the upper parallel interface 1 is latched into the first data latch circuit 2 by the first data latch signal 6 output from the upper parallel interface 1. This first data latch signal 6 is input to the control section 5 as a transmission signal 11. When the control unit 5 confirms the transmission signal 11, it outputs the second data latch signal 7.

第二デークラッチ回路3は第二データラッチ信号7によ
り、第一データラッチ回路2の出力をラッチする。
The second data latch circuit 3 latches the output of the first data latch circuit 2 using the second data latch signal 7.

制御部5は、第一データラッチ信号6を出力し、第一デ
ータラッチ回路2に再び受信データ10をラッチさせる
。比較回路4は第一データラッチ回路2の出力と第二デ
ータラッチ回路3の出力とを比較し、同一データであれ
ばデータ確認信号8を制御部5に出力する。制御部5は
データ確認信号8により受信データ10が正しいデータ
であると判断し、上位パラレルインタフェース1にデー
タ要求信号9を出力し、次の受信を行う。また比較回路
4は第一データラッチ回路2の出力と第二データラッチ
回路3の出力とが同一でない時は、データ確認信号8を
出力しない。
The control unit 5 outputs the first data latch signal 6 and causes the first data latch circuit 2 to latch the received data 10 again. The comparison circuit 4 compares the output of the first data latch circuit 2 and the output of the second data latch circuit 3, and outputs a data confirmation signal 8 to the control unit 5 if the data are the same. The control unit 5 determines that the received data 10 is correct data based on the data confirmation signal 8, outputs a data request signal 9 to the upper parallel interface 1, and performs the next reception. Further, the comparison circuit 4 does not output the data confirmation signal 8 when the output of the first data latch circuit 2 and the output of the second data latch circuit 3 are not the same.

制御部5はデータ確認信号8が出力されない場合は、第
二データラッチ信号7を出力し、第一データラッチ回路
2の出力を第二データラッチ回路3にう、チさせる。次
に第一データラッチ信号6を出力し、受信データ10を
第一データラッチ回路2にラッチさせる。このようにし
て制御部5は比較回路4からデータ確認信号8が出力さ
れるまでとの動作を繰り返し、受信データ10を正しい
受信データと判断するまでデータ要求信号9を上位パラ
レルインタフェースに出力しない。
When the data confirmation signal 8 is not output, the control unit 5 outputs the second data latch signal 7 and causes the output of the first data latch circuit 2 to be transferred to the second data latch circuit 3. Next, the first data latch signal 6 is outputted to cause the first data latch circuit 2 to latch the received data 10. In this way, the control unit 5 repeats the operation until the data confirmation signal 8 is output from the comparison circuit 4, and does not output the data request signal 9 to the upper parallel interface until it determines that the received data 10 is correct received data.

以上のような動作を行なうことにより、上位パラレルイ
ンタフェース1と第一データラッチ回路2の間や、第一
データラッチ回路2と第二データラッチ回路3との間で
受信データ上に一瞬の変化があって誤った受信データを
ラッチしてしまっても正い受信データのみを受信するこ
とができる。
By performing the above operations, instantaneous changes in received data between the upper parallel interface 1 and the first data latch circuit 2 or between the first data latch circuit 2 and the second data latch circuit 3 are prevented. Even if incorrect received data is latched, only correct received data can be received.

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

以上説明したように、本発明は受信データを時分割にラ
ッチし比較判断することにより、誤った受信データを受
信してしまうことを防止できるという効果がある。
As described above, the present invention has the effect of preventing erroneous reception data from being received by latching and comparing received data in a time-division manner.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・・・・上位パラレルインタフェース、2・・・
・・・第一データラッチ回路、3・・・・・・第二デー
タラッチ回路、4・・・・・・比較回路、5・・・・・
・制御部、6・・・・・・第一データラッチ信号、7・
・・・・・第二データラッチ信号、8・・・・・・デー
タ確認信号、9・・・・・・データ要求信号、10・・
・・・・受信データ、11・・・・・・送信信号。 代理人 弁理士  内  原   音
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Upper parallel interface, 2...
...First data latch circuit, 3...Second data latch circuit, 4...Comparison circuit, 5...
・Control unit, 6...First data latch signal, 7.
...Second data latch signal, 8...Data confirmation signal, 9...Data request signal, 10...
... Received data, 11... Transmitted signal. Agent Patent Attorney Oto Uchihara

Claims (1)

【特許請求の範囲】[Claims] 上位装置からのデータラッチ信号又は制御部からのデー
タラッチ信号により受信データをラッチする第一のデー
タラッチ回路と、前記第一のデータラッチ回路にラッチ
された受信データを制御部からのデータラッチ信号によ
りラッチする第二のデータラッチ回路と、前記第一およ
び第二のデータラッチ回路の出力を比較する比較回路と
、前記比較回路からの出力により受信データの正誤を判
断し前記上位装置にデータ要求信号を出力する制御部と
を有することを特徴とするパラレルインタフェース回路
A first data latch circuit that latches received data using a data latch signal from a host device or a data latch signal from a control unit, and a data latch signal from the control unit that latches the received data latched by the first data latch circuit. a second data latch circuit that latches the data; a comparison circuit that compares the outputs of the first and second data latch circuits; and a comparison circuit that determines whether the received data is correct or incorrect based on the output from the comparison circuit and requests data from the host device. 1. A parallel interface circuit comprising: a control section that outputs a signal.
JP63256223A 1988-10-11 1988-10-11 Parallel interface circuit Pending JPH02104048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63256223A JPH02104048A (en) 1988-10-11 1988-10-11 Parallel interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63256223A JPH02104048A (en) 1988-10-11 1988-10-11 Parallel interface circuit

Publications (1)

Publication Number Publication Date
JPH02104048A true JPH02104048A (en) 1990-04-17

Family

ID=17289644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63256223A Pending JPH02104048A (en) 1988-10-11 1988-10-11 Parallel interface circuit

Country Status (1)

Country Link
JP (1) JPH02104048A (en)

Similar Documents

Publication Publication Date Title
KR920010916B1 (en) Multiprocessor level change synchronization apparatus
US5726593A (en) Method and circuit for switching between a pair of asynchronous clock signals
US5218682A (en) Two-way handshake circuit and method for communication between processors
JPH02104048A (en) Parallel interface circuit
EP0251234B1 (en) Multiprocessor interrupt level change synchronization apparatus
US3766530A (en) Communications between central unit and peripheral units
KR940006657Y1 (en) Selecting circuit of information i/o
JPH02183837A (en) Parallel interface circuit
JP3296639B2 (en) Communication switching system device
KR920004415B1 (en) A circuit and a method for transfering data
JPS61250736A (en) Data processing device
JPS61270952A (en) Data transmitting system
Anderson Computer interface system
JPH0693226B2 (en) Interrupt reporting device
JPS6010466B2 (en) Message transmission method
JPH0150940B2 (en)
JPH0441383B2 (en)
JPH04211856A (en) Clock synchronization type serial interface
JPH02188851A (en) Data processing system
JPS61250762A (en) Data transmission equipment
JPS60117847A (en) Data control circuit
JPH0535900B2 (en)
JPS5923661A (en) Pulse communication circuit
JPH0369235A (en) Serial data transmitting circuit
JPH0437458B2 (en)