JPH0333961A - Receiver for data processor - Google Patents
Receiver for data processorInfo
- Publication number
- JPH0333961A JPH0333961A JP16894889A JP16894889A JPH0333961A JP H0333961 A JPH0333961 A JP H0333961A JP 16894889 A JP16894889 A JP 16894889A JP 16894889 A JP16894889 A JP 16894889A JP H0333961 A JPH0333961 A JP H0333961A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- control information
- buffer
- receiving
- 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
Links
Landscapes
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ処理におけるデータの受信装置に利用す
る。本発明はデータ処理装置間を接続し、制御情報と転
送データとを一組の信号線上で時分割で転送する装置間
インタフェースに関し、特にこのインタフェースに接続
されたデータ処理装置のデータの受信装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to a data receiving device in data processing. The present invention relates to an inter-device interface that connects data processing devices and transfers control information and transfer data on a set of signal lines in a time-division manner, and particularly relates to a device for receiving data from a data processing device connected to this interface. .
本発明は制御情報と転送データとを一組のインタフェー
ス信号線上で時分割にて転送し処理するデータ処理装置
の受信装置において、
転送されたデータが転送データであるか、制御情報であ
るかを判定して個別に先取りして処理するすることによ
り、
受信データ利用時の読み出し順による処理待ちの遅れを
なくし、処理速度を高めるようにしたものである。The present invention provides a method for determining whether the transferred data is transfer data or control information in a receiving device of a data processing device that transfers and processes control information and transfer data in a time-division manner on a set of interface signal lines. By determining and individually processing the received data in advance, it is possible to eliminate delays in waiting for processing due to the order of reading when using received data and increase processing speed.
従来、この種のデータ処理装置においてはインタフェー
ス信号線上のデータを受信する受信バッファは一つで構
成されるのが一般的で、インタフェース信号線より受信
したデータは一旦受信バッファに格納され、その後必要
に応じて順次読み出して処理されていた。Conventionally, this type of data processing device has generally been configured with one receive buffer that receives data on the interface signal line, and the data received from the interface signal line is temporarily stored in the receive buffer and then used as needed. They were read and processed sequentially according to the
このように、従来のデータ処理装置においては、受信デ
ータを順次読み出して処理するため、制御情報の解読と
転送データの処理はバッファの読み出し順に応じて実施
する必要があり、一方のデータを先取りして処理しよう
としても他方のデータの処理が完了していないために、
読み出すことができず待たされることがあり処理速度を
低下させる原因となっていた。In this way, in conventional data processing devices, received data is sequentially read and processed, so it is necessary to decode control information and process transferred data in the order in which the buffers are read. Even if you try to process the other data, the processing of the other data is not completed, so
The data could not be read and had to wait, causing a reduction in processing speed.
本発明はこのような問題を解決するもので、制御情報、
転送データを個別に先取りして処理することができ、処
理速度を低下させない装置を提供することを目的とする
。The present invention solves such problems, and the present invention aims to solve such problems by providing control information,
It is an object of the present invention to provide a device that can individually prefetch and process transfer data without reducing processing speed.
本発明は、インタフェース信号線上のデータを受信する
受信回路と、この受信回路が受信したデータを一時格納
する受信バッファと、この受信バッファからの転送デー
タを処理するデータ処理回路と、このデータ処理回路を
制御する制御回路とを備えたデータ処理装置の受信装置
において、前記受信バッファは、転送データを格納する
転送データバッファと、制御情報を格納する制御情報バ
ッファとの二つに区分され、前記受信回路により受信さ
れたデータが転送データであるか制御情報であるかを付
加されたパラメータ信号により判定するとともにその判
定にしたがって各バッファに格納する判定回路を設け、
エントリに格納された転送データの直前に対応する制御
情報が受信されかつ格納されたか否かを示すフラグを保
持するフラグメモリを備えたことを特徴とする。The present invention provides a receiving circuit that receives data on an interface signal line, a receiving buffer that temporarily stores data received by this receiving circuit, a data processing circuit that processes data transferred from this receiving buffer, and this data processing circuit. In the receiving device of the data processing apparatus, the receiving buffer is divided into two parts: a transfer data buffer that stores transfer data and a control information buffer that stores control information. A determination circuit is provided that determines whether data received by the circuit is transfer data or control information based on an added parameter signal and stores it in each buffer according to the determination,
The present invention is characterized in that it includes a flag memory that holds a flag indicating whether or not corresponding control information has been received and stored immediately before the transfer data stored in the entry.
送信装置から送出された送信データをインタフェース信
号線を介して受信し、受信したデータが転送データであ
るか制御情報であるかを判定する。Transmission data sent from the transmitting device is received via an interface signal line, and it is determined whether the received data is transfer data or control information.
判定の結果転送データであれば転送データバッファに格
納し、転送データバッファの各々に対応する各エン)
IJに格納されたデータの直前に制御情報の受信および
格納を実施したか否かを示すフラグをフラグメモリにセ
ットする。If the result of the judgment is transfer data, it is stored in the transfer data buffer, and each en) corresponding to each transfer data buffer is stored in the transfer data buffer.
A flag indicating whether or not control information was received and stored immediately before the data stored in the IJ is set in the flag memory.
このフラグメモリの内容を参照して制御情報と転送デー
タとを独立並行処理することにより処理の高速化をはか
ることができる。By referring to the contents of this flag memory and independently and parallelly processing control information and transfer data, it is possible to speed up the processing.
次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.
第1図は本発明実施例の構成を示すブロック図、第2図
は本発明実施例におけるインタフェース信号線上のデー
タの形式を示す図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the invention, and FIG. 2 is a diagram showing the format of data on an interface signal line in the embodiment of the invention.
本発明実施例は、処理回路10および送信回路120を
備えた送信装置10にインタフェース信号線30を介し
て受信装置20が接続され、この受信装置20に、イン
タフェース信号線30上のデータを受信する受信回路2
10と、この受信回路が受信したデータを一時格納する
受信バッファと、この受信バッファからの転送データを
処理するデータ処理回路280と、このデータ処理回路
280を制御する制御回路270とを備え、受信バッフ
ァは、転送データを格納する転送データバッファ240
と、制御情報を格納する制御情報バッファ230との二
つに区分され、受信回路210により受信されたデータ
が転送データであるか制御情報であるかを付加されたパ
ラメータ信号301により判定するとともにその判定に
したがって各バッファ230.240に格納する判定回
路220を設け、エン) IJに格納された転送データ
の直前に対応する制御情報が受信されかつ格納されたか
否かを示すフラグを保持するフラグメモリ250を備え
る。In the embodiment of the present invention, a receiving device 20 is connected to a transmitting device 10 including a processing circuit 10 and a transmitting circuit 120 via an interface signal line 30, and the receiving device 20 receives data on the interface signal line 30. Receiving circuit 2
10, a reception buffer that temporarily stores data received by this reception circuit, a data processing circuit 280 that processes data transferred from this reception buffer, and a control circuit 270 that controls this data processing circuit 280. The buffer is a transfer data buffer 240 that stores transfer data.
and a control information buffer 230 that stores control information. A determination circuit 220 is provided to store the data in each buffer 230 and 240 according to the determination, and (b) a flag memory retains a flag indicating whether or not corresponding control information has been received and stored immediately before the transfer data stored in the IJ. 250.
送信装置10より送信される信号は、第2図に示すよう
にパラメータ信号301 と送信データ302を含む。The signal transmitted from the transmitter 10 includes a parameter signal 301 and transmission data 302, as shown in FIG.
本実施例では、パラメータ信号が“1”のとき送信デー
タが制御情報であることを示し、“0”のとき転送デー
タであることを示す。また、転送データバッファ240
、制御バッファ230、フラグメモリ250は各々ファ
ーストイン/ファーストアウトのスタックメモリで構成
される。In this embodiment, when the parameter signal is "1", it indicates that the transmission data is control information, and when it is "0", it indicates that the transmission data is transfer data. In addition, the transfer data buffer 240
, control buffer 230, and flag memory 250 are each composed of first-in/first-out stack memories.
次に、このように構成された本発明実施例の動作につい
て説明する。第3図は本発明実施例の判定回路220の
動作の流れを示す流れ図、第4図は本発明実施例のデー
タ処理回路280の動作の流れを示す流れ図、第5図は
本発明実施例の制御回路270の動作の流れを示す流れ
図である。Next, the operation of the embodiment of the present invention configured as described above will be explained. FIG. 3 is a flow chart showing the flow of operation of the determination circuit 220 according to the embodiment of the present invention, FIG. 4 is a flow chart showing the flow of operation of the data processing circuit 280 according to the embodiment of the present invention, and FIG. 3 is a flowchart showing the flow of operation of the control circuit 270. FIG.
送信装置10の処理回路110で処理されたデータが送
信回路120から送出されると、受信装置20の受信回
路210がインタフェース信号線30を介してそのデー
タを受信し判定回路220に送出する。When the data processed by the processing circuit 110 of the transmitting device 10 is sent out from the transmitting circuit 120, the receiving circuit 210 of the receiving device 20 receives the data via the interface signal line 30 and sends it to the determination circuit 220.
判定回路220はそのデータに含まれるパラメータ信号
301の判定を行い、“l”の制御情報であるときには
制御情報バッファ230に送信データ302を格納する
。また、“0”の転送データであるときには転送データ
バッファ240に送信データ302を格納し、直前に受
信した送信データのパラメータ信号301を再度判定し
、その判定結果が“1”の制御情報であるときにはフラ
グメモリ250に“1”をセットする。“0”の転送デ
ータであるときにはフラグメモリ250に“0”をセッ
トする。The determination circuit 220 determines the parameter signal 301 included in the data, and stores the transmission data 302 in the control information buffer 230 when the parameter signal 301 is “l” control information. Further, when the transmission data is "0", the transmission data 302 is stored in the transmission data buffer 240, and the parameter signal 301 of the transmission data received immediately before is determined again, and the determination result is control information of "1". At times, "1" is set in the flag memory 250. When the transfer data is "0", "0" is set in the flag memory 250.
制御回路270は制御情報バッファ230が空いている
か否かを判断し、空いていなければ1ワード読み出し、
読み出した制御情報を解読してその指示に従い制御指示
情報を生成する。次いでデータ処理回路280からの制
御指示要求の有無を判断し、“有”の場合はデータ処理
回路280に制御指示を与え、“無”の場合には制御指
示要求を待つ。The control circuit 270 determines whether the control information buffer 230 is empty, and if it is not empty, reads one word,
The read control information is decoded and control instruction information is generated according to the instructions. Next, it is determined whether there is a control instruction request from the data processing circuit 280, and if "yes", a control instruction is given to the data processing circuit 280, and if "absent", the control instruction request is awaited.
また、データ処理回路280は転送データバッファ24
0が空いているか否かを判断し、空いていなければフラ
グメモリ250からlワード読み出し、読み出したフラ
グの内容を判断する。The data processing circuit 280 also includes the transfer data buffer 24
It is determined whether or not 0 is empty, and if it is not empty, 1 word is read from the flag memory 250, and the content of the read flag is determined.
その判断の結果フラグが直前に制御情報を受信した状態
であることを示す“1”であれば制御回路270に制御
指示を要求し、制御指示を受は取ったときはその制御指
示に従いデータ処理を実行する。フラグが直前に制御信
号を受信していない状態であることを示す“0”であれ
ば転送データバッファ240より1ワード読み出し、読
み出したデータを処理する。As a result of this determination, if the flag is "1" indicating that control information has been received immediately before, a control instruction is requested from the control circuit 270, and when the control instruction is received, the data is processed according to the control instruction. Execute. If the flag is "0" indicating that no control signal has been received immediately before, one word is read from the transfer data buffer 240 and the read data is processed.
このように受信したデータの処理にあたってはフラグメ
モリ250の内容を用いて、制御情報を処理する制御回
路270と、転送データを処理するデータ処理回路28
0とを同期させ、かつ各々の回路を独立して動作させる
ことにより処理の高速化をはかることができる。In processing the data received in this way, the contents of the flag memory 250 are used to control the control circuit 270 that processes control information, and the data processing circuit 28 that processes transfer data.
By synchronizing with 0 and operating each circuit independently, processing speed can be increased.
以上説明したように本発明によれば、受信データを利用
するときに遅れがなく、また制御情報、転送データを各
々別に先取りして処理できる受信バッファを構成するこ
とができる効果がある。As described above, according to the present invention, it is possible to configure a reception buffer that has no delay when using received data and can separately process control information and transfer data in advance.
第1図は本発明実施例の構成を示すブロック図。
第2図は本発明実施例におけるインタフェース信号線上
のデータ形式を示す図。
第3図は本発明実施例の判定回路の動作の流れを示す流
れ図。
第4図は本発明実施例の制御回路の動作の流れを示す流
れ図。
第5図は本発明実施例のデータ処理回路の動作の流れを
示す流れ図。
10・・・送信装置、20・・・受信装置、30・・・
インタフェース信号線、110・・・処理回路、120
・・・送信回路、210・・・受信回路、220・・・
判定回路、230・・・制御情報バッファ、240・・
・転送データバッファ、250・・・フラグメモIJ、
270・・・制御回路、280・・・データ処理回路。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a diagram showing the data format on the interface signal line in the embodiment of the present invention. FIG. 3 is a flowchart showing the operation flow of the determination circuit according to the embodiment of the present invention. FIG. 4 is a flowchart showing the operation flow of the control circuit according to the embodiment of the present invention. FIG. 5 is a flowchart showing the operation flow of the data processing circuit according to the embodiment of the present invention. 10... Transmitting device, 20... Receiving device, 30...
Interface signal line, 110...processing circuit, 120
...Transmission circuit, 210...Reception circuit, 220...
Judgment circuit, 230... Control information buffer, 240...
・Transfer data buffer, 250...Flag memo IJ,
270... Control circuit, 280... Data processing circuit.
Claims (1)
路と、 この受信回路が受信したデータを一時格納する受信バッ
ファと、 この受信バッファからの転送データを処理するデータ処
理回路と、 このデータ処理回路を制御する制御回路と を備えたデータ処理装置の受信装置において、前記受信
バッファは、転送データを格納する転送データバッファ
と、制御情報を格納する制御情報バッファとの二つに区
分され、 前記受信回路により受信されたデータが転送データであ
るか制御情報であるかを付加されたパラメータ信号によ
り判定するとともにその判定にしたがって各バッファに
格納する判定回路を設け、エントリに格納された転送デ
ータの直前に対応する制御情報が受信されかつ格納され
たか否かを示すフラグを保持するフラグメモリを備えた
ことを特徴とするデータ処理装置の受信装置。[Claims] 1. A receiving circuit that receives data on an interface signal line, a receiving buffer that temporarily stores data received by this receiving circuit, and a data processing circuit that processes data transferred from this receiving buffer; In the receiving device of the data processing apparatus including a control circuit that controls the data processing circuit, the receiving buffer is divided into two parts: a transfer data buffer that stores transfer data and a control information buffer that stores control information. A determination circuit is provided which determines whether the data received by the receiving circuit is transfer data or control information based on an added parameter signal and stores the data in each buffer according to the determination. 1. A receiving device for a data processing device, comprising a flag memory that holds a flag indicating whether or not corresponding control information has been received and stored immediately before transferred data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16894889A JPH0333961A (en) | 1989-06-29 | 1989-06-29 | Receiver for data processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16894889A JPH0333961A (en) | 1989-06-29 | 1989-06-29 | Receiver for data processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0333961A true JPH0333961A (en) | 1991-02-14 |
Family
ID=15877507
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16894889A Pending JPH0333961A (en) | 1989-06-29 | 1989-06-29 | Receiver for data processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0333961A (en) |
-
1989
- 1989-06-29 JP JP16894889A patent/JPH0333961A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0821013B2 (en) | Direct memory access order competition control method | |
| JPH0333961A (en) | Receiver for data processor | |
| JPH1031616A (en) | Inter-process communication system | |
| JP3799741B2 (en) | Bus controller | |
| KR0154482B1 (en) | Global bus interface apparatus using buffer | |
| JP3146862B2 (en) | Unidirectional loop transmission circuit | |
| JP2611739B2 (en) | Task communication system | |
| JP2584841B2 (en) | Packet switching control device | |
| JPS6051346A (en) | Data transfer system | |
| JP2870200B2 (en) | Data processing device | |
| KR200200469Y1 (en) | Apparatus of direct memory access and apparatus of interface using the same | |
| JPS61170853A (en) | Data transmission device | |
| JPH0546565A (en) | Data processor | |
| JPH11261594A (en) | Packet preferential reception processing method | |
| JP3458383B2 (en) | Bus connection method | |
| JPH01292559A (en) | Message processing system and data transfer system for parallel computers | |
| JPS61195447A (en) | Data transfer control method | |
| JPS6356572B2 (en) | ||
| JPH06243069A (en) | Communication control system and bus control circuit | |
| KR19990079974A (en) | Apparatus for controlling delayed request between two buses in multiprocessor system and its control method | |
| JPH01108665A (en) | Dma transfer control system | |
| JPS61166657A (en) | Input and output control system | |
| JPS6361357A (en) | Data processor | |
| JPS63231564A (en) | Interprocessor communication device | |
| JPH08137662A (en) | Data transmission method and data transmission device |