JPH01114965A - Command transfer system to processor array and its circuit - Google Patents

Command transfer system to processor array and its circuit

Info

Publication number
JPH01114965A
JPH01114965A JP62273816A JP27381687A JPH01114965A JP H01114965 A JPH01114965 A JP H01114965A JP 62273816 A JP62273816 A JP 62273816A JP 27381687 A JP27381687 A JP 27381687A JP H01114965 A JPH01114965 A JP H01114965A
Authority
JP
Japan
Prior art keywords
processor
command
host computer
input
circuit
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
JP62273816A
Other languages
Japanese (ja)
Inventor
Ichiro Tamiya
一郎 民谷
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62273816A priority Critical patent/JPH01114965A/en
Publication of JPH01114965A publication Critical patent/JPH01114965A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To allow a host computer to generate a control command by providing respective processors with corresponding command buffers in order to absorb the difference between an operation clock on the array processor side and command transfer speed on the host computer side. CONSTITUTION:A processor 2 inputs and processes an input signal supplied to a data input terminal 8 based on a synchronizing signal supplied from a synchronizing signal input terminal. The processed result of the processor 2 goes to a data input to a processor 3 as it is. On the other hand, a command transfer circuit 5 delays the synchronizing signal inputted from the terminal 22 by processing delay based upon the processor 2 and supplies the delayed signal to the succeeding command transfer circuit 6 and the processor 3. Thereby, the processor 3 can fetch and process the processed result of the processor 2 based on the synchronizing signal supplied from the circuit 5 independently of the delay processing of the processor 2.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プロセッサアレイへのコマンド転送方式及び
回路、特に動画信号等のディジタル信号プロセッサアレ
イへのプロセッサコマンド転送方式及び回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method and circuit for transferring commands to a processor array, and particularly to a method and circuit for transferring a processor command to a digital signal processor array, such as a video signal.

(従来の技術) 動画信号を実時間処理する場合の様に、大量のデータ罠
対して高速な演算処理を施すためには、多数の演算回路
を直列ないしは並列に配置して実時間処理に必要な演算
能力を得ることが考えられる。
(Prior art) In order to perform high-speed arithmetic processing on a large amount of data, such as when processing video signals in real time, it is necessary to arrange a large number of arithmetic circuits in series or parallel for real-time processing. It is conceivable that the computing power can be obtained.

このような処理を実現するためのプロセッサとして、動
画信号に対する実時間処理を目的としたプロセッサアー
キテクチャが昭和59年度電子通信学会通信部門全国大
会予稿集第2巻5項に掲載されている。
As a processor for realizing such processing, a processor architecture for the purpose of real-time processing of video signals is published in the Proceedings of the National Conference of the Telecommunications Division of the Institute of Electronics and Communication Engineers in 1988, Vol. 2, Section 5.

掲載内容によればプロセッサは、入力バス、出力バスに
並列接続された複数の単位プロセッサから成り、各単位
プロセッサが出力画面内の予め定められた部分領域を担
当処理することにより、実時間処理を実現するものであ
る。各単位プロセッサは、入力信号の同期信号を基準と
して、単位プロセッサ間で重複を許し九動画信号の入力
、演算処理、処理結果の出力を予め定められたタイミン
グで行う。このため、各単位プロセッサは、プロセッサ
間通信せずに、互に独立した動作を可能としている。
According to the published content, the processor consists of multiple unit processors connected in parallel to an input bus and an output bus, and each unit processor processes a predetermined partial area within the output screen to perform real-time processing. It is something that will be realized. Each unit processor inputs a moving image signal, performs arithmetic processing, and outputs a processing result at a predetermined timing, with duplication allowed between the unit processors, with reference to the synchronization signal of the input signal. Therefore, each unit processor can operate independently from each other without inter-processor communication.

ところが、このように単位プロセッサを並列接続したプ
ロセッサでは、重複して取り込んだ領域に対し幾つかの
独立した処理を順次施すと、処理のオーバーヘッドが生
ずる場合がある。これは。
However, in a processor in which unit processors are connected in parallel in this manner, processing overhead may occur if several independent processes are sequentially performed on areas that have been imported redundantly. this is.

他のプロセッサの演算結果を参照できないため。This is because the calculation results of other processors cannot be referenced.

複数の単位プロセッサ内で1重複した領域に同じ処理を
施すことによる。
This is done by performing the same processing on one overlapping area within a plurality of unit processors.

このようなオーバーヘッドは、プロセッサを多段に接続
して、パイプライン処理を導入することによって回避で
きる。そこで、プロセッサ間で入力バス、出力バスの接
続を切換えることができるようにし、応用に応じた最適
な多段構成を取れるようにしたマルチプロセッサアーキ
テクチャが昭和61年度電子通信学会通信部門全国大会
予稿集第1巻208項に提案されている。
Such overhead can be avoided by connecting processors in multiple stages and introducing pipeline processing. Therefore, a multiprocessor architecture that enables the connection of input buses and output buses to be switched between processors and provides an optimal multi-stage configuration according to the application was published in the Proceedings of the 1986 IEICE Telecommunications Division National Conference. It is proposed in Volume 1, Section 208.

(発明が解決しようとする問題点) ところが、複数のプロセッサを接続して実時間処理を行
うプレイプロセッサに、外部のホスト計算機から各プロ
セッサへ制御パラメータ等のコマンドを転送する場合に
は、以下に述べるような問題を解決する必要がある。
(Problem to be Solved by the Invention) However, when transferring commands such as control parameters from an external host computer to a play processor that connects multiple processors and performs real-time processing, the following is required. It is necessary to solve the problems described below.

まず、ホスト計算機は、通常汎用のプロセッサを用いる
ことが多いが、アレイプロセッサ側は、演算回路の性能
を最大限に引き出すためにホストとは独立した、より高
速なりロックで動作している。従って、アレイプロセッ
サの動作中に動作内容の変更のため(、多数のプロセッ
サ各々にコマンド転送するのは、ホスト計算機の転送能
力の制約から困難な場合が多い。
First, the host computer usually uses a general-purpose processor, but the array processor side operates with a faster lock independent of the host in order to maximize the performance of the arithmetic circuit. Therefore, it is often difficult to transfer commands to each of a large number of processors due to changes in the operation content while the array processor is operating due to limitations in the transfer capacity of the host computer.

更に、前記の様に多段処理を行うアレイプロセッサにお
いては、全てのプロセッサが同じ入力を並列に処理して
いる場合とは異なり、各プロセッサは、各段における処
理に要する処理遅延だけずれたタイミングで動作してい
る。従って、ホスト計算機から、−度のコマンド転送で
、各処理段における処理内容を同時に変更すると、プロ
セッサ間の同期ずれが生ずる。
Furthermore, in the array processor that performs multi-stage processing as described above, unlike the case where all processors process the same input in parallel, each processor processes the data at different timings by the processing delay required for processing at each stage. It's working. Therefore, if the processing content in each processing stage is changed simultaneously by transferring commands from the host computer twice, a synchronization difference between the processors will occur.

例えば、動画信号に各プロセッサがフレームを間引きな
がら処理する場合を考える。このとき、多段処理をして
bる複数のプロセッサに対し実時間動作しながら間引き
率の変更を行うと、パイプライ/処理の各段(おいて処
理対象とするフレームが異なってしまう可能性がある。
For example, consider a case where each processor processes a video signal while thinning out frames. At this time, if you change the thinning rate while operating in real time for multiple processors performing multi-stage processing, the frames to be processed may differ in each stage of pipeline/processing. .

特に、前述したようなプロセッサ間での通信を行わず、
各々のプロセッサが入力信号の同期信号だけを基に動作
しているプレイプロセッサでは、1度この様な同期ずれ
が生ずると、プロセッサ間で再度同期合せを行なうこと
はできない。
In particular, without communication between processors as described above,
In a play processor in which each processor operates based only on a synchronization signal of an input signal, once such a synchronization error occurs, it is impossible to resynchronize the processors.

従って、本発明の目的は、実時間動作をするプロセッサ
を複数台直列に接続して、パイプライン処理を行ってい
るプロセッサアレイに、前記同期信号とは非同期に動作
するホストプロセッサから制御コマンドを転送、する方
式であって、しかも、各パイプライン段の処理遅延に起
因するプロセッサ間同期ずれのないコマンド転送方式を
示すと同時に、それを実現する回路構成を提供するとと
である。
Therefore, an object of the present invention is to transfer control commands from a host processor that operates asynchronously to the synchronization signal to a processor array that connects a plurality of processors that operate in real time in series and performs pipeline processing. The present invention aims to present a command transfer method that does not cause synchronization between processors due to processing delays in each pipeline stage, and at the same time to provide a circuit configuration for realizing the command transfer method.

(問題点を解決するための手段) 第1の本発明は、同期信号の周期内に入力信号を取込み
、処理し、処理結果を出力するプロセッサを複数台直列
に接続し、パイプライン処理を実現するプロセッサアレ
イの各プロセッサにホスト計算機から制御コマンドを転
送する方式でありて、転送すべき制御コマンドは、前記
ホスト計算機から前記複数のプロセッサ各々に対応する
記憶手段に格納した後、前記記憶手段から各々のプロセ
ッサへは、プレイプロセッサの入力側からプロセッサの
接続順序に従って転送を開始することを特徴とする。
(Means for Solving the Problem) The first invention realizes pipeline processing by connecting a plurality of processors in series that take in an input signal within the period of a synchronization signal, process it, and output the processing result. In this method, a control command is transferred from a host computer to each processor in a processor array, and the control command to be transferred is stored from the host computer in a storage means corresponding to each of the plurality of processors, and then is transferred from the storage means. The present invention is characterized in that transfer to each processor is started from the input side of the play processor in accordance with the connection order of the processors.

fa2の本発明は、同期信号の周期内に入力信号を取込
み、処理し、処理結果を出力するプロセッサを複数台直
列に接続し、パイプライン処理を実現するプロセッサア
レイに、ホスト計算機からの制御コマンドを転送するた
めに各プロセッサ毎に設けられるインターフェース回路
であって、外部より供給される入力同期信号を、対応す
るプロセッサでの処理遅延量だけ遅らせて外部に出力す
る遅延回路と、ホスト計算機から転送されるコマンド?
格納するパックアメモリと、前記ホスト計算機からの指
示(基づき、前記入力同期信号(同期して前記バッファ
メモリから対応するプロセッサ゛へのコマンド送出開始
を指示するとともにコマンド送出開始を知らせる制御信
号を生成し外部に出力する制御部とから成ることを特徴
とする。
The present invention of fa2 involves connecting a plurality of processors in series that take in input signals within the period of a synchronization signal, process them, and output the processing results, and send control commands from a host computer to a processor array that realizes pipeline processing. It is an interface circuit provided for each processor to transfer the input synchronization signal from the outside, and a delay circuit that delays the input synchronization signal supplied from the outside by the amount of processing delay in the corresponding processor and outputs it to the outside, and a delay circuit that delays the input synchronization signal supplied from the outside by the amount of processing delay in the corresponding processor and outputs it to the outside. Command to be executed?
Based on the input synchronization signal (based on the packer memory to store the data and instructions from the host computer), a control signal is generated that instructs the start of command transmission from the buffer memory to the corresponding processor and also notifies the start of command transmission. It is characterized in that it consists of a control section that outputs to the outside.

第3の本発明は、同期信号の周期内に入力信号を取込み
、処理し、処理結果を出力するプロセッサを複数台直列
に接続し、パイプライン処理を実現するプロセッサアレ
イに、ホスト計算機から制御コマンドを転送するために
各プロセッサに設ケられるインターフェース回路であっ
て、入力同期信号を、対応するプロセッサでの処理遅延
量だけ遅らせて外部に出力する嬉1の遅延回路と、前記
ホスト計算機から転送されるコマンドを格納するバッフ
ァメモリと、前記ホスト計算機からの制御により、前記
バッフ1メモリから対応するプロセッサへのコマンド送
出開始を、外部から供給される入力制御信号に同期して
指示する制御部と、前記制御部が生成したコマンド送出
開始信号を、前記ホスト計算機が指定する値だけ遅延さ
せて外部に出力する第2の遅延回路とから成ることを特
徴とする。
The third invention provides a control command from a host computer to a processor array that realizes pipeline processing by connecting a plurality of processors in series that take in input signals within the period of a synchronization signal, process them, and output processing results. This is an interface circuit installed in each processor to transfer the input synchronization signal, which delays the input synchronization signal by the amount of processing delay in the corresponding processor and outputs it to the outside, and a buffer memory for storing commands to be sent to the corresponding processor; and a control unit that, under control from the host computer, instructs to start sending commands from the buffer 1 memory to the corresponding processor in synchronization with an input control signal supplied from the outside; It is characterized by comprising a second delay circuit that delays the command sending start signal generated by the control unit by a value specified by the host computer and outputs the delayed signal to the outside.

(作用) 本発明によるコマンド転送方式では、アレイプロセッサ
側の動作クロックと、ホスト計算機側のコマンド転送速
度の違いを吸収するために、各プロセッサ毎にコマンド
バッファを設ける。このため、ホスト計算機は転送先の
プロセッサの動作速度、動作状態に拘らず制御コマンド
を発生できる。
(Operation) In the command transfer method according to the present invention, a command buffer is provided for each processor in order to absorb the difference between the operating clock on the array processor side and the command transfer speed on the host computer side. Therefore, the host computer can generate control commands regardless of the operating speed and operating state of the transfer destination processor.

このようにして−旦バッファに書込んでしまえば。Once written to the buffer in this way.

各プロセッサへの転送は、プロセッサ側の動作りaツク
に同期して各バッファから独立して行なえる。
Transfer to each processor can be performed independently from each buffer in synchronization with the operations on the processor side.

各プロセッサが、従来技術の項で述べたような複数の単
位プロセッサから構成されている場合も、1つのコマン
ドバッファに対応する単位プロセッサ数がコマンドバッ
ファからの転送能力に見合りた数であれば、限られた時
間内に1つのコマンドバッファから複数の単位プロセッ
サへコマンド転送できる。
Even if each processor is composed of multiple unit processors as described in the prior art section, as long as the number of unit processors corresponding to one command buffer is commensurate with the transfer capacity from the command buffer. , commands can be transferred from one command buffer to multiple unit processors within a limited time.

次に、本発明によるコマンド転送方式では、従来技術の
問題点として指摘した同期ずれを排除するために、多段
処理の各段における処理遅延に応じて、コマンドバッフ
ァから各々対応するプロセッサへ転送する時刻を遅らせ
る方式を採用する。
Next, in the command transfer method according to the present invention, in order to eliminate the synchronization error pointed out as a problem in the conventional technology, the time at which the command is transferred from the command buffer to each corresponding processor is determined according to the processing delay at each stage of multi-stage processing. Adopt a method that delays the

このとき、プロセッサの直列接続による多段処理では、
必ず、接続の入力側から出力側に向けて処理遅延が蓄積
されていくので、処理遅延に合せてaRのプロセッサへ
のコマンド転送を遅らせることによって同期ずれを無く
すことができる。
At this time, in multi-stage processing by serially connecting processors,
Since processing delays inevitably accumulate from the input side to the output side of the connection, synchronization errors can be eliminated by delaying command transfer to the aR processor in accordance with the processing delays.

このようなコマンド転送を実現するために、本発明によ
るコマンド転送回路では、ホスト計算機からの制御によ
り、ホスト計算機から書き込み可能な状態と、対応する
プロセッサへの転送待ちの状態、プロセッサへの転送状
態の3つの状態を持つ。
In order to realize such command transfer, the command transfer circuit according to the present invention is controlled by the host computer to enable writing from the host computer, a state of waiting for transfer to the corresponding processor, and a state of transfer to the processor. It has three states.

第1の状態、即ち、ホスト計算機から書き込み可能な状
態では、ホスト計算機は、常にそのコマノドバッファ内
にコマンドを書き込み、蓄えることができる。第2の状
態、即ち、転送待ち状態にあるときは、前段のコマンド
転送回路から送出可能であることを知らせる制御信号を
受取るまで待っている。転送待ちの状態で、前段のコマ
ンド転送回路から送出可能であることを知らせる制御信
号を受取ると、第3の状態、即ち、入力同期信号に同期
して対応するプロセッサにコマンドを送出する状態に移
行する。入力同期信号に同期したコマンド送出が開始さ
れると、次段のコマンド転送回路に送出可能であること
を知らせる制御信号を発生する。
In the first state, ie, a state in which the host computer can write, the host computer can always write and store commands in its command buffer. In the second state, that is, in the transfer waiting state, it waits until it receives a control signal from the previous stage command transfer circuit indicating that it can be sent. In the state of waiting for transfer, when receiving a control signal from the preceding stage command transfer circuit informing that the command can be sent, it shifts to the third state, that is, the state of sending commands to the corresponding processor in synchronization with the input synchronization signal. do. When command transmission is started in synchronization with the input synchronization signal, a control signal is generated to notify the next-stage command transfer circuit that the command can be transmitted.

このようにして、ホスト計算機からの転送すべきコマン
ドを各コマンドバッファに蓄えた後に、転送可能な状態
に設定することによって、次に入力される同期信号に同
期し、しかも、入力側からの転送順を保ったコマンド転
送を実現している。
In this way, by storing the commands to be transferred from the host computer in each command buffer and setting them in a transferable state, the commands can be synchronized with the next input synchronization signal, and the transfer from the input side can be performed. Achieves orderly command transfer.

(実施例) 第1図は、第1の本発明の一実施例を示すブロック図で
ある。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the first invention.

図において、1はホスト計算機、2. 3. 4はプロ
セッサ、5.6. 7はプロセッサ3.4.5に各々対
応して設けられたコマンド転送回路は、8はデータ入力
端子、9はデータ出力端子、22は同期信号入力端子、
21は制御信号発生器である。
In the figure, 1 is a host computer, 2. 3. 4 is a processor, 5.6. 7 is a command transfer circuit provided corresponding to each of the processors 3, 4, and 5; 8 is a data input terminal; 9 is a data output terminal; 22 is a synchronization signal input terminal;
21 is a control signal generator.

プロセッサ2.3.4は、予め幾つかのプログラムを内
蔵しておりホスト計算機1からコマンド転送回路5,6
.7を介して送られるコマンドに基づいて処理内容の選
択や処理パラメータの変更が行われる。
The processor 2.3.4 has several programs built-in in advance and transfers commands from the host computer 1 to the command transfer circuits 5 and 6.
.. Based on commands sent via 7, processing contents are selected and processing parameters are changed.

プロセッサ2は、データ入力端子8に供給される入力信
号を同期信号入力端子22から供給される同期信号に基
づいて取り込み、処理する。プロセッサ2の処理結果は
そのままプロセッサ3へのデータ入力となる。一方、コ
マンド転送回路5は、同期信号入力端子22から入力さ
れた同期信号をプロセッサ2による処理遅延だけ遅らせ
られて次段のコマンド転送回路6とプロセッサLK供給
する。従って、プロセラf3は、プロセラt2での処理
遅延にかかわらず、コマンド転送回路5から供給される
同期信号に基づいてプロセッサ2の処理結果を取り込み
、処理することができる。同様にプロセッサ4も、コマ
ンド転送回路6で遅延された同期信号に基づいてプロセ
ッサ3の処理結果を取り込み、処理することができる6
以上のように、パイプライン処理の各段でうける処理遅
延に合せて同期信号を遅らせて次段にうけ渡すことによ
って直列接続されたプロセッサでパイプライン処理を実
現している。
The processor 2 receives and processes the input signal supplied to the data input terminal 8 based on the synchronization signal supplied from the synchronization signal input terminal 22. The processing results of the processor 2 become data input to the processor 3 as they are. On the other hand, the command transfer circuit 5 supplies the synchronization signal input from the synchronization signal input terminal 22 to the next-stage command transfer circuit 6 and the processor LK after being delayed by the processing delay by the processor 2. Therefore, the processor f3 can take in and process the processing results of the processor 2 based on the synchronization signal supplied from the command transfer circuit 5, regardless of the processing delay in the processor t2. Similarly, the processor 4 can also take in and process the processing results of the processor 3 based on the synchronization signal delayed by the command transfer circuit 6.
As described above, pipeline processing is realized by serially connected processors by delaying the synchronization signal in accordance with the processing delay caused at each stage of pipeline processing and passing it on to the next stage.

ホスト計算機1は、パスを介してコマンド転送回路5.
 6. 7内のコマ/ドパソファに転送すべきコマンド
を書込む。この時、コマンド転送回路5、 6. 7は
、ホスト計算機1からの書込みモードとなっており、コ
マンド転送回路5,6.7から対応するプロセッサ2.
 3.4へのコマンド転送は行なっていない。このよう
にしてコマンド転送回路5,6.7内に転送すべきコマ
ンドを全て蓄えた後に、ホスト計算機1は、バスを介し
てコマ/ド転送回路5,6.7を転送待ち状態だする。
The host computer 1 connects the command transfer circuit 5.
6. Write the command to be transferred to the frame/dopa sofa in 7. At this time, the command transfer circuits 5, 6. 7 is in write mode from the host computer 1, and command transfer circuits 5, 6.7 to the corresponding processors 2.
No commands are transferred to 3.4. After storing all the commands to be transferred in the command transfer circuits 5, 6.7 in this manner, the host computer 1 puts the command/word transfer circuits 5, 6.7 into a transfer waiting state via the bus.

その後、ホスト計算機1が、制御信号発生器21に制御
信号の発生を指示することによって制御信号発生器21
からコマンド転送回路5にコマンド送出可能であること
を知らせる制御信号を発する。
Thereafter, the host computer 1 instructs the control signal generator 21 to generate a control signal.
A control signal is generated from the command transfer circuit 5 to inform the command transfer circuit 5 that the command can be sent.

コマンド転送回路5は、すでにホスト計算機11Cより
転送待ち状態になっており、かつ、制御信号発生器21
からコマンド送出可能であること分知らされることによ
り、入力同期信号端子22に供給される同期信号に同期
してプロセッサ2へのコマンド転送を開始する。コマン
ド転送回路5は、コマンド転送を開始すると同時に、コ
マンド転送回路6にコマンド送出可能であることを知ら
せる制御信号を発する。
The command transfer circuit 5 is already in a transfer waiting state from the host computer 11C, and the control signal generator 21
When it is notified that the command can be sent from the processor 2, it starts transferring the command to the processor 2 in synchronization with the synchronization signal supplied to the input synchronization signal terminal 22. The command transfer circuit 5, at the same time as starting command transfer, issues a control signal to the command transfer circuit 6 to inform it that the command can be sent.

コマンド転送回路6は、すでにホスト計算機1により転
送待ち状態になっており、かつ、コマンド転送回路5か
らコマンド送出可能でおることを知らされることにより
、コマンド転送回路5でプロセッサ2による処理遅延だ
け遅延した同期信号に同期してプロセッサ3へのコマン
ド転送を開始する。従って、プロセッサ2にコマンドが
転送されるのと同じ同期信号でプロセッサ3ヘコマンド
が転送される。コマンド転送回路6は、コマンド転送回
路5と同様に、コマンド転送を開始すると同時に、次段
のコマンド転送回路7にコマンド送出可能であることを
知らせる制御信号を発する。
The command transfer circuit 6 is already in a transfer waiting state by the host computer 1 and is informed by the command transfer circuit 5 that the command can be sent, so that the command transfer circuit 5 only delays processing by the processor 2. Command transfer to the processor 3 is started in synchronization with the delayed synchronization signal. Therefore, the command is transferred to the processor 3 using the same synchronization signal as the command is transferred to the processor 2. Like the command transfer circuit 5, the command transfer circuit 6 starts command transfer and simultaneously issues a control signal to notify the next-stage command transfer circuit 7 that the command can be sent.

コマンド転送回路7も、コマンド転送回路6と同様に、
前段のコマンド転送回路が発するコマンド送出可能であ
ることを知らせる制御信号と同期信号によりプロセッサ
4へのコマンド転送を開始する。
Similarly to the command transfer circuit 6, the command transfer circuit 7 also has the following functions:
Command transfer to the processor 4 is started by a control signal and a synchronization signal issued by the command transfer circuit at the previous stage to inform that the command can be sent.

以上のような方式により、直列に接続されたコマンド転
送回路5,6.7間で、コマンド送出可能であることを
知らせる制御信号と同期信号を信号の流れに沿ってうけ
渡すことにより多段に接続されたプロセッサ間でプロセ
ッサの処理遅延にともなう同期ずれの無いコマンド転送
方式が可能となる。
With the above method, a control signal and a synchronization signal indicating that a command can be sent are passed between the serially connected command transfer circuits 5, 6, and 7 along the signal flow, thereby creating a multi-stage connection. This enables a command transfer method that does not cause synchronization deviations due to processing delays between the processors.

第2図は、第2の本発明によるコマンド転送回路の一実
施例である。
FIG. 2 shows an embodiment of a command transfer circuit according to the second invention.

図中、14はバッファメモリ、15は同期信号出力端子
10に供給される同期信号を遅延させ。
In the figure, 14 is a buffer memory, and 15 is for delaying the synchronization signal supplied to the synchronization signal output terminal 10.

同期信号出力端子11に出力する遅延回路、16は制御
部で、その詳細は第4図に示されている。
A delay circuit 16 outputs to the synchronization signal output terminal 11, and 16 is a control section, the details of which are shown in FIG.

また1本コマンド転送回路は、端子19を介してホスト
計算機と接続され、端子20を介して対応するプロセッ
サにコマンドが送出される。12は制御信号入力端子、
13は制御信号出力端子である。
Further, one command transfer circuit is connected to a host computer via a terminal 19, and commands are sent to a corresponding processor via a terminal 20. 12 is a control signal input terminal;
13 is a control signal output terminal.

バッファメモリ14は、端子19を介してホスト計算機
1からコマンドを書込まれ、制御部16からの制御信号
くより、蓄えられたコマンドを端子20に順次出力する
先入先出記憶回路である。
The buffer memory 14 is a first-in, first-out storage circuit into which commands are written from the host computer 1 via a terminal 19 and sequentially outputs the stored commands to a terminal 20 based on a control signal from the control unit 16.

コマンド出力は、制御部16からの制御信号の立上がり
によって開始され、蓄えられたコマンドが全てプロセッ
サに転送し終わるまで順次読み出される。このとき、読
み出しはプロセッサ側のクロックで行われる。
Command output is started by the rise of the control signal from the control unit 16, and is sequentially read out until all stored commands are transferred to the processor. At this time, reading is performed using the clock on the processor side.

遅延回路15は、端子19を介してホスト計算機1から
設定される値だけ同期信号入力端子10に供給される同
期信号を遅らせて同期信号出力端子11に出力する。遅
延回路15によりコマンド転送回路に対応するプロセッ
サによる処理遅延量と同じだけ同期信号を遅らせ、次段
のコマンド転送回路に送ることができる。
The delay circuit 15 delays the synchronization signal supplied to the synchronization signal input terminal 10 by a value set from the host computer 1 via the terminal 19 and outputs the delayed synchronization signal to the synchronization signal output terminal 11 . The delay circuit 15 can delay the synchronization signal by the same amount as the amount of processing delay by the processor corresponding to the command transfer circuit, and send it to the next-stage command transfer circuit.

制御部16は、第4図に示すように、1ビツトのレジス
タ30.ゲート31およびDタイプ2リップ70ツブ3
2から構成される。
As shown in FIG. 4, the control unit 16 has a 1-bit register 30. Gate 31 and D type 2 lip 70 knob 3
Consists of 2.

ホスト計算機1は、端子19を介してレジスタ30に値
″Onを書込むことにより、7リツグ70ツブ32のリ
セット端子RにO”を供給して7リツプフロツプ32を
@θ″に初期化する。この状態が、第1の状態、即ち、
ホスト計算機1からバッファメモリ14に書き込み可能
な状態に対応する。
The host computer 1 writes the value "On" to the register 30 via the terminal 19, supplies "O" to the reset terminal R of the 7-lip flop 32, and initializes the 7-lip flop 32 to @θ". This state is the first state, that is,
This corresponds to a state in which the host computer 1 can write to the buffer memory 14.

次に、ホスト計算機1が、全てのコマンド転送回路に転
送すべきコマンドを格納し終わると、レジスタ30の内
容を11”として、第2の状態、即ち、前段のコマンド
転送回路からコマンド送出可能であることを知らせる制
御信号待ちの状態とする。ここでは、制御信号入力端子
12に入力される値が1”である時にコマンド送出可能
となる。
Next, when the host computer 1 finishes storing the commands to be transferred to all command transfer circuits, it sets the contents of the register 30 to 11'' and enters the second state, that is, the command can be sent from the previous command transfer circuit. The control signal is in a state of waiting for a control signal to notify the user of a certain situation.Here, when the value input to the control signal input terminal 12 is 1'', the command can be sent.

この状態で、同期信号が0”から“1”にたち上がると
、Dタイプクリップ70ツブ32は、ゲート31の値、
即ち、レジスタ30と入力端子12の論理積11”を取
り込むので、′mO”から′″1”に変化する。これは
、第3の状態、即ち、同期信号入力端子10に供給され
る同期信号に同期して対応するプロセッサにコマンドを
送出する状態に対応する。Dタイプクリップフロップ3
2が、′″0”から′″1”に変化することによって。
In this state, when the synchronization signal rises from 0 to 1, the D type clip 70 knob 32 changes the value of the gate 31,
That is, since the logical product 11'' of the register 30 and the input terminal 12 is taken in, the signal changes from 'mO' to '1'. This corresponds to the third state, that is, a state in which commands are sent to the corresponding processors in synchronization with the synchronization signal supplied to the synchronization signal input terminal 10. D type clip flop 3
2 changes from ``0'' to ``1''.

出力端子33を介して第2図のバッファメモリ14にコ
マンド送出の開始が指示される。同時K。
Via the output terminal 33, the buffer memory 14 in FIG. 2 is instructed to start sending commands. Simultaneous K.

制御信号出力端子13も@1”となるので1次段に接続
されたコマンド転送回路にコマンド送出可能であること
を知らせる制御信号を発したことになる。
Since the control signal output terminal 13 also becomes @1'', this means that a control signal is issued to notify the command transfer circuit connected to the primary stage that the command can be sent.

本コマンド転送回路が、第1図に示したアレイプロセッ
サに用いられた場合には、第1図の制御信号発生器21
は、同期信号くかかわらず、常に′″l”を出力してい
れば良い。
When this command transfer circuit is used in the array processor shown in FIG. 1, the control signal generator 21 shown in FIG.
It suffices to always output ``1'' regardless of the synchronization signal.

第3図は、第3の本発明によるコマンド転送回路の一実
施例である。
FIG. 3 shows an embodiment of a command transfer circuit according to the third aspect of the present invention.

図中、14はバッファメモリ、15は同期信号入力端子
10に供給される同期信号を遅延させ、同期信号出力端
子11に出力する第1の遅延回路、17は制御部で、そ
の詳細は第5図に示されている。18は制御部17が発
生する制御信号を遅延させる第2の遅延回路である。ま
た1本コマンド転送回路は、端子19を介して、ホスト
計算機と接続され、端子20を介して、対応するプロセ
ッサにコマンドが送出される。12は制御信号入力端子
、13は、制御信号出力端子である。
In the figure, 14 is a buffer memory, 15 is a first delay circuit that delays the synchronization signal supplied to the synchronization signal input terminal 10 and outputs it to the synchronization signal output terminal 11, and 17 is a control section, the details of which are explained in the fifth section. As shown in the figure. 18 is a second delay circuit that delays the control signal generated by the control section 17. Further, one command transfer circuit is connected to a host computer via a terminal 19, and commands are sent to a corresponding processor via a terminal 20. 12 is a control signal input terminal, and 13 is a control signal output terminal.

バッファメモリ14は、端子19を介してホスト計算機
lからコマンドを書込まれ、制御部16からの制御信号
により蓄えられたコマンドを端子20に順次出力する先
入先出記憶回路である。コマンド出力は、制御部17か
らの制御信号の立上がりによって開始され、蓄えられた
コマンドが全てプロセッサに転送し終わるまで順次読み
出される。このとき、読み出しけも”プロセッサ側のク
ロックで行われる。
The buffer memory 14 is a first-in, first-out storage circuit into which commands are written from the host computer l via a terminal 19 and sequentially outputs the stored commands to a terminal 20 in response to a control signal from the control unit 16. Command output is started by the rise of the control signal from the control unit 17, and is sequentially read out until all stored commands are transferred to the processor. At this time, reading is also performed using the clock on the processor side.

遅延回路15は、端子19を介してホスト計算機1から
設定される値だけ同期信号入力端子10に供給される同
期信号を遅らせて同期信号出力端子11に出力する。遅
延回路15によりコマンド転送回路に対応するプロセッ
サによる処理遅延量と同じたけ同期信号を遅らせ1次段
のコマンド転送回路に送ることができる。
The delay circuit 15 delays the synchronization signal supplied to the synchronization signal input terminal 10 by a value set from the host computer 1 via the terminal 19 and outputs the delayed synchronization signal to the synchronization signal output terminal 11 . The delay circuit 15 can delay the synchronization signal by the same amount as the amount of processing delay by the processor corresponding to the command transfer circuit, and send it to the command transfer circuit at the primary stage.

制御部17は、第5図に示すように、1ビツトのレジス
タ40と、Dタイプフリップフロップ42から構成され
る。ホスト計算機1社、端子19f:介してレジスタ4
0に値@0”を書込むこと九より、リセット端子RK″
0”を供給し、Dタイプクリップ70ツブ42を0に初
期化する。
The control section 17 is composed of a 1-bit register 40 and a D-type flip-flop 42, as shown in FIG. 1 host computer, terminal 19f: register 4 via
By writing the value @0'' to 0, the reset terminal RK''
0'' to initialize the D-type clip 70 knob 42 to 0.

この状態が、第1の状態、即ち、ホスト計算機1からバ
ッファメモリ14に書き込み可能な状態rC対応する。
This state corresponds to the first state, ie, the state rC in which the host computer 1 can write to the buffer memory 14.

次に、ホスト計算機1が、全てのコマンド転送回路に転
送すべきコマンドを格納し終わると、レジスタ40の内
容を′″1″として、第2の状態、即ち、前段のコマン
ド転送回路からコマンド送出可能であることを知らせる
制御信号待ちの状態とする。この状態で、制御信号入力
端子12に供給される制御信号が′θ″から@1”にた
ち上がると、Dタイプクリップ70ツブ42は、レジス
タ40の値を取り込むので、@O”から11”に変化す
る。これにより、第2図のバッファメモリ14にコマン
ド送出の開始が指示されたことになる。同時に、制御信
号出力端子13を介して第3図の遅延回路18にDタイ
プクリップ70ツブ42の値を出力する。
Next, when the host computer 1 finishes storing the commands to be transferred to all command transfer circuits, it sets the contents of the register 40 to ``1'' and enters the second state, that is, the command is sent from the previous command transfer circuit. The state is set to wait for a control signal informing that it is possible. In this state, when the control signal supplied to the control signal input terminal 12 rises from 'θ'' to @1'', the D type clip 70 knob 42 takes in the value of the register 40, so it changes from @O'' to 11''. Changes to This means that the buffer memory 14 in FIG. 2 is instructed to start sending the command. At the same time, the value of the D type clip 70 tube 42 is outputted to the delay circuit 18 in FIG. 3 via the control signal output terminal 13.

遅延回路18は、予めホスト計算機1により、対応する
プロセッサによる処理遅延量と同じだけ同期信号を遅ら
せるように設定されているため、第3図の制御信号出力
端子13は、第5図の出力端子44が′mO″から′″
1”K変化してから対応するプロセッサによる処理遅延
量だけ遅れて′″0″′から@1”に変化する。このよ
うにして、次段に接続されたコマンド転送回路にコマン
ド送出可能であることを知らせる制御信号・を発する。
Since the delay circuit 18 is set in advance by the host computer 1 to delay the synchronization signal by the same amount as the amount of processing delay by the corresponding processor, the control signal output terminal 13 in FIG. 3 is the same as the output terminal in FIG. 5. 44 from 'mO''to'''
After changing by 1''K, the value changes from ``0'' to @1 with a delay of the amount of processing delay by the corresponding processor. In this way, a control signal is issued to inform the command transfer circuit connected to the next stage that the command can be sent.

本コマンド転送回路が、第1図に示したアレイプロセッ
サに用いられた場合には、第1図の制御信号発生器21
は、第5図の遅延回路15.18と同じ遅延回路を用い
れば曳い、制御信号発生器21は、ホスト計算機1によ
り、予め遅延量が設定される。従って、制御信号発生器
21の遅延量設定により、入力信号の1周期内で、入力
信号の同期信号と1コマンド転送開始するタイミングを
入力信号の1周期内で任意に設定できる。
When this command transfer circuit is used in the array processor shown in FIG. 1, the control signal generator 21 shown in FIG.
can be obtained by using the same delay circuits as delay circuits 15 and 18 in FIG. Therefore, by setting the delay amount of the control signal generator 21, the synchronization signal of the input signal and the timing at which one command transfer is started can be arbitrarily set within one cycle of the input signal.

(発明の効果) 以上のように、本発明によれば、各パイプライン段の処
理遅iK起因するプロセッサ間の同期ずれのない、ホス
ト計算機からパイプライン処理を行りているプロセッサ
アレイへのフマ/ド転送カ可能となる。
(Effects of the Invention) As described above, according to the present invention, there is no synchronization difference between processors due to the processing delay iK of each pipeline stage, and there is no synchronization difference between the processors from the host computer to the processor array performing pipeline processing. / file transfer is possible.

また、プロセッサが、システム内の誤動作による同期ず
れを生じた場合も、ホスト計算機からのコマンド転送に
より回復することが可能となる。
Furthermore, even if the processor becomes out of synchronization due to a malfunction within the system, it can be recovered by transferring a command from the host computer.

更に、本発明によるコマンド転送方式は、隣接するプロ
セッサ間での制御信号の受は渡しで実現されるため、プ
ロセッサ数に依存しない拡張性の高いマルチプロセッサ
システムを提供できる。
Further, in the command transfer method according to the present invention, since control signals are passed between adjacent processors, it is possible to provide a highly expandable multiprocessor system that does not depend on the number of processors.

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

第1図拡第1の本発明、第2図は第2の本発明第3図は
第3の本発明それぞれの一実施例を示す図、また第4図
は第2図の要部詳細、第5図は第3図の要部詳細を示す
図である。 1・・・・・・ホスト計算機、2,3.4・・・・・・
プロセッサ、 5.6.7・・・・・・コマンド転送回
路、8・・・・・・データ入力端子、9・・・・・・デ
ータ出力端子、14・・・・・・バッファメモ1ハ 1
5,18  ・・・・・・遅延回路、16゜17・・・
・・・制御部、10.22  ・・・・・・同期信号入
力端子、11・・・・・・同期信号出力端子、12・・
・・・・制御信号入力端子、13・・・・・・制御信号
出力端子、21・・・・・・制御信号発生器、30.4
0  ・・・・・・レジスタ、31・・・・・・ゲート
、  32.42  ・・・・・・Dタイプフリッグ7
0ツブ。 代理人 弁理士  内 原   音 茅  1  凹 茅 2 凹 茅 3vi!J 第 4 直
Fig. 1 shows an enlarged view of the first invention, Fig. 2 shows an embodiment of the second invention, Fig. 3 shows an embodiment of the third invention, and Fig. 4 shows details of the main parts of Fig. 2. FIG. 5 is a diagram showing details of the main part of FIG. 3. 1...Host computer, 2,3.4...
Processor, 5.6.7...Command transfer circuit, 8...Data input terminal, 9...Data output terminal, 14...Buffer memo 1 1
5,18...Delay circuit, 16゜17...
...control unit, 10.22 ... synchronization signal input terminal, 11 ... synchronization signal output terminal, 12 ...
... Control signal input terminal, 13 ... Control signal output terminal, 21 ... Control signal generator, 30.4
0...Register, 31...Gate, 32.42...D type frig 7
0 tsubu. Agent Patent Attorney Uchihara Otokyo 1 Kokyo 2 Kokyo 3vi! J 4th shift

Claims (3)

【特許請求の範囲】[Claims] (1)同期信号の周期内に入力信号を取込み、処理し、
処理結果を出力するプロセッサを複数台直列に接続し、
パイプライン処理を実現するプロセッサアレイの各プロ
セッサにホスト計算機から制御コマンドを転送する方式
であって、転送すべき制御コマンドは、前記ホスト計算
機から前記複数のプロセッサ各々に対応する記憶手段に
格納した後、前記記憶手段から各々のプロセッサへは、
プロセッサアレイの入力側からプロセッサの接続順序に
従つて転送を開始することを特徴とするコマンド転送方
式。
(1) Capture and process the input signal within the period of the synchronization signal,
Connect multiple processors in series to output processing results,
A method of transferring control commands from a host computer to each processor of a processor array that implements pipeline processing, wherein the control commands to be transferred are stored in storage means corresponding to each of the plurality of processors from the host computer, and then , from the storage means to each processor,
A command transfer method characterized in that transfer is started from the input side of a processor array in accordance with the connection order of processors.
(2)同期信号の周期内に入力信号を取込み、処理し、
処理結果を出力するプロセッサを複数台直列に接続し、
パイプライン処理を実現するプロセッサアレイに、ホス
ト計算機からの制御コマンドを転送するために各プロセ
ッサ毎に設けられるインターフェース回路であって、外
部より供給される入力同期信号を、対応するプロセッサ
での処理遅延量だけ遅らせて外部に出力する遅延回路と
、ホスト計算機から転送されるコマンドを格納するバッ
ファメモリと、前記ホスト計算機からの指示に基づき、
前記入力同期信号に同期して前記バッファメモリから対
応するプロセッサへのコマンド送出開始を指示するとと
もにコマンド送出開始を知らせる制御信号を生成し外部
に出力する制御部とから成ることを特徴とするコマンド
転送回路。
(2) Capture and process the input signal within the period of the synchronization signal,
Connect multiple processors in series to output processing results,
An interface circuit provided for each processor to transfer control commands from a host computer to a processor array that implements pipeline processing, and is used to transfer input synchronization signals supplied from the outside to processing delays in the corresponding processor. a delay circuit that delays the command by a certain amount and outputs it to the outside; a buffer memory that stores commands transferred from the host computer;
A command transfer characterized by comprising a control unit that instructs to start sending a command from the buffer memory to a corresponding processor in synchronization with the input synchronization signal, and generates and outputs a control signal to the outside to notify the start of sending the command. circuit.
(3)同期信号の周期内に入力信号を取込み、処理し、
処理結果を出力するプロセッサを複数台直列に接続し、
パイプライン処理を実現するプロセッサアレイに、ホス
ト計算機から制御コマンドを転送するために各プロセッ
サに設けられるインターフェース回路であって、入力同
期信号を、対応するプロセッサでの処理遅延量だけ遅ら
せて外部に出力する第1の遅延回路と、前記ホスト計算
機から転送されるコマンドを格納するバッファメモリと
、前記ホスト計算機からの制御により、前記バッファメ
モリから対応するプロセッサへのコマンド送出開始を、
外部から供給される入力制御信号に同期して指示する制
御部と、前記制御部が生成したコマンド送出開始信号を
、前記ホスト計算機が指定する値だけ遅延させて外部に
出力する第2の遅延回路とから成ることを特徴とするコ
マンド転送回路。
(3) Capture and process the input signal within the period of the synchronization signal,
Connect multiple processors in series to output processing results,
An interface circuit provided in each processor to transfer control commands from a host computer to a processor array that implements pipeline processing, which delays input synchronization signals by the amount of processing delay in the corresponding processor and outputs them to the outside. a first delay circuit for storing commands transferred from the host computer; a buffer memory for storing commands transferred from the host computer; and a first delay circuit for starting sending commands from the buffer memory to the corresponding processor under control from the host computer.
a control unit that gives an instruction in synchronization with an input control signal supplied from the outside; and a second delay circuit that delays the command sending start signal generated by the control unit by a value specified by the host computer and outputs the delayed command to the outside. A command transfer circuit comprising:
JP62273816A 1987-10-28 1987-10-28 Command transfer system to processor array and its circuit Pending JPH01114965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62273816A JPH01114965A (en) 1987-10-28 1987-10-28 Command transfer system to processor array and its circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62273816A JPH01114965A (en) 1987-10-28 1987-10-28 Command transfer system to processor array and its circuit

Publications (1)

Publication Number Publication Date
JPH01114965A true JPH01114965A (en) 1989-05-08

Family

ID=17532958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62273816A Pending JPH01114965A (en) 1987-10-28 1987-10-28 Command transfer system to processor array and its circuit

Country Status (1)

Country Link
JP (1) JPH01114965A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154829A (en) * 1997-10-20 2000-11-28 Matsushita Electric Industrial Co., Ltd. Cascaded arithmetic pipeline data processor
JP2007522576A (en) * 2004-02-12 2007-08-09 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Digital signal processing integrated circuit having IO connection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154829A (en) * 1997-10-20 2000-11-28 Matsushita Electric Industrial Co., Ltd. Cascaded arithmetic pipeline data processor
JP2007522576A (en) * 2004-02-12 2007-08-09 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Digital signal processing integrated circuit having IO connection

Similar Documents

Publication Publication Date Title
US4553203A (en) Easily schedulable horizontal computer
US6493818B2 (en) Technique for pipelining synchronization to maintain throughput across two asynchronous clock domain boundaries
JPH036534B2 (en)
JPS6131502B2 (en)
US20040193839A1 (en) Data reordering processor and method for use in an active memory device
JP2001084229A (en) Simd-type processor
JPH01114965A (en) Command transfer system to processor array and its circuit
JPS62118440A (en) Program transfer system
EP1211603B1 (en) Interface for multi-processor
EP0514926B1 (en) A moving image processor
CA1309503C (en) Selective receiver for each processor in a multiple processor system
US6744833B1 (en) Data resynchronization between modules sharing a common clock
US8677103B1 (en) Asynchronous pipelined data path with data transition
JPS6120024B2 (en)
JPS6343784B2 (en)
JP2636937B2 (en) Multi-stage data buffer transfer circuit
JPH0267665A (en) Interface circuit
JPH02211571A (en) Information processor
JPS61174851A (en) Bus control system
JPS6124727B2 (en)
JPH01177143A (en) Memory writing interface circuit
JPS6280754A (en) Memory access controller
JPS60218134A (en) Arithmetic module of pipeline
JPH10105375A (en) Asynchronous fifo buffer device
JPS60205647A (en) Data processor