JPH05216847A - Information processor - Google Patents

Information processor

Info

Publication number
JPH05216847A
JPH05216847A JP2138292A JP2138292A JPH05216847A JP H05216847 A JPH05216847 A JP H05216847A JP 2138292 A JP2138292 A JP 2138292A JP 2138292 A JP2138292 A JP 2138292A JP H05216847 A JPH05216847 A JP H05216847A
Authority
JP
Japan
Prior art keywords
data
processed
processing
register
input
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
JP2138292A
Other languages
Japanese (ja)
Inventor
Tetsukazu Takemura
村 哲 一 竹
Nobuitsu Takeuchi
内 伸 逸 竹
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2138292A priority Critical patent/JPH05216847A/en
Publication of JPH05216847A publication Critical patent/JPH05216847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the throughput of a CPU by constituting the processor so that a write processing to an internal register by the CPU itself is made unnecessary, and also, the CPU can immediately send out data related to a different mode after sending-out of data related to one mode is finished. CONSTITUTION:A data working circuit 201 is provided with internal registers 2021...202m, executes working of data to be worked in accordance with their data, and sends out the processed data to a data line 205. Its data to be processed is written in an input register 206 by an input control circuit 216. With respect to the data in this input register 206, a control circuit 212 executes a data setting processing to the internal register, a working processing of the data to be worked, and pass-through of passing data conforming to a state of a C/*D field and mode information by cooperation with the data working circuit 201, a selector 210 and an output control circuit 221.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理パイプラインの
各ステージを成す情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device forming each stage of an information processing pipeline.

【0002】[0002]

【従来の技術】各種データの加工手段を備えた従来の情
報処理システムにおいて、その加工処理を行うにあたっ
ては、一般に、CPUがその加工処理に必要なファンク
ション、パラメータ等の制御データや被加工データを加
工手段に供給し、その後、その加工手段が、設定された
制御データにより決定される態様の演算処理を実行する
ことで被加工データを所定の形態に加工するようになっ
ている。
2. Description of the Related Art In a conventional information processing system having various data processing means, when performing the processing, the CPU generally provides control data such as functions and parameters necessary for the processing and processed data. The processed data is supplied to the processing means, and thereafter, the processing means processes the data to be processed into a predetermined form by executing arithmetic processing in a mode determined by the set control data.

【0003】図5はこの種の情報処理システムの一例を
示すもので、この図に示すものは従来のパイプライン構
成のデータ加工処理系を有している。
FIG. 5 shows an example of this type of information processing system. The system shown in this figure has a conventional pipeline data processing system.

【0004】この図において、501はCPU、502
はアドレスバス、503はデータバス、504は制御バ
スである。
In this figure, 501 is a CPU, 502
Is an address bus, 503 is a data bus, and 504 is a control bus.

【0005】これらのバス502〜504に複数のパイ
プラインステージ5051,5052,…が接続されて
いる。5061,5062,…はアドレスバス502か
ら各ステージ5051,5052,…へのアドレス線、
5071,5072,…はデータバス503から各ステ
ージ5051,5052,…へのデータ線、5081,
5082,…は制御バス504から各ステージ505
1,5052,…への制御線である。バス502〜50
4には更に入力インターフェース(以下、入力I/Fと
いう。)509が接続されており、510はアドレスバ
ス502からのアドレス線、511はデータバス503
からのアドレス線、512は制御バス504からの制御
線である。
A plurality of pipeline stages 5051, 5052, ... Are connected to these buses 502-504. 5061, 5062, ... Address lines from the address bus 502 to the respective stages 5051, 5052 ,.
5071, 5072, ... Are data lines from the data bus 503 to the respective stages 5051, 5052 ,.
5082, ... From the control bus 504 to each stage 505
Control lines to 1,5052, .... Bus 502-50
4, an input interface (hereinafter referred to as an input I / F) 509 is connected, 510 is an address line from the address bus 502, and 511 is a data bus 503.
From the control bus 504.

【0006】この入力I/F509及び複数のステージ
5051,5052,…はパイプライン接続されてお
り、513は入力I/F509と最前ステージ5051
とを結ぶデータ線、514は同じく制御線、5151,
5152,…はステージ5051,5052,…の相隣
のもの同士を結ぶデータ線、5161,5162,…は
同じく制御線である。
The input I / F 509 and the plurality of stages 5051, 5052, ... Are pipeline-connected, and 513 is the input I / F 509 and the frontmost stage 5051.
A data line 514 connecting to and is also a control line 5151,
Reference numerals 5152, ... Are data lines 5161, 5162, ... Connecting the adjacent stages 5051, 5052 ,.

【0007】図6はステージ5051の内部構成を示す
もので、その他のステージ5052,5053,…も同
様の構成を有する。
FIG. 6 shows the internal structure of the stage 5051, and the other stages 5052, 5053, ... Have the same structure.

【0008】この図において、データ加工回路601は
複数の内部レジスタ6021,…,602m(ただし、
mは1以上の整数で、その台数に相当する。)を有して
いる。これらの内部レジスタ6021,…,602mに
は被加工データの加工処理に必要とする制御データがデ
ータ線5061を通じて書込まれるようになっており、
データ加工回路601は、この内部レジスタ6021,
…,602mに格納された制御データに従って被加工デ
ータの加工処理を行うこととなる。
In this figure, the data processing circuit 601 includes a plurality of internal registers 6021, ..., 602m (however,
m is an integer greater than or equal to 1 and corresponds to the number. )have. Control data necessary for processing the data to be processed are written in these internal registers 6021, ..., 602m through a data line 5061.
The data processing circuit 601 uses the internal register 6021,
The processing of the processed data is performed according to the control data stored in 602m.

【0009】デコーダ603は、制御線5081の制御
信号が書込みコマンドを示し、かつアドレス信号のステ
ージアドレスが自己ステージのアドレスを指示している
とき、同アドレス信号のレジスタアドレスに該当する内
部レジスタ6021(/…/602m)の書込み制御線
6041(/…/604m)に書込み信号を発行し、デ
ータ線5061のデータが、該当する内部レジスタ60
21(/…/602m)に書込まれるようにする。
When the control signal on the control line 5081 indicates a write command and the stage address of the address signal indicates the address of the self stage, the decoder 603 corresponds to the internal address of the register address of the address signal 6021 ( A write signal is issued to the write control line 6041 (/.../602m) (/.../604m), and the data on the data line 5061 is converted to the corresponding internal register 60.
21 (/.../602m)

【0010】ここで、入力I/F509は制御線512
が書込み命令を示し、かつアドレス線510が自己のア
ドレスを示しているとき、データ線511のデータを最
前のステージ5051に送り付けるよう、まずREADY 信
号を発生し、WAIT信号が上がらないこと或いは下がるの
を待って、内部レジスタに保持しておいたデータをデー
タ線513に送出する。
Here, the input I / F 509 is a control line 512.
Indicates a write command and the address line 510 indicates its own address, the READY signal is first generated and the WAIT signal does not rise or falls so as to send the data on the data line 511 to the front stage 5051. Waiting for, the data held in the internal register is sent to the data line 513.

【0011】入力レジスタ605には、そのデータ線5
13のデータがセットされるようになっており、この入
力レジスタ605にセットされたデータが被加工データ
としてデータ加工回路601に与えられるようになって
いる。出力レジスタ606にはデータ加工回路601の
出力データがセットされる。この出力レジスタ606の
データは次段へのデータ線5151に送出される。
The input register 605 has its data line 5
Data of 13 is set, and the data set in the input register 605 is supplied to the data processing circuit 601 as data to be processed. The output data of the data processing circuit 601 is set in the output register 606. The data of the output register 606 is sent to the data line 5151 to the next stage.

【0012】607は入力制御回路、608は入力I/
F509と入力制御回路607とを結ぶREADY 制御線、
609は同じくWAIT制御線であって、両信号線608,
609は上記制御線514を構成するものである。61
0は入力制御回路607とデータ加工回路601とを結
ぶREADY 制御線、611は同じくWAIT制御線である。入
力制御回路607は、入力I/F509からのREADY 制
御線608にREADY 信号が上がると、データ加工回路6
01へのREADY 制御線610にREADY 信号を上げること
によりそのステータスを確認する。この時、データ加工
回路601からのWAIT制御線611にWAIT信号が上がっ
た場合、未だ、データ加工回路601が入力レジスタ6
05のデータについて使用状態にあるので、入力制御回
路607はWAIT制御線609にWAIT信号を上げるととも
に、その後もデータ加工回路601のWAIT制御線611
を監視し、そのWAIT信号が下がり、データ加工回路60
1が入力レジスタ605のデータについて処理を終了し
たことが確認されると、WAIT制御線609上のWAIT信号
を下げ、入力レジスタ605への書込み制御線610を
アクティブにする。その結果、データ線513上のデー
タにより入力レジスタ605の内容が更新される。
Reference numeral 607 is an input control circuit, and 608 is an input I /
READY control line connecting F509 and input control circuit 607,
Similarly, 609 is a WAIT control line, and both signal lines 608,
Reference numeral 609 constitutes the control line 514. 61
Reference numeral 0 is a READY control line connecting the input control circuit 607 and the data processing circuit 601, and reference numeral 611 is a WAIT control line. When the READY signal goes up to the READY control line 608 from the input I / F 509, the input control circuit 607 receives the data processing circuit 6
The status is confirmed by raising the READY signal to the READY control line 610 to 01. At this time, if the WAIT signal goes up to the WAIT control line 611 from the data processing circuit 601, the data processing circuit 601 still has the input register 6
Since the data of No. 05 is in use, the input control circuit 607 raises the WAIT signal to the WAIT control line 609, and thereafter, the WAIT control line 611 of the data processing circuit 601 is also used.
Is monitored, the WAIT signal goes down, and the data processing circuit 60
When it is confirmed that 1 has finished processing the data of the input register 605, the WAIT signal on the WAIT control line 609 is lowered and the write control line 610 to the input register 605 is activated. As a result, the contents of the input register 605 are updated with the data on the data line 513.

【0013】613は出力制御回路、614はデータ加
工回路601と出力制御回路613とを結ぶREADY 制御
線、615は同じくWAIT制御線、616は出力制御回路
613と次段パイプラインステージ5052とを結ぶRE
ADY 制御線、617は同じくWAIT制御線である。信号線
616,617は上記制御線5161を構成するもので
ある。データ加工回路601は被加工データについて所
定の加工処理を終了すると、READY 制御線614にREAD
Y 信号を上げる。出力制御回路613は、このREADY 信
号を受けた時、次ステージ5052の入力制御回路へ向
けREADY 制御線616にREADY 信号を上げる。その後、
WAIT制御線617にWAIT信号が上がると、出力制御回路
613はWAIT制御線615にWAIT信号を上げる。WAIT制
御線617にWAIT信号が上がらないとき或いは下がった
ときには、出力制御回路613はWAIT信号線615にWA
IT信号を上げない或いは下げる。すると、データ加工回
路601は被加工データを出力し、出力制御回路613
は書込み制御線618をアクティブにする。その結果、
データ加工回路601からの被加工データにより出力レ
ジスタ606の内容が更新される。
613 is an output control circuit, 614 is a READY control line connecting the data processing circuit 601 and the output control circuit 613, 615 is also a WAIT control line, and 616 is connecting the output control circuit 613 and the next pipeline stage 5052. RE
ADY control line 617 is also a WAIT control line. The signal lines 616 and 617 make up the control line 5161. When the data processing circuit 601 completes the predetermined processing for the processed data, the READY control line 614 reads the data.
Increase Y signal. Upon receiving this READY signal, the output control circuit 613 raises the READY signal to the READY control line 616 toward the input control circuit of the next stage 5052. afterwards,
When the WAIT signal rises to the WAIT control line 617, the output control circuit 613 raises the WAIT signal to the WAIT control line 615. When the WAIT signal does not rise or falls on the WAIT control line 617, the output control circuit 613 outputs WA to the WAIT signal line 615.
Do not raise or lower the IT signal. Then, the data processing circuit 601 outputs the data to be processed, and the output control circuit 613.
Activates the write control line 618. as a result,
The contents of the output register 606 are updated by the processed data from the data processing circuit 601.

【0014】次に、以上のように構成されたシステムの
動作について説明する。
Next, the operation of the system configured as above will be described.

【0015】あるデータについて加工の必要性が生じた
場合、CPU501は、各ステージ5051,505
2,5053,…においてその加工処理に必要な制御デ
ータを各内部レジスタに設定するために、各ステージ5
051,5052,5053,…一つ一つについて順次
設定を行う。
When it becomes necessary to process certain data, the CPU 501 controls the stages 5051 and 505.
2, 5053, ... In order to set the control data necessary for the processing in each internal register, each stage 5
051, 5052, 5053, ... Sequentially set for each one.

【0016】ここで例えば、ステージ5051の内部レ
ジスタ6021,…,602mの設定をその順に行うこ
とを考える。
Consider, for example, that the internal registers 6021, ..., 602m of the stage 5051 are set in that order.

【0017】この場合、CPU501はアドレスバス5
02にステージ5051のアドレスと内部レジスタ60
21のアドレスとを示すアドレス信号を出力し、かつデ
ータバス503に内部レジスタ6021へ設定すべき制
御データ信号を出力し、しかも制御バス504に書込み
命令を出力する。これにより、前述したごとくデコーダ
603が内部レジスタ6021へその制御データを書込
むこととなる。このようにして、順次、内部レジスタ6
022,…,602mの設定を行うこととなる。
In this case, the CPU 501 uses the address bus 5
02 the address of the stage 5051 and the internal register 60
21 and the control data signal to be set in the internal register 6021 are output to the data bus 503, and a write command is output to the control bus 504. As a result, the decoder 603 writes the control data into the internal register 6021 as described above. In this way, the internal register 6
022, ..., 602 m will be set.

【0018】そして、ステージ5051についての設定
を終わると、次のステージ5052についての設定を同
様に行う。
When the setting of the stage 5051 is completed, the setting of the next stage 5052 is performed similarly.

【0019】以上を、被加工データの加工処理に必要な
ステージについて順次行うことにより、CPU501
は、必要な全てのステージについての制御データ設定を
終了すると、アドレスバス502上に入力I/F509
のアドレス信号を出力し、被加工データをデータバス5
03に出力し、制御バス504に書込み命令を送出する
ことにより、被加工データの送出処理を実行する。
By sequentially performing the above for the stages required for the processing of the processed data, the CPU 501
After setting the control data for all the necessary stages, the input I / F 509 is placed on the address bus 502.
Output the address signal of and process data to the data bus 5
03, and a write command is sent to the control bus 504 to execute the processing of sending the processed data.

【0020】すると、被加工データが、入力I/F50
9に取込まれる。すると、CPU501は、同じファン
クション、パラメータで加工されるべき別のデータがあ
る場合、入力I/F509が受入れ可能な状態になるま
で待機する。
Then, the data to be processed is converted into the input I / F 50.
Taken in 9. Then, when there is another data to be processed with the same function and parameter, the CPU 501 waits until the input I / F 509 becomes a state in which it can be accepted.

【0021】一方、最初の被加工データは入力I/F5
09から最前のステージ5051に送出される。このと
き、前述したように入力制御回路607と入力I/F5
09の出力制御回路とのやり取りで、被加工データはス
テージ5051に取込まれる。最初の被加工データがス
テージ5051に取込まれると、入力I/F509の入
力制御回路からの通知により、CPU501は次の被加
工データを送出する。
On the other hand, the first processed data is the input I / F5.
09 to the front stage 5051. At this time, as described above, the input control circuit 607 and the input I / F 5
The data to be processed is taken into the stage 5051 by the exchange with the output control circuit of 09. When the first processed data is fetched by the stage 5051, the CPU 501 sends the next processed data according to the notification from the input control circuit of the input I / F 509.

【0022】このように、同じ制御データで加工される
べき被加工データの送出を全て終了すると、その送出済
みの被加工データが最後のステージから無くなるのを待
って、別の態様での加工処理に必要な制御データの設定
を前述と同様に行う。
As described above, when the transmission of the processed data to be processed with the same control data is completed, the processed data in another mode is waited for until the transmitted processed data is lost from the last stage. The necessary control data settings are made in the same manner as described above.

【0023】以上のサイクルを繰返すことにより、CP
U501は順次、被加工データの各種加工処理を実行し
て行くこととなる。
By repeating the above cycle, CP
U501 sequentially executes various processing of the processed data.

【0024】しかしながら、以上のような情報処理シス
テムにあっては、CPU501は、同じ制御データで加
工されるべき被加工データの送出を全て終了した後に、
別の処理態様の対象となる制御データを送出したい場
合、送出済みの被加工データが最後のステージから無く
なるまでの待ち時間が発生するため、その分、CPUの
スループットを低下させるという問題がある。上記構成
のままスループットを上げることを考えると、複数のパ
イプラインを並設し、これらを切替え使用することとな
るが、そのようにすると、回路が大規模になるばかり
か、制御が複雑になるという問題をも生ずる。
However, in the above-described information processing system, the CPU 501 finishes sending all the processed data to be processed with the same control data, and then
When it is desired to send the control data that is the target of another processing mode, a waiting time until the processed data that has been sent is lost from the last stage occurs, so that there is a problem that the throughput of the CPU is reduced accordingly. Considering increasing the throughput with the above configuration, a plurality of pipelines are installed side by side and these are switched and used. However, if this is done, not only the circuit becomes large-scale, but also the control becomes complicated. The problem arises.

【0025】また、スループットの問題は以上のような
情報処理パイプラインだけに限られず、具体的には、高
速ページプリンタの文字データ処理システムにおいても
問題視されている。
Further, the problem of throughput is not limited to the above information processing pipeline, and more specifically, it is regarded as a problem in the character data processing system of the high speed page printer.

【0026】図7はその従来の文字データ処理システム
の一例を示すものである。
FIG. 7 shows an example of the conventional character data processing system.

【0027】この図において、701は当該システムの
CPUに相当するMPU、702は一種のデータ加工回
路となるスケールコンバータ、703はその他のイメー
ジ伸長処理等を行うデータ加工回路、704はメモリ、
705はアドレスバス、706はデータバス、707は
メモリアドレス線、708はデータ線である。
In the figure, 701 is an MPU corresponding to the CPU of the system, 702 is a scale converter which is a kind of data processing circuit, 703 is a data processing circuit for performing other image expansion processing, 704 is a memory,
Reference numeral 705 is an address bus, 706 is a data bus, 707 is a memory address line, and 708 is a data line.

【0028】例えば文字データの印刷制御を行う場合、
MPU701は入力文字データについて加工が必要なと
き、順次その加工処理に必要な制御データや文字データ
を所定の加工回路へ伝送する。例えば、文字の拡大/縮
小を行う場合、MPU701はその倍率等の制御データ
をスケールコンバータ702へ設定し、次いで、対象と
なる被加工文字データを同スケールコンバータ702へ
送ることとなる。これによりスケールコンバータ702
において拡大/縮小の処理が行われ、その後のデータが
メモリ704に書込まれる。そして、このメモリ704
から入力I/Fを介して頁メモリに展開される。
For example, when performing print control of character data,
When the input character data needs to be processed, the MPU 701 sequentially transmits control data and character data necessary for the processing to a predetermined processing circuit. For example, when enlarging / reducing a character, the MPU 701 sets control data such as the magnification to the scale converter 702, and then sends the target character data to be processed to the same scale converter 702. This allows the scale converter 702
The enlargement / reduction processing is performed in and the subsequent data is written in the memory 704. And this memory 704
To the page memory via the input I / F.

【0029】MPU701は、更に別の被加工データが
存在するならば、順次、該当するデータ加工回路の内部
レジスタ設定及び被加工データの供給を行い、頁メモリ
へ文字を展開させて行く。
If there is still another processed data, the MPU 701 sequentially sets the internal register of the corresponding data processing circuit and supplies the processed data, and expands the characters in the page memory.

【0030】このように、MPU701は1データ毎に
関与しており、負担が非常に重く、回路全体としてのス
ループットをやはり低下させ、プリントアウトのスピー
ドアップにとって一つのネックとなっている。
As described above, since the MPU 701 is involved in each data, the load is very heavy, the throughput of the entire circuit is also lowered, and it is one of the obstacles to speeding up the printout.

【0031】[0031]

【発明が解決しようとする課題】以上のように従来のデ
ータ加工情報処理システムにあっては、CPUの負担が
非常に重く、処理が非効率であり、これがCPUのスル
ープット低下をまねいている。
As described above, in the conventional data processing information processing system, the load on the CPU is very heavy and the processing is inefficient, which causes a decrease in the throughput of the CPU.

【0032】本発明は、上記従来技術の有する問題点に
鑑みてなされたもので、その目的とするところは、CP
Uの負担軽減及び実行能率の向上を図り、全体としてス
ループット向上に大きく寄与する情報処理装置を提供す
ることにある。
The present invention has been made in view of the problems of the above-mentioned prior art.
An object of the present invention is to provide an information processing apparatus that reduces the burden on U and improves the execution efficiency, and greatly contributes to the improvement in throughput as a whole.

【0033】[0033]

【課題を解決するための手段】この目的達成のため、本
発明の情報処理パイプラインの各ステージを構成する情
報処理装置は、内部レジスタに書込まれた制御データに
より決定される態様で被加工データの加工処理を行うデ
ータ加工手段と、その加工済データを次段へ転送する加
工済データ転送手段と、通過データを次段へ転送する通
過データ転送手段と、入力データにおける識別フィール
ドとモード情報とに従って、上記入力データにおける処
理対象データ部のデータを上記内部レジスタに設定する
処理、上記入力データを上記被加工データとして上記デ
ータ加工手段に与える処理、及び上記入力データを上記
データ転送手段へ送出する処理を実行する制御手段とを
備えていることを特徴としている。
In order to achieve this object, an information processing apparatus forming each stage of the information processing pipeline of the present invention is processed in a manner determined by control data written in an internal register. Data processing means for processing data, processed data transfer means for transferring the processed data to the next stage, passing data transfer means for transferring the pass data to the next stage, identification field and mode information in the input data According to the above, processing for setting the data of the data portion to be processed in the input data in the internal register, processing for giving the input data as the processed data to the data processing means, and sending the input data to the data transfer means. And a control means for executing the processing.

【0034】[0034]

【作用】本発明によれば、入力データの識別フィールド
及びモード情報に応じて、入力データの被処理データ部
を制御データあるいは被加工データとして取扱い、しか
も自己に無関係のデータはパス・スルーデータとして後
段へ転送するようになっていることから、CPUは処理
対象データに上記識別用データを付加してパイプライン
へ流し込めば、あとは、該当するステージにより自ずか
ら処理されることとなる。よって、CPUはパイプライ
ンの入り口でデータが受付けられればそれで処理が済ん
でしまうこととなり、CPU自身による各ステージの内
部レジスタへの制御データ書込み処理が不要となって、
CPUの負担が軽減されることとなる。
According to the present invention, the processed data portion of the input data is treated as control data or processed data according to the identification field of the input data and the mode information, and data unrelated to itself is treated as pass-through data. Since the data is transferred to the subsequent stage, if the CPU adds the above-mentioned identification data to the data to be processed and flows it into the pipeline, it will be automatically processed by the corresponding stage. Therefore, if the CPU receives the data at the entrance of the pipeline, the processing is completed, and the CPU does not need to write the control data to the internal register of each stage.
The load on the CPU is reduced.

【0035】また、特筆すべきことに、CPUからパイ
プラインへのデータは、このパイプライン内を、CPU
から送出された順番に前段から後段へ流されて行くこと
となるため、一つの態様のデータ加工処理に関するデー
タ入力の直後に別の態様に関するデータが入力されて
も、その前の態様に関するデータ処理が済んだ後のステ
ージにその別態様のデータが供給されることとなるた
め、CPUは、一つの態様のデータ加工処理に関するデ
ータの送出を終了すると、直ちに別態様のデータ加工処
理に関するデータの送出を行うことができ、前述したよ
うな処理待ち時間がなく、CPUのスループットが大き
く向上することとなる。
It should be noted that the data from the CPU to the pipeline is stored in the pipeline in the CPU.
Even if data regarding another mode is input immediately after data input regarding data processing for one mode is input, the data processing for the previous mode is performed. Since the data of the different mode is supplied to the stage after the completion of the process, the CPU immediately transmits the data of the different mode of the data processing after finishing the transmission of the data of the one mode of the data processing. Therefore, there is no processing waiting time as described above, and the throughput of the CPU is greatly improved.

【0036】[0036]

【実施例】以下に本発明の実施例について図面を参照し
つつ説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0037】図1は本発明の一実施例に係る情報処理シ
ステムの構成を示すものである。
FIG. 1 shows the configuration of an information processing system according to an embodiment of the present invention.

【0038】この図において、101はCPU、102
はアドレスバス、103はデータバス、104は制御バ
スであり、本発明に係るパイプラインはこれらバスライ
ン102〜104を通じてCPU101に接続されてい
る。105はパイプラインの入り口を構成する入力I/
F、1061,1062,…は入力I/F105の後段
に連なるパイプラインステージ、107は入力I/F1
05と第1段目のステージ1061とを結ぶデータ線、
108は同じく制御線、1091,1092,…は相隣
のステージを結ぶデータ線、1101,1102,…は
同じく制御線である。ステージ1061,1062,…
は全て同様の構成を有する。
In this figure, 101 is a CPU and 102
Is an address bus, 103 is a data bus, and 104 is a control bus. The pipeline according to the present invention is connected to the CPU 101 through these bus lines 102 to 104. Reference numeral 105 denotes an input I / which constitutes the entrance of the pipeline.
F, 1061, 1062, ... Are pipeline stages connected to the subsequent stage of the input I / F 105, and 107 is an input I / F1.
Data line connecting 05 and the first stage 1061,
Reference numeral 108 is also a control line, reference numerals 1091, 1092, ... Are data lines connecting adjacent stages, and reference numerals 1101, 1102 ,. Stages 1061, 1062, ...
Have the same configuration.

【0039】CPU101は、当該パイプラインによる
処理を行う場合、アドレスバス102上に入力I/F1
05のアドレスを示すアドレスデータを送出し、かつ制
御バス104上に書込み命令を示す制御データを送出
し、しかもデータバス103に図3に示すような構造の
被処理データを送出する。この被処理データは、図3
(a)に示すように、最初の1ビットにC/*Dフィールド
301が設けられ、その直後にデータフィールド302
が連結されたものである。C/*Dフィールド301は、デ
ータフィールド302の内容が内部レジスタ設定用のデ
ータであるか、または被加工データであるか、を示すも
のである。データフィールド302は、C/*Dフィールド
301が“1”であるときその内容が内部レジスタ設定
用データとされ、図3(e)に示すステージアドレス3
03及びレジスタアドレス304と図3(d)に示すレ
ジスタ設定データ305とを持つものとされる。データ
フィールド302は、C/*Dフィールド301が“0”で
ある場合には、図3(c)に示すようにその全体が被加
工データ306とされる。CPU101は、パイプライ
ン処理を行う場合、まず、パイプライン全体としての処
理に必要なステージの内部レジスタへの制御データ設定
を行うべく、C/*Dフィールド301を“1”にしたデー
タを流し、その終了後、データの加工処理を行うべく、
C/*Dフィールド301を“0”にしたデータを流す。
When the CPU 101 performs the processing by the pipeline, the CPU 101 inputs the input I / F 1 onto the address bus 102.
The address data indicating the address 05 is transmitted, the control data indicating the write command is transmitted to the control bus 104, and the processed data having the structure shown in FIG. 3 is transmitted to the data bus 103. This processed data is shown in FIG.
As shown in (a), a C / * D field 301 is provided in the first 1 bit, and immediately after that, a data field 302 is provided.
Are connected. The C / * D field 301 indicates whether the content of the data field 302 is internal register setting data or processed data. When the C / * D field 301 is "1", the contents of the data field 302 are used as internal register setting data, and the stage address 3 shown in FIG.
03 and the register address 304 and the register setting data 305 shown in FIG. 3D. When the C / * D field 301 is “0”, the entire data field 302 is processed data 306 as shown in FIG. 3C. When performing the pipeline processing, the CPU 101 first sends data in which the C / * D field 301 is set to “1” in order to set the control data in the internal register of the stage necessary for the processing of the entire pipeline. After that, to process the data,
The data with the C / * D field 301 set to "0" is sent.

【0040】入力I/F105は、アドレスバス102
上のアドレスデータが自己のアドレスを示し、かつ制御
バス104上の制御データが書込みコマンドを示してい
るとき、内蔵の入力レジスタが更新可能であるか否か確
認した上で、この内蔵入力レジスタにデータバス103
上の被処理データを格納する。この入力レジスタが更新
可能か否かの判断は、入力レジスタに現在格納されてい
るデータが処理済みか否かを確認することにより行い、
例えば入力レジスタ内のデータが、同じく内蔵の出力レ
ジスタに移されている場合、データは処理済であると判
断する。入力I/F105は、その入力レジスタに対す
るデータバス103上のデータ格納の完了後、CPU1
01にその旨を通知する。CPU101はその通知を受
けるまで現在の出力データを維持し、通知受信後、次の
データ出力を行う。また、入力I/F105は、出力レ
ジスタが更新可能か否か確認した上で、入力レジスタ内
のデータを出力レジスタへ格納する。この出力レジスタ
が更新可能か否かの確認は、出力レジスタのデータが最
前段のステージ1061に送り付けてある場合に更新可
能、そうでない場合に更新不能と判断するようにして行
う。
The input I / F 105 is the address bus 102.
When the upper address data indicates its own address and the control data on the control bus 104 indicates a write command, it is confirmed whether or not the internal input register can be updated, and then the internal input register Data bus 103
Store the above processed data. Whether or not this input register can be updated is determined by checking whether or not the data currently stored in the input register has been processed.
For example, if the data in the input register has been moved to the output register also built in, it is determined that the data has been processed. The input I / F 105 is connected to the CPU 1 after the data storage on the data bus 103 for the input register is completed.
01 is notified to that effect. The CPU 101 maintains the current output data until receiving the notification, and outputs the next data after receiving the notification. Further, the input I / F 105 confirms whether or not the output register can be updated, and then stores the data in the input register in the output register. Whether or not the output register can be updated is confirmed by determining that the data in the output register can be updated if the data in the output register has been sent to the stage 1061 at the frontmost stage, and if not, it cannot be updated.

【0041】さらに、この入力I/F105は、出力レ
ジスタの更新が完了した段階で、制御線108にREADY
信号を出し、ステージ1061にデータの準備ができた
ことを知らせるとともに、データ線107に出力レジス
タのデータを出力する。
Further, the input I / F 105 is READY to the control line 108 when the update of the output register is completed.
A signal is output to notify the stage 1061 that the data is ready, and the data in the output register is output to the data line 107.

【0042】図2はステージ1061の構成を例示する
ものである。
FIG. 2 illustrates the structure of the stage 1061.

【0043】この図において、データ加工回路201は
複数の内部レジスタ2021,…,202m(ただし、
mは1以上の整数で、その台数に相当する。)を有して
いる。これらの内部レジスタ2021,…,202mに
は被加工データの加工処理に必要とする制御データがデ
ータ線203を通じて書込まれるようになっており、デ
ータ加工回路201は、この内部レジスタ2021,
…,202mに書込まれた制御データに従ってデータ線
204からの被加工データの加工処理を行い、処理後の
被加工データはデータ線205へ送出される。
In this figure, the data processing circuit 201 includes a plurality of internal registers 2021, ..., 202m (however,
m is an integer greater than or equal to 1 and corresponds to the number. )have. The data processing circuit 201 writes the control data necessary for processing the data to be processed into the internal registers 2021, ..., 202m through the data line 203.
The processed data from the data line 204 is processed according to the control data written in 202 m, and the processed data after processing is sent to the data line 205.

【0044】入力レジスタ206はデータ線106を通
してCPU101からのデータが書込まれるものであ
る。データ線203にはレジスタ設定データ305のみ
が伝送され、データ線204には被加工データ306の
みが伝送され、その加工済データがデータ線205に伝
送される。また、207はC/*Dフィールド301のみ伝
送されるデータ線、208はステージアドレス303及
びレジスタアドレス304のみ伝送されるデータ線、2
09は全フィールド301,302が伝送される通過デ
ータ線である。
Data from the CPU 101 is written in the input register 206 through the data line 106. Only the register setting data 305 is transmitted to the data line 203, only the processed data 306 is transmitted to the data line 204, and the processed data is transmitted to the data line 205. 207 is a data line for transmitting only the C / * D field 301, 208 is a data line for transmitting only the stage address 303 and the register address 304, 2
Reference numeral 09 is a passing data line through which all fields 301 and 302 are transmitted.

【0045】このデコーダ213は制御線214上の書
込み命令に応答して、上記ステージアドレス303及び
レジスタアドレス304をデータ線208を通して受
け、ステージアドレス303が自己のステージを示して
いるときのみ、内部レジスタ2021,…,202mの
うちのレジスタアドレス304が指定するものに対する
書込み制御線2101(,…,210m)に書込み信号
を発行する。これにより、レジスタ設定データ305が
データ線203を通して当該内部レジスタに書込まれ
る。
The decoder 213 receives the stage address 303 and the register address 304 through the data line 208 in response to the write command on the control line 214, and only when the stage address 303 indicates its own stage, the internal register is registered. A write signal is issued to the write control line 2101 (..., 210m) for the one designated by the register address 304 of 2021 ,. As a result, the register setting data 305 is written in the internal register through the data line 203.

【0046】入力制御回路216は、READY 制御線21
7を通じてREADY 信号を受けると、まず、WAIT制御線2
18にWAIT信号を上げておき、入力レジスタ206が更
新可能であると確認した上で、WAIT信号を下げ、データ
線107上の被処理データを入力レジスタ206に書込
む。
The input control circuit 216 uses the READY control line 21.
When READY signal is received through 7, first, WAIT control line 2
The WAIT signal is raised to 18, and after confirming that the input register 206 can be updated, the WAIT signal is lowered and the processed data on the data line 107 is written in the input register 206.

【0047】この入力レジスタ206が更新可能か否か
の判断は、入力レジスタ206内のデータが処理済であ
るか否かをコントロール回路212に問合わせることに
より行う。データが処理済の場合とは次の〜の3通
りである。 入力レジスタ206内の被処理データが内部レジス
タ設定用のデータであるとき、そのレジスタ設定データ
305の内部レジスタへの設定が完了している場合。 入力レジスタ206内の被処理データがデータ加工
回路において加工処理されるものであるとき、その被加
工データについての加工処理がデータ加工回路201内
において終了し、かつその加工出力データが出力レジス
タ211に設定済である場合。 入力レジスタ206内の被処理データがそのまま出
力レジスタ211に設定済である場合。
Whether or not the input register 206 can be updated is determined by inquiring of the control circuit 212 as to whether or not the data in the input register 206 has been processed. The case where the data has been processed is the following three types. When the processed data in the input register 206 is the data for setting the internal register, and the setting of the register setting data 305 in the internal register is completed. When the processed data in the input register 206 is to be processed in the data processing circuit, the processing for the processed data is completed in the data processing circuit 201, and the processed output data is stored in the output register 211. If already set. The data to be processed in the input register 206 is already set in the output register 211.

【0048】コントロール回路212は、係る問合わせ
を受けると、データ加工回路201のステータス情報、
自己の処理実績情報を参照し、〜に該当する場合に
は入力レジスタ206が更新可能である旨を入力制御回
路216に通知し、〜に該当しない場合には入力レ
ジスタ206が更新不可能である旨を入力制御回路21
6に通知する。
Upon receiving such inquiry, the control circuit 212 receives the status information of the data processing circuit 201,
By referring to its own processing record information, when the corresponding to, the input control circuit 216 is notified that the input register 206 can be updated, and when not corresponding to, the input register 206 cannot be updated. Input control circuit 21
Notify 6.

【0049】入力制御回路216は、更新可能通知を受
けるまではWAIT信号を維持し、この更新可能信号を受け
ると同時にWAIT信号を下げ、かつ書込み制御線220に
書込み信号を発行する。これにより、データ線107上
の被処理データが入力レジスタ206に書込まれる。入
力制御回路216は、その完了をコントロール回路21
2に知らせる。
The input control circuit 216 maintains the WAIT signal until it receives the updatable notification, receives the updatable signal, and simultaneously lowers the WAIT signal and issues a write signal to the write control line 220. As a result, the data to be processed on the data line 107 is written in the input register 206. The input control circuit 216 informs the completion of the control circuit 21.
Notify 2.

【0050】このコントロール回路212は入力制御回
路216からの通知に応答してデータ線207からC/*D
フィールド301を読込み、その状態に従って次の[F1]
〜[F4]の処理を行う。
This control circuit 212 responds to the notification from the input control circuit 216 from the data line 207 to C / * D.
The field 301 is read and the next [F1] is read according to the state.
~ Perform the process of [F4].

【0051】[F1] まず、C/*Dフィールド301が
“1”のときには、データ加工回路201の内部レジス
タへのデータ設定処理を行う。このとき、コントロール
回路212は、制御線214を通じてデコーダ213に
対し書込み命令を出力する。これにより、ステージアド
レスデータ303の示すアドレスがステージ1061の
ものであるときにはレジスタアドレス304の示すアド
レスに該当する内部レジスタへデータ線203上のレジ
スタ設定データ305が書込まれることとなる。
[F1] First, when the C / * D field 301 is "1", the data setting process for the internal register of the data processing circuit 201 is performed. At this time, the control circuit 212 outputs a write command to the decoder 213 through the control line 214. As a result, when the address indicated by the stage address data 303 is that of the stage 1061, the register setting data 305 on the data line 203 is written to the internal register corresponding to the address indicated by the register address 304.

【0052】[F2] 同じく、C/*Dフィールド301が
“1”のとき、入力レジスタ206のデータを出力レジ
スタ211へ書込む処理を実行する。このとき、コント
ロール回路212は、制御線215を通じてセレクタ2
10に対しデータ線209側への出力選択信号を出すと
ともに、制御線222を通じて出力制御回路221に出
力指示信号を出力する。これにより、データ線209上
の被処理データがセレクタ210を通して出力レジスタ
211の入力端に供給された状態となる。したがって、
入力レジスタ206の被処理データは、そのまま出力レ
ジスタ211の入力端に供給された状態となる。一方、
出力制御回路221は制御線222の出力指示信号に応
答して出力レジスタ211内の現在のデータが既に次段
のステージに送り付けてあるか否か(つまり、出力レジ
スタ211が更新できるか否か)を確認する。この確認
は次段への出力完了時にその旨を示すフラグを設定して
おくことで容易に可能である。そして、出力レジスタ2
11が更新可能であるならば、書込み制御線225に書
込み信号を発行する。これにより、入力レジスタ206
の内容がそのまま出力レジスタ211に書込まれる。次
いで、出力制御回路221は制御線223を通じて次ス
テージの入力制御回路に対しREADY 信号を出す。その
後、次ステージの入力制御回路からの制御線224上の
WAIT信号が下がり、出力レジスタ211内のデータが次
ステージに取込まれたことを知ると上記データ送付済確
認フラグを立てる。これにより、内部レジスタ設定用の
データはパイプライン上を通して流され、ステージアド
レス303が一致するステージで内部レジスタへの設定
がなされるようになっている。
[F2] Similarly, when the C / * D field 301 is "1", the process of writing the data of the input register 206 to the output register 211 is executed. At this time, the control circuit 212 controls the selector 2 through the control line 215.
10 outputs an output selection signal to the data line 209 side and outputs an output instruction signal to the output control circuit 221 through the control line 222. As a result, the data to be processed on the data line 209 is supplied to the input end of the output register 211 through the selector 210. Therefore,
The data to be processed in the input register 206 is directly supplied to the input end of the output register 211. on the other hand,
Whether the output control circuit 221 has already sent the current data in the output register 211 to the next stage in response to the output instruction signal of the control line 222 (that is, whether the output register 211 can be updated). To confirm. This confirmation can be easily made by setting a flag indicating that when the output to the next stage is completed. And output register 2
If 11 is updatable, a write signal is issued to the write control line 225. This allows the input register 206
Is directly written in the output register 211. Then, the output control circuit 221 outputs a READY signal to the input control circuit of the next stage through the control line 223. Then, on the control line 224 from the input control circuit of the next stage
When the WAIT signal goes down and it is known that the data in the output register 211 has been taken into the next stage, the data transmission completion confirmation flag is set. As a result, the data for setting the internal register is made to flow through the pipeline, and the setting to the internal register is made at the stage where the stage address 303 matches.

【0053】[F3] 次に、C/*Dフィールド301が
“0”のときには、コントロール回路212は、保有す
るモード情報を確認し、加工処理実行モード及び通過モ
ードのうちいずれであるかを確認する。この確認処理に
要するモード情報は、例えば、コントロール回路212
においてモード記憶レジスタを持ち、加工処理に先立っ
て行われる内部レジスタへの設定が行われた場合にその
モード記憶レジスタに加工処理実行モードを設定するよ
うにする。そうすると、コントロール回路212はモー
ド記憶レジスタへの加工処理実行モードの設定の有無を
見ることで加工処理実行モードであるか、通過モードで
あるかを確認することが可能となる。
[F3] Next, when the C / * D field 301 is "0", the control circuit 212 confirms the mode information held therein, and confirms whether it is the processing execution mode or the passing mode. To do. The mode information required for this confirmation processing is, for example, the control circuit 212.
In (1), there is a mode storage register, and when the internal register is set prior to the processing, the processing execution mode is set in the mode storage register. Then, the control circuit 212 can confirm whether the processing processing execution mode or the passage mode is set by checking whether or not the processing processing execution mode is set in the mode storage register.

【0054】そして、コントロール回路212は、モー
ドが加工処理実行モードであった場合、制御線226を
通じてデータ加工回路201に対し加工命令を出す。こ
れにより、データ加工回路201においてデータ線20
4上の被加工データ306が取込まれ、これが内部レジ
スタの設定内容に従い加工処理される。その後、データ
加工回路201は、結果となる加工済データをデータ線
205上に出力すると共に加工処理の完了通知を制御線
227を通じてコントロール回路212に知らせる。コ
ントロール回路212は、この加工処理完了通知に応答
して、セレクタ210に対するデータ線205側への出
力選択信号を制御線215上に出すとともに、前述した
[F2]のときと同様に、制御線222を通じて出力制御回
路221に出力指示信号を出す。以降は[F2]のときと同
様である。これにより、データ加工回路201の処理結
果が次ステージへ転送されることとなる。
When the mode is the processing execution mode, the control circuit 212 issues a processing command to the data processing circuit 201 through the control line 226. As a result, in the data processing circuit 201, the data line 20
4 to be processed data 306 is fetched and processed according to the setting contents of the internal register. After that, the data processing circuit 201 outputs the resulting processed data to the data line 205 and notifies the control circuit 212 of the completion notification of the processing process through the control line 227. In response to the processing completion notification, the control circuit 212 outputs an output selection signal to the data line 205 side to the selector 210 on the control line 215, and also described above.
As in the case of [F2], an output instruction signal is output to the output control circuit 221 through the control line 222. The subsequent steps are the same as in [F2]. As a result, the processing result of the data processing circuit 201 is transferred to the next stage.

【0055】[F4] 同じく、C/*Dフィールド301が
“0”であって、通過モードであった場合には、コント
ロール回路212は、セレクタ210に対するデータ線
209側への出力選択信号を制御線215上に出すとと
もに、前述した[F2]のときと同様に、制御線222を通
じて出力制御回路221に出力指示信号を出す。以降は
[F2]のときとまた同様である。これにより、入力レジス
タ206内の被処理データがそのまま次ステージへ転送
されることとなる。
[F4] Similarly, when the C / * D field 301 is "0" and the mode is the pass mode, the control circuit 212 controls the output selection signal to the data line 209 side for the selector 210. In addition to being output on the line 215, the output instruction signal is output to the output control circuit 221 through the control line 222, as in the case of [F2] described above. Later
It is the same as in [F2]. As a result, the data to be processed in the input register 206 is directly transferred to the next stage.

【0056】他のステージ1062,1063,…も同
様の構成である。
The other stages 1062, 1063, ... Have the same structure.

【0057】以上のように構成された本実施例の情報処
理システムによりパイプラインデータ加工処理を行うと
きの動作について説明する。
The operation when the pipeline data processing is performed by the information processing system of the present embodiment configured as above will be described.

【0058】CPU101は、まず、C/*Dフィールド3
01を“1”にしたデータを流す。すると、上述したよ
うに各々対応するステージ1061,1062,…にお
いて内部レジスタにレジスタ設定データ305の設定が
なされる。
The CPU 101 first sets the C / * D field 3
The data in which 01 is set to "1" is sent. Then, as described above, the register setting data 305 is set in the internal registers in the corresponding stages 1061, 1062, ....

【0059】内部レジスタ設定用のデータ送出がすべて
終了すると、CPU101は、直ちに、C/*Dフィールド
301を“0”にしたデータを流す。すると、前述した
ようにステージ1061,1062,…においてその加
工処理が行われ、最後のステージから最終結果が出力さ
れることとなる。
Upon completion of sending all the data for setting the internal register, the CPU 101 immediately sends the data with the C / * D field 301 set to "0". Then, the processing is performed on the stages 1061, 1062, ... As described above, and the final result is output from the last stage.

【0060】よって、CPU101は、まず、C/*Dフィ
ールド301を“1”にしたデータを送出し、続いて、
C/*Dフィールド302を“0”にしたデータを送出すれ
ば、あとは、パイプラインの各ステージにおいて自ずか
ら、データフィールド302のデータがレジスタ設定用
のデータあるいは被加工データとして取扱われ、しかも
自己に無関係のデータはパス・スルーデータとして後段
へ転送されるようになっていることから、CPUはパイ
プラインの入り口でデータが受付けられればそれでCP
U自身の処理が済んでしまうこととなり、CPUによる
内部レジスタへの制御データ書込み処理がなくなりCP
Uの負担が軽減されることとなる。
Therefore, the CPU 101 first sends the data with the C / * D field 301 set to "1", and then,
By sending the data with the C / * D field 302 set to “0”, the data in the data field 302 is automatically handled as data for register setting or processed data at each stage of the pipeline. Since the data irrelevant to is transferred to the subsequent stage as pass-through data, if the CPU accepts the data at the entrance of the pipeline, then the CP
Since the processing of U itself is completed, the CPU does not have to write the control data to the internal register.
The burden on U will be reduced.

【0061】また、CPU101からパイプラインへの
データは、このパイプライン内を、送出された順番に流
されて行くこととなるため、一つの態様のデータ加工処
理に関するデータ入力の直後に別の態様に関するデータ
が入力されても、その前の態様に関するデータ処理が済
んだ後のステージにその別態様のデータが供給されるこ
ととなる。
Further, since the data from the CPU 101 to the pipeline will be flowed in the pipeline in the order in which it is sent out, immediately after the data input relating to the data processing of one aspect, another aspect is sent. Even if the data related to the other mode is input, the data related to the other mode is supplied to the stage after the data processing related to the previous mode is completed.

【0062】すなわち、各ステージにおいて入力レジス
タ206の更新はそのステージにおける内部の処理が済
み、前のデータが用済みになったのちに行われるため、
CPU101は、一つの態様のデータ加工処理に関する
データの送出を終了すると、直ちに別態様のデータ加工
処理に関するデータの送出を行うことができ、従来のよ
うな処理待ち時間がなくなり、情報処理システム全体と
してのスループットが大きく向上することとなる。
That is, since the input register 206 is updated in each stage after the internal processing in that stage is completed and the previous data is used up,
When the CPU 101 finishes sending the data related to the data processing of one aspect, it can immediately send out the data related to the data processing of another aspect, eliminating the processing waiting time as in the related art, and the entire information processing system. Throughput will be greatly improved.

【0063】以上、一般的なパイプラインについて説明
したが、これは各種の情報処理に採用することができ
る。
Although the general pipeline has been described above, it can be applied to various types of information processing.

【0064】図4はその一具体例を示すものである。こ
の図に示すものは高速ページプリンタにおける文字デー
タの拡大縮小等を行う情報処理系に採用した場合を示し
ている。
FIG. 4 shows a specific example thereof. The one shown in this figure shows a case of being adopted in an information processing system for enlarging / reducing character data in a high speed page printer.

【0065】この図において、401はMPUであり、
文字データは、このMPU401から発生される。パイ
プラインは、文字の拡大縮小、回転、イメージデータ伸
長等の各種単一機能部により各ステージが構成され、こ
こでは、最前のステージがスケールコンバータ402に
より構成され、このスケールコンバータ402が同時に
入力I/Fとしても機能するようになっている。以降、
その他の機能部からなるステージがシリアルに接続され
ている。
In this figure, 401 is an MPU,
Character data is generated from this MPU 401. In the pipeline, each stage is configured by various single functional units such as character enlargement / reduction, rotation, and image data decompression. Here, the frontmost stage is configured by a scale converter 402, and the scale converter 402 simultaneously inputs I. It also functions as / F. Or later,
A stage including other functional units is serially connected.

【0066】符号403はその他の機能部からなるステ
ージを一群にまとめて略示したものであって、その中に
は、シリアル接続された多数のステージが含まれる。最
後のステージの後に頁メモリ404が接続され、パイプ
ラインの出力データは、このメモリ404に格納され、
このメモリ404からメカI/Fを介して、印字機構部
に送られることとなる。
Reference numeral 403 is a group of stages, each of which is composed of other functional units, and is schematically shown. Among them, a large number of serially connected stages are included. The page memory 404 is connected after the last stage, and the output data of the pipeline is stored in this memory 404.
The data is sent from the memory 404 to the printing mechanism unit via the mechanical I / F.

【0067】また、405は内部レジスタ設定用データ
(上述した実施例におけるレジスタアドレス304及び
レジスタ設定データ305に相当する内容を含む)及び
被加工データを伝送する伝送線、406はC/*Dデータ伝
送線、407は上述した実施例におけるステージアドレ
スに相当するファンクションデータ伝送線である。
Reference numeral 405 is a transmission line for transmitting internal register setting data (including contents corresponding to the register address 304 and register setting data 305 in the above-mentioned embodiment) and processed data, and 406 is C / * D data. A transmission line 407 is a function data transmission line corresponding to the stage address in the above-described embodiment.

【0068】ここで、このシステムにより、ある文字デ
ータの拡大及び回転を行うことを考える。
Now, let us consider enlarging and rotating certain character data with this system.

【0069】この場合、まず、MPU401は、伝送線
406上に内部レジスタ設定モードとしたC/*Dデータ
を、伝送線407上にスケールコンバータ402のアド
レスとしたファンクションデータを、伝送線405上に
内部レジスタのアドレス及びパラメータ(拡大倍率)を
示すレジスタ設定データをそれぞれ送出する。すると、
スケールコンバータ402において、まずファンクショ
ンデータが解釈され、自己のアドレスであることを知る
と、指定された内部レジスタにパラメータを書込むとと
もに、そのデータ加工回路を加工処理実行モードとす
る。
In this case, first, the MPU 401 places the C / * D data in the internal register setting mode on the transmission line 406, the function data as the address of the scale converter 402 on the transmission line 407, and the transmission line 405. The register setting data indicating the address and the parameter (enlargement ratio) of the internal register is transmitted. Then,
In the scale converter 402, the function data is first interpreted, and when it is known that it is its own address, the parameter is written in the designated internal register and the data processing circuit is set to the processing execution mode.

【0070】次いで、MPU401は、伝送線406上
に内部レジスタ設定モードとしたC/*Dデータを、伝送線
407上に文字回転回路のアドレスとしたファンクショ
ンデータを、伝送線405上に内部レジスタのアドレス
及びパラメータ(回転角度)を示すレジスタ設定データ
をそれぞれ送出する。すると、パイプライン入り口のス
ケールコンバータ402において、まずファンクション
データが解釈され、自己のアドレスではないことを知る
と、以後のステージ403へ伝送線405〜407上の
データすべてをそのまま伝送する。以降、そのデータが
回転回路ステージに到達するまで、同様の伝送処理が各
ステージで行われる。そして、データが回転回路ステー
ジにまで到達すると、そこでのファンクションデータの
解釈により、自己のアドレスであることを知ると、指定
された内部レジスタにパラメータを書込むとともに、そ
のデータ加工回路を加工処理実行モードとする。
Next, the MPU 401 sends the C / * D data in the internal register setting mode on the transmission line 406, the function data as the address of the character rotation circuit on the transmission line 407, and the internal register on the transmission line 405. The register setting data indicating the address and the parameter (rotation angle) is sent out. Then, the scale converter 402 at the pipeline entrance first interprets the function data, and when it knows that it is not its own address, it transmits all the data on the transmission lines 405 to 407 to the subsequent stage 403 as it is. Thereafter, similar transmission processing is performed in each stage until the data reaches the rotary circuit stage. Then, when the data reaches the rotary circuit stage, the function data is interpreted to find that the address is its own, and the parameter is written to the specified internal register and the data processing circuit is processed. Set to mode.

【0071】MPU401は所定のファンクションの内
部レジスタ設定用のデータ送出を終了すると、直ちに、
被加工データの送出を開始する。この場合、MPU40
1は、伝送線406上に加工処理モードとしたC/*Dデー
タを、伝送線405上に被加工データをそれぞれ送出す
る。すると、パイプライン中、動作状態にあるスケール
コンバータ402において、被加工データの拡大処理が
なされ、これが、次に動作状態にある回転回路ステージ
まで送られ、このステージで拡大された文字データの回
転処理がなされ、その後、最後のステージからメモリ4
04に書込まれることとなる。
Upon completion of the data transmission for setting the internal register of the predetermined function, the MPU 401 immediately
Start sending the processed data. In this case, MPU40
1 transmits C / * D data in the processing mode on the transmission line 406, and processed data on the transmission line 405. Then, in the pipeline, in the scale converter 402 in the operating state, the processing data is expanded, and this is sent to the rotating circuit stage in the operating state next, and the rotation processing of the character data expanded in this stage is performed. And then memory 4 from the last stage
It will be written in 04.

【0072】よって明らかなように、MPU401は、
パイプラインの入り口であるスケールコンバータ402
でデータが受付けられればそれで処理が済んでしまうこ
ととなり、MPU401による各ステージでの内部レジ
スタ書込みがなく、負担軽減が図れている。
Therefore, as is clear, the MPU 401
Scale converter 402, which is the entrance to the pipeline
If the data is received at, the processing is completed, and the MPU 401 does not write the internal register at each stage, so that the burden is reduced.

【0073】また、MPU401からパイプラインへの
データは、このパイプライン内を、送出された順番に流
されて行くこととなるため、MPU401は、一つの態
様のデータ加工処理に関するデータの送出を終了する
と、直ちに別態様のデータ加工処理に関するデータの送
出を行うことができる。
Further, since the data from the MPU 401 to the pipeline will be flowed in the pipeline in the order of transmission, the MPU 401 ends the transmission of data relating to the data processing of one aspect. Then, it is possible to immediately send out the data relating to the data processing of another aspect.

【0074】なお、本発明は、このような印字データの
処理に限られず、ディスプレイ制御装置における表示デ
ータの文字発生、文字データ拡大縮小、文字データ回
転、イメージデータ伸長、イメージデータ拡大縮小、イ
メージデータ回転等の処理や、スキャナ制御装置におけ
るイメージデータ拡大縮小、同回転、同圧縮等の処理に
も応用することができる。
It should be noted that the present invention is not limited to such processing of print data, but character generation of display data in a display control device, character data enlargement / reduction, character data rotation, image data extension, image data enlargement / reduction, image data. The present invention can also be applied to processing such as rotation, image data enlargement / reduction in the scanner control device, rotation, compression, and the like.

【0075】[0075]

【発明の効果】以上説明したように本発明によれば、入
力データの識別フィールド及びモード情報に応じて処理
対象データ部のデータを制御データあるいは被加工デー
タとして取扱い、しかも自己に無関係のデータはパス・
スルーデータとして後段へ転送するようになっているこ
とから、CPUは処理対象データに上記識別用データを
付加してパイプラインへ流し込めば、あとは、該当する
ステージにより自ずから処理される。よって、CPUは
パイプラインの入り口でデータが受付けられればそれで
処理が済んでしまうこととなり、CPUによる制御デー
タの設定がなくなりCPUの負担が軽減される。
As described above, according to the present invention, the data of the data portion to be processed is treated as control data or processed data according to the identification field of the input data and the mode information, and data unrelated to itself is treated. path·
Since the data is transferred to the subsequent stage as through data, if the CPU adds the above identification data to the data to be processed and flows it into the pipeline, the subsequent processing is automatically performed by the corresponding stage. Therefore, if the CPU receives the data at the entrance of the pipeline, the processing is completed, and the load of the CPU is reduced because the control data is not set by the CPU.

【0076】また、特筆すべきことに、CPUからパイ
プラインへのデータは、このパイプライン内を、送出さ
れた順番に流されて行くこととなるため、一つの態様の
データ加工処理に関するデータ入力の直後に別の態様に
関するデータが入力されても、その前の態様に関するデ
ータ処理が済んだ後のステージにその別態様のデータが
供給されることとなるため、CPUは、一つの態様のデ
ータ加工処理に関するデータの送出を終了すると、直ち
に別態様のデータ加工処理に関するデータの送出を行う
ことができ、前述したような処理待ち時間がなくなり、
情報処理システム全体としてのスループットが大きく向
上することとなる。
It should also be noted that since the data from the CPU to the pipeline will be flowed in the pipeline in the order in which it was sent out, the data input relating to the data processing of one aspect is input. Even if data regarding another aspect is input immediately after, the data regarding that aspect is supplied to the stage after the data processing regarding the previous aspect is completed. As soon as the sending of the data related to the processing is completed, the data related to the data processing of another aspect can be sent, and the processing waiting time as described above is eliminated,
Throughput as a whole of the information processing system is greatly improved.

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

【図1】本発明の一実施例に係る一般情報処理パイプラ
インのシステムブロック図。
FIG. 1 is a system block diagram of a general information processing pipeline according to an embodiment of the present invention.

【図2】図1に示す各ステージの内部構成を例示するブ
ロック図。
FIG. 2 is a block diagram illustrating the internal configuration of each stage shown in FIG.

【図3】図1に示すCPUより発生されるデータの構造
説明図。
FIG. 3 is an explanatory diagram of the structure of data generated by the CPU shown in FIG.

【図4】本発明の他の実施例に係る高速ページプリンタ
の印字データ処理系統用情報処理パイプラインのシステ
ムブロック図。
FIG. 4 is a system block diagram of an information processing pipeline for a print data processing system of a high speed page printer according to another embodiment of the present invention.

【図5】従来の一般情報処理パイプラインのシステムブ
ロック図。
FIG. 5 is a system block diagram of a conventional general information processing pipeline.

【図6】図5に示す各ステージに示す各ステージの内部
構成を例示するブロック図。
6 is a block diagram illustrating the internal configuration of each stage shown in each stage shown in FIG.

【図7】従来の高速ページプリンタの印字データ処理系
統のシステムブロック図。
FIG. 7 is a system block diagram of a print data processing system of a conventional high speed page printer.

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

101 CPU 102 アドレスバス 103 データバス 104 制御バス 105 入力I/F 1061,1062,… パイプラインステージ 201 データ加工回路 2021,…,202m 内部レジスタ 203 レジスタ設定データのデータ線 204 被加工データのデータ線 205 加工済データのデータ線 206 入力レジスタ 207 C/*Dフィールドデータ線 208 ステージ・レジスタアドレスデータ線 209 通過データのデータ線 210 出力セレクタ 211 出力レジスタ 212 コントロール回路 2131,…,213m,220,225 書込み信号
制御線 214 書込み命令制御線 215 選択信号制御線 216 入力制御回路 217,223 READY 制御線 218,224 WAIT制御線 219,222 入出力制御用制御線 221 出力制御回路 226,227 データ加工回路用制御線 301 C/*Dフィールド(識別フィールド) 302 被処理データフィールド 303 ステージアドレス 304 レジスタアドレス 305 レジスタ設定データ 306 被加工データ 401 MPU 402 スケールコンバータ 403 その他の機能部 404 頁メモリ 405 内部レジスタ設定用データ及び被加工データを
伝送する伝送線 406 C/*Dデータ伝送線 407 ファンクションデータ伝送線
101 CPU 102 Address bus 103 Data bus 104 Control bus 105 Input I / F 1061, 1062, ... Pipeline stage 201 Data processing circuit 2021, ..., 202m Internal register 203 Data line of register setting data 204 Data line of processed data 205 Data line of processed data 206 Input register 207 C / * D field data line 208 Stage register Address data line 209 Data line of passing data 210 Output selector 211 Output register 212 Control circuit 2131, ..., 213m, 220, 225 Write signal Control line 214 Write command control line 215 Selection signal control line 216 Input control circuit 217, 223 READY control line 218, 224 WAIT control line 219, 222 I / O control control line 221 Output Control circuit 226, 227 Data processing circuit control line 301 C / * D field (identification field) 302 Processed data field 303 Stage address 304 Register address 305 Register setting data 306 Processed data 401 MPU 402 Scale converter 403 Other functional parts 404 page memory 405 Transmission line for transmitting internal register setting data and processed data 406 C / * D data transmission line 407 Function data transmission line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】情報処理パイプラインの各ステージを構成
する情報処理装置であって、 内部レジスタに格納された制御データにより決定される
態様で被加工データの加工処理を行いその結果である加
工済データを出力するデータ加工手段と、 該加工済データを次段へ転送する加工済データ転送手段
と、 通過データを次段へ転送する通過データ転送手段と、 入力データの識別フィールドとモード情報とに従って、
前記入力データの処理対象データ部を前記内部レジスタ
に書込む処理、前記入力データを前記被加工データとし
て前記データ加工手段に与える処理、及び前記入力デー
タを前記データ転送手段へ送出する処理を実行する制御
手段とを備えている情報処理装置。
1. An information processing device constituting each stage of an information processing pipeline, wherein processed data is processed in a manner determined by control data stored in an internal register, and the processed data is the processed result. According to the data processing means for outputting data, the processed data transferring means for transferring the processed data to the next stage, the passing data transferring means for transferring the passing data to the next stage, the identification field of the input data and the mode information. ,
A process of writing the processing target data part of the input data in the internal register, a process of giving the input data as the processed data to the data processing means, and a process of sending the input data to the data transfer means are executed. An information processing apparatus including a control unit.
JP2138292A 1992-02-06 1992-02-06 Information processor Pending JPH05216847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2138292A JPH05216847A (en) 1992-02-06 1992-02-06 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2138292A JPH05216847A (en) 1992-02-06 1992-02-06 Information processor

Publications (1)

Publication Number Publication Date
JPH05216847A true JPH05216847A (en) 1993-08-27

Family

ID=12053543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2138292A Pending JPH05216847A (en) 1992-02-06 1992-02-06 Information processor

Country Status (1)

Country Link
JP (1) JPH05216847A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009259104A (en) * 2008-04-18 2009-11-05 Sony Corp Signal processing device and control method, signal processing method, program, and signal processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009259104A (en) * 2008-04-18 2009-11-05 Sony Corp Signal processing device and control method, signal processing method, program, and signal processing system
US7975085B2 (en) 2008-04-18 2011-07-05 Sony Corporation Signal processing device and control method, signal processing method, program, and signal processing system

Similar Documents

Publication Publication Date Title
JP2829091B2 (en) Data processing system
JP3442932B2 (en) Information processing system
JPH07225727A (en) Computer system
JPH05216847A (en) Information processor
JP3684579B2 (en) Processor element of distributed parallel computer
JPH02500692A (en) Integration of computational elements in multiprocessor computers
JPH05282242A (en) Bus control system
JP2687716B2 (en) Information processing device
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JPH09218859A (en) Multiprocessor control system
JPH09305530A (en) Dma controller
JPH02730B2 (en)
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit
CN115344244A (en) Apparatus and method for processing program language function
JPS63173143A (en) Memory interface circuit
JP2000047935A (en) High speed memory access processor
JPH03246654A (en) Method for controlling data transfer
JPH0512221A (en) Data exchange speeding up system between multi cpu
JPH07334453A (en) Memory access system
JPH0628278A (en) Method and device for outputting screen data of data processor
JPH0464181A (en) Raster converter for image data
JPH0566755U (en) DMA processor
JPH1153291A (en) Fast data transfer system
JP2000311249A (en) Graphic processor and graphic command processing method therefor
JPH02136949A (en) Input/output controller