JPH03224078A - Interface device - Google Patents

Interface device

Info

Publication number
JPH03224078A
JPH03224078A JP2019571A JP1957190A JPH03224078A JP H03224078 A JPH03224078 A JP H03224078A JP 2019571 A JP2019571 A JP 2019571A JP 1957190 A JP1957190 A JP 1957190A JP H03224078 A JPH03224078 A JP H03224078A
Authority
JP
Japan
Prior art keywords
data packet
data
output
input
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
JP2019571A
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 JP2019571A priority Critical patent/JPH03224078A/en
Publication of JPH03224078A publication Critical patent/JPH03224078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To perform data processing for a data packet holding data with arbitrary number of words by generating an input data packet from information supplied from an external data processor, inputting it to a data packet processor, and outputting the information held by an output data packet to the external data processor. CONSTITUTION:Tag information and data value information with arbitrary number of words supplied from the external data processor are stored in an input data packet storage means 2, and the input data packet is generated from the information, then, it is inputted to the data packet processor. Meanwhile, when the data packet supplied from the data packet processor is stored in an output data packet storage means 10, an output control means 11 stores the number of words of the output data packet by updating a value at every update of one word of data value, and informs the fact to the external data processor in advance. The external data processor receives data value information from the output data packet storage means 10. Thereby, the data packet holding the data value information with arbitrary number of words can be processed.

Description

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

(ロ)従来の技術 近年、タグ及びデータから構成されるデータ、<ケラト
を処理するデータ駆動形計算機の如きデータパケット処
理装置が開発され、さらにこのデータパケット処理装置
をホストコンピュータの如き外部データ処理装置を用い
て制御するようなデータ処理システムが構築されつつあ
る。
(b) Prior art In recent years, data packet processing devices such as data-driven computers that process data consisting of tags and data, such as data-driven computers, have been developed. Data processing systems that are controlled using devices are being constructed.

このようなシステムを効率的に動作させるためには、デ
ータパケット処理装置と外部データ処理装置との間で授
受するデータの7オーマ・ソトを互いに変換するための
インターフェース装置を如何に構成するかが一つの要因
であり、本発明は斯るインターフェース装置の構成に関
する。
In order to operate such a system efficiently, it is important to consider how to configure an interface device for mutually converting the 7-ohm-soto data exchanged 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.

従来のインターフェース装置には、例えば、特開昭64
−21539号に記述されてしムるように、タグ生成部
に外部データ処理装置からタグ情報を与えることによっ
て生成されるタグと外部データ処理装置から与えられる
データとによって生成されるデータパケットをデータノ
(ケ・ノド処理装置に入力するとともに、データパケッ
ト処理装置から出力される出力データパケットをタグと
データに分解し、外部データ処理装置との間でハンドシ
ェイクを行うことによってこの外部データ処理装置に出
力するものがある。
Conventional interface devices include, for example, JP-A-64
As described in No. 21539, a data packet generated by a tag generated by providing tag information from an external data processing device to a tag generation unit and data provided from the external data processing device is a data packet. (Input to the external data processing device, as well as decomposing the output data packet output from the data packet processing device into tags and data, and handshaking with the external data processing device.) There is something to output.

このような従来のインターフェース装置に於ては、デー
タパケット処理装置に入力するデータパケットには1つ
のデータパケットに対して単一のデータ値の格納が可能
である。また、データパケット処理装置からの出力デー
タパケットも同様に1つのデータパケットに対して単一
のデータ値の格納が可能である。
In such a conventional interface device, a single data value can be stored in each data packet input to the data packet processing device. Similarly, a single data value can be stored in one data packet for output data packets from the data packet processing device.

(ハ)発明が解決しようとする課題 最近のデータパケット処理装置では、複数のデータに対
して同一の処理が施される場合に、単一のタグと複数の
データを保持したデータパケット構成を採ることを可能
としており、これによって任意の数のデータを格納した
データパケットでも効率の良いデータ処理を可能として
いる。
(c) Problems to be solved by the invention Recent data packet processing devices adopt a data packet configuration that holds a single tag and multiple pieces of data when the same process is applied to multiple pieces of data. This makes it possible to efficiently process data even with data packets containing an arbitrary number of data.

しかしながら、このデータパケット処理装置を外部デー
タ処理装置と接続してシステム化する場合に用いる従来
のインターフェース装置は、上述の如く、データパケッ
ト処理装置に入力するデータパケットには1つのデータ
パケットに対して単一のデータ値のみの格納が可能でし
かなく、データパケット処理装置からの出力データパケ
ットも同様に1つのデータパケットに対して単一のデー
タ値のみの格納が可能でしかなかった。
However, the conventional interface device used when connecting this data packet processing device with an external data processing device to systematize the Only a single data value can be stored, and similarly, only a single data value can be stored in one data packet for the output data packet from the data packet processing device.

即ち、従来のインターフェース装置に於ては、任意の語
数のデータパケットの入出力を行うことは不可能であっ
たので、このインターフェース装置がデータパケット処
理装置での単一のタグと複数のデータを保持したデータ
パケットに対するデータ処理を妨げる原因になっていた
In other words, since it was not possible to input and output data packets with an arbitrary number of words with conventional interface devices, this interface device allows data packet processing devices to input and output data packets with a single tag. This was a cause of interference with data processing for retained data packets.

本発明は、このような課題を解決するためになされたも
のであり、任意の語数のデータを保持したデータパケッ
トに対するデータ処理を実現できるデータパケット処理
装置に対応したインターフェース装置を提供するもので
ある。
The present invention has been made to solve such problems, and provides an interface device compatible with a data packet processing device that can realize data processing on data packets holding data of an arbitrary number of words. .

(ニ)課題を解決するための手段 本発明のインターフェース装置は、外部データ処理装置
からデータパケット処理装置に入力するための入力デー
タパケットを構成するタグ情報及び任意の語数のデータ
値情報を格納する入力データパケット格納手段と、該デ
ータパケット格納手段の入力データパケットのデータパ
ケット処理装置への入力を制御する入力制御手段と、前
記データパケット処理装置から出力され、タグ情報及び
任意の語数のデータ値情報を保持している出力データパ
ケットを格納する出力データパケット格納手段と、前記
出力データパケットの情報の外部データ処理装置への出
力を制御する出力制御手段とからなる。
(d) Means for Solving the Problems The interface device of the present invention stores tag information and data value information of an arbitrary number of words constituting an input data packet to be input from an external data processing device to a data packet processing device. input data packet storage means; input control means for controlling the input of input data packets of the data packet storage means to a data packet processing device; and tag information and a data value of an arbitrary number of words output from the data packet processing device. It consists of an output data packet storage means for storing output data packets holding information, and an output control means for controlling output of the information of the output data packets to an external data processing device.

また、更に、前記入力データパケット格納手段には、タ
グ情報格納手段とで一夕値情報格納手段を備えてなり、
前記外部データ処理装置から入力された任意の語数のデ
ータ値情報を前記データ値情報格納手段に入力した後、
前記外部データ処理装置からタグ情報及び制御情報を受
け取り、前記タグ情報を前記タグ情報格納手段に格納し
、前記制御情報に応じて前記タグ情報及び前記データ値
情報に基づき入力データパケットを生成し、前記データ
パケット処理装置に入力するものである。
Furthermore, the input data packet storage means includes tag information storage means and overnight value information storage means,
After inputting data value information of an arbitrary number of words input from the external data processing device into the data value information storage means,
receiving tag information and control information from the external data processing device, storing the tag information in the tag information storage means, and generating an input data packet based on the tag information and the data value information in accordance with the control information; It is input to the data packet processing device.

また、前記入力制御手段は入力語数記憶手段を備え、前
記外部データ処理装置から与えられる入力語数情報を前
記入力語数記憶手段に格納するとともに、入力データパ
ケットの前記データパケット処理装置への入力に応じて
前記入力語数記憶手段の値を更新し、前記入力語数記憶
手段の値に応じて前記入力データパケットの前記データ
パケット処理装置への入力を終了するものである。
Further, the input control means includes an input word count storage means, and stores input word count information given from the external data processing device in the input word count storage means, and also stores input word count information given from the external data processing device in the input word count storage device, and responds to input data packets input to the data packet processing device. The input word number storage means updates the value of the input word number storage means, and the input of the input data packet to the data packet processing device is completed in accordance with the value of the input word number storage means.

また、前記出力制御手段は出力語数記憶手段を備え、前
記データパケット処理装置からの出力データパケットの
出力に応じて前記出力語数記憶手段の値を更新すること
により前記出力データパケットの語数を記憶するととも
に、前記外部データ処理装置への前記出力データパケッ
トが保持している情報の出力に応じて前記出力語数記憶
手段の値を更新し、前記出力語数記憶手段の値に応じて
前記外部データ処理装置への前記出力データパケットが
保持している情報の出力を終了するものである。
Further, the output control means includes an output word number storage means, and stores the number of words of the output data packet by updating the value of the output word number storage means according to the output of the output data packet from the data packet processing device. At the same time, the value of the output word number storage means is updated according to the output of the information held by the output data packet to the external data processing device, and the value of the output word number storage means is updated according to the value of the output word number storage means. This ends the output of the information held by the output data packet to the output data packet.

また、前記外部データ処理装置への前記出力データパケ
ットが保持している情報の出力は、前記データパケット
処理装置からの前記出力データパケットの出力に応じて
、該出力データパケットが保持している情報の特定語数
及び前記出力iiW数記憶手段の値を前記外部データ処
理装置へ出力した後に、前記外部データ処理装置から出
力要求を示す制御情報を受信することに応じて、該出力
データパケットが保持している残りの情報を出力するも
のである。
Further, the information held in the output data packet is outputted to the external data processing device in accordance with the output of the output data packet from the data packet processing device. After outputting the specific word count and the value of the output iiW number storage means to the external data processing device, in response to receiving control information indicating an output request from the external data processing device, the output data packet is retained. The remaining information is output.

(ホ)作用 本発明のインターフェース装置によれば、外部データ処
理装置から与えられる入力データパケットを構成する情
報を前記入力データパケット格納手段に格納し、入力デ
ータパケット格納手段に格納された情報から入力データ
パケットを生成し前記データパケット処理装置に入力す
ると共に、前記出力データパケット格納手段に格納され
た出力データパケットが保持している情報を前記外部デ
−タ処理装置に出力することになる。
(E) Operation According to the interface device of the present invention, information constituting an input data packet given from an external data processing device is stored in the input data packet storage means, and input from the information stored in the input data packet storage means is performed. A data packet is generated and input to the data packet processing device, and information held in the output data packet stored in the output data packet storage means is output to the external data processing device.

また、更に、本発明のインターフェース装置によれば、
外部データ処理装置から与えられる入力データパケット
のデータ値情報は入力データパケット格納手段内のデー
タ値情報格納手段に格納される。続いて、外部データ処
理装置から入力データパケットのタグ情報、データ値の
語数、及びデータパケットの入力を示す制御情報が与え
られ、タグ情報は入力データパケット格納手段内のタグ
情報格納手段に、データ値の語数は入力制御側段内の入
力語数記憶手段にそれぞれ格納され、制御情報に応じて
タグ情報、データ値情報から入力データパケットが生成
されデータパケット処理装置に入力される。このとき、
入力データパケットのデータ値情報をデータパケット処
理装置に入力する度に入力語数記憶手段の値を更新し、
これが特定の値になると入力を終了する。このようにし
て任意の語数のデータ値情報をもったデータパケットの
入力が可能となる。
Furthermore, according to the interface device of the present invention,
Data value information of an input data packet provided from an external data processing device is stored in data value information storage means within the input data packet storage means. Subsequently, tag information of the input data packet, the number of words of the data value, and control information indicating the input of the data packet are given from the external data processing device, and the tag information is stored in the tag information storage means in the input data packet storage means. The number of words of the value is stored in the input word number storage means in the input control stage, and an input data packet is generated from the tag information and data value information according to the control information and input to the data packet processing device. At this time,
Each time the data value information of the input data packet is input to the data packet processing device, the value of the input word count storage means is updated;
When this reaches a certain value, input ends. In this way, it is possible to input data packets having data value information of any number of words.

また、データパケット処理装置からの出力データパケッ
トは出力データパケット格納手段に格納される。このと
き、出力語数記憶手段は1語を格納する度に値を更新す
ることにより、出力データパケットの語数を記憶する。
Further, output data packets from the data packet processing device are stored in the output data packet storage means. At this time, the output word number storage means stores the number of words of the output data packet by updating the value every time one word is stored.

出力データパケット格納手段に格納された出力データパ
ケットのタグ情報及びデータ値情報は次のようにして外
部データ処理装置に出力される。まず、出力データパケ
ットのうちの特定の語数、及び出力語数記憶手段の値を
外部データ処理装置に出力することによって、外部デー
タ処理装置に出力を要求するとともに出力語数を通知す
る。これを受信した外部データ処理装置から受信要求を
示す制御情報を与えることによって出力データパケット
の残りの情報が外部データ処理装置に出力される。この
とき、出力パケット格納手段から1語を取り出す度に出
力語数記憶手段の値を更新し、これが特定の値になると
出力を終了する。このようにして、任意のデータ値情報
をもったデータパケットの出力が可能となる。
The tag information and data value information of the output data packet stored in the output data packet storage means are output to the external data processing device in the following manner. First, by outputting the specific number of words in the output data packet and the value of the output word number storage means to the external data processing device, the external data processing device is requested to output and is notified of the number of output words. The remaining information of the output data packet is output to the external data processing device by providing control information indicating a reception request from the external data processing device that received this. At this time, the value of the output word number storage means is updated every time one word is taken out from the output packet storage means, and when this reaches a specific value, the output ends. In this way, it is possible to output data packets with arbitrary data value information.

(へ)実施例 第1図に本発明のインターフェース装置の基本的構成を
示す。同図において、2は外部データ処理装置からデー
タパケット処理装置に入力するための入力データパケッ
ト(タグ情報及び任意の語数のデータ値情報からなる)
を格納する入力データパケット格納手段であり、機能的
にはタグ情報格納手段2Tとデータ情報格納手段2Dと
からなる。3は該データパケット格納手段2の入力デー
タパケットのデータパケット処理装置への入力を制御す
る入力制御手段であり、入力語数記憶手段31を備える
。10は前記データパケット処理装置から出力され、タ
グ情報及び任意の語数のデータ値情報を保持している出
力データパケットを格納する出力データパケット格納手
段である。13は前記出力データパケットの情報の外部
データ処理装置への出力を制御する出力制御手段であり
、出力語数記憶手段131を備える。
(F) Embodiment FIG. 1 shows the basic configuration of an interface device of the present invention. In the figure, 2 is an input data packet (consisting of tag information and data value information of an arbitrary number of words) for inputting from an external data processing device to the data packet processing device.
It is an input data packet storage means for storing, and functionally consists of a tag information storage means 2T and a data information storage means 2D. Reference numeral 3 denotes an input control means for controlling the input of input data packets of the data packet storage means 2 to the data packet processing device, and includes an input word number storage means 31. Reference numeral 10 denotes an output data packet storage means for storing an output data packet outputted from the data packet processing device and holding tag information and data value information of an arbitrary number of words. Reference numeral 13 denotes an output control means for controlling output of the information of the output data packet to an external data processing device, and includes an output word number storage means 131.

斯様な本発明装置は、外部データ処理装置がら与えられ
る入力データパケットを構成するタグ情報及び任意の語
数のデータ値情報を前記入力データパケット格納手段2
に格納し、この入力データパケット格納手段2に格納さ
れた情報から入力データパケットを生成した上で、前記
データパケット処理装置に入力する。詳しくは、この入
力データパケットの生成の際には、外部データ処理装置
から入力データパケットのタグ情報、及び任意の語数の
データ値情報の他に、このデータ値の語数やその他の制
御情報が与えられ、タグ情報は入力データパケット格納
手段2内のタグ情報格納手段2Tに、データ値情報はそ
のデータ値情報格納手段2Bに、制御情報をなすデータ
値の語数は入力制御手段3内の入力語数記憶手段31に
それぞれ格納され、制御情報に応じてタグ情報、データ
値情報から入力データパケットが生成されるのである。
Such a device of the present invention stores tag information and data value information of an arbitrary number of words constituting an input data packet given from an external data processing device in the input data packet storage means 2.
An input data packet is generated from the information stored in the input data packet storage means 2, and then input to the data packet processing device. Specifically, when generating this input data packet, in addition to tag information of the input data packet and data value information of an arbitrary number of words, the number of words of this data value and other control information are given from the external data processing device. The tag information is stored in the tag information storage means 2T in the input data packet storage means 2, the data value information is stored in the data value information storage means 2B, and the number of words of the data value constituting the control information is the number of input words in the input control means 3. The input data packets are stored in the storage means 31, and input data packets are generated from the tag information and data value information in accordance with the control information.

一方、データパケット処理装置から与えられるデータパ
ケットは出力データパケット格納手段】Oに格納され、
この出力データパケットが保持している情報を外部デー
タ処理装置に出力する。詳しくは、データパケット処理
装置からの出力データパケットは出力データパケット格
納手段に格納される際、出力制御手段13の出力語数記
憶手段131は、データ値1語を格納する度に値を更新
することにより出力データパケットの語数を記憶する。
On the other hand, the data packet given from the data packet processing device is stored in the output data packet storage means ]O,
The information held in this output data packet is output to an external data processing device. Specifically, when the output data packet from the data packet processing device is stored in the output data packet storage means, the output word number storage means 131 of the output control means 13 updates the value every time one data value word is stored. stores the number of words in the output data packet.

こうして出力語数記憶手段131に記憶された語数をあ
らかじめ外部データ処理装置に通知し、外部データ処理
装置は、通知を受けた語数のデータ値情報を出力データ
パケット格納手段8から受信する。
The number of words stored in the output word number storage means 131 is notified in advance to the external data processing device, and the external data processing device receives data value information of the notified number of words from the output data packet storage means 8.

第2図は本発明のインターフェース装置の1実施例の具
体的構成図である。
FIG. 2 is a concrete configuration diagram of one embodiment of the interface device of the present invention.

同図のデータパケット処理装置で扱われるデータパケッ
トは、第3図に示すように、第1のタグと第2のタグ、
及び第1〜第nのデータ値からなり、第1のタグ[タグ
1]と第2のタグ[タグ2]とには夫々1語割り当てら
れ、各データ値[データ値1 (上位)]と[データ値
1(下位)]〜[データ値n(上位)コと[データ値n
(下位)]には夫々2語、合計2n語が割り当てられて
いる。さらに、このデータパケットのビット配分形式は
、0〜15ビツト目の16ビツトのデータと16.17
ビツト目の2ビツトのフラグによって構成されている。
As shown in FIG. 3, the data packet handled by the data packet processing device shown in the figure has a first tag, a second tag,
and the first to nth data values, one word is each assigned to the first tag [tag 1] and the second tag [tag 2], and each data value [data value 1 (upper)] and [Data value 1 (lower)] to [Data value n (upper) and [Data value n
(lower)] are assigned two words each, a total of 2n words. Furthermore, the bit allocation format of this data packet is 16 bits of data from 0th to 15th bits and 16.17
It is made up of a 2-bit flag.

17ビツト目のフラグはデータパケットの存在を示し、
16ビツト目のフラグはデータパケットの先頭及び末尾
を示している。
The 17th bit flag indicates the existence of a data packet,
The 16th bit flag indicates the beginning and end of the data packet.

まず、外部データ処理装置ODPからのデータを第3図
のパケット形式でデータパケット処理装置に入力するた
めの該インターフェース装置の構成及び動作について解
説する。
First, the configuration and operation of the interface device for inputting data from the external data processing device ODP to the data packet processing device in the packet format shown in FIG. 3 will be explained.

外部データ処理装置ODPとのハンドシェイクによりデ
ータ値情報を含むデータをレジスタ1に入力する。この
ときのデータの形式を第4図に示す。同図に示すように
、第1語口の[制御情報]に続いて第2語口以降にフラ
グとデータ値が交互に入力される。
Data including data value information is input into the register 1 by handshaking with the external data processing device ODP. The format of the data at this time is shown in FIG. As shown in the figure, following the [control information] of the first word, flags and data values are alternately input from the second word.

入力制御手段3は制御情報を識別し、フラグ、データを
入力データパケット格納手段2のデーター値情報格納手
段21の入力データバッファ211に書き込む。尚、入
力データバッファ211の書き込み/読み出しは、デー
タレジスタ212とフラグレジスタ213と書き込みポ
インタ214と読み出しポインタ215とポインタ選択
部216の動作による。
The input control means 3 identifies the control information and writes the flag and data into the input data buffer 211 of the data value information storage means 21 of the input data packet storage means 2. Note that writing/reading of the input data buffer 211 is performed by the operations of the data register 212, flag register 213, write pointer 214, read pointer 215, and pointer selection section 216.

入力データバッファ211への書き込みの際、フラグが
入力されるときの最上位ビットは入力データの末尾を示
しており、これが1”になるまで書き込みを続ける。
When writing to the input data buffer 211, the most significant bit when the flag is input indicates the end of the input data, and writing continues until this becomes 1''.

斯してデータの書き込みを終了すると、ひき続き、外部
データ処理装置ODPから、第5図に示す如く、[制御
情報1]、[タグ情報1]、[タグ情報2コ、[データ
値語数情報]、[制御情報2]からなる5語構成の情報
を入力する。これら情報の内、[タグ情報1及び2]は
、夫々タグ情報レジスタ221.222に格納される。
When data writing is completed in this way, the external data processing device ODP subsequently sends [control information 1], [tag information 1], [tag information 2], [data value word count information] as shown in FIG. ], [Control information 2], and enter the five-word information. Among these pieces of information, [tag information 1 and 2] are stored in tag information registers 221 and 222, respectively.

また、[データ値語数情報]は入力データパケットに格
納されるデータ値の2′の補数であり、この値が入力制
御手段3の入力語数記憶手段31に格納される。
Further, [data value word number information] is the 2' complement of the data value stored in the input data packet, and this value is stored in the input word number storage means 31 of the input control means 3.

この様にして、第3図の如きデータパケットに必要なデ
ータや情報を該インターフェース装置内に用意した状態
で、入力制御手段3の[制御情報1及び2]に基づいて
第3図の如きデータパケットを生成する。即ち、入力制
御手段3は[制御情報1及び2コに応じて、タグレジス
タ221,222に格納されているタグ情報と、入力デ
ータバッファ211から順次読み出してデータレジスタ
212に格納したデータ値及びフラグレジスタ213に
格納したフラグとに基づいて入力データパケットを生成
する。これらデータ及び情報の読み出しはデータ選択部
23が第3図のパケット形式に従って順次読み出し、デ
ータパケット処理装置DPPからの要求に応じてデータ
パケット処理装置に入力する。このとき、入力制御信号
生成部32は、入力データバッファ211からデータ値
を読み出す度に入力語数記憶手段31の値をインクリメ
ントし、この値が“0”になるまでデータパケットの入
力を継続する。即ちこの値がO″になったときに、デー
タの入力を終了する入力制御を行う。
In this way, with the data and information necessary for the data packet as shown in FIG. 3 prepared in the interface device, the data as shown in FIG. Generate a packet. That is, the input control means 3 reads the tag information stored in the tag registers 221 and 222, the data values and flags sequentially read from the input data buffer 211 and stored in the data register 212 according to the control information 1 and 2. An input data packet is generated based on the flag stored in the register 213. The data selection unit 23 sequentially reads these data and information according to the packet format shown in FIG. 3, and inputs them to the data packet processing device in response to a request from the data packet processing device DPP. At this time, the input control signal generation section 32 increments the value of the input word number storage means 31 every time a data value is read from the input data buffer 211, and continues inputting data packets until this value becomes "0". That is, when this value becomes O'', input control is performed to end data input.

次に、第3図の如きデータパケットをデータパケラト処
理装置DPPから出力するための該インターフェース装
置の構成及び動作について解説する。
Next, the configuration and operation of the interface device for outputting data packets as shown in FIG. 3 from the data packet processing device DPP will be explained.

データパケット処理装置DPPから出力されたデータパ
ケットは、データレジスタ8、及びフラグレジスタ9を
介して、出力データバッファ]01に書き込まれる。尚
、出力データバッファ101の書き込み/読み出しは、
データレジスタ105とフラグレジスタ106と書き込
みポインタ102と読み出しポインタ103とポインタ
選択部104の動作による。
The data packet output from the data packet processing device DPP is written to the output data buffer ]01 via the data register 8 and the flag register 9. Note that writing/reading of the output data buffer 101 is as follows:
This depends on the operations of the data register 105, flag register 106, write pointer 102, read pointer 103, and pointer selection unit 104.

出力データバッファ101への書き込みの際、1語を書
き込む度に出力制御手段11の出力語数記憶手段111
の値をインクリメントする。そして、出力制御手段11
がデータパケットのフラグによってデータパケットの末
尾が出力データバッファ101に格納されたことを判定
する。この判定は、出力語数記憶手段111の値をチエ
ツクしている出力制御信号生成部112からの制御信号
によって行われる。
When writing to the output data buffer 101, each time one word is written, the output word number storage means 111 of the output control means 11
Increment the value of . And output control means 11
determines that the end of the data packet has been stored in the output data buffer 101 based on the flag of the data packet. This determination is made by a control signal from the output control signal generation section 112 which checks the value of the output word count storage means 111.

斯してデータパケットが全て出力データバッファ101
に格納されると、次に外部データ処理装置ODPに適し
たデータ形式の作成処理に移る。
In this way, all data packets are sent to the output data buffer 101.
Once the data is stored in the external data processing device ODP, the next step is to create a data format suitable for the external data processing device ODP.

即ち、まず、データ選択部12が出力語数記憶手段1]
1の値[出力データパケットの語数]を選択し、続いて
出力データバッファ101から順次帯られる4語のデー
タ、[タグ1]及び[タグ2]、[データ値1(上位)
]及び[データ値1(下位)]を選選択力する。
That is, first, the data selection section 12 selects the output word number storage means 1]
Select the value 1 [Number of words of output data packet], and then select the 4-word data sequentially taken from the output data buffer 101, [Tag 1] and [Tag 2], and [Data value 1 (upper)].
] and [Data value 1 (lower)].

これらのデータ群は、特定語数、この場合5語構成の第
6図の如き形式をなし、外部データ処理装置ODPへ第
1次データ群として出力する。
These data groups have a format as shown in FIG. 6 with a specific number of words, in this case five words, and are output as a primary data group to the external data processing device ODP.

このような、第1次データ群を受信した外部データ処理
装置ODPは、[出力データパケットの語数]から未受
信の語数を判断できるので、残りのデータの出力要求を
示す[制御情報]を第6図に示すような特定語数(5語
)の形式で入力してくる。この入力は前記入力制御手段
で判断され、これに従って、出力制御手段11は、この
出力要求に含まれる[制御情報]により、出力データバ
ッファ101に格納されている[データM2(上位)]
以降のデータ値を外部データ処理装置ODPに出力する
。このとき、出力データバッファ101を読み出す度に
出力語数記憶手段111の値をデクリメントし、この値
がO”になるまで外部データ処理装置OGPへのデータ
出力を継続して第8図に示すごとく、[データ値2(上
位)]〜[データ値n(下位)]を含む連続多数語の第
2次データの出力を実行する。
The external data processing device ODP, which has received such a primary data group, can determine the number of unreceived words from the [number of words in the output data packet], so it first sends [control information] indicating a request to output the remaining data. The input is in the form of a specific number of words (5 words) as shown in Figure 6. This input is determined by the input control means, and according to this, the output control means 11 selects the [data M2 (upper)] stored in the output data buffer 101 based on the [control information] included in this output request.
The subsequent data values are output to the external data processing device ODP. At this time, each time the output data buffer 101 is read, the value of the output word count storage means 111 is decremented, and data output to the external data processing device OGP is continued until this value becomes O'', as shown in FIG. Output of secondary data of consecutive multiple words including [data value 2 (upper)] to [data value n (lower)] is executed.

(ト)発明の効果 以上に説明したように、本発明のインターフェース装置
によれば、データパケット処理装置に対して任意の語数
のデータ値情報を保持したデータパケットを入力するこ
とが可能になるとともに、データパケット処理装置から
出力される任意の語数のデータ値情報を保持したデータ
パケットの情報を外部データ処理装置に出力することが
可能となる。即ち、本発明のインターフェース装置は、
任意の語数のデータ値情報を保持したデータパケットを
処理するデータパケット処理装置に対するインターフェ
ース装置として機能することができる。
(G) Effects of the Invention As explained above, according to the interface device of the present invention, it is possible to input data packets holding data value information of any number of words to the data packet processing device, and , it becomes possible to output data packet information outputted from a data packet processing device and holding data value information of an arbitrary number of words to an external data processing device. That is, the interface device of the present invention:
It can function as an interface device for a data packet processing device that processes data packets holding data value information of an arbitrary number of words.

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

第1図は本発明のインターフェース装置の基本的構成図
、第2図は本発明の一実施例の構成図、第3図乃至第8
図は本発明装置で取r)扱われるデータ形式を示す模式
図である。 1・・・入力レジスタ、 2・・・入力データ値情報格納手段、21・・・データ
値情報格納手段、 211・・・入力データバッファ、
212・・・入力データレジスタ、213・・・入力フ
ラグレジスタ、214・・・入力データバッファ書き込
みポインタ、215・・・入カデータパッファ読み出し
ポインタ、216・・・入力データバッファポインタ選
択部、22・・タグ情報格納手段、 221.222・
・・タグレジスタ、23・・・出力データ選択部、 3・・・入力制御手段、31・・・入力語数記憶手段、
32・・入力制御信号生成部、 4・・・入力データパケット (データ)、5・・・入
力データパケット(フラグ)、6・・・出力データパケ
ット(データ)、7・・・出力データパケット(フラグ
)、8・・・出力データレジスタ、 9・・・出力フラグレジスタ、 10・・出力データパケット格納手段、101・・・出
力データバソファ、102・・・出力データバッファ書
き込みポインタ、103・・・出力データバッファ読み
出しポインタ、】04・・・出力データバッファポイン
タ選択部、105・・・データレジスタ、106・・・
フラグレジスタ、 11・・・出力制御手段、111・・・出力語数記憶手
段、112・・・出力制御信号生成部、14・・・出力
データ選択部。
FIG. 1 is a basic configuration diagram of an interface device of the present invention, FIG. 2 is a configuration diagram of an embodiment of the present invention, and FIGS.
The figure is a schematic diagram showing the data format handled by the device of the present invention. DESCRIPTION OF SYMBOLS 1... Input register, 2... Input data value information storage means, 21... Data value information storage means, 211... Input data buffer,
212... Input data register, 213... Input flag register, 214... Input data buffer write pointer, 215... Input data buffer read pointer, 216... Input data buffer pointer selection section, 22.・Tag information storage means, 221.222・
...tag register, 23...output data selection unit, 3...input control means, 31...input word number storage means,
32... Input control signal generation unit, 4... Input data packet (data), 5... Input data packet (flag), 6... Output data packet (data), 7... Output data packet ( flag), 8... Output data register, 9... Output flag register, 10... Output data packet storage means, 101... Output data buffer sofa, 102... Output data buffer write pointer, 103... - Output data buffer read pointer, ]04... Output data buffer pointer selection section, 105... Data register, 106...
Flag register, 11... Output control means, 111... Output word number storage means, 112... Output control signal generation section, 14... Output data selection section.

Claims (5)

【特許請求の範囲】[Claims] (1)グ情報及び任意の語数のデータ値情報を含むデー
タパケットを処理するデータパケット処理装置とデータ
処理を行う外部データ処理装置との間に設けられ、両装
置間のデータの入出力を実現するインターフェース装置
に於て、 前記外部データ処理装置から前記データパケット処理装
置に入力するための入力データパケットを構成するタグ
情報及び任意の語数のデータ値情報を格納する入力デー
タパケット格納手段、該データパケット格納手段の入力
データパケットのデータパケット処理装置への入力を制
御する入力制御手段、前記データパケット処理装置から
出力され、タグ情報及び任意の語数のデータ値情報を保
持している出力データパケットを格納する出力データパ
ケット格納手段、前記出力データパケットの情報の外部
データ処理装置への出力を制御する出力制御手段を備え
、 前記外部データ処理装置から与えられる入力データパケ
ットを構成する情報を前記入力データパケット格納手段
に格納し、前記入力データパケット格納手段に格納され
た情報から入力データパケットを生成し前記データパケ
ット処理装置に入力すると共に、前記出力データパケッ
ト格納手段に格納された出力データパケットが保持して
いる情報を前記外部データ処理装置に出力することを特
徴となすインターフェース装置。
(1) Provided between a data packet processing device that processes data packets containing data value information and data value information of an arbitrary number of words and an external data processing device that performs data processing, realizing data input and output between both devices. an input data packet storage means for storing tag information and data value information of an arbitrary number of words constituting an input data packet to be input from the external data processing device to the data packet processing device; an input control means for controlling the input of the input data packet of the packet storage means to the data packet processing device; an input control means for controlling input of the input data packet of the packet storage means to the data packet processing device; an output data packet storage means for storing an output data packet; and an output control means for controlling output of information of the output data packet to an external data processing device; generating an input data packet from the information stored in the input data packet storage means and inputting it to the data packet processing device, and retaining the output data packet stored in the output data packet storage means; An interface device characterized in that the interface device outputs information on the external data processing device to the external data processing device.
(2)記入力データパケット格納手段には、タグ情報格
納手段とデータ値情報格納手段を備えてなり、前記外部
データ処理装置から入力された任意の語数のデータ値情
報を前記データ値情報格納手段に入力した後、前記外部
データ処理装置からタグ情報及び制御情報を受け取り、
前記タグ情報を前記タグ情報格納手段に格納し、前記制
御情報に応じて前記タグ情報及び前記データ値情報に基
づき入力データパケットを生成し、前記データパケット
処理装置に入力することを特徴となす請求項1記載のイ
ンターフェース装置。
(2) The input data packet storage means includes a tag information storage means and a data value information storage means, and the data value information of an arbitrary number of words inputted from the external data processing device is stored in the data value information storage means. receive tag information and control information from the external data processing device;
A claim characterized in that the tag information is stored in the tag information storage means, and an input data packet is generated based on the tag information and the data value information according to the control information, and is input to the data packet processing device. The interface device according to item 1.
(3)記入力制御手段は入力語数記憶手段を備え、前記
外部データ処理装置から与えられる入力語数情報を前記
入力語数記憶手段に格納するとともに、入力データパケ
ットの前記データパケット処理装置への入力に応じて前
記入力語数記憶手段の値を更新し、前記入力語数記憶手
段の値に応じて前記入力データパケットの前記データパ
ケット処理装置への入力を終了することを特徴となす請
求項1、または2記載のインターフェース装置。
(3) The input control means includes an input word count storage means, and stores the input word count information given from the external data processing device in the input word count storage means, and also controls input data packets to be input to the data packet processing device. 2. The method according to claim 1, wherein the value of the input word number storage means is updated accordingly, and the input of the input data packet to the data packet processing device is terminated according to the value of the input word number storage means. The interface device described.
(4)前記出力制御手段は出力語数記憶手段を備え、前
記データパケット処理装置からの出力データパケットの
出力に応じて前記出力語数記憶手段の値を更新すること
により前記出力データパケットの語数を記憶するととも
に、前記外部データ処理装置への前記出力データパケッ
トが保持している情報の出力に応じて前記出力語数記憶
手段の値を更新し、前記出力語数記憶手段の値に応じて
前記外部データ処理装置への前記出力データパケットが
保持している情報の出力を終了することを特徴となす請
求項1、2、または3記載のインターフェース装置。
(4) The output control means includes an output word number storage means, and stores the number of words of the output data packet by updating the value of the output word number storage means according to the output of the output data packet from the data packet processing device. At the same time, the value of the output word count storage means is updated according to the output of the information held by the output data packet to the external data processing device, and the external data processing is performed according to the value of the output word count storage means. 4. The interface device according to claim 1, 2, or 3, wherein the output of the information held by the output data packet to the device is terminated.
(5)前記外部データ処理装置への前記出力データパケ
ットが保持している情報の出力は、前記データパケット
処理装置からの前記出力データパケットの出力に応じて
、該出力データパケットが保持している情報の特定語数
及び前記出力語数記憶手段の値を前記外部データ処理装
置へ出力した後に、前記外部データ処理装置から出力要
求を示す制御情報を受信することに応じて、該出力デー
タパケットが保持している残りの情報を出力することを
特徴となす請求項1、2、3、または4記載のインター
フェース装置。
(5) The output of the information held by the output data packet to the external data processing device is based on the output of the output data packet from the data packet processing device. After outputting the specific word count of information and the value of the output word count storage means to the external data processing device, the output data packet is retained in response to receiving control information indicating an output request from the external data processing device. 5. The interface device according to claim 1, 2, 3, or 4, wherein the remaining information contained in the interface device is output.
JP2019571A 1990-01-30 1990-01-30 Interface device Pending JPH03224078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019571A JPH03224078A (en) 1990-01-30 1990-01-30 Interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019571A JPH03224078A (en) 1990-01-30 1990-01-30 Interface device

Publications (1)

Publication Number Publication Date
JPH03224078A true JPH03224078A (en) 1991-10-03

Family

ID=12002972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019571A Pending JPH03224078A (en) 1990-01-30 1990-01-30 Interface device

Country Status (1)

Country Link
JP (1) JPH03224078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05181984A (en) * 1991-12-27 1993-07-23 Sharp Corp Data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05181984A (en) * 1991-12-27 1993-07-23 Sharp Corp Data processing system

Similar Documents

Publication Publication Date Title
JPS63163930A (en) Alignment correction system
JP2818529B2 (en) Information storage device
US5542079A (en) Data driven processor for reading data from storage to apply prescribed operation in response to operation updating instruction and updating the contents of the storage
JPH03224078A (en) Interface device
JP2668156B2 (en) Execution control method of data driven type information processing device
JPS5953579B2 (en) character compression device
JPH04352293A (en) Interface device
JPH04352292A (en) Interface device
JP2764358B2 (en) Data driven information processor
JP2748404B2 (en) Binary data memory
JP2764024B2 (en) Storage device table indexing method and indexing device
JPH04104345A (en) Write control system for partial rewrite data of main storage device with ecc mechanism
JPS63280351A (en) Data storage device
JPS63261441A (en) Data storage device
JPS63261443A (en) Data storage device
JP2000207133A (en) System and method for memory access
JPS63262738A (en) Data storage device
JPS63261442A (en) Data storage device
JPH0266667A (en) Parallel computing element
JPS62210542A (en) Register selecting system
JPH0276058A (en) Multiprocessor system
JPS61157941A (en) Transfer address controller
JPS63261444A (en) Data storage device
JPS62203245A (en) Error message output system
JPH0542703B2 (en)