JPH04352292A - Interface device - Google Patents

Interface device

Info

Publication number
JPH04352292A
JPH04352292A JP12755491A JP12755491A JPH04352292A JP H04352292 A JPH04352292 A JP H04352292A JP 12755491 A JP12755491 A JP 12755491A JP 12755491 A JP12755491 A JP 12755491A JP H04352292 A JPH04352292 A JP H04352292A
Authority
JP
Japan
Prior art keywords
output
input
information
data packet
processing device
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
JP12755491A
Other languages
Japanese (ja)
Inventor
Kazuyuki Tanaka
一行 田中
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP12755491A priority Critical patent/JPH04352292A/en
Publication of JPH04352292A publication Critical patent/JPH04352292A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To input an optional number of data packets which have data value information consisting of an optional number of words to a data packet processor at optional intervals of time. CONSTITUTION:The device is constituted by providing an input quantity storage means 31 for input data packets and input interval information to an input control means for data packets to the data packet processor and also providing an event quantity storage means 91 storing the total number of words of information stored in an output storage means 8 and an effective event quantity storage means 92 stored with the total number of words of data packets and output interval information as effective information as to the information stored in the output storage means to an output control means 9 which controls output to an external data processor.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、タグ情報及び任意の語
数のデータ値情報を含むデータパケットを処理するデー
タパケット処理装置と、データを処理するデータ処理装
置との間の入出力を行うインターフェース装置に関する
ものである。
[Industrial Application Field] The present invention provides an interface that performs input/output between a data packet processing device that processes data packets containing tag information and data value information of an arbitrary number of words, and a data processing device that processes data. It is related to the device.

【0002】0002

【従来の技術】近年、タグおよびデータパケットを処理
するデータ駆動型計算機の如きデータパケット処理装置
が開発され、さらにこのデータパケット処理装置をホス
トコンピュータの如き外部データ処理装置を用いて制御
するようなデータ処理システムが実現されつつある。
2. Description of the Related Art In recent years, data packet processing devices such as data-driven computers that process tags and data packets have been developed. Data processing systems are being realized.

【0003】このようなシステムを効率的に動作させる
ためには、データパケット処理装置と外部データ処理装
置との間で教授するデータのフォーマットを互いに変換
するためのインターフェース装置を如何に構成するかが
一つの要因であり、本発明は斯るインターフェース装置
の構成に関する。
In order to operate such a system efficiently, it is important to configure an interface device for mutually converting the format of data transmitted between the data packet processing device and the external data processing device. One factor is that the present invention relates to the configuration of such an interface device.

【0004】従来のインターフェース装置には、例えば
、特開昭64−21539号に記述されているように、
外部データ処理装置から与えられる情報に基づき任意の
語数のデータ値情報をもつ任意の数のデータパケットを
生成し、データパケット処理装置に連続して入力すると
ともに、データパケット処理装置から出力される任意の
語数のデータ値情報をもつ任意の数のデータパケットを
受信し、これら全てが保持している情報を外部データ処
理装置に出力するというものであった。
Conventional interface devices include, for example, as described in Japanese Patent Laid-Open No. 64-21539.
An arbitrary number of data packets having an arbitrary number of words of data value information are generated based on information given from an external data processing device, and are continuously input to the data packet processing device, and an arbitrary number of data packets output from the data packet processing device An arbitrary number of data packets having data value information of the number of words are received, and the information held by all of these data packets is outputted to an external data processing device.

【0005】[0005]

【発明が解決しようとする課題】上述のインターフェー
ス装置では、データパケット処理装置へのデータパケッ
トの入力は連続して入力するか、あるいは外部データ処
理装置との通信に要する時間で決まる時間間隔をおいて
入力するかのいずれかしかできない。また、データパケ
ット処理装置から出力されるデータパケットの情報を外
部データ処理装置に出力する場合においては、出力され
た各データパケットが保持する情報の出力のみが可能で
ある。
[Problems to be Solved by the Invention] In the above-mentioned interface device, data packets are input to the data packet processing device continuously, or at intervals determined by the time required for communication with an external data processing device. You can only enter the information using the following commands: Further, when outputting the information of data packets output from the data packet processing device to an external data processing device, only the information held by each output data packet can be output.

【0006】一方、データパケット処理装置のハードウ
ェアの調整を行うなどの場合においては、複数のデータ
パケットを任意の時間間隔をおいて入力する機能、及び
データパケット処理装置から出力された任意の数のデー
タパケットの各々の間の到着時間間隔を外部データ処理
装置に通知する機能が要求される。しかし、上述のイン
ターフェース装置はこのような機能を備えていないのが
現状である。
On the other hand, in cases such as adjusting the hardware of a data packet processing device, there is a function to input multiple data packets at arbitrary time intervals, and an arbitrary number of data packets output from the data packet processing device. A function is required to notify an external data processing device of the interarrival time interval between each of the data packets. However, at present, the above-mentioned interface device does not have such a function.

【0007】本発明はこのような課題を解決するために
なされたものであり、任意の語数のデータ値情報を保持
したデータパケットを処理するデータパケット処理装置
に対して、任意の数のデータパケットを任意の時間間隔
でデータパケット処理装置に入力する機能、及びデータ
パケット処理装置から出力される任意の数のデータパケ
ットを受信し、これらの全てが保持している情報を外部
データ処理装置に出力するとともに、出力された各デー
タパケット間の到着時間間隔を外部データ処理装置に通
知することを可能にするインターフェース装置を提供す
るものである。
[0007] The present invention has been made to solve such problems, and is directed to a data packet processing device that processes data packets holding data value information of an arbitrary number of words. A function that inputs data into a data packet processing device at arbitrary time intervals, receives an arbitrary number of data packets output from the data packet processing device, and outputs the information held by all of them to an external data processing device. At the same time, it provides an interface device that makes it possible to notify an external data processing device of the arrival time interval between each output data packet.

【0008】[0008]

【課題を解決するための手段】本発明のインターフェー
ス装置は、データパケット処理装置に入力するデータパ
ケットを生成するための情報並びに各データパケット毎
の入力時間間隔の情報である入力間隔情報を格納する入
力格納手段、データパケット処理装置へのデータパケッ
トの入力を制御する入力制御手段、データパケット処理
装置から出力されるデータパケット並びに各データパケ
ット間の到着時間間隔の情報である出力間隔情報を格納
する出力格納手段、出力されたデータパケットが保持す
る情報並びに出力間隔情報の外部データ処理装置への出
力を制御する出力制御手段を設け、さらに入力制御手段
には入力データパケット並びに入力間隔情報の総語数情
報を記憶する入力数記憶手段を設け、出力制御手段には
出力格納手段に格納された情報の総語数を記憶する事象
数記憶手段、及び出力格納手段に格納された情報のうち
有効な情報であるデータパケット並びに出力間隔情報の
総語数を記憶する有効事象数記憶手段を設けたものであ
る。
[Means for Solving the Problems] The interface device of the present invention stores information for generating data packets to be input to a data packet processing device as well as input interval information that is information on input time intervals for each data packet. Input storage means, input control means for controlling the input of data packets to the data packet processing device, storing data packets output from the data packet processing device and output interval information that is information on arrival time intervals between each data packet. An output storage means, an output control means for controlling the output of the information held by the output data packet and the output interval information to an external data processing device are provided, and the input control means further includes the total number of words of the input data packet and the input interval information. An input number storage means for storing information is provided, and the output control means includes an event number storage means for storing the total number of words of information stored in the output storage means, and an input number storage means for storing the total number of words of information stored in the output storage means, and an input number storage means for storing information stored in the output storage means. A valid event number storage means is provided for storing the total number of words of a certain data packet and output interval information.

【0009】[0009]

【作用】本発明のインターフェース装置に於ては、まず
、外部データ処理装置から与えられる任意の数の入力デ
ータパケットを生成するための情報、並びに入力データ
パケットの入力時間間隔を示す入力間隔情報は入力格納
手段に格納される。続いて、外部データ処理装置からは
、入力データパケット並びに入力間隔情報の総入力語数
情報、及び出力データパケットの到着時間間隔を出力格
納手段に格納するか否かを指定した入力要求のためのデ
ータが入力される。このデータの入力に応じて、入力制
御手段は総入力語数情報を入力数記憶手段に格納すると
ともに、入力格納手段に格納された情報に基づき入力デ
ータパケットを生成し、入力間隔情報によって指定され
た時間間隔でデータパケット処理装置に入力する。この
とき、入力データパケットのデータパケット処理装置へ
の入力並びに入力時間間隔に応じて入力数記憶手段の値
を更新し、これが特定の値になると入力を終了する。 このようにして、任意の数のデータパケットをデータパ
ケット処理装置へ任意の時間間隔で入力することが可能
になる。
[Operation] In the interface device of the present invention, first, information for generating an arbitrary number of input data packets given from an external data processing device and input interval information indicating the input time interval of the input data packets are It is stored in the input storage means. Next, from the external data processing device, data for an input request specifying whether or not to store the input data packet and input interval information, and the arrival time interval of the output data packet in the output storage means. is input. In response to the input of this data, the input control means stores information on the total number of input words in the input number storage means, generates an input data packet based on the information stored in the input storage means, and generates an input data packet based on the information stored in the input storage means. input to a data packet processing device at time intervals; At this time, the value of the input number storage means is updated according to the input of the input data packet to the data packet processing device and the input time interval, and when this reaches a specific value, the input is terminated. In this way, it is possible to input any number of data packets to the data packet processing device at any time interval.

【0010】また、データパケット処理装置からの出力
データパケット並びに各出力データパケット間の到着時
間間隔を示す出力間隔情報は出力格納手段に格納される
。このとき、出力制御手段は出力格納手段への各情報の
格納に応じて事象数記憶手段の値を更新し、さらに出力
データパケットの末尾を格納する度に事象数記憶手段の
値を有効事象数記憶手段に格納することにより、出力格
納手段に格納された情報のうちの有効な情報である出力
データパケット及び出力間隔情報の総語数を記憶する。 有効事象数記憶手段の値は、外部データ処理装置からの
要求に応じて外部データ処理装置に出力される。これに
よって、外部データ処理装置は受信すべき出力データパ
ケットの情報並びに出力間隔情報の総語数を知る。 続いて外部データ処理装置からの出力要求に応じて出力
データパケットの情報並びに出力間隔情報を外部データ
処理装置に出力する。このとき、これらの情報の外部デ
ータ処理装置への出力に応じて有効事象数記憶手段の値
を更新する。この値が特定の値になることによって外部
データ処理装置への情報の出力を終了するこのようにし
て、データパケット処理装置から出力される任意の数の
データパケットの情報を外部データ処理装置へ出力する
ことが可能になるとともに、各データパケット間の到着
時間間隔を外部データ処理装置に通知することが可能に
なる。
Further, output data packets from the data packet processing device and output interval information indicating the arrival time interval between each output data packet are stored in the output storage means. At this time, the output control means updates the value of the event number storage means according to each piece of information stored in the output storage means, and further updates the value of the event number storage means to the number of valid events each time the end of the output data packet is stored. By storing it in the storage means, the total number of words of the output data packet and the output interval information, which are valid information among the information stored in the output storage means, is stored. The value of the valid event count storage means is output to the external data processing device in response to a request from the external data processing device. Thereby, the external data processing device knows the information of the output data packet to be received and the total number of words of the output interval information. Subsequently, information on the output data packet and output interval information are output to the external data processing device in response to an output request from the external data processing device. At this time, the value of the valid event count storage means is updated in accordance with the output of this information to the external data processing device. The output of information to the external data processing device is terminated when this value becomes a specific value.In this way, information on any number of data packets output from the data packet processing device is output to the external data processing device. At the same time, it becomes possible to notify an external data processing device of the arrival time interval between each data packet.

【0011】[0011]

【実施例】図1に本発明のインターフェース装置の基本
的構成を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the basic configuration of an interface device of the present invention.

【0012】同図に於て、2はデータパケット処理装置
に入力するデータパケットを生成するための情報並びに
各データパケット毎の入力時間間隔の情報である入力間
隔情報を格納する入力格納手段である。
In the figure, reference numeral 2 denotes input storage means for storing information for generating data packets to be input to the data packet processing device as well as input interval information which is information on input time intervals for each data packet. .

【0013】3はデータパケット処理装置へのデータパ
ケットの入力を制御する入力制御手段であり、これには
更に、入力データパケット並びに入力間隔情報の総語数
情報を記憶する入力数記憶手段31が備えられている。
Reference numeral 3 denotes input control means for controlling the input of data packets to the data packet processing device, which further includes input number storage means 31 for storing information on the total number of words of input data packets and input interval information. It is being

【0014】8はデータパケット処理装置から出力され
るデータパケット並びに各データパケット間の到着時間
間隔の情報である出力間隔情報を格納する出力格納手段
である。
Reference numeral 8 denotes an output storage means for storing data packets output from the data packet processing device and output interval information, which is information on arrival time intervals between each data packet.

【0015】9は出力されたデータパケットが保持する
情報並びに出力間隔情報の外部データ処理装置への出力
を制御する出力制御手段であり、これには更に、出力格
納手段に格納された情報の総語数を記憶する事象数記憶
手段91、及び出力格納手段に格納された情報のうち有
効な情報であるデータパケット並びに出力間隔情報の総
語数を記憶する有効事象数記憶手段92が備えられてい
る。
Reference numeral 9 denotes an output control means for controlling the output of the information held by the output data packet and the output interval information to an external data processing device. It is provided with an event number storage means 91 for storing the number of words, and a valid event number storage means 92 for storing the total number of words of data packets and output interval information, which are valid information among the information stored in the output storage means.

【0016】このような本発明装置は、まず外部データ
処理装置から与えられる任意の数の入力データパケット
を生成するための情報、並びに入力データパケットの入
力時間間隔を示す入力間隔情報が入力格納手段2に格納
される。続いて、外部データ処理装置からは、入力デー
タパケット並びに入力間隔情報の総入力語数情報、及び
出力データパケットの到着時間間隔を出力格納手段に格
納するか否かを指定した入力要求のためのデータが入力
される。このデータの入力に応じて、入力制御手段3は
、総入力語数情報を入力数記憶手段31に格納するとと
もに、入力格納手段2に格納された情報に基づき入力デ
ータパケットを生成し、入力間隔情報によって指定され
た時間間隔でデータパケット処理装置に入力する。この
とき、入力データパケットのデータパケット処理装置へ
の入力並びに入力時間間隔に応じて入力数記憶手段31
の値を更新し、これが特定の値になると入力を終了する
。このようにして、任意の数のデータパケットをデータ
パケット処理装置へ任意の時間間隔で入力することが可
能になる。
[0016] In the apparatus of the present invention, information for generating an arbitrary number of input data packets given from an external data processing device and input interval information indicating the input time interval of the input data packets are stored in the input storage means. 2. Next, from the external data processing device, data for an input request specifying whether or not to store the input data packet and input interval information, and the arrival time interval of the output data packet in the output storage means. is input. In response to the input of this data, the input control means 3 stores total input word count information in the input number storage means 31, generates an input data packet based on the information stored in the input storage means 2, and generates input interval information. input to the data packet processing device at time intervals specified by . At this time, the input number storage means 31 according to the input of the input data packet to the data packet processing device and the input time interval.
Updates the value of and ends input when it reaches a certain value. In this way, it is possible to input any number of data packets to the data packet processing device at any time interval.

【0017】また、データパケット処理装置からの出力
データパケット並びに各出力データパケット間の到着時
間間隔を示す出力間隔情報は出力格納手段8に格納され
る。このとき、出力制御手段9は出力格納手段8への各
情報の格納に応じて事象数記憶手段91の値を更新し、
さらに出力データパケットの末尾を格納する度に事象数
記憶手段91の値を有効事象数記憶手段92に格納する
ことにより、出力格納手段8に格納された情報のうちの
有効な情報である出力データパケット及び出力間隔情報
の総語数を記憶する。この有効事象数記憶手段92の値
は、外部データ処理装置からの要求に応じて外部データ
処理装置に出力される。これによって、外部データ処理
装置は受信すべき出力データパケットの情報並びに出力
間隔情報の総語数を知る。続いて外部データ処理装置か
らの出力要求に応じて出力データパケットの情報並びに
出力間隔情報を外部データ処理装置に出力する。このと
き、これらの情報の外部データ処理装置への出力に応じ
て有効事象数記憶手段92の値を更新する。この値が特
定の値になることによって外部データ処理装置への情報
の出力を終了するこのようにして、データパケット処理
装置から出力される任意の数のデータパケットの情報を
外部データ処理装置へ出力することが可能になるととも
に、各データパケット間の到着時間間隔を外部データ処
理装置に通知することが可能になる。
Further, output data packets from the data packet processing device and output interval information indicating the arrival time interval between each output data packet are stored in the output storage means 8. At this time, the output control means 9 updates the value of the event number storage means 91 according to the storage of each information in the output storage means 8,
Furthermore, by storing the value of the event number storage means 91 in the valid event number storage means 92 every time the end of the output data packet is stored, output data that is valid information among the information stored in the output storage means 8 is stored. Stores the total number of words in the packet and output interval information. The value of this valid event count storage means 92 is output to the external data processing device in response to a request from the external data processing device. Thereby, the external data processing device knows the information of the output data packet to be received and the total number of words of the output interval information. Subsequently, information on the output data packet and output interval information are output to the external data processing device in response to an output request from the external data processing device. At this time, the value of the valid event count storage means 92 is updated in accordance with the output of this information to the external data processing device. The output of information to the external data processing device is terminated when this value becomes a specific value.In this way, information on any number of data packets output from the data packet processing device is output to the external data processing device. At the same time, it becomes possible to notify an external data processing device of the arrival time interval between each data packet.

【0018】図2は本発明の一実施例におけるインター
フェース装置の構成図である。尚、同図の装置で扱われ
るデータパケットは、図3に示す如く、16ビットのデ
ータと2ビットのフラグによって構成されており、ビッ
ト17はデータパケットの存在を示すフラグであり、ビ
ット16はデータパケットの先頭、及び末尾を示すフラ
グである。
FIG. 2 is a block diagram of an interface device in one embodiment of the present invention. As shown in FIG. 3, the data packet handled by the device shown in the figure is composed of 16 bits of data and 2 bits of flag, where bit 17 is a flag indicating the existence of a data packet, and bit 16 is a flag indicating the existence of a data packet. These flags indicate the beginning and end of a data packet.

【0019】以下に、まず、データパケット処理装置が
データパケットの入力を受ける場合について説明する。
[0019] First, the case where the data packet processing device receives input of a data packet will be described below.

【0020】まず、外部データ処理装置とのハンドシェ
イクにより、入力するデータパケットの情報並びに各デ
ータパケット間の時間間隔を示す入力間隔情報を含むデ
ータをレジスタ1に入力する。このときのデータの形式
を図4に示す。この図に示すように、外部データ処理装
置からは制御情報に続いてフラグ、データが交互に、ま
た全てのパケットの情報がデータパケット処理装置に入
力される順に連続して入力される。パケット1の後のフ
ラグに相当する部分が“01”である4語のデータは入
力間隔情報であり、この場合はパケット1をデータパケ
ット処理装置に入力した後、2クロックサイクル後にパ
ケット2が入力されることを示している入力制御手段3
は制御情報によって、これらのデータを入力格納手段2
の入力バッファ21に書き込む。外部データ処理装置か
らフラグが入力されるときの最上位ビットは入力データ
の末尾を示す識別子であり、これが“1”の次のデータ
まで入力バッファ21への書き込みを続ける。
First, data including information on input data packets and input interval information indicating the time interval between each data packet is input into the register 1 by handshaking with an external data processing device. The format of the data at this time is shown in FIG. As shown in this figure, control information, flags, and data are alternately inputted from the external data processing device, and information on all packets is inputted consecutively in the order in which they are inputted to the data packet processing device. The 4-word data whose part corresponding to the flag after packet 1 is "01" is input interval information. In this case, after packet 1 is input to the data packet processing device, packet 2 is input two clock cycles later. Input control means 3 indicating that
inputs and stores these data according to the control information 2
write to the input buffer 21 of. When a flag is input from an external data processing device, the most significant bit is an identifier indicating the end of input data, and continues writing to the input buffer 21 until the next data of "1" is reached.

【0021】続いて、外部データ処理装置がデータパケ
ットのデータパケット処理装置への入力を要求するとき
に、図5に示す制御情報、及び入力データデータパケッ
ト並びに入力間隔情報の総語数である総入力語数(2の
補数)を保持したデータを入力する。入力制御手段3は
総入力語数を入力数記憶手段31に格納し、制御情報に
よって入力バッファ21から読み出した情報を入力デー
タパケットレジスタ22に格納し、データパケットとし
てデータパケット処理装置に入力する。読み出された情
報が入力間隔情報である場合は入力間隔情報の数に相当
するクロックサイクルにわたってデータパケットの入力
を停止する。このとき、入力バッファ21から情報を1
語を読み出す度に入力数記憶手段31の値をインクリメ
ントし、この値が“0”になるまでデータパケットの入
力を継続する。また、制御情報はデータパケット処理装
置から出力されるデータパケットを出力格納手段8に格
納するときに、各データパケット間の到着時間間隔を示
す情報である出力間隔情報を出力格納手段8に格納する
か否かを示す情報を含んでいる。
Subsequently, when the external data processing device requests input of a data packet to the data packet processing device, the control information shown in FIG. Input data that holds the number of words (two's complement). The input control means 3 stores the total number of input words in the input number storage means 31, stores the information read from the input buffer 21 according to the control information in the input data packet register 22, and inputs the information as a data packet to the data packet processing device. If the read information is input interval information, input of data packets is stopped for a period of clock cycles corresponding to the number of input interval information. At this time, 1 piece of information is sent from the input buffer 21.
Each time a word is read, the value in the input number storage means 31 is incremented, and data packet input is continued until this value becomes "0". Further, the control information is such that when data packets output from the data packet processing device are stored in the output storage means 8, output interval information, which is information indicating the arrival time interval between each data packet, is stored in the output storage means 8. Contains information indicating whether or not.

【0022】次に、データパケットをデータパケット処
理装置から出力する場合について説明する。
Next, the case where a data packet is output from the data packet processing device will be explained.

【0023】データパケット処理装置から出力された出
力データパケットは出力データパケットレジスタ10を
経て出力格納手段8の出力バッファ81に格納される。 データパケットの入力時に出力間隔情報の格納を指定し
た場合は、データパケットが1パケット到着した後、出
力バッファ81がフルになるまで全クロックサイクルに
わたって出力バッファ81へ書き込み続ける。データパ
ケットが到着しないサイクルには出力バッファ81のフ
ラグ領域に“01”を書き込むことにより、出力間隔情
報が格納される。このとき、出力バッファ81に1語を
格納する度に、出力制御手段9は事象数記憶手段91の
値をインクリメントすることによって、出力バッファ8
1に書き込まれた情報の総語数を記憶する。さらに、各
データパケットの末尾を出力バッファ81に書き込むと
きに事象数記憶手段91の値を有効事象数記憶手段92
に格納することにより、出力バッファ81内の有効な情
報の数を記憶する。これは、最後に到着したデータパケ
ットの後に格納された情報は意味をもたないので、不要
な情報を外部データ処理装置に出力することを避けるた
めである。
The output data packet output from the data packet processing device is stored in the output buffer 81 of the output storage means 8 via the output data packet register 10. If storage of output interval information is specified when inputting a data packet, after one data packet arrives, writing to the output buffer 81 is continued for all clock cycles until the output buffer 81 becomes full. In cycles in which no data packet arrives, output interval information is stored by writing "01" in the flag area of the output buffer 81. At this time, each time one word is stored in the output buffer 81, the output control means 9 increments the value of the event number storage means 91, thereby controlling the output buffer 81.
Stores the total number of words of information written in 1. Further, when writing the end of each data packet to the output buffer 81, the value of the event number storage means 91 is stored in the valid event number storage means 92.
The number of valid information in the output buffer 81 is memorized by storing the information in the output buffer 81. This is to avoid outputting unnecessary information to the external data processing device, since information stored after the last arriving data packet has no meaning.

【0024】一方、外部データ処理装置は、受信すべき
出力データパケット並びに出力間隔情報の総語数を知る
ために、図6に示す有効事象数記憶段92の値の出力要
求を行うための制御情報をもったデータを入力する。出
力制御手段9はこの制御情報に基づき、有効事象数記憶
段92の値を外部データ処理装置に出力する。
On the other hand, in order to know the output data packet to be received and the total number of words of the output interval information, the external data processing device uses control information for requesting the output of the value of the valid event number storage stage 92 shown in FIG. Input data with . Based on this control information, the output control means 9 outputs the value of the valid event number storage stage 92 to the external data processing device.

【0025】続いて、外部データ処理装置は出力要求を
行うための制御情報をもった図6に示す形式のデータを
入力する。出力制御手段9はこの制御情報に基づき、出
力データパケット並びに出力間隔情報を出力バッファ8
1から出力レジスタ11に読み出し、図7に示す形式で
外部データ処理装置に出力する。この図に示すように全
ての出力データパケットの情報は出力された順に連続し
て出力される。図のパケット1の後のフラグに相当する
部分が“01”である4語のデータは出力間隔情報であ
り、この場合はパケット1が到着した後2クロックサイ
クル後にパケット2が到着したことを示している。一方
、出力制御手段9は出力バッファ81から情報を1語読
み出す度に有効事象数記憶手段91の値をデクリメント
し、この値が“0”になるまで情報の外部データ処理装
置への出力を継続する。
Next, the external data processing device inputs data in the format shown in FIG. 6, which includes control information for making an output request. Based on this control information, the output control means 9 sends the output data packet and output interval information to the output buffer 8.
1 to the output register 11 and output to the external data processing device in the format shown in FIG. As shown in this figure, the information of all the output data packets is output continuously in the order in which they were output. The four-word data whose part corresponding to the flag after packet 1 in the figure is "01" is output interval information, and in this case indicates that packet 2 arrived two clock cycles after packet 1 arrived. ing. On the other hand, the output control means 9 decrements the value of the valid event number storage means 91 every time one word of information is read from the output buffer 81, and continues outputting the information to the external data processing device until this value becomes "0". do.

【0026】[0026]

【発明の効果】以上のように、本発明のインターフェー
ス装置によれば、データパケット処理装置に対して、任
意の語数のデータ値情報をもった任意の数のデータパケ
ットを任意の時間間隔で入力することが可能になるとと
もに、データパケット処理装置から出力される任意の語
数のデータ値情報をもった任意の数のデータパケットが
保持している情報を外部データ処理装置に出力し、出力
された各データパケット間の到着時間間隔を外部データ
処理装置に通知することが可能となる。
As described above, according to the interface device of the present invention, any number of data packets having data value information of any number of words can be input to the data packet processing device at any time interval. At the same time, it becomes possible to output the information held by any number of data packets with any number of words of data value information output from the data packet processing device to an external data processing device, and It becomes possible to notify an external data processing device of the arrival time interval between each data packet.

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

【図1】本発明のインターフェース装置の基本的な構成
図、
FIG. 1 is a basic configuration diagram of an interface device of the present invention;

【図2】本発明のインターフェース装置の一実施例の構
成図、
FIG. 2 is a configuration diagram of an embodiment of the interface device of the present invention;

【図3】本発明のデータパケット処理装置において処理
されるデータパケットの一実施例の形式図、
FIG. 3 is a format diagram of an embodiment of a data packet processed by the data packet processing device of the present invention;

【図4】本
発明の実施例装置と外部処理装置との間で用いられるデ
ータの形式図、
FIG. 4 is a format diagram of data used between the embodiment device of the present invention and an external processing device;

【図5】本発明の実施例装置と外部処理装置との間で用
いられるデータの形式図、
FIG. 5 is a format diagram of data used between the embodiment device of the present invention and an external processing device;

【図6】本発明の実施例装置と外部処理装置との間で用
いられるデータの形式図、
FIG. 6 is a format diagram of data used between the embodiment device of the present invention and an external processing device;

【図7】本発明の実施例装置と外部処理装置との間で用
いられるデータの形式図。
FIG. 7 is a format diagram of data used between the embodiment device of the present invention and an external processing device.

【符号の説明】[Explanation of symbols]

1  入力レジスタ、 2  入力データパケット格納手段、 21  入力バッファ、 22  入力データパケットレジスタ、23  入力バ
ッファ書き込みポインタ、24  入力バッファ読み出
しポインタ25  入力バッファポインタ選択部、3 
 入力制御手段、 31  入力語数記憶手段、 32  入力制御信号生成部、 4  入力データパケット(フラグ)、5  入力デー
タパケット(データ)、6  出力データパケット(フ
ラグ)、7  出力データパケット(データ)、8  
出力データパケット格納手段、 81  出力バッファ、 82  出力バッファ書き込みポインタ、83  出力
バッファ読み出しポインタ、84  出力バッファポイ
ンタ選択部、9  出力制御手段、 91  出力語数記憶手段 92  出力制御信号生成部、 10  出力データパケットレジスタ、11  出力レ
ジスタ、 12  出力選択部
1 input register, 2 input data packet storage means, 21 input buffer, 22 input data packet register, 23 input buffer write pointer, 24 input buffer read pointer 25 input buffer pointer selection section, 3
Input control means, 31 Input word count storage means, 32 Input control signal generation section, 4 Input data packet (flag), 5 Input data packet (data), 6 Output data packet (flag), 7 Output data packet (data), 8
Output data packet storage means, 81 output buffer, 82 output buffer write pointer, 83 output buffer read pointer, 84 output buffer pointer selection section, 9 output control means, 91 output word number storage means 92 output control signal generation section, 10 output data packet Register, 11 Output register, 12 Output selection section

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  タグ情報及び任意の語数のデータ値情
報を含むデータパケットを処理するデータパケット処理
装置と、データ処理を行う外部データ処理装置との間の
入出力を行うインターフェース装置に於て、前記データ
パケット処理装置に入力されるタグ情報及び任意の語数
のデータ値情報を保持している任意の数の入力データパ
ケットの生成に必要な情報である入力データパケット情
報並びに各入力データパケットの入力間隔を示す情報で
ある入力間隔情報を格納する入力格納手段、前記入力格
納手段への前記入力データパケット情報並びに前記入力
間隔情報の格納、及び前記入力データパケット情報から
前記入力データパケットを生成し、前記入力間隔情報に
応じて該入力データパケットを前記データパケット処理
装置に入力することを制御する入力制御手段、前記デー
タパケット処理装置から出力されるタグ情報及び任意の
語数のデータ値情報を保持している任意の数の出力デー
タパケット並びに各前記出力データパケット間の到着時
間間隔を示す情報である出力間隔情報を格納する出力格
納手段、前記出力格納手段への前記出力データパケット
並びに前記出力間隔情報の格納、及び前記出力格納手段
に格納された前記出力データパケットが保持している情
報である出力データパケット情報並びに前記出力間隔情
報の前記外部データ処理装置への出力を制御する出力制
御手段を備え、任意の数の前記入力データパケットを任
意の時間間隔で前記データパケット処理装置に入力する
とともに、出力された各前記出力データパケットが保持
している前記出力データパケット情報を前記外部データ
処理装置に出力しさらに各該出力データパケット間の到
着時間間隔を前記外部データ処理装置に通知することを
特徴としたインターフェース装置。
Claim 1. An interface device that performs input/output between a data packet processing device that processes data packets including tag information and data value information of an arbitrary number of words, and an external data processing device that performs data processing. Input data packet information that is information necessary to generate an arbitrary number of input data packets holding tag information and data value information of an arbitrary number of words to be input to the data packet processing device, and input of each input data packet. an input storage means for storing input interval information that is information indicating an interval, storing the input data packet information and the input interval information in the input storage means, and generating the input data packet from the input data packet information, an input control means for controlling input of the input data packet to the data packet processing device according to the input interval information, and holding tag information and data value information of an arbitrary number of words output from the data packet processing device; output storage means for storing an arbitrary number of output data packets and output interval information, which is information indicating arrival time intervals between each of said output data packets; said output data packets and said output interval information to said output storage means; and output control means for controlling the output of the output data packet information, which is information held by the output data packet stored in the output storage means, and the output interval information to the external data processing device. , inputting an arbitrary number of the input data packets to the data packet processing device at arbitrary time intervals, and transmitting the output data packet information held by each of the output data packets to the external data processing device. An interface device characterized in that the interface device outputs data and also notifies the external data processing device of the arrival time interval between each of the output data packets.
【請求項2】  前記出力間隔情報の前記出力記憶手段
への格納、及び該出力間隔情報の前記外部データ処理装
置への出力を行うか否かは前記外部データ処理装置が選
択できることを特徴とした請求項1記載のインターフェ
ース装置。
2. The external data processing device can select whether or not to store the output interval information in the output storage means and output the output interval information to the external data processing device. The interface device according to claim 1.
【請求項3】  前記入力制御手段は入力数記憶手段を
備え前記外部データ処理装置から与えられる前記入力デ
ータパケット情報並びに前記入力間隔情報の総数を前記
入力数記憶手段に格納するとともに、前記入力データパ
ケットの前記データパケット処理装置への入力並びに各
該入力データパケット間の入力時間間隔に応じて前記入
力数記憶手段の値を更新し、前記入力数記憶手段の値に
応じて前記入力データパケットの前記データパケット処
理装置への入力を終了することを特徴とした請求項1、
あるいは2記載のインターフェース装置。
3. The input control means includes an input number storage means and stores the total number of the input data packet information and the input interval information given from the external data processing device in the input number storage means, and The value of the input number storage means is updated according to the input of a packet to the data packet processing device and the input time interval between each input data packet, and the value of the input data packet is updated according to the value of the input number storage means. Claim 1, characterized in that input to the data packet processing device is terminated.
Alternatively, the interface device described in 2.
【請求項4】  前記出力制御手段は事象数記憶手段及
び有効事象数記憶手段を備え、前記データパケット処理
装置からの前記出力データパケット並びに前記出力間隔
情報を前記出力格納手段に格納する度に前記事象数記憶
手段の値を更新し、さらに各前記出力データパケットの
末尾を前記出力格納手段に格納する度に前記事象数記憶
手段の値を前記有効事象数記憶手段に格納することによ
り、前記出力格納手段に格納された前記出力データパケ
ット並びに前記出力間隔情報の総数である有効情報数を
記憶するとともに、前記出力データパケット情報並びに
前記出力間隔情報の前記外部データ処理装置への出力に
応じて前記有効事象数記憶手段の値を更新し、前記有効
事象数記憶手段の値に応じて前記出力データパケット情
報並びに前記出力間隔情報の前記外部データ処理装置へ
の出力を終了することを特徴とした請求項1、2、ある
いは3記載のインターフェース装置。
4. The output control means includes an event number storage means and a valid event number storage means, and each time the output data packet and the output interval information from the data packet processing device are stored in the output storage means, By updating the value of the article event number storage means and further storing the value of the event number storage means in the valid event number storage means each time the end of each output data packet is stored in the output storage means, The number of valid information, which is the total number of the output data packets and the output interval information stored in the output storage means, is stored, and in accordance with the output of the output data packet information and the output interval information to the external data processing device. updating the value of the valid event number storage means, and terminating the output of the output data packet information and the output interval information to the external data processing device according to the value of the valid event number storage means. 4. The interface device according to claim 1, 2, or 3.
【請求項5】  前記出力制御手段は、前記外部データ
処理装置からの要求に応じて前記有効事象数記憶手段の
値を前記外部データ処理装置に出力することにより、前
記有効情報数を前記外部データ処理装置に通知すること
を特徴とした請求項1、2、3、あるいは4記載のイン
ターフェース装置。
5. The output control means outputs the value of the valid event number storage means to the external data processing device in response to a request from the external data processing device, thereby adjusting the number of valid information to the external data. 5. The interface device according to claim 1, 2, 3, or 4, wherein the interface device notifies a processing device.
JP12755491A 1991-05-30 1991-05-30 Interface device Pending JPH04352292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12755491A JPH04352292A (en) 1991-05-30 1991-05-30 Interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12755491A JPH04352292A (en) 1991-05-30 1991-05-30 Interface device

Publications (1)

Publication Number Publication Date
JPH04352292A true JPH04352292A (en) 1992-12-07

Family

ID=14962887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12755491A Pending JPH04352292A (en) 1991-05-30 1991-05-30 Interface device

Country Status (1)

Country Link
JP (1) JPH04352292A (en)

Similar Documents

Publication Publication Date Title
US6862282B1 (en) Method and apparatus for packet ordering in a data processing system
US5175732A (en) Method and apparatus for controlling data communication operations within stations of a local-area network
US5630059A (en) Expedited message transfer in a multi-nodal data processing system
JPS62233870A (en) Sequential communication controller
JPS58501065A (en) Processing equipment for packet voice integrated exchange
US4907220A (en) Process for the establishment of virtual connections passing through switching matrices of a multi-stage switching system
US5448708A (en) System for asynchronously delivering enqueue and dequeue information in a pipe interface having distributed, shared memory
US6170003B1 (en) Apparatus and method for communicating messages between data processing nodes using remote reading of message queues
CN109446130A (en) A kind of acquisition methods and system of I/O device status information
JPH04352292A (en) Interface device
JP2865314B2 (en) Packet communication device
JP2968593B2 (en) Header conversion table and preprocessor
JPH04352293A (en) Interface device
US6178462B1 (en) Protocol for using a PCI interface for connecting networks
JP3190800B2 (en) Asynchronous transfer circuit with transfer speed switching function
JP2924783B2 (en) Remote read processing method and device
JPH03224078A (en) Interface device
US5875299A (en) disk access apparatus for performing a stride processing of data
JPH06224933A (en) Buffer memory device
JP2552025B2 (en) Data transfer method
SU1247879A1 (en) Device for switching messages
JP2533958B2 (en) Data preceding set device
JPS616746A (en) Partial writing control system
JPH0440551A (en) Data transfer system
JPH06141389A (en) Dynamic channel allocation system