JPH01226250A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPH01226250A
JPH01226250A JP63052230A JP5223088A JPH01226250A JP H01226250 A JPH01226250 A JP H01226250A JP 63052230 A JP63052230 A JP 63052230A JP 5223088 A JP5223088 A JP 5223088A JP H01226250 A JPH01226250 A JP H01226250A
Authority
JP
Japan
Prior art keywords
packet
input
fifo
output
processing
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
JP63052230A
Other languages
Japanese (ja)
Inventor
Koichi Aida
會田 公一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63052230A priority Critical patent/JPH01226250A/en
Publication of JPH01226250A publication Critical patent/JPH01226250A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up the processing and transfer of a packet and to simplify a procedure by using a two-port RAM where a half flag is provided in an output FIFO in a packet dispatcher. CONSTITUTION:The output FIFO 12 uses the two-port RAM where the half flag(HF) is provided, and a certain packet is detected to be not empty (EF) in an input FIFO11 and that half the packet becomes empty is detected in the half flag from the output FIFO12, whereby a continuous processing can be executed with respect to the subsequent packet. Input information is inputted to the input FIFO11 in the packet dispatcher 10, a prescribed read processing is executed, processed information is transmitted to the output FIFO12, and the packet processing and transfer are continuously executed by the detection of the half flag. For smoothly executing the continuous action, input status registers(ISR) 131-13n showing the units of the number of input data to be stored from a control part 6 are provided in graphic processing units 21-2n which supply the outputs of the output FIFO12 in parallel.

Description

【発明の詳細な説明】 〔概 要〕 本発明は、入力情報を所定量のパケットとして出力する
パケットディスパッチャを有するデータ通信方式の改善
に関し、 該パケットディスパッチャにおけるパケットの処理と転
送時間を高速化することを目的とし、該パケットディス
パッチャに、メモリ容量が空か満杯かを示すフラグを有
し、入力情報を読取シ所定の処理を行なう入力用FIF
Oと、前記両フラグの外容量の半分を示すハーフフラグ
を有し、前記処理された入力情報を所定の処理ユニット
に転送する出力用FIFOとを具え、前記入力用FIF
Oが空でないことを検出し、該FIFOから入力情報を
読出し所定の処理をした後出力FIFOに送り、ハーフ
フラグを検出確認したら、出力FIFOの満杯をオーバ
しない範囲で連続して処理ユニットに転送するように構
成する。
[Detailed Description of the Invention] [Summary] The present invention relates to an improvement of a data communication system having a packet dispatcher that outputs input information as a predetermined amount of packets, and speeds up the processing and transfer time of packets in the packet dispatcher. For this purpose, the packet dispatcher has an input FIF that has a flag indicating whether the memory capacity is empty or full, and that reads input information and performs predetermined processing.
O, and an output FIFO having a half flag indicating half of the external capacity of both the flags and transferring the processed input information to a predetermined processing unit, the input FIFO
Detects that O is not empty, reads the input information from the FIFO, performs the specified processing, and sends it to the output FIFO. Once the half flag is detected and confirmed, it is continuously transferred to the processing unit as long as the output FIFO is not full. Configure it to do so.

〔産業上の利用分野〕[Industrial application field]

本発明は入力情報を所定量のパケットとして出力するパ
ケットデイスパンチャを有するデータ通信方式の改善に
関するものである。
The present invention relates to an improvement in a data communication system having a packet dispatcher that outputs input information as a predetermined amount of packets.

〔従来の技術〕[Conventional technology]

従来、図形の座標変換やクリッピング等の処理を行なう
場合、図形等の処理命令と図形データより成る入力情報
をパケットディスパッチャを用いて並列に接続された複
数の図形処理ユニットにパケットとして転送する。
Conventionally, when performing processing such as coordinate transformation or clipping of a graphic, input information consisting of graphic processing commands and graphic data is transferred as a packet to a plurality of graphic processing units connected in parallel using a packet dispatcher.

第4図は、パケットディスパッチャとして実用されたも
のではないが、従来のデータパケットを転送するための
FIFOを使用した場合の従来技術によシ考見られる構
成を示す。
FIG. 4 shows a configuration considered in the prior art when a FIFO is used for transferring conventional data packets, although it has not been put to practical use as a packet dispatcher.

たとえば、図形の座標変換時の命令、X、Y各座標デー
タを各単位として、パケットデイスノ(クチャ1内の入
力用PIFO4に入力しこれをMt出し、制御部乙の制
御によp所定の処理を行ない、処理された情報を出力用
PIFO5に送り、制御部6の制御によシ順次図形処理
ユニット21〜2nに順次所定数単位ずつ書込み、並列
に接続された出力制御部3より出力情報が取出される。
For example, a command when converting the coordinates of a figure, each unit of X, Y coordinate data is input into the input PIFO 4 in the unit 1, outputs Mt, and the predetermined p is controlled by the control unit B. The processed information is sent to the output PIFO 5, sequentially written in a predetermined number of units to the graphic processing units 21 to 2n under the control of the control unit 6, and the output information is output from the output control unit 3 connected in parallel. is taken out.

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

上記構成において、データをパケットとして処理し転送
する出力用FIFOの機能をもたせる場合、従来シフト
レジスタを用いると精々64ワード程度しかとれない。
In the above configuration, if a conventional shift register is used to provide an output FIFO function for processing and transferring data as a packet, only about 64 words can be stored at most.

さらに、このFIFOは前のパケットが終了してから次
のパケットが開始される。すなわち、前のパケットが満
杯(フル)を示すフラッグで転送が行なわれ、空(エン
プティ)を示すフラッグが検出された後、次のパケット
が転送されることとなるため、転送時間が長くかかった
Furthermore, this FIFO starts the next packet after the previous packet ends. In other words, the previous packet was transferred with a flag indicating full, and the next packet was transferred after the flag indicating empty was detected, so the transfer took a long time. .

本発明者は、このFIFOに2ボー)RAMを用いるこ
とによシ、容量を512/1024ワ一ド程度に増大で
きる外、別の目的に設けられた容量の半分を示すハーフ
フラッグを利用して、この検出により後述する連続処理
を可能とすることに着目したものである。
The inventor of the present invention found that by using a 2-baud RAM for this FIFO, the capacity can be increased to approximately 512/1024 words, and also that a half flag indicating half of the capacity, which is provided for another purpose, can be used. The present invention focuses on the fact that this detection enables continuous processing, which will be described later.

本発明の目的は、パケットデイスノ(ツチャにおけるパ
ケットの処理と転送時間を高速化したデータ通信方式を
提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data communication system that speeds up packet processing and transfer time in packet dispatch.

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

前記目的を達成するため、本発明においては、図形等の
処理命令とデータより成る入力情報を所定量のパケット
として出力するパケットディスパッチャを有するデータ
通信方式において、該パケットディスパッチャに、メモ
リ容量が空か満杯かを示すフラグを有し、入力情報を読
取シ所定の処理を行なう入力用FIFOと、前記両フラ
グの外心量の半分を示すハーフフラグを有し、前記処理
された入力情報を所定の処理ユニットに転送する出力用
FIFOとを具え、前記入力用FIFOが空でないこと
を検出し、該FIFOから入力情報を読出し所定の処理
をした後出力FIFOに送り、ハーフフラグを検出確認
したら、出力FIFOの満杯をオーバしない範囲で連続
して処理ユニットに転送するようにしたものである。
In order to achieve the above object, the present invention provides a data communication method having a packet dispatcher that outputs input information consisting of processing instructions and data such as graphics as a predetermined amount of packets. It has an input FIFO that has a flag indicating whether it is full and that reads input information and performs a predetermined process, and a half flag that indicates half of the eccentricity of both flags, and reads the input information and performs a predetermined process. It detects that the input FIFO is not empty, reads the input information from the FIFO, performs predetermined processing, and sends it to the output FIFO, and when a half flag is detected and confirmed, output Data is continuously transferred to the processing unit within a range that does not exceed the FIFO's full capacity.

〔作 用〕[For production]

第1図の原理説明図に示すように、第4図の従来技術の
場合と異なる点は、出力用FIFO12がシフトレジス
タの代シに、ハーフフラグ(HF)を設けた2ボー)R
AMを用いたことである。あるパケットに対し、入力用
FIFO11で空(EF)でないことを検出してから、
出力用FIFO12から半分中いたことをハーフフラグ
(HF)で検出することにより、次のパケットに対し連
続処理が可能となる。
As shown in the principle explanatory diagram of FIG. 1, the difference from the conventional technology shown in FIG. 4 is that the output FIFO 12 is a 2-baud R
This is because AM was used. After detecting that the input FIFO 11 is not empty (EF) for a certain packet,
By detecting with a half flag (HF) that the output FIFO 12 is halfway full, it becomes possible to continuously process the next packet.

前述のように、2ボー)RAMのFIFOの場合、51
2ワードの半分でも256ワードが用いられレジスタの
FIFOO数倍の容量がとれる外、命令とデータが1つ
のFIFOに収納される場合には後述の流れ図に示すよ
うにデータの手順はレジスタのFIFOよシ簡略化され
る利点もある。
As mentioned above, in the case of 2 baud) RAM FIFO, 51
Even half of 2 words uses 256 words, and the capacity is several times the register FIFO.When instructions and data are stored in one FIFO, the data procedure is similar to that of the register FIFO, as shown in the flowchart below. It also has the advantage of being simplified.

〔実 施 例〕〔Example〕

第2図は本発明の実施例の構成説明図である。 FIG. 2 is an explanatory diagram of the configuration of an embodiment of the present invention.

同図において、図形等の処理命令とデータより成る入力
情報をパケットディスパッチャ10内の入力用FIFO
11に入れ、読取シ所定の処理を行なう。そして処理さ
れた情報を第1図で説明した出力用FIFO12に送シ
゛、ハーフフラッグ(HF)検出によシパケット処理と
転送を連続して行なう。
In the figure, input information consisting of processing instructions and data such as graphics is input to the input FIFO in the packet dispatcher 10.
11 and performs predetermined reading processing. The processed information is then sent to the output FIFO 12 described in FIG. 1, and packet processing and transfer are continuously performed by half flag (HF) detection.

この連続動作を円滑に行なうため、出力用FIFO12
の出力を並列供給する図形処理ユニット21*21e・
・・、2%に対し、制御部6よシ格納すべき入力データ
数単位分を示す入力ステータスレジスタ(■5R)13
1* 1321・・・、13%を設ける。
In order to perform this continuous operation smoothly, the output FIFO12
Graphic processing unit 21 * 21e that supplies the output of
..., an input status register (■5R) 13 indicating the number of units of input data to be stored by the control unit 6 for 2%.
1* 1321..., 13% is provided.

いま、図形処理ユニットへの入力データ数を一定とし、
入力された順に図形処理ユニット21〜2nに送る。こ
のため、出力用FIFO12に一旦蓄積して転送される
。この場合、制御部6は図形処理ユニット2への入力デ
ータ数単位分が出力用FIFO12に用意できると、該
当するl5R12に入力データ数を書込む。図形処理ユ
ニット2はISRを読み、レディ状態であれば、出力用
FIFOからデータ数だけ入力し、入力が完了したら図
形処理ユニット2はそのISRをリセットする。
Now, assuming that the number of input data to the graphic processing unit is constant,
The data are sent to the graphic processing units 21 to 2n in the order in which they are input. Therefore, the data is temporarily stored in the output FIFO 12 and transferred. In this case, when the control section 6 has prepared the number of input data units to the graphic processing unit 2 in the output FIFO 12, it writes the number of input data into the corresponding l5R12. The graphic processing unit 2 reads the ISR, and if it is in a ready state, inputs the same number of data from the output FIFO, and when the input is completed, the graphic processing unit 2 resets the ISR.

このようにして順次パケットデータを詰め込んでいく。In this way, packet data is sequentially packed.

本発明の要部は、この図形処理ユニット2への転送デー
タを用意するための出力用FIFO12である。すなわ
ち、パケットデータの処理と転送を連続的とするため、
ハーフフラッグを有する2ボー)RAMを用い、メモリ
容重の半分が空になった持久のパケットがくるようにし
たものである。
The main part of the present invention is the output FIFO 12 for preparing data to be transferred to the graphic processing unit 2. In other words, in order to continuously process and transfer packet data,
A 2-baud RAM with a half flag is used, and a durable packet is sent when half of the memory capacity is empty.

第6図は本発明の要部である出力用FIFOの動作を示
す流れ図である。
FIG. 6 is a flowchart showing the operation of the output FIFO, which is the essential part of the present invention.

同図において、出力用FIFO12のエンプティフラッ
グ(EF)−eリードし、空でないことを確認した時、
入力用FIFO11からの命令をリードし、命令解釈、
処理を行なう。次いで出力用FIFO12の八−7フラ
ツグ(HF)をリードし、半分以上が空であることを確
認した後、出力用FIFO12に命令をライトする。以
上は図形等の処理命令であるから、以下順に関連する複
数データのリード、ライトの手順を連続して行ない転送
する。この場合、側方に手順のサイクル数で示すように
、ハーフフラグ(HP)の読出し手順は省゛くことがで
きるから、第4図の従来技術におけるシフトレジスタを
用い ・た場合に比し手順の節約力)可能となる。。
In the same figure, when reading the empty flag (EF)-e of the output FIFO 12 and confirming that it is not empty,
Reads commands from input FIFO 11, interprets commands,
Process. Next, the 8-7 flag (HF) of the output FIFO 12 is read, and after confirming that more than half of it is empty, an instruction is written to the output FIFO 12. Since the above instructions are processing instructions for graphics, etc., the read and write procedures for a plurality of related data are sequentially performed and transferred in the following order. In this case, as shown by the number of cycles in the procedure on the side, the half flag (HP) reading procedure can be omitted, so the procedure is shorter than in the case of using the shift register in the prior art shown in Fig. 4. saving power) becomes possible. .

=二°、5゜、2ELHK 1*t4.2,7゜トデイ
スパツテヤ内の出力FIFOにハーフ7ングを設けた2
ボ一トRAMを用いることによシ、パンットの処理と転
送を高速化することができるとともに、手順を簡略化す
ること゛が可能となる。
= 2°, 5°, 2ELHK 1*t4. 2, 7° with a half 7 ring provided in the output FIFO in the dispattier
By using the punt RAM, it is possible to speed up punt processing and transfer, and to simplify the procedure.

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

第1図は本発明の原理説明図、第2図は本発明の実施例
の構成説明図、第3図は実施例要部の動作を示す流れ図
、第4図は従来技術の説明図でおシ、図中、21〜2n
は図形処理ユニット、3は出力制御部、6は制御部、1
0はパケットディスパッチャ、11は入力用FIFO1
12は出力用FIF0゜15、〜13sは入力ステータ
スレジスタCl5R)を示す。
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an explanatory diagram of the configuration of an embodiment of the invention, Fig. 3 is a flowchart showing the operation of the main parts of the embodiment, and Fig. 4 is an explanatory diagram of the prior art. C, in the figure, 21-2n
is a graphic processing unit, 3 is an output control section, 6 is a control section, 1
0 is the packet dispatcher, 11 is the input FIFO 1
12 indicates an output FIF0°15, and 13s indicates an input status register Cl5R).

Claims (1)

【特許請求の範囲】 図形等の処理命令とデータより成る入力情報を所定量の
パケットとして出力するパケツトデイスパツチヤを有す
るデータ通信方式において、該パケツトデイスパツチヤ
に、メモリ容量が空か満杯かを示すフラグを有し、入力
情報を読取り所定の処理を行なう入力用FIFOと、 前記両フラグの外容量の半分を示すハーフフラグを有し
、前記処理された入力情報を所定の処理ユニツトに転送
する出力用FIFOとを具え、前記入力用FIFOが空
でないことを検出し、該FIFOから入力情報を読出し
所定の処理をした後出力FIFOに送り、ハーフフラグ
を検出確認したら、出力FIFOの満杯をオーバしない
範囲で連続して処理ユニットに転送するようにしたこと
を特徴とするデータ通信方式。
[Claims] In a data communication system having a packet dispatcher that outputs input information consisting of processing instructions and data such as graphics as a predetermined amount of packets, the packet dispatcher has a memory capacity that is empty or full. an input FIFO that reads input information and performs predetermined processing; and a half flag that indicates half of the external capacity of both flags, and transfers the processed input information to a predetermined processing unit. It detects that the input FIFO is not empty, reads input information from the FIFO, performs predetermined processing, and sends it to the output FIFO, and when a half flag is detected and confirmed, the output FIFO is determined to be full. A data communication method characterized in that data is continuously transferred to a processing unit within a range that does not exceed the limit.
JP63052230A 1988-03-05 1988-03-05 Data communication system Pending JPH01226250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63052230A JPH01226250A (en) 1988-03-05 1988-03-05 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63052230A JPH01226250A (en) 1988-03-05 1988-03-05 Data communication system

Publications (1)

Publication Number Publication Date
JPH01226250A true JPH01226250A (en) 1989-09-08

Family

ID=12908932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63052230A Pending JPH01226250A (en) 1988-03-05 1988-03-05 Data communication system

Country Status (1)

Country Link
JP (1) JPH01226250A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04145744A (en) * 1990-10-08 1992-05-19 Toshiba Corp Cell switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04145744A (en) * 1990-10-08 1992-05-19 Toshiba Corp Cell switch

Similar Documents

Publication Publication Date Title
US5301351A (en) Data transfer control system between high speed main memory and input/output processor with a data mover
JP2829091B2 (en) Data processing system
CN100407185C (en) Host apparatus, apparatus unit, communication system and method for data transmitting/receiving
JP2962787B2 (en) Communication control method
JPH01226250A (en) Data communication system
JPH06282515A (en) Data processor
JPS61224063A (en) Data transfer controller
JP2000285087A (en) Method for data communication between nodes
JPH01175056A (en) Program transfer system
JPS63147247A (en) Converting device for data format
JP2581144B2 (en) Bus control device
JPS61150055A (en) Dma data transfer system
JPH01213741A (en) Multiprocessor system
JPS61260743A (en) Communication control equipment
JPH02197961A (en) Information processor
JPH1153291A (en) Fast data transfer system
JPH04205873A (en) Fifo memory device
JPH11237972A (en) Functional memory, data processor utilizing the same and medium for recording compiler of the same processor
JPS6223342B2 (en)
JPH0310354A (en) Data transfer control system
JPH0380359A (en) Inter-processor communication system
JPH0381854A (en) Memory access system
JPS60252975A (en) Information processing system
JPH02301851A (en) System bus accessing system
JPH01304568A (en) Data read system for process output device