JPH0926953A - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH0926953A
JPH0926953A JP8112577A JP11257796A JPH0926953A JP H0926953 A JPH0926953 A JP H0926953A JP 8112577 A JP8112577 A JP 8112577A JP 11257796 A JP11257796 A JP 11257796A JP H0926953 A JPH0926953 A JP H0926953A
Authority
JP
Japan
Prior art keywords
data signal
input
signal
circuit
result
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.)
Granted
Application number
JP8112577A
Other languages
Japanese (ja)
Other versions
JP3781476B2 (en
Inventor
Jiro Miyake
二郎 三宅
Kazuki Ninomiya
和貴 二宮
Yoshinori Urano
美紀 浦野
Shintaro Tsubata
真太郎 津幡
Tamotsu Nishiyama
保 西山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11257796A priority Critical patent/JP3781476B2/en
Publication of JPH0926953A publication Critical patent/JPH0926953A/en
Application granted granted Critical
Publication of JP3781476B2 publication Critical patent/JP3781476B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the signal processor of a small scale capable of being used in common for product-sum operations and division. SOLUTION: Plural signal processing elements 105 are cascade-connected and one signal processor provided with three signal paths is constituted. In the respective signal processing elements 105, for shift addition for the multiplication of a variable and a constant to be the base of the product-sum operation, first and second shifters 12 and 13 and an adder-subtractor 14 are used. For subtraction and a shift processing for calculating a partial quotient and a partial remainder in the case of the division, the adder-subtractor 14 and a third shifter 15 for shifting the result are used. The calculated partial quotient is transferred through a flag holding circuit 16 to the signal processing element 105 of a next stage.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、映像信号や音声信
号などの算術演算処理のための信号処理装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing device for arithmetic operation processing of video signals and audio signals.

【0002】[0002]

【従来の技術】今日、従前のNTSC(National Telev
ision System Committee)方式に加えて、EDTV(Ex
tended Definition TV)方式、HDTV(High Definit
ion TV)方式などの新たな放送方式が実用化されてい
る。そこで、異なる放送方式の処理アルゴリズムに共用
できるフレキシブルな映像信号処理装置の実現が強く望
まれている。ところが、従来のテレビジョン受像機は、
各々1つの放送方式に対応した複数の専用ハードウェア
を内蔵し、受信信号に応じて使用ハードウェアを切り替
えるものであったので、コスト高となる欠点があった。
また、今後開始される放送方式に対応したり、処理アル
ゴリズムの変更に対応したりするためには、新たに専用
ハードウェアを開発する必要があり、開発期間の長期
化、開発コストアップという問題をも有していた。
2. Description of the Related Art Today, the conventional NTSC (National Telev)
In addition to the ision System Committee) method, EDTV (Ex
tended Definition TV) system, HDTV (High Definit)
Ion TV) and other new broadcasting systems have been put to practical use. Therefore, it is strongly desired to realize a flexible video signal processing device that can be shared by processing algorithms of different broadcasting systems. However, conventional television receivers
Since a plurality of dedicated hardware corresponding to each one broadcasting system is built in and the hardware used is switched according to the received signal, there is a drawback that the cost becomes high.
In addition, it is necessary to newly develop dedicated hardware in order to support the broadcasting system that will be started in the future and to respond to changes in the processing algorithm, which leads to the problem of longer development period and higher development cost. Also had.

【0003】ある種のテレビジョン受像機では、画素信
号のフィルター処理すなわち積和演算処理に加えて、あ
るフレームに属する画素信号と他のフレームに属する画
素信号との差分すなわちフレーム間差分を求める減算処
理や、1フレーム内の2つの画素信号の差分すなわちエ
ッジ量を求める減算処理が実行される。更に、フレーム
間差分をエッジ量で割る除算処理により、動き量が求め
られる。動画処理の結果と静止画処理の結果とを動き量
に応じた割合で加算するという混合処理も実行される。
In some television receivers, in addition to filtering of pixel signals, that is, product-sum calculation processing, subtraction for obtaining a difference between a pixel signal belonging to a frame and a pixel signal belonging to another frame, that is, an interframe difference. Processing and subtraction processing for obtaining a difference between two pixel signals in one frame, that is, an edge amount are executed. Further, the amount of motion is obtained by a division process in which the difference between frames is divided by the amount of edge. A mixing process of adding the result of the moving image process and the result of the still image process at a ratio according to the amount of motion is also executed.

【0004】フィルター処理を実行するための従来の積
和演算回路は、複数の乗算回路と、複数の加算器とで構
成されたものであった。個々の乗算回路は、例えば多数
の全加算器をツリー状に接続してなる複雑な構造を有す
る。この積和演算回路は、複雑な構造を有する乗算回路
を備えているため、回路規模が大きく、かつ処理速度が
遅いという問題があった。
A conventional product-sum operation circuit for executing filter processing has been composed of a plurality of multiplication circuits and a plurality of adders. Each multiplication circuit has a complicated structure in which a large number of full adders are connected in a tree shape, for example. Since the product-sum calculation circuit includes a multiplication circuit having a complicated structure, it has a problem that the circuit scale is large and the processing speed is slow.

【0005】動き量の算出のための従来の除算回路は、
ROM(Read Only Memory)を用いたものであった。多
数の除算結果をROMに格納しておき、被除数(フレー
ム間差分)と除数(エッジ量)との組み合わせに係る1
つのアドレスをROMに与え、該アドレスに対応した1
つの演算結果をROMから読み出すようにしたものであ
る。この除算回路は、ROMを備えているため、回路規
模が大きいという問題があった。
A conventional division circuit for calculating a motion amount is
A ROM (Read Only Memory) was used. A large number of division results are stored in the ROM, and the result of the combination of the dividend (frame difference) and the divisor (edge amount) is 1
One address is given to the ROM and 1 corresponding to the address
The two calculation results are read out from the ROM. Since this division circuit includes the ROM, there is a problem that the circuit scale is large.

【0006】混合処理のための従来の混合回路は、2個
の乗算回路と、1個の加算器と、1個の減算器とで構成
されたものであった。個々の乗算回路は、例えば多数の
全加算器をツリー状に接続してなる複雑な構造を有す
る。動画処理の結果をA、静止画処理の結果をB、動き
量をKとすると、混合処理の結果MXは、例えば、 MX=K×A+(16−K)×B の演算を実行することにより求められる。ここに、動き
量Kは0から16までの整数のうちの任意の整数であ
る。この混合回路は、複雑な構造を有する乗算回路を備
えているため、上記積和演算回路と同様の問題があっ
た。
The conventional mixing circuit for the mixing process is composed of two multiplication circuits, one adder and one subtractor. Each multiplication circuit has a complicated structure in which a large number of full adders are connected in a tree shape, for example. Assuming that the result of the moving image processing is A, the result of the still image processing is B, and the motion amount is K, the result MX of the mixing processing is, for example, by executing the calculation of MX = K × A + (16−K) × B. Desired. Here, the amount of movement K is an arbitrary integer among integers from 0 to 16. Since this mixing circuit includes a multiplication circuit having a complicated structure, it has the same problem as the product-sum calculation circuit.

【0007】[0007]

【発明が解決しようとする課題】従来のテレビジョン受
像機に内蔵された複数の専用ハードウェアの各々は、複
数の専用ユニットの組み合わせで構成されていた。これ
らの専用ユニットには、上記のような積和演算回路、除
算回路、混合回路などが含まれる。これらの専用ユニッ
トを用いる限り、上記のようなフレキシブルな映像信号
処理装置の実現は望めない。音声信号の処理についても
同様である。
Each of the plurality of dedicated hardware built into the conventional television receiver is composed of a combination of a plurality of dedicated units. These dedicated units include the product-sum calculation circuit, the division circuit, and the mixing circuit as described above. As long as these dedicated units are used, the flexible video signal processing device as described above cannot be realized. The same applies to the processing of audio signals.

【0008】本発明の目的は、信号処理のための1つの
回路ユニットを複数の処理アルゴリズムで共用できるよ
うにすることにある。
An object of the present invention is to enable one circuit unit for signal processing to be shared by a plurality of processing algorithms.

【0009】本発明の他の目的は、信号処理装置の回路
規模を削減することにある。
Another object of the present invention is to reduce the circuit scale of the signal processing device.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、ROMや複雑な構造を有する乗算回路を
用いずに、積和演算処理と除算処理とに共用できる信号
処理装置を実現したものである。具体的には、互いに縦
続接続された複数の処理要素により第1の信号処理装置
を構成する。これら複数の処理要素により、第1の信号
処理装置の入力データ信号を転送するための第1パス
と、各々入力データ信号の対応する処理結果を示すデー
タ信号を転送するための第2及び第3パスとが構成され
る。複数の処理要素の各々は、第1パス上に配置された
第1入力と、第2パス上に配置された第2入力と、第3
パス上に配置された第3入力と、第1入力を介して供給
されたデータ信号を保持するためのデータ保持回路と、
該データ保持回路から供給されたデータ信号と第2入力
を介して供給された他のデータ信号との加減算の演算結
果を求めかつ該演算結果を示すデータ信号を第2パスへ
供給するための演算回路と、データ保持回路から供給さ
れたデータ信号と前記演算結果を示すデータ信号とのい
ずれかを第1パスへ供給するための出力選択回路と、第
3入力を介して供給されたフラグ信号に前記演算結果の
符号を示すフラグ信号を連結して保持しかつ該連結され
たフラグ信号を第3パスへ供給するためのフラグ保持回
路と、前記データ保持回路、演算回路、出力選択回路及
びフラグ保持回路の各々の動作を制御するための処理制
御回路とを備える。しかも、演算回路は、データ保持回
路から供給されたデータ信号に一定量のシフト処理を施
すための入力シフタと、該入力シフタによるシフト処理
の結果を示すデータ信号と他のデータ信号との加減算を
実行するための加減算器と、該加減算器の演算結果を示
すデータ信号に一定量のシフト処理を施すための結果シ
フタと、該結果シフタによるシフト処理の結果を示すデ
ータ信号を保持するための結果レジスタと、第2入力を
介して供給されたデータ信号と結果レジスタから供給さ
れたデータ信号とのいずれかを加減算器へ供給するため
の入力選択回路とを備えることとしたものである。
In order to achieve the above object, the present invention realizes a signal processing device which can be used for both product-sum operation processing and division processing without using a ROM or a multiplication circuit having a complicated structure. It was done. Specifically, the first signal processing device is configured by a plurality of processing elements that are connected in cascade. With these plural processing elements, a first path for transferring an input data signal of the first signal processing device and second and third paths for transferring a data signal indicating a corresponding processing result of each input data signal. And a path is constructed. Each of the plurality of processing elements includes a first input arranged on the first path, a second input arranged on the second path, and a third input.
A third input arranged on the path, and a data holding circuit for holding the data signal supplied via the first input,
Calculation for obtaining a calculation result of addition and subtraction of the data signal supplied from the data holding circuit and another data signal supplied via the second input and supplying a data signal indicating the calculation result to the second path A circuit, an output selection circuit for supplying either the data signal supplied from the data holding circuit or the data signal indicating the operation result to the first path, and the flag signal supplied via the third input. A flag holding circuit for connecting and holding the flag signal indicating the sign of the operation result and supplying the connected flag signal to the third path, the data holding circuit, the operation circuit, the output selection circuit, and the flag holding And a processing control circuit for controlling the operation of each of the circuits. Moreover, the arithmetic circuit adds and subtracts an input shifter for performing a certain amount of shift processing to the data signal supplied from the data holding circuit, and a data signal indicating the result of the shift processing by the input shifter and another data signal. An adder / subtractor for execution, a result shifter for performing a certain amount of shift processing on a data signal indicating the operation result of the adder / subtractor, and a result for holding a data signal indicating the result of the shift processing by the result shifter A register and an input selection circuit for supplying either the data signal supplied via the second input or the data signal supplied from the result register to the adder / subtractor are provided.

【0011】上記第1の信号処理装置によれば、入力シ
フタと加減算器とを利用することにより積和演算処理が
実行される。第1パスを介して入力データ信号を転送
し、かつ第2パスを介して積和演算処理の中間結果を示
すデータ信号を転送するようにすれば、複数の処理要素
で積和演算処理の最終結果を求めることができる。第2
パスから第1パスへのバイパスを出力選択回路により構
成して積和演算処理の最終結果を示すデータ信号を第1
パスへ転送するようにすれば、残りの処理要素で他の処
理を実行できる。また、上記第1の信号処理装置によれ
ば、加減算器とフラグ保持回路と結果シフタと利用する
ことにより除算処理が実行される。この際、除数信号は
第1パスへ、被除数信号は第2パスへそれぞれ与えら
れ、除数信号が第1パスを介して、部分剰余信号が第2
パスを介して、部分商信号が第3パスを介してそれぞれ
転送される。そして、最終段の処理要素のフラグ保持回
路から、除算処理の最終結果すなわち商を表わす信号が
得られる。
According to the first signal processing apparatus, the product-sum calculation process is executed by using the input shifter and the adder / subtractor. If the input data signal is transferred via the first path and the data signal indicating the intermediate result of the product-sum calculation processing is transferred via the second path, the final product-sum calculation processing by a plurality of processing elements will be performed. The result can be obtained. Second
The bypass from the first path to the first path is configured by the output selection circuit, and the first data signal indicating the final result of the product-sum calculation processing is generated.
By transferring to the path, other processing can be executed by the remaining processing elements. Further, according to the first signal processing device, the division processing is executed by using the adder / subtractor, the flag holding circuit and the result shifter. At this time, the divisor signal is applied to the first path and the dividend signal is applied to the second path, and the divisor signal passes through the first path and the partial remainder signal passes through the second path.
The partial quotient signals are respectively transferred via the third path via the path. Then, a signal representing the final result of the division processing, that is, the quotient, is obtained from the flag holding circuit of the processing element at the final stage.

【0012】また、本発明は、複雑な構造を有する乗算
回路を用いずに、混合処理を実行するための信号処理装
置を実現したものである。具体的には、互いに縦続接続
された複数の処理要素により第2の信号処理装置を構成
する。これら複数の処理要素により、各々第2の信号処
理装置の対応する入力データ信号を転送するための第1
及び第2パスと、入力データ信号の処理結果を示すデー
タ信号を転送するための第3パスとが構成される。複数
の処理要素の各々は、第1パス上に配置された第1入力
と、第2パス上に配置された第2入力と、第3パス上に
配置された第3入力と、第1入力を介して供給されたデ
ータ信号を保持しかつ該保持したデータ信号を第1パス
へ供給するための第1ラッチと、第2入力を介して供給
されたデータ信号を保持しかつ該保持したデータ信号を
第2パスへ供給するための第2ラッチと、第3入力を介
して供給されたデータ信号を保持するための第3ラッチ
と、第1ラッチから供給されたデータ信号と第2ラッチ
から供給されたデータ信号とのいずれかを与えられた選
択信号に応じて選択するための選択回路と、該選択され
たデータ信号と第3ラッチから供給されたデータ信号と
の和を求めるための加算器と、該加算器の和を示すデー
タ信号に一定量のシフト処理を施しかつ該シフト処理の
結果を示すデータ信号を第3パスへ供給するためのシフ
タとを備えることとしたものである。
Further, the present invention realizes a signal processing device for executing mixing processing without using a multiplication circuit having a complicated structure. Specifically, the second signal processing device is configured by a plurality of processing elements that are connected in cascade. The plurality of processing elements each provide a first for transferring a corresponding input data signal of the second signal processing device.
And a second path and a third path for transferring a data signal indicating the processing result of the input data signal. Each of the plurality of processing elements includes a first input arranged on the first path, a second input arranged on the second path, a third input arranged on the third path, and a first input. A first latch for holding a data signal supplied through the first path and supplying the held data signal to the first path; and holding the data signal supplied through the second input and the held data A second latch for supplying a signal to the second path, a third latch for holding a data signal supplied via a third input, a data signal supplied from the first latch and a second latch A selection circuit for selecting one of the supplied data signals according to a supplied selection signal, and an addition for obtaining the sum of the selected data signal and the data signal supplied from the third latch Fixed to the data signal indicating the sum of the adder and the adder And subjected to the shift processing in which was decided and a shifter for supplying a data signal indicating the result of the shift processing to the third pass.

【0013】上記第2の信号処理装置によれば、混合さ
れるべき2つのデータ信号が第1及び第2パスを介して
転送され、かつ混合処理の中間結果を示すデータ信号が
第3パスを介して転送される。そして、最終段の処理要
素のシフタから、混合処理の最終結果を示す信号が得ら
れる。
According to the second signal processing device described above, two data signals to be mixed are transferred through the first and second paths, and a data signal indicating an intermediate result of the mixing processing is transmitted through the third path. Be transferred through. Then, a signal indicating the final result of the mixing process is obtained from the shifter of the processing element at the final stage.

【0014】[0014]

【発明の実施の形態】以下、本発明に係る信号処理装置
の具体例について、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Specific examples of the signal processing device according to the present invention will be described below with reference to the drawings.

【0015】図1は、本発明に係る信号処理装置の構成
例を示している。図1において、信号処理装置100
は、互いに縦続接続された4個の信号処理要素(SP
E)105で構成されている。1段目から4段目までの
各信号処理要素105をそれぞれSPE1、SPE2、
SPE3及びSPE4と呼ぶことにする。各SPEは、
第1入力101と、第2入力102と、第3入力103
とを有する。
FIG. 1 shows an example of the configuration of a signal processing device according to the present invention. In FIG. 1, a signal processing device 100
Are four signal processing elements (SP
E) 105. The signal processing elements 105 from the first stage to the fourth stage are respectively connected to SPE1, SPE2,
We will call them SPE3 and SPE4. Each SPE is
First input 101, second input 102, and third input 103
And

【0016】図2は、図1中のSPE1の内部構成を示
している。SPE1は、データ保持回路1と、演算回路
2と、出力選択回路7と、フラグ保持回路16と、処理
制御回路5とを備えている。SPE2、SPE3及びS
PE4の各々の内部構成も、図2と同様である。
FIG. 2 shows the internal structure of the SPE1 shown in FIG. The SPE 1 includes a data holding circuit 1, an arithmetic circuit 2, an output selection circuit 7, a flag holding circuit 16, and a processing control circuit 5. SPE2, SPE3 and S
The internal structure of each PE 4 is the same as that shown in FIG.

【0017】データ保持回路1は、第1入力101を介
して供給された3つのデータ信号を保持するための第
1、第2及び第3ラッチ8,9,10から構成されてい
る。これら第1、第2及び第3ラッチ8,9,10は、
1つのシフトレジスタを構成するように、互いに縦続接
続されている。
The data holding circuit 1 is composed of first, second and third latches 8, 9 and 10 for holding three data signals supplied via the first input 101. These first, second and third latches 8, 9, 10 are
The shift registers are connected in series so as to form one shift register.

【0018】演算回路2は、第2入力102を介して供
給されたデータ信号を保持するための第1レジスタ(入
力レジスタ)3と、データ保持回路1に保持された3つ
のデータ信号の中から少なくとも1個のデータ信号を選
択するためのデータ選択回路22と、各々選択されたデ
ータ信号に一定量のシフト処理を施すための第1及び第
2シフタ(入力シフタ)12,13と、該第1及び第2
シフタ12,13によるシフト処理の結果を示すデータ
信号と他のデータ信号との加減算を実行するための加減
算器14と、該加減算器14の演算結果Lを示すデータ
信号に一定量のシフト処理を施すための第3シフタ(結
果シフタ)15と、該第3シフタ15によるシフト処理
の結果を示すデータ信号を保持するための第2レジスタ
(結果レジスタ)4と、第1レジスタ3から供給された
データ信号と第2レジスタ4から供給されたデータ信号
とのいずれかを加減算器14へ供給するための入力選択
回路6とを有する。加減算器14は、第2シフタ13に
よるシフト処理の結果を示すデータ信号をH、第1シフ
タ12によるシフト処理の結果を示すデータ信号をI、
入力選択回路6から供給されたデータ信号をJとすると
き、加算H+I、加算I+J、減算I−J、又は、減算
J−Iを実行するものである。減算を実行する場合に
は、加減算器14は、減算結果Lを示すデータ信号とと
もに、該減算結果Lの符号を示すフラグ信号Kを供給す
る。以下の説明では、L<0ならばK=0であり、L≧
0ならばK=1であるものとする。なお、加減算器14
は、入力選択回路6から供給されたデータ信号をそのま
ま第3シフタ15へ供給する機能をも有する。
The arithmetic circuit 2 has a first register (input register) 3 for holding a data signal supplied via the second input 102, and three data signals held by the data holding circuit 1. A data selection circuit 22 for selecting at least one data signal, first and second shifters (input shifters) 12 and 13 for performing a certain amount of shift processing on each selected data signal, and the first and second shifters 12 and 13. 1st and 2nd
An adder / subtractor 14 for performing addition and subtraction of a data signal indicating the result of the shift processing by the shifters 12 and 13 and another data signal, and a fixed amount of shift processing on the data signal indicating the operation result L of the adder / subtractor 14. It is supplied from a third shifter (result shifter) 15 for applying, a second register (result register) 4 for holding a data signal indicating the result of the shift processing by the third shifter 15, and a first register 3. It has an input selection circuit 6 for supplying either the data signal or the data signal supplied from the second register 4 to the adder / subtractor 14. The adder / subtractor 14 outputs H as a data signal indicating the result of shift processing by the second shifter 13, and I as a data signal indicating the result of shift processing by the first shifter 12.
When the data signal supplied from the input selection circuit 6 is J, addition H + I, addition I + J, subtraction I-J, or subtraction J-I is executed. When executing the subtraction, the adder / subtractor 14 supplies the flag signal K indicating the sign of the subtraction result L together with the data signal indicating the subtraction result L. In the following description, if L <0, then K = 0, and L ≧
If 0, then K = 1. The adder / subtractor 14
Has a function of directly supplying the data signal supplied from the input selection circuit 6 to the third shifter 15.

【0019】出力選択回路7は、データ保持回路1に保
持されている3つのデータ信号と第3シフタ15から供
給されたデータ信号との中からいずれか1つを選択し
て、第1出力111を介してSPE2の第1入力101
へ供給するものである。第3シフタ15の出力データ信
号は、第2出力112を介してSPE2の第2入力10
2へも供給される。フラグ保持回路16は、第3入力1
03を介して供給されたフラグ信号に加減算器14から
供給されたフラグ信号を連結して保持するものである。
該連結されたフラグ信号は、第3出力113を介してS
PE2の第3入力103へ供給される。処理制御回路5
は、データ保持回路1、演算回路2、出力選択回路7及
びフラグ保持回路16の各々の動作を制御するものであ
る。
The output selection circuit 7 selects any one of the three data signals held in the data holding circuit 1 and the data signal supplied from the third shifter 15, and outputs the first output 111. Via the first input 101 of the SPE2
To be supplied to The output data signal of the third shifter 15 is transmitted through the second output 112 to the second input 10 of the SPE2.
2 is also supplied. The flag holding circuit 16 has a third input 1
The flag signal supplied from the adder / subtractor 14 is connected to the flag signal supplied via 03 and held.
The concatenated flag signal is output to S via the third output 113.
It is supplied to the third input 103 of PE2. Processing control circuit 5
Controls the operations of the data holding circuit 1, the arithmetic circuit 2, the output selection circuit 7, and the flag holding circuit 16.

【0020】図3は、処理制御回路5の内部構成を示し
ている。処理制御回路5は、各々制御情報を記憶するた
めの4つの制御レジスタ200と、4つの制御レジスタ
200へ制御情報を書き込むための書き込み制御回路2
01と、4つの制御レジスタ200から制御情報を読み
出すための読み出し制御回路202とを備えている。書
き込み制御回路201には、書き込み対象の制御レジス
タ200を指定するためのアドレスがアドレスバス20
4を介して、書き込むべき制御情報を示すデータがデー
タバス203を介して、書き込み制御信号が信号線20
5を介してそれぞれ与えられる。各制御レジスタ200
は、演算フィールドOPと、シフトフィールドSFT
と、選択フィールドSELと、ストアフィールドSTR
とからなっている。演算フィールドOPには、加減算器
14の演算則を指定する情報が格納される。シフトフィ
ールドSFTには、第1、第2及び第3シフタ12,1
3,15の各々のシフト量が格納される。選択フィール
ドSELには、入力選択回路6、出力選択回路7及びデ
ータ選択回路22を制御するための情報が格納される。
ストアフィールドSTRには、データ保持回路1、第1
レジスタ3、第2レジスタ4及びフラグ保持回路16を
制御するための情報が格納される。読み出し制御回路2
02には、信号線206を介してクロック信号CLKが
与えられる。読み出し制御回路202は、与えられたク
ロック信号CLKに同期して4つの制御レジスタ200
から制御情報をサイクリックに読み出す。読み出された
制御レジスタ200の各フィールドの内容は、それぞれ
制御信号207,208,209,210として出力さ
れる。
FIG. 3 shows the internal configuration of the processing control circuit 5. The processing control circuit 5 includes four control registers 200 for storing control information and a write control circuit 2 for writing control information in the four control registers 200.
01 and four read control circuits 202 for reading control information from the four control registers 200. In the write control circuit 201, an address for designating the control register 200 to be written has an address bus 20.
4, data indicating control information to be written is transmitted via the data bus 203, and a write control signal is transmitted via the signal line 20.
5 respectively. Each control register 200
Is the operation field OP and the shift field SFT
, Select field SEL, store field STR
It consists of In the operation field OP, information designating the operation rule of the adder / subtractor 14 is stored. The shift field SFT includes first, second and third shifters 12, 1
The shift amounts of 3 and 15 are stored. Information for controlling the input selection circuit 6, the output selection circuit 7, and the data selection circuit 22 is stored in the selection field SEL.
In the store field STR, the data holding circuit 1, the first
Information for controlling the register 3, the second register 4, and the flag holding circuit 16 is stored. Read control circuit 2
A clock signal CLK is applied to 02 via a signal line 206. The read control circuit 202 synchronizes with the four control registers 200 in synchronization with the supplied clock signal CLK.
The control information is read cyclically from. The read contents of each field of the control register 200 are output as control signals 207, 208, 209 and 210, respectively.

【0021】以上の構成を備えた信号処理装置100
は、積和演算処理と除算処理とを実行することができ
る。まず、積和演算処理の動作を説明する。積和演算の
基本は、データ信号Y1と定係数A1との乗算である。
ここでは、A1=11/16=1/2+1/8+1/1
6の例について説明する。データ信号Y1は、第1入力
101からSPE1の第1ラッチ8に与えられる。第1
サイクルでは、SPE1のデータ選択回路22は第1ラ
ッチ8に保持されているデータ信号Y1を選択する。処
理制御回路5は、第1及び第2シフタ12,13にそれ
ぞれ1ビット及び3ビット右へシフトするように指示を
出す。加減算器14は、第1及び第2シフタ12,13
の各出力を加算する。これにより、加算結果L=Y1×
(1/2+1/8)が得られる。この加算結果を示すデ
ータ信号は、そのまま第3シフタ15を素通りして第2
レジスタ4に格納される。次の第2サイクルでは、SP
E1の第1ラッチ8のデータ信号Y1が第2ラッチ9へ
転送される。データ選択回路22は、第2ラッチ9に保
持されているデータ信号Y1を選択する。処理制御回路
5は、第1シフタ12に4ビット右へシフトするように
指示を出す。入力選択回路6は、第2レジスタ4から供
給されたデータ信号を選択する。加減算器14は、第1
シフタ12から供給されたデータ信号と入力選択回路6
から供給されたデータ信号とを加算する。これにより、
乗算結果Y1×A1=Y1×(1/2+1/8+1/1
6)が得られる。
The signal processing apparatus 100 having the above configuration
Can execute the sum-of-products calculation process and the division process. First, the operation of the product-sum calculation process will be described. The basis of the product-sum operation is multiplication of the data signal Y1 and the constant coefficient A1.
Here, A1 = 11/16 = 1/2 + 1/8 + 1/1
An example of No. 6 will be described. The data signal Y1 is given from the first input 101 to the first latch 8 of the SPE1. First
In the cycle, the data selection circuit 22 of SPE1 selects the data signal Y1 held in the first latch 8. The processing control circuit 5 instructs the first and second shifters 12 and 13 to shift right by 1 bit and 3 bits, respectively. The adder / subtractor 14 includes the first and second shifters 12, 13
Add each output of. As a result, the addition result L = Y1 ×
(1/2 + 1/8) is obtained. The data signal indicating the addition result passes through the third shifter 15 as it is,
It is stored in the register 4. In the next second cycle, SP
The data signal Y1 of the first latch 8 of E1 is transferred to the second latch 9. The data selection circuit 22 selects the data signal Y1 held in the second latch 9. The processing control circuit 5 instructs the first shifter 12 to shift right by 4 bits. The input selection circuit 6 selects the data signal supplied from the second register 4. The adder / subtractor 14 has a first
Data signal supplied from shifter 12 and input selection circuit 6
And the data signal supplied from. This allows
Multiplication result Y1 × A1 = Y1 × (1/2 + 1/8 + 1/1
6) is obtained.

【0022】さて、上記の例ではSPE1で2サイクル
かけて乗算Y1×A1を処理したが、上記第2サイクル
の処理をSPE2で行なってもよい。この場合、SPE
1の第1ラッチ8に保持されているデータ信号Y1と、
SPE1の第3シフタ15に保持されているデータ信号
Y1×(1/2+1/8)とは、第2サイクルにおいて
それぞれSPE2の第1ラッチ8と第1レジスタ3とに
格納される。SPE2において、第1ラッチ8のデータ
信号Y1は、データ選択回路22及び第1シフタ12を
介して、右4ビットシフト処理が施されたうえで加減算
器14に与えられる。一方、第1レジスタ3のデータ信
号Y1×(1/2+1/8)は入力選択回路6を介して
加減算器14に与えられる。加減算器14は、加算の実
行により乗算結果Y1×(1/2+1/8+1/16)
を求める。このように、2つのSPEでも乗算Y1×A
1を処理することができる。しかも、SPE2で第2サ
イクルの処理を行なっている時に、並行してSPE1で
新たなデータ信号に対する処理を実行できる。このよう
なパイプライン処理を採用すれば、信号処理能力を向上
させることができる。
In the above example, the multiplication Y1 × A1 is processed by the SPE1 in two cycles, but the processing in the second cycle may be performed by the SPE2. In this case, SPE
The first data signal Y1 held in the first latch 8;
The data signal Y1 × (1/2 + 1/8) held in the third shifter 15 of SPE1 is stored in the first latch 8 and the first register 3 of SPE2 in the second cycle, respectively. In SPE2, the data signal Y1 of the first latch 8 is subjected to right 4-bit shift processing via the data selection circuit 22 and the first shifter 12 and then given to the adder / subtractor 14. On the other hand, the data signal Y1 × (1/2 + 1/8) of the first register 3 is given to the adder / subtractor 14 via the input selection circuit 6. The adder / subtractor 14 executes the addition to obtain the multiplication result Y1 × (1/2 + 1/8 + 1/16)
Ask for. Thus, even with two SPEs, multiplication Y1 × A
1 can be processed. Moreover, while the processing of the second cycle is being performed by SPE2, the processing of a new data signal can be performed by SPE1 in parallel. If such pipeline processing is adopted, the signal processing capability can be improved.

【0023】なお、上記信号処理装置100によれば、
他のデータ信号Y2と他の定係数A2との乗算も同様に
して実行され、かつ積和演算処理の結果Y1×A1+Y
2×A2が求められる。
According to the signal processing device 100,
The multiplication of the other data signal Y2 and the other constant coefficient A2 is performed in the same manner, and the result of the product-sum operation processing is Y1 × A1 + Y.
2 × A2 is required.

【0024】次に、除算X/Yの実行について説明す
る。図4は、除算X/Yの1つのアルゴリズムを示して
いる。ここで、被除数X及び除数Yはいずれも8ビット
の整数であるものとする。まず、被除数Xと除数Yとか
ら、1ビットの部分商Q1と、部分剰余R1=X−Y×
Q1とが求められる。ここで、X≧YならばQ1=1か
つR1=X−Yであり、X<YならばQ1=0かつR1
=Xである。次に、除数Yの右1ビットシフト結果Y/
2を新たな除数として、部分剰余R1と除数Y/2とか
ら、1ビットの部分商Q2と、部分剰余R2=R1−Y
/2×Q2とが求められる。ここで、R1≧Y/2なら
ばQ2=1かつR2=R1−Y/2であり、R1<Y/
2ならばQ2=0かつR2=R1である。次に、除数Y
/2の右1ビットシフト結果Y/4を新たな除数とし
て、部分剰余R2と除数Y/4とから、1ビットの部分
商Q3と、部分剰余R3=R2−Y/4×Q3とが求め
られる。ここで、R2≧Y/4ならばQ3=1かつR3
=R2−Y/4であり、R2<Y/4ならばQ3=0か
つR3=R2である。次に、除数Y/4の右1ビットシ
フト結果Y/8を新たな除数として、部分剰余R3と除
数Y/8とから、1ビットの部分商Q4と、部分剰余R
4=R3−Y/8×Q4とが求められる。ここで、R3
≧Y/8ならばQ4=1かつR4=R3−Y/8であ
り、R3<Y/8ならばQ4=0かつR4=R3であ
る。求める商X/Yは、各々1ビットの部分商Q1,Q
2,Q3,Q4を連結したものである。このようにして
得られた4ビットの商Q1Q2Q3Q4は、整数部分Q
1と、小数部分Q2Q3Q4とを有するものである。同
様にして、任意のビット長の商を求めることができる。
Next, the execution of division X / Y will be described. FIG. 4 shows one algorithm for division X / Y. Here, it is assumed that the dividend X and the divisor Y are both 8-bit integers. First, from the dividend X and the divisor Y, the 1-bit partial quotient Q1 and the partial remainder R1 = X−Y ×
Q1 is required. Here, if X ≧ Y, Q1 = 1 and R1 = X−Y, and if X <Y, Q1 = 0 and R1.
= X. Next, the result of shifting 1 bit to the right of the divisor Y /
2 as a new divisor, from the partial remainder R1 and the divisor Y / 2, the 1-bit partial quotient Q2 and the partial remainder R2 = R1-Y
/ 2 * Q2 is required. Here, if R1 ≧ Y / 2, then Q2 = 1 and R2 = R1-Y / 2, and R1 <Y /
If 2, then Q2 = 0 and R2 = R1. Then the divisor Y
The right 1-bit shift result Y / 4 of / 2 is used as a new divisor, and a 1-bit partial quotient Q3 and a partial remainder R3 = R2-Y / 4 * Q3 are obtained from the partial remainder R2 and the divisor Y / 4. To be Here, if R2 ≧ Y / 4, Q3 = 1 and R3
= R2-Y / 4, and if R2 <Y / 4, then Q3 = 0 and R3 = R2. Next, using the right one-bit shift result Y / 8 of the divisor Y / 4 as a new divisor, the 1-bit partial quotient Q4 and the partial remainder R8 are calculated from the partial remainder R3 and the divisor Y / 8.
4 = R3−Y / 8 × Q4 is obtained. Where R3
If ≧ Y / 8, then Q4 = 1 and R4 = R3-Y / 8, and if R3 <Y / 8, then Q4 = 0 and R4 = R3. The quotient X / Y to be calculated is the 1-bit partial quotient Q1, Q
2, Q3 and Q4 are connected. The 4-bit quotient Q1Q2Q3Q4 thus obtained is the integer part Q
1 and a decimal part Q2Q3Q4. Similarly, a quotient with an arbitrary bit length can be obtained.

【0025】図5は、除算X/Yの他のアルゴリズムを
示している。まず、被除数Xと除数Yとから、1ビット
の部分商Q1と、部分剰余r1=X−Y×Q1とが求め
られる。ここで、X≧YならばQ1=1かつr1=X−
Yであり、X<YならばQ1=0かつr1=Xである。
次に、部分剰余r1の左1ビットシフト結果r1×2を
新たな被除数として、被除数r1×2と除数Yとから、
1ビットの部分商Q2と、部分剰余r2=r1×2−Y
×Q2とが求められる。ここで、r1×2≧YならばQ
2=1かつr2=r1×2−Yであり、r1×2<Yな
らばQ2=0かつr2=r1×2である。次に、部分剰
余r2の左1ビットシフト結果r2×2を新たな被除数
として、被除数r2×2と除数Yとから、1ビットの部
分商Q3と、部分剰余r3=r2×2−Y×Q3とが求
められる。ここで、r2×2≧YならばQ3=1かつr
3=r2×2−Yであり、r2×2<YならばQ3=0
かつr3=r2×2である。次に、被除数r3の左1ビ
ットシフト結果r3×2を新たな被除数として、被除数
r3×2と除数Yとから、1ビットの部分商Q4と、部
分剰余r4=r3×2−Y×Q4とが求められる。ここ
で、r3×2≧YならばQ4=1かつr4=r3×2−
Yであり、r3×2<YならばQ4=0かつr4=r3
×2である。求める商X/Yは、各々1ビットの部分商
Q1,Q2,Q3,Q4を連結したものである。このよ
うにして得られた4ビットの商Q1Q2Q3Q4は、整
数部分Q1と、小数部分Q2Q3Q4とを有するもので
ある。同様にして、任意のビット長の商を求めることが
できる。
FIG. 5 shows another algorithm for division X / Y. First, a 1-bit partial quotient Q1 and a partial remainder r1 = X−Y × Q1 are obtained from the dividend X and the divisor Y. Here, if X ≧ Y, Q1 = 1 and r1 = X−
Y, and if X <Y, then Q1 = 0 and r1 = X.
Next, using the left 1-bit shift result r1 × 2 of the partial remainder r1 as a new dividend, from the dividend r1 × 2 and the divisor Y,
1-bit partial quotient Q2 and partial remainder r2 = r1 × 2-Y
× Q2 is required. If r1 × 2 ≧ Y, then Q
2 = 1 and r2 = r1 × 2-Y, and if r1 × 2 <Y, then Q2 = 0 and r2 = r1 × 2. Next, using the left 1-bit shift result r2 × 2 of the partial remainder r2 as a new dividend, the 1-bit partial quotient Q3 and the partial remainder r3 = r2 × 2-Y × Q3 are calculated from the dividend r2 × 2 and the divisor Y. Is required. If r2 × 2 ≧ Y, then Q3 = 1 and r
3 = r2 × 2-Y, and if r2 × 2 <Y, then Q3 = 0
And r3 = r2 × 2. Next, the left 1-bit shift result r3 × 2 of the dividend r3 is set as a new dividend, and from the dividend r3 × 2 and the divisor Y, a 1-bit partial quotient Q4 and a partial remainder r4 = r3 × 2-Y × Q4 are obtained. Is required. If r3 × 2 ≧ Y, then Q4 = 1 and r4 = r3 × 2-
If Y and r3 × 2 <Y, then Q4 = 0 and r4 = r3
It is × 2. The desired quotient X / Y is a concatenation of 1-bit partial quotients Q1, Q2, Q3, Q4. The 4-bit quotient Q1Q2Q3Q4 thus obtained has an integer part Q1 and a decimal part Q2Q3Q4. Similarly, a quotient with an arbitrary bit length can be obtained.

【0026】図6は、図5のアルゴリズムに従った除算
X/Yの具体例を示している。この例では、被除数X=
01010010及び除数Y=00110010から、
4ビットの商X/Yが求められる。まず、減算X−Yが
実行される。この減算の結果は正であるので、部分商Q
1=1かつ部分剰余r1=X−Yである。次に、部分剰
余r1の左1ビットシフトによりr1×2が求められた
後、減算r1×2−Yが実行される。この減算の結果は
正であるので、部分商Q2=1かつ部分剰余r2=r1
×2−Yである。次に、部分剰余r2の左1ビットシフ
トによりr2×2が求められた後、減算r2×2−Yが
実行される。この減算の結果は負であるので、部分商Q
3=0かつ部分剰余r3=r2×2である。この際、減
算の結果そのものすなわちr2×2−Yは捨てられ、先
に求められていたr2×2が部分剰余r3として採用さ
れる。次に、部分剰余r3の左1ビットシフトによりr
3×2が求められた後、減算r3×2−Yが実行され
る。この減算の結果は正であるので、部分商Q4=1か
つ部分剰余r4=r3×2−Yである。このようにし
て、4ビットの商Q1Q2Q3Q4が求められる。つま
り、商X/Yは1.101である。
FIG. 6 shows a concrete example of the division X / Y according to the algorithm of FIG. In this example, the dividend X =
From 01010010 and the divisor Y = 00110010,
A 4-bit quotient X / Y is required. First, the subtraction XY is executed. Since the result of this subtraction is positive, the partial quotient Q
1 = 1 and the partial remainder r1 = XY. Then, r1 × 2 is obtained by shifting the partial remainder r1 to the left by 1 bit, and then the subtraction r1 × 2-Y is executed. Since the result of this subtraction is positive, the partial quotient Q2 = 1 and the partial remainder r2 = r1.
× 2-Y. Next, after r2 × 2 is obtained by shifting the partial remainder r2 to the left by 1 bit, the subtraction r2 × 2-Y is executed. Since the result of this subtraction is negative, the partial quotient Q
3 = 0 and the partial remainder r3 = r2 × 2. At this time, the subtraction result itself, that is, r2 × 2-Y is discarded, and r2 × 2 previously obtained is adopted as the partial remainder r3. Next, the partial remainder r3 is shifted to the left by 1 bit to r.
After 3 * 2 is found, the subtraction r3 * 2-Y is performed. Since the result of this subtraction is positive, the partial quotient Q4 = 1 and the partial remainder r4 = r3 × 2-Y. In this way, the 4-bit quotient Q1Q2Q3Q4 is obtained. That is, the quotient X / Y is 1.101.

【0027】上記信号処理装置100は、図5に示され
た除算アルゴリズムを採用したものである。ここでは、
SPE1の第1ラッチ8に除数信号Yが、SPE1の第
1レジスタ3に被除数信号Xがそれぞれ保持されている
ものとする。第1サイクルでは、SPE1のデータ選択
回路22は第1ラッチ8に保持されている除数信号Yを
選択する。第1シフタ12は、除数信号Yをそのまま加
減算器14へ供給する。一方、入力選択回路6は、被除
数信号Xを加減算器14へ供給する。加減算器14は、
減算X−Yを実行して、減算結果L=X−Yを示すデー
タ信号と該減算結果の符号を示すフラグ信号Kとを供給
する。フラグ信号Kは、除算X/Yの1ビット部分商Q
1を示す信号であり、フラグ保持回路16に保持され
る。減算結果X−Yを示すデータ信号は、そのまま第3
シフタ15を素通りして第2レジスタ4に格納される。
次の第2サイクルでは、SPE1の第1ラッチ8の除数
信号Yが第2ラッチ9へ転送される。入力選択回路6
は、第1サイクルで得られたフラグ信号Kが1の場合に
は第2レジスタ4から供給されたデータ信号X−Yを選
択し、該フラグ信号Kが0の場合には第1レジスタ3か
ら供給されたデータ信号Xを選択して、該選択したデー
タ信号を加減算器14へ供給する。加減算器14は、入
力選択回路6から供給されたデータ信号(X−Y又は
X)をそのまま出力する。したがって、加減算器14の
出力データ信号は除算X/Yの部分剰余r1を示す信号
である。第3シフタ15は、加減算器14から供給され
たデータ信号r1を左に1ビットシフトさせる。この結
果、新たな被乗数信号r1×2がSPE2の第2入力1
02に供給される。また、フラグ保持回路16は部分商
Q1を示すフラグ信号をSPE2の第3入力103へ、
出力選択回路7は第2ラッチ9から供給された除数信号
YをSPE2の第1入力101へそれぞれ供給する。し
たがって、SPE2の第1ラッチ8に除数信号Yが、S
PE2の第1レジスタ3に新たな被除数信号r1×2が
それぞれ保持される。第3及び第4サイクルでは、SP
E2において、上記SPE1における第1及び第2サイ
クルと同様の動作で、除算X/Yの1ビット部分商Q2
と、新たな被乗数信号r2×2とが得られる。この際、
SPE2のフラグ保持回路16は、2ビットの連結され
た部分商Q1Q2をSPE3へ供給する。以下同様の動
作により、SPE4のフラグ保持回路16から4ビット
の商X/Y=Q1Q2Q3Q4を示す信号が出力され
る。
The signal processing device 100 employs the division algorithm shown in FIG. here,
It is assumed that the divisor signal Y is held in the first latch 8 of the SPE1 and the dividend signal X is held in the first register 3 of the SPE1. In the first cycle, the data selection circuit 22 of SPE1 selects the divisor signal Y held in the first latch 8. The first shifter 12 supplies the divisor signal Y as it is to the adder / subtractor 14. On the other hand, the input selection circuit 6 supplies the dividend signal X to the adder / subtractor 14. The adder / subtractor 14 is
The subtraction XY is executed, and the data signal indicating the subtraction result L = XY and the flag signal K indicating the sign of the subtraction result are supplied. The flag signal K is a 1-bit partial quotient Q of division X / Y.
This signal is 1 and is held in the flag holding circuit 16. The data signal indicating the subtraction result XY is the third signal as it is.
It is passed through the shifter 15 and stored in the second register 4.
In the next second cycle, the divisor signal Y of the first latch 8 of SPE1 is transferred to the second latch 9. Input selection circuit 6
Selects the data signal X-Y supplied from the second register 4 when the flag signal K obtained in the first cycle is 1, and from the first register 3 when the flag signal K is 0. The supplied data signal X is selected and the selected data signal is supplied to the adder / subtractor 14. The adder / subtractor 14 outputs the data signal (XY or X) supplied from the input selection circuit 6 as it is. Therefore, the output data signal of the adder / subtractor 14 is a signal indicating the partial remainder r1 of the division X / Y. The third shifter 15 shifts the data signal r1 supplied from the adder / subtractor 14 to the left by 1 bit. As a result, the new multiplicand signal r1 × 2 is transferred to the second input 1 of SPE2.
02. Further, the flag holding circuit 16 sends a flag signal indicating the partial quotient Q1 to the third input 103 of SPE2,
The output selection circuit 7 supplies the divisor signal Y supplied from the second latch 9 to the first input 101 of the SPE2. Therefore, the divisor signal Y is applied to the first latch 8 of SPE2 by S
The new dividend signal r1 × 2 is held in the first register 3 of PE2. In the 3rd and 4th cycles, SP
At E2, a 1-bit partial quotient Q2 of the division X / Y is obtained by the same operation as the first and second cycles in SPE1.
And a new multiplicand signal r2 × 2 is obtained. On this occasion,
The flag holding circuit 16 of SPE2 supplies the connected partial quotient Q1Q2 of 2 bits to SPE3. Thereafter, by a similar operation, the flag holding circuit 16 of the SPE4 outputs a signal indicating a 4-bit quotient X / Y = Q1Q2Q3Q4.

【0028】以上のとおり、上記信号処理装置100に
よれば、ROMや複雑な構造を有する乗算回路を用いず
に、積和演算処理と除算処理とを実行することができ
る。なお当然ながら、該信号処理装置100の中の各S
PEは、単一の加算処理や単一の減算処理をも実行する
ことができる。
As described above, according to the signal processing apparatus 100, the product-sum operation process and the division process can be executed without using the ROM or the multiplication circuit having a complicated structure. Of course, each S in the signal processing device 100 is
The PE can also perform a single addition process or a single subtraction process.

【0029】図7は、図2のSPEの変形例を示してい
る。図7のSPE105aは、除算X/Yの1ビット部
分商Q1を示すデータ信号と、新たな被乗数信号r1×
2とが1サイクルで得られるようにしたものである。図
2のSPE中の第1レジスタ3と、第2レジスタ4と、
第3シフタ15とをなくして、結果選択回路17と、結
果シフタ18と、結果レジスタ19とを追加したもの
が、図7のSPE105aである。結果選択回路17
は、加減算器14で得られたフラグ信号Kが1の場合に
は加減算器14で得られた減算結果Lを示すデータ信号
を選択し、該フラグ信号Kが0の場合には入力選択回路
6から供給されたデータ信号を選択して、該選択したデ
ータ信号を結果シフタ18へ供給する。結果シフタ18
は、結果選択回路17から供給されたデータ信号に一定
量のシフト処理を施す。結果レジスタ19は、結果シフ
タ18によるシフト処理の結果を示すデータ信号を保持
し、かつ該保持したデータ信号を入力選択回路6、出力
選択回路7及び第2出力112へ供給する。入力選択回
路6は、第2入力102を介して供給されたデータ信号
と結果レジスタ19から供給されたデータ信号とのいず
れかを加減算器14及び結果選択回路17へ供給する。
FIG. 7 shows a modification of the SPE of FIG. The SPE 105a of FIG. 7 has a data signal indicating a 1-bit partial quotient Q1 of division X / Y and a new multiplicand signal r1 ×.
2 and 2 are obtained in one cycle. A first register 3 and a second register 4 in the SPE of FIG.
The SPE 105a of FIG. 7 is obtained by removing the third shifter 15 and adding a result selection circuit 17, a result shifter 18, and a result register 19. Result selection circuit 17
Selects the data signal indicating the subtraction result L obtained by the adder / subtractor 14 when the flag signal K obtained by the adder / subtractor 14 is 1, and the input selection circuit 6 when the flag signal K is 0. The data signal supplied from the above is selected, and the selected data signal is supplied to the result shifter 18. Result shifter 18
Performs a certain amount of shift processing on the data signal supplied from the result selection circuit 17. The result register 19 holds a data signal indicating the result of the shift processing by the result shifter 18, and supplies the held data signal to the input selection circuit 6, the output selection circuit 7 and the second output 112. The input selection circuit 6 supplies either the data signal supplied via the second input 102 or the data signal supplied from the result register 19 to the adder / subtractor 14 and the result selection circuit 17.

【0030】図7のSPE105aによれば、加減算器
14が減算結果L=X−Yを示すデータ信号と該減算結
果Lの符号を示すフラグ信号Kとを出力すると、該フラ
グ信号Kが1の場合には減算結果を示すデータ信号X−
Yが結果選択回路17により選択され、該フラグ信号K
が0の場合には入力選択回路6から供給されたデータ信
号Xが結果選択回路17により選択される。すなわち、
結果選択回路17から結果シフタ18へ供給されるデー
タ信号は、除算X/Yの部分剰余r1を示す信号であ
る。結果シフタ18は、結果選択回路17から供給され
た部分剰余信号r1を左に1ビットシフトさせる。この
結果、新たな被乗数信号r1×2が結果レジスタ19に
保持される。一方、フラグ信号Kは、除算X/Yの1ビ
ット部分商Q1を示す信号であり、フラグ保持回路16
に保持される。以上のとおり、図7のSPE105aに
よれば、除算X/Yの1ビット部分商Q1を示す信号
と、新たな被乗数信号r1×2とが1サイクルで得られ
る。なお、結果レジスタ19から入力選択回路6への信
号パスを利用すれば、次の1ビット部分商Q2を求める
ための減算処理を、上記1ビット部分商Q1を求めたの
と同じ加減算器14で実行できる。
According to the SPE 105a of FIG. 7, when the adder / subtractor 14 outputs the data signal indicating the subtraction result L = XY and the flag signal K indicating the sign of the subtraction result L, the flag signal K is 1 In the case, the data signal X- which indicates the subtraction result
Y is selected by the result selection circuit 17, and the flag signal K
When is 0, the data signal X supplied from the input selection circuit 6 is selected by the result selection circuit 17. That is,
The data signal supplied from the result selection circuit 17 to the result shifter 18 is a signal indicating the partial remainder r1 of the division X / Y. The result shifter 18 shifts the partial remainder signal r1 supplied from the result selection circuit 17 to the left by 1 bit. As a result, the new multiplicand signal r1 × 2 is held in the result register 19. On the other hand, the flag signal K is a signal indicating the 1-bit partial quotient Q1 of the division X / Y, and the flag holding circuit 16
Is held. As described above, according to the SPE 105a of FIG. 7, the signal indicating the 1-bit partial quotient Q1 of the division X / Y and the new multiplicand signal r1 × 2 are obtained in one cycle. If the signal path from the result register 19 to the input selection circuit 6 is used, the subtraction processing for obtaining the next 1-bit partial quotient Q2 is performed by the same adder / subtractor 14 as that for obtaining the 1-bit partial quotient Q1. I can do it.

【0031】図8は、図2のSPEの他の変形例を示し
ている。図8のSPE105bは、絶対値化処理のため
の構成を含んだものであり、処理制御回路5aと加減算
器14との間に演算変更制御回路25を介在させたもの
である。処理制御回路5aは、加減算器14のために2
つの制御信号207a,207bを供給する。一方の制
御信号207aは、加算I+Jの指令又は減算I−Jの
指令を含むものとする。また、他方の制御信号207b
は絶対値化指令を意味するものである。演算変更制御回
路25は、加算I+Jの指令と絶対値化指令とが処理制
御回路5aから供給され、かつ第3入力103を介して
負の符号を示すフラグ信号Fが供給された場合には、加
減算器14へ減算I−Jの指令を供給するように制御信
号207cを加減算器14に与える。また、演算変更制
御回路25は、減算I−Jの指令と絶対値化指令とが処
理制御回路5aから供給され、かつ第3入力103を介
して負の符号を示すフラグ信号Fが供給された場合に
は、加減算器14へ加算I+Jの指令を供給するように
制御信号207cを加減算器14に与える。更に、第3
入力103を介して正の符号を示すフラグ信号Fが供給
された場合には、演算変更制御回路25は、処理制御回
路5aから供給された加算又は減算の指令をそのまま加
減算器14へ供給する。
FIG. 8 shows another modification of the SPE of FIG. The SPE 105b in FIG. 8 includes a configuration for absolute value conversion processing, and an operation change control circuit 25 is interposed between the processing control circuit 5a and the adder / subtractor 14. The processing control circuit 5a has a value of 2 for the adder / subtractor 14.
Two control signals 207a and 207b are supplied. One of the control signals 207a is assumed to include a command of addition I + J or a command of subtraction I-J. Also, the other control signal 207b
Means an absolute value conversion command. The operation change control circuit 25 receives the addition I + J command and the absolute value conversion command from the process control circuit 5 a, and also supplies the flag signal F having a negative sign via the third input 103. The control signal 207c is given to the adder / subtractor 14 so as to supply the instruction of the subtraction IJ to the adder / subtractor 14. Further, the operation change control circuit 25 is supplied with the instruction of subtraction IJ and the absolute value conversion instruction from the processing control circuit 5 a, and is supplied with the flag signal F indicating a negative sign via the third input 103. In this case, the control signal 207c is given to the adder / subtractor 14 so as to supply the instruction of addition I + J to the adder / subtractor 14. Furthermore, the third
When the flag signal F indicating a positive sign is supplied via the input 103, the operation change control circuit 25 supplies the addition or subtraction command supplied from the processing control circuit 5a to the adder / subtractor 14 as it is.

【0032】第1レジスタ3は、例えば、第2入力10
2を介して供給された差分A−Bを示すデータ信号を保
持する。第3入力103を介して供給されるフラグ信号
Fは、該差分A−Bの符号を示す信号である。ここで、
A−B<0ならばF=0であり、A−B≧0ならばF=
1であるものとする。差分A−Bを示すデータ信号は、
入力選択回路6を介して加減算器14にJ入力として与
えられる。また、データ信号Cが加減算器14にI入力
として与えられるものとする。
The first register 3 is, for example, the second input 10
The data signal indicating the difference A-B supplied via 2 is held. The flag signal F supplied via the third input 103 is a signal indicating the sign of the difference AB. here,
If A−B <0, then F = 0, and if A−B ≧ 0, then F =
Assume that it is 1. The data signal indicating the difference AB is
It is given as a J input to the adder / subtractor 14 via the input selection circuit 6. It is also assumed that the data signal C is given to the adder / subtractor 14 as an I input.

【0033】A−B<0すなわちF=0の場合に処理制
御回路5aが減算I−Jの指令と絶対値化指令とを供給
すると、加減算器14は加算I+Jを実行する。その加
算結果Lは、 L=I+J=C+(A−B)=C−|A−B| で表わされる。また、A−B≧0すなわちF=1の場合
に処理制御回路5aが減算I−Jの指令と絶対値化指令
とを供給すると、加減算器14は減算I−Jを実行す
る。その減算結果Lは、 L=I−J=C−(A−B)=C−|A−B| で表わされる。すなわち、フラグ信号Fの如何にかかわ
らず、ある値Cから差分A−Bの絶対値を減じる演算が
加減算器14によって実行される。
When the processing control circuit 5a supplies the instruction of the subtraction IJ and the absolute value conversion instruction when AB <0, that is, F = 0, the adder / subtractor 14 executes the addition I + J. The addition result L is represented by L = I + J = C + (AB) = C- | AB |. When the processing control circuit 5a supplies the subtraction IJ command and the absolute value conversion command when AB ≧ 0, that is, F = 1, the adder / subtractor 14 executes the subtraction IJ. The subtraction result L is represented by L = IJ = C- (AB) = C- | AB |. That is, regardless of the flag signal F, the adder / subtractor 14 executes an operation of subtracting the absolute value of the difference AB from a certain value C.

【0034】A−B<0すなわちF=0の場合に処理制
御回路5aが加算I+Jの指令と絶対値化指令とを供給
すると、加減算器14は減算I−Jを実行する。その減
算結果Lは、 L=I−J=C−(A−B)=C+|A−B| で表わされる。また、A−B≧0すなわちF=1の場合
に処理制御回路5aが加算I+Jの指令と絶対値化指令
とを供給すると、加減算器14は加算I+Jを実行す
る。その加算結果Lは、 L=I+J=C+(A−B)=C+|A−B| で表わされる。すなわち、フラグ信号Fの如何にかかわ
らず、ある値Cに差分A−Bの絶対値を加える演算が加
減算器14によって実行される。
When the processing control circuit 5a supplies the addition I + J command and the absolute value conversion command when AB <0, that is, F = 0, the adder / subtractor 14 executes the subtraction I-J. The subtraction result L is represented by L = I-J = C- (AB) = C + | AB. When the processing control circuit 5a supplies the command of addition I + J and the absolute value conversion command when AB ≧ 0, that is, F = 1, the adder / subtractor 14 executes addition I + J. The addition result L is expressed by L = I + J = C + (AB) = C + | AB |. That is, regardless of the flag signal F, the adder / subtractor 14 executes the operation of adding the absolute value of the difference AB to a certain value C.

【0035】以上のとおり、図8のSPE105bによ
れば、フラグ信号Fに応じて加減算器14における演算
則を変更することによって、差分A−Bの絶対値化処理
が達成される。なお、絶対値化の対象となるデータ信号
が差分A−Bに限らないことはいうまでもない。
As described above, according to the SPE 105b of FIG. 8, by changing the operation rule in the adder / subtractor 14 according to the flag signal F, the absolute value conversion process of the difference AB can be achieved. It goes without saying that the data signal to be converted into an absolute value is not limited to the difference A-B.

【0036】図9は、図1中のSPEの他の接続例を示
している。図9の信号処理装置100aは、中央処理装
置(CPU)104と、3行4列の2次元アレイ状に配
置された12個のSPE105、すなわちSPE11、
SPE12、SPE13、SPE14、SPE21、S
PE22、SPE23、SPE24、SPE31、SP
E32、SPE33及びSPE34と、12個の接続回
路106、すなわちC11、C12、C13、C14、
C21、C22、C23、C24、C31、C32、C
33及びC34とを備えている。例えば、C22はSP
E22とSPE23との間に介在している。そして、C
21とC22との間、C22とC23との間、C12と
C22との間及びC22とC32との間には、バイパス
107,108,109,110がそれぞれ設けられて
いる。12個の接続回路106の各々は、データ信号を
どこからどこへ転送すべきかを示す制御情報を記憶する
ための制御レジスタを内蔵している。CPU104は、
全てのSPE105と全ての接続回路106との各々の
制御レジスタへのデータの書き込みを司るものである。
そのために、データバス203と、アドレスバス204
と、書き込み制御信号の転送のための信号線205とが
設けられている(図3参照)。
FIG. 9 shows another connection example of the SPE shown in FIG. The signal processing device 100a of FIG. 9 includes a central processing unit (CPU) 104 and twelve SPEs 105, that is, SPE11, arranged in a two-dimensional array of three rows and four columns.
SPE12, SPE13, SPE14, SPE21, S
PE22, SPE23, SPE24, SPE31, SP
E32, SPE33 and SPE34 and 12 connection circuits 106, that is, C11, C12, C13, C14,
C21, C22, C23, C24, C31, C32, C
33 and C34. For example, C22 is SP
It is interposed between E22 and SPE23. And C
Bypasses 107, 108, 109 and 110 are respectively provided between 21 and C22, between C22 and C23, between C12 and C22 and between C22 and C32. Each of the twelve connection circuits 106 has a built-in control register for storing control information indicating where to transfer the data signal from. The CPU 104
It is responsible for writing data to the control registers of all SPEs 105 and all connection circuits 106.
Therefore, the data bus 203 and the address bus 204
And a signal line 205 for transferring a write control signal (see FIG. 3).

【0037】上記信号処理装置100aによれば、各S
PE105が実行すべき処理を自由に設定できる。ま
た、SPE22の出力データ信号をSPE13及びSP
E23へ分配したり、SPE22の出力データ信号を該
SPE22へ戻したり、SPE22の出力データ信号を
SPE24へ供給(SPE23をスキップする)した
り、SPE14の出力データ信号をSPE24へ供給し
たりすることができる。図9に例示するように信号処理
装置100aを3つの部分121,122,123に分
け、各部分に異なる処理を行なわせることも可能であ
る。なお、信号処理装置100aの中に上記3種類のS
PE105,105a,105bを混在させてもよい。
According to the signal processing apparatus 100a, each S
The processing to be executed by the PE 105 can be freely set. In addition, the output data signal of the SPE22 is SPE13 and SP.
It can be distributed to E23, the output data signal of SPE22 can be returned to SPE22, the output data signal of SPE22 can be supplied to SPE24 (skipping SPE23), or the output data signal of SPE14 can be supplied to SPE24. it can. As illustrated in FIG. 9, it is also possible to divide the signal processing device 100a into three parts 121, 122, 123 and cause each part to perform different processing. In addition, in the signal processing device 100a, the three types of S
The PEs 105, 105a, 105b may be mixed.

【0038】図10は、本発明に係る信号処理装置の他
の構成例を示している。図10において、信号処理装置
150は、混合回路70と混合制御回路71とで構成さ
れている。混合回路70は、互いに縦続接続された5個
の信号処理要素(SPE)74で構成されている。混合
回路70の中の1段目から5段目までの各信号処理要素
74をそれぞれSPE11、SPE12、SPE13、
SPE14及びSPE15と呼ぶことにする。混合回路
70の中の各SPEは、第1入力151と、第2入力1
52と、第3入力153とを有する。混合制御回路71
は、互いに縦続接続された5個の信号処理要素(SP
E)75で構成されている。混合制御回路71の中の1
段目から5段目までの各信号処理要素75をそれぞれS
PE21、SPE22、SPE23、SPE24及びS
PE25と呼ぶことにする。混合制御回路71の中の各
SPEは、第4入力171と、第5入力172とを有す
る。混合回路70及び混合制御回路71の中の各SPE
には、クロック入力80を介して共通のクロック信号C
LKが供給される。SPE21は1ビットの混合率信号
M1をSPE11へ、SPE22は1ビットの混合率信
号M2をSPE12へ、SPE23は1ビットの混合率
信号M3をSPE13へ、SPE24は1ビットの混合
率信号M4をSPE14へ、SPE25は1ビットの混
合率信号M5をSPE15へそれぞれ供給する。
FIG. 10 shows another configuration example of the signal processing device according to the present invention. In FIG. 10, the signal processing device 150 is composed of a mixing circuit 70 and a mixing control circuit 71. The mixing circuit 70 is composed of five signal processing elements (SPE) 74 that are connected in series. The signal processing elements 74 from the first stage to the fifth stage in the mixing circuit 70 are respectively connected to SPE11, SPE12, SPE13,
They will be referred to as SPE14 and SPE15. Each SPE in the mixing circuit 70 has a first input 151 and a second input 1
52 and a third input 153. Mixing control circuit 71
Are five signal processing elements (SP
E) 75. 1 in the mixing control circuit 71
The signal processing elements 75 from the fifth stage to the fifth stage are respectively S
PE21, SPE22, SPE23, SPE24 and S
I will call it PE25. Each SPE in the mix control circuit 71 has a fourth input 171 and a fifth input 172. Each SPE in the mixing circuit 70 and the mixing control circuit 71
To a common clock signal C via a clock input 80.
LK is supplied. The SPE21 sends the 1-bit mixing ratio signal M1 to the SPE11, the SPE22 sends the 1-bit mixing ratio signal M2 to the SPE12, the SPE23 sends the 1-bit mixing ratio signal M3 to the SPE13, and the SPE24 sends the 1-bit mixing ratio signal M4 to the SPE14. The SPE 25 supplies the 1-bit mixing rate signal M5 to the SPE 15, respectively.

【0039】図11は、図10中のSPE11の内部構
成を示している。SPE11は、第1入力151を介し
て供給されたデータ信号を保持するための第1ラッチ5
1と、第2入力152を介して供給されたデータ信号を
保持するための第2ラッチ52と、第3入力153を介
して供給されたデータ信号を保持するための第3ラッチ
56と、選択回路53と、加算器54と、シフタ55と
を備えている。第1、第2及び第3ラッチ51,52,
56には、共通のクロック信号CLKが与えられる。第
1ラッチ51に保持されたデータ信号は、選択回路53
へ供給されるとともに、第1出力161を介してSPE
12の第1入力151へ供給される。第2ラッチ52に
保持されたデータ信号は、選択回路53へ供給されると
ともに、第2出力162を介してSPE12の第2入力
152へ供給される。選択回路53は、第1ラッチ51
から供給されたデータ信号と第2ラッチ52から供給さ
れたデータ信号とのいずれかを1ビットの混合率信号
(選択信号)M1に応じて選択するものである。具体的
には、SPE11の選択回路53は、M1=1ならば第
1ラッチ51から供給されたデータ信号を、M1=0な
らば第2ラッチ52から供給されたデータ信号をそれぞ
れ加算器54へ供給する。加算器54は、選択回路53
から供給されたデータ信号と第3ラッチ56から供給さ
れたデータ信号との和を示すデータ信号をシフタ55へ
供給するものである。シフタ55は、加算器54から供
給されたデータ信号に左1ビットシフト処理を施して得
られたデータ信号を出力するものである。シフタ55の
出力データ信号は、第3出力163を介してSPE12
の第3入力153へ供給される。なお、加算器54は、
第3ラッチ56から供給されたデータ信号をそのままシ
フタ55へ供給する機能をも有する。また、シフタ55
は、加算器54から供給されたデータ信号をそのまま出
力する機能をも有するものとする。SPE12、SPE
13、SPE14及びSPE15の各々の内部構成も、
図11と同様である。
FIG. 11 shows the internal structure of the SPE 11 shown in FIG. The SPE 11 has a first latch 5 for holding a data signal supplied through the first input 151.
1, a second latch 52 for holding the data signal supplied via the second input 152, a third latch 56 for holding the data signal supplied via the third input 153, and a selection The circuit 53, the adder 54, and the shifter 55 are provided. The first, second and third latches 51, 52,
A common clock signal CLK is applied to 56. The data signal held in the first latch 51 is the selection circuit 53.
To the SPE via the first output 161
Twelve first inputs 151 are provided. The data signal held in the second latch 52 is supplied to the selection circuit 53 and is also supplied to the second input 152 of the SPE 12 via the second output 162. The selection circuit 53 includes the first latch 51.
The data signal supplied from the second latch 52 or the data signal supplied from the second latch 52 is selected according to the 1-bit mixing ratio signal (selection signal) M1. Specifically, the selection circuit 53 of the SPE 11 sends the data signal supplied from the first latch 51 to M1 = 1, and the data signal supplied from the second latch 52 to M4 if it is M1 = 0. Supply. The adder 54 includes a selection circuit 53.
The data signal supplied from the third latch 56 and the data signal supplied from the third latch 56 are supplied to the shifter 55. The shifter 55 outputs a data signal obtained by subjecting the data signal supplied from the adder 54 to left 1-bit shift processing. The output data signal of the shifter 55 is sent to the SPE12 via the third output 163.
Of the third input 153. The adder 54 is
It also has a function of directly supplying the data signal supplied from the third latch 56 to the shifter 55. Also, the shifter 55
Has a function of directly outputting the data signal supplied from the adder 54. SPE12, SPE
13, the internal configuration of each of SPE14 and SPE15,
It is similar to FIG.

【0040】図12は、図10中のSPE21の内部構
成を示している。SPE21は、第4入力171を介し
て供給されたデータ信号を保持するための第4ラッチ6
0と、第5入力172を介して供給されたデータ信号を
保持するための第5ラッチ61とに加えて、制御シフタ
62と、減算器66と、結果選択回路67と、フラグ保
持回路69とを備えている。第4及び第5ラッチ60,
61並びにフラグ保持回路69には、共通のクロック信
号CLKが与えられる。第4ラッチ60に保持されたデ
ータ信号は、制御シフタ62へ供給されるとともに、第
4出力181を介してSPE22の第4入力171へ供
給される。制御シフタ62は、第4ラッチ60から供給
されたデータ信号に一定量のシフト処理を施して得られ
たデータ信号を減算器66へ供給するものである。第5
ラッチ61に保持されたデータ信号は、減算器66及び
結果選択回路67へ供給される。減算器66は、第5ラ
ッチ61から供給されたデータ信号から制御シフタ62
によるシフト処理の結果を示すデータ信号を減算して、
その減算の結果Tを示すデータ信号とともに、該減算結
果Tの符号を示すフラグ信号Sを供給する。T<0なら
ばS=0であり、T≧0ならばS=1であるものとす
る。結果選択回路67は、S=1ならば減算器66の減
算結果Tを示すデータ信号を、S=0ならば第5ラッチ
61から供給されたデータ信号をそれぞれ、第5出力1
82を介してSPE22の第5入力172へ供給する。
フラグ保持回路69は、減算器66から供給されたフラ
グ信号Sを保持し、かつ該保持したフラグ信号Sを1ビ
ットの混合率信号M1としてSPE11へ供給する。S
PE22、SPE23、SPE24及びSPE25の各
々の内部構成も、図12と同様である。
FIG. 12 shows the internal structure of the SPE 21 shown in FIG. The SPE 21 has a fourth latch 6 for holding the data signal supplied via the fourth input 171.
0 and the fifth latch 61 for holding the data signal supplied via the fifth input 172, a control shifter 62, a subtractor 66, a result selection circuit 67, and a flag holding circuit 69. Is equipped with. Fourth and fifth latches 60,
A common clock signal CLK is applied to 61 and the flag holding circuit 69. The data signal held in the fourth latch 60 is supplied to the control shifter 62 and also to the fourth input 171 of the SPE 22 via the fourth output 181. The control shifter 62 supplies to the subtractor 66 a data signal obtained by subjecting the data signal supplied from the fourth latch 60 to a certain amount of shift processing. Fifth
The data signal held in the latch 61 is supplied to the subtractor 66 and the result selection circuit 67. The subtractor 66 uses the data signal supplied from the fifth latch 61 to control the shifter 62.
Subtract the data signal showing the result of the shift processing by
A flag signal S indicating the sign of the subtraction result T is supplied together with the data signal indicating the subtraction result T. If T <0, then S = 0, and if T ≧ 0, then S = 1. The result selection circuit 67 outputs the data signal indicating the subtraction result T of the subtractor 66 if S = 1, and the data signal supplied from the fifth latch 61 if S = 0.
To the fifth input 172 of the SPE 22 via 82.
The flag holding circuit 69 holds the flag signal S supplied from the subtractor 66, and supplies the held flag signal S to the SPE 11 as a 1-bit mixing ratio signal M1. S
The internal configuration of each of PE22, SPE23, SPE24, and SPE25 is similar to that of FIG.

【0041】上記混合回路70の動作を説明する。SP
E11の第1、第2及び第3入力151,152,15
3には、それぞれデータ信号A、データ信号B及びデー
タ信号Oが与えられる。データ信号Aは動画処理の結果
を、データ信号Bは静止画処理の結果を、データ信号O
は定数0をそれぞれ示す信号である。SPE11、SP
E12及びSPE13の各々のシフタ55は左1ビット
シフト処理を実行し、SPE14及びSPE15の各々
のシフタ55はシフト処理を実行しないものとする。S
PE15のシフタ55の出力MXと、動き量Kとは、 MX=K×A+(16−K)×B K=M1×8+M2×4+M3×2+M4×1+M5 で表される。すなわち、5ビットの混合率M1M2M3
M4M5に応じて、2つのデータ信号A,Bを17段階
で混合することができる。
The operation of the mixing circuit 70 will be described. SP
E11 first, second and third inputs 151, 152, 15
A data signal A, a data signal B, and a data signal O are given to 3, respectively. Data signal A is the result of moving image processing, data signal B is the result of still image processing, and data signal O
Are signals indicating the constant 0, respectively. SPE11, SP
It is assumed that the shifter 55 of each of E12 and SPE13 executes the left 1-bit shift processing, and each shifter 55 of SPE14 and SPE15 does not execute the shift processing. S
The output MX of the shifter 55 of the PE 15 and the movement amount K are represented by MX = K × A + (16−K) × B K = M1 × 8 + M2 × 4 + M3 × 2 + M4 × 1 + M5. That is, the 5-bit mixing ratio M1M2M3
According to M4M5, the two data signals A and B can be mixed in 17 steps.

【0042】また、SPE11、SPE12、SPE1
3、SPE14及びSPE15の各々のシフタ55がい
ずれもシフト処理を実行せず、SPE15の加算器54
は第3ラッチ56の出力をそのままシフタ55へ供給す
るものとすると、SPE15のシフタ55の出力MX
と、動き量Kとは、 MX=K×A+(4−K)×B K=M1+M2+M3+M4 で表される。すなわち、4ビットの混合率M1M2M3
M4に応じて、2つのデータ信号A,Bを5段階で混合
することができる。
Further, SPE11, SPE12, SPE1
3, each shifter 55 of SPE14 and SPE15 does not perform shift processing, and the adder 54 of SPE15
If the output of the third latch 56 is directly supplied to the shifter 55, the output MX of the shifter 55 of the SPE 15 is
And the amount of movement K are represented by MX = K × A + (4-K) × B K = M1 + M2 + M3 + M4. That is, the 4-bit mixing ratio M1M2M3
Depending on M4, the two data signals A and B can be mixed in five stages.

【0043】以上のとおり、上記混合回路70によれ
ば、複雑な構造を有する乗算回路を用いずに、様々な混
合処理を実行することができる。しかも、各SPEのパ
イプライン動作が可能であり、混合処理結果を毎サイク
ル得ることができる。なお、SPE11の中の第3ラッ
チ56及び加算器54は省略可能である。
As described above, according to the mixing circuit 70, various mixing processes can be executed without using a multiplication circuit having a complicated structure. Moreover, the pipeline operation of each SPE is possible, and the mixing processing result can be obtained every cycle. The third latch 56 and the adder 54 in the SPE 11 can be omitted.

【0044】次に、上記混合制御回路71の動作を説明
する。SPE21の第4及び第5入力171,172に
は、それぞれデータ信号D及びデータ信号Cが与えられ
る。データ信号Cはフレーム間差分を、データ信号Dは
エッジ量をそれぞれ示す信号である。SPE21の制御
シフタ62は右1ビットシフト処理を、SPE22の制
御シフタ62は右2ビットシフト処理を、SPE23の
制御シフタ62は右3ビットシフト処理を、SPE24
の制御シフタ62は右4ビットシフト処理を、SPE2
5の制御シフタ62は右4ビットシフト処理をそれぞれ
実行するものとする。これにより、混合制御回路71
は、図4のアルゴリズムに従った除算C/Dを実行する
こととなる。すなわち、5ビットの混合率M1M2M3
M4M5は、商C/Dを表わしている。ここに、C/D
≧1ならばM1=M2=M3=M4=M5=1であり、
C/D<1ならばM1M2M3M4=16×C/Dかつ
M5=0である。
Next, the operation of the mixing control circuit 71 will be described. The data signal D and the data signal C are applied to the fourth and fifth inputs 171 and 172 of the SPE 21, respectively. The data signal C is a signal indicating the interframe difference, and the data signal D is a signal indicating the edge amount. The control shifter 62 of SPE21 performs right 1-bit shift processing, the control shifter 62 of SPE22 performs right 2-bit shift processing, the control shifter 62 of SPE23 performs right 3-bit shift processing, and SPE24.
The control shifter 62 of SPE2
The control shifter 62 of No. 5 executes the right 4-bit shift processing. As a result, the mixing control circuit 71
Will perform division C / D according to the algorithm of FIG. That is, the 5-bit mixing ratio M1M2M3
M4M5 represents the quotient C / D. Where C / D
If ≧ 1, then M1 = M2 = M3 = M4 = M5 = 1,
If C / D <1, then M1M2M3M4 = 16 × C / D and M5 = 0.

【0045】なお、データ信号Cを予め左へ4ビットシ
フトしておけば、SPE21の制御シフタ62が左3ビ
ットシフト処理を、SPE22の制御シフタ62が左2
ビットシフト処理を、SPE23の制御シフタ62が左
1ビットシフト処理をそれぞれ実行し、SPE24及び
SPE25の各々の制御シフタ62がシフト処理を実行
しないものとすることによって、上記と同等の結果が得
られる。
If the data signal C is shifted to the left by 4 bits in advance, the control shifter 62 of the SPE 21 shifts left 3 bits and the control shifter 62 of the SPE 22 shifts left 2 bits.
As the bit shift processing, the control shifter 62 of the SPE 23 performs the left 1-bit shift processing, and the control shifter 62 of each of the SPE 24 and SPE 25 does not perform the shift processing. .

【0046】以上のとおり、上記混合制御回路71によ
れば、ROMや複雑な構造を有する乗算回路を用いず
に、除算処理を実行することができる。しかも、各SP
Eのパイプライン動作が可能である。
As described above, according to the mixing control circuit 71, the division process can be executed without using the ROM or the multiplication circuit having a complicated structure. Moreover, each SP
E pipeline operation is possible.

【0047】図13は、本発明に係る信号処理装置の更
に他の構成例を示している。図13において、信号処理
装置150aは、混合回路70aと混合制御回路71a
とで構成されている。混合回路70aは、互いに縦続接
続された4個の信号処理要素(SPE)74、すなわち
SPE11、SPE12、SPE13及びSPE14で
構成されている。混合回路70aの中の各SPEの内部
構成は、図11のとおりである。混合制御回路71a
は、互いに縦続接続された4個の信号処理要素(SP
E)75a、すなわちSPE21、SPE22、SPE
23及びSPE24で構成されている。混合制御回路7
1aの中の各SPEは、第4入力173を有する。混合
回路70a及び混合制御回路71aの中の各SPEに
は、クロック入力80を介して共通のクロック信号CL
Kが供給される。SPE21は1ビットの混合率信号M
1をSPE11へ、SPE22は1ビットの混合率信号
M2をSPE12へ、SPE23は1ビットの混合率信
号M3をSPE13へ、SPE24は1ビットの混合率
信号M4をSPE14へそれぞれ供給する。
FIG. 13 shows still another configuration example of the signal processing device according to the present invention. In FIG. 13, the signal processing device 150a includes a mixing circuit 70a and a mixing control circuit 71a.
It is composed of The mixing circuit 70a is composed of four signal processing elements (SPE) 74, that is, SPE11, SPE12, SPE13, and SPE14, which are connected in cascade. The internal configuration of each SPE in the mixing circuit 70a is as shown in FIG. Mixing control circuit 71a
Are four signal processing elements (SP
E) 75a, that is, SPE21, SPE22, SPE
23 and SPE24. Mixing control circuit 7
Each SPE in 1a has a fourth input 173. A common clock signal CL is supplied to each SPE in the mixing circuit 70a and the mixing control circuit 71a via a clock input 80.
K is supplied. SPE21 is a 1-bit mixed rate signal M
1 to SPE11, SPE22 supplies 1-bit mixing ratio signal M2 to SPE12, SPE23 supplies 1-bit mixing ratio signal M3 to SPE13, and SPE24 supplies 1-bit mixing ratio signal M4 to SPE14.

【0048】図14は、図13中のSPE21の内部構
成を示している。SPE21は、第4入力173を介し
て供給されたデータ信号Zを保持するための第4ラッチ
81と、定数データ信号Z1を保持するための定数保持
回路82とに加えて、比較器83と、フラグ保持回路8
4とを備えている。第4ラッチ81及びフラグ保持回路
84には、共通のクロック信号CLKが与えられる。第
4ラッチ81に保持されたデータ信号Zは、比較器83
へ供給されるとともに、第4出力183を介してSPE
22の第4入力173へ供給される。定数保持回路82
は、定数データ信号Z1を比較器83へ供給する。比較
器83は、第4ラッチ81のデータ信号Zから定数保持
回路82のデータ信号Z1を減算して、その減算結果の
符号を示すフラグ信号Sを供給する。減算結果が負なら
ばS=0であり、減算結果が正又は0ならばS=1であ
るものとする。フラグ保持回路84は、比較器83から
供給されたフラグ信号Sを保持し、かつ該保持したフラ
グ信号Sを1ビットの混合率信号M1としてSPE11
へ供給する。つまり、Z<Z1ならばM1=0であり、
Z≧Z1ならばM1=1である。SPE22、SPE2
3及びSPE24の各々の内部構成も、図14と同様で
ある。ただし、SPE22、SPE23及びSPE24
の各々の定数保持回路82は、定数データ信号Z2、Z
3及びZ4をそれぞれ保持するものとする。ここに、Z
1>Z2>Z3>Z4である。
FIG. 14 shows the internal structure of the SPE 21 shown in FIG. The SPE 21 includes a fourth latch 81 for holding the data signal Z supplied via the fourth input 173, a constant holding circuit 82 for holding the constant data signal Z1, and a comparator 83, Flag holding circuit 8
4 is provided. The common clock signal CLK is applied to the fourth latch 81 and the flag holding circuit 84. The data signal Z held in the fourth latch 81 is supplied to the comparator 83.
To the SPE via the fourth output 183
22 to the fourth input 173. Constant holding circuit 82
Supplies the constant data signal Z1 to the comparator 83. The comparator 83 subtracts the data signal Z1 of the constant holding circuit 82 from the data signal Z of the fourth latch 81 and supplies a flag signal S indicating the sign of the subtraction result. If the subtraction result is negative, S = 0, and if the subtraction result is positive or 0, S = 1. The flag holding circuit 84 holds the flag signal S supplied from the comparator 83, and sets the held flag signal S as a 1-bit mixing ratio signal M1 in the SPE11.
Supply to That is, if Z <Z1, then M1 = 0,
If Z ≧ Z1, then M1 = 1. SPE22, SPE2
The internal configuration of each of the SPE 3 and the SPE 24 is similar to that of FIG. However, SPE22, SPE23 and SPE24
The constant holding circuit 82 of each of the
3 and Z4 shall be held respectively. Where Z
1>Z2>Z3> Z4.

【0049】図15は、上記混合制御回路71aの動作
を示している。Z1≦Z≦Zmax(ZmaxはZの最
大値、例えば1111である)ならばM1M2M3M4
=1111であり、Z2≦Z<Z1ならばM1M2M3
M4=0111であり、Z3≦Z<Z2ならばM1M2
M3M4=0011であり、Z4≦Z<Z3ならばM1
M2M3M4=0001であり、0≦Z<Z4ならばM
1M2M3M4=0000である。したがって、上記信
号処理装置150aによれば、4ビットの混合率M1M
2M3M4に応じて2つのデータ信号A,Bを5段階で
混合することができ、かつ各SPEのパイプライン動作
が可能である。なお、上記混合回路70aの動作は図1
0中の混合回路70と同様であるので、その説明は省略
する。
FIG. 15 shows the operation of the mixing control circuit 71a. If Z1 ≦ Z ≦ Zmax (Zmax is the maximum value of Z, for example, 1111), M1M2M3M4
= 1111, and if Z2 ≦ Z <Z1, then M1M2M3
If M4 = 0111 and Z3 ≦ Z <Z2, then M1M2
M3 M4 = 0011, and if Z4 ≦ Z <Z3, then M1
If M2M3M4 = 0001 and 0 ≦ Z <Z4, then M
1M2M3M4 = 0000. Therefore, according to the signal processing device 150a, the 4-bit mixing ratio M1M
According to 2M3M4, the two data signals A and B can be mixed in five stages, and the pipeline operation of each SPE is possible. The operation of the mixing circuit 70a is as shown in FIG.
The description is omitted because it is similar to the mixing circuit 70 in 0.

【0050】[0050]

【発明の効果】以上説明してきたとおり、本発明によれ
ば、積和演算処理と除算処理とに共用できる信号処理装
置を入力シフタと、加減算器と、フラグ保持回路と、結
果シフタとで実現したので、その回路規模が削減され
る。また、混合処理を実行するための信号処理装置を選
択回路と、加算器と、シフタとで実現したので、その回
路規模が削減される。
As described above, according to the present invention, a signal processing device that can be used for both product-sum calculation processing and division processing is realized by an input shifter, an adder / subtractor, a flag holding circuit, and a result shifter. Therefore, the circuit scale is reduced. Further, since the signal processing device for executing the mixing process is realized by the selection circuit, the adder, and the shifter, the circuit scale can be reduced.

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

【図1】本発明に係る信号処理装置の構成例を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration example of a signal processing device according to the present invention.

【図2】図1中の1個の信号処理要素の内部構成を示す
ブロック図である。
FIG. 2 is a block diagram showing an internal configuration of one signal processing element in FIG.

【図3】図2中の処理制御回路の内部構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an internal configuration of a processing control circuit in FIG.

【図4】除算の1つのアルゴリズムを示す図である。FIG. 4 is a diagram showing one algorithm for division.

【図5】除算の他のアルゴリズムを示す図である。FIG. 5 is a diagram showing another algorithm for division.

【図6】除算の具体例を示す図である。FIG. 6 is a diagram showing a specific example of division.

【図7】図2の信号処理要素の変形例を示すブロック図
である。
FIG. 7 is a block diagram showing a modification of the signal processing element of FIG.

【図8】図2の信号処理要素の他の変形例を示すブロッ
ク図である。
FIG. 8 is a block diagram showing another modification of the signal processing element of FIG.

【図9】図1中の信号処理要素の他の接続例を示すブロ
ック図である。
9 is a block diagram showing another connection example of the signal processing element in FIG. 1. FIG.

【図10】本発明に係る信号処理装置の他の構成例を示
すブロック図である。
FIG. 10 is a block diagram showing another configuration example of the signal processing device according to the present invention.

【図11】図10中の上段要素列の中の1個の信号処理
要素の内部構成を示すブロック図である。
11 is a block diagram showing an internal configuration of one signal processing element in the upper row of elements in FIG.

【図12】図10中の下段要素列の中の1個の信号処理
要素の内部構成を示すブロック図である。
12 is a block diagram showing the internal configuration of one signal processing element in the lower element sequence in FIG.

【図13】本発明に係る信号処理装置の更に他の構成例
を示すブロック図である。
FIG. 13 is a block diagram showing still another configuration example of the signal processing device according to the present invention.

【図14】図13中の下段要素列の中の1個の信号処理
要素の内部構成を示すブロック図である。
14 is a block diagram showing the internal configuration of one signal processing element in the lower element sequence in FIG.

【図15】図13中の下段要素列の動作を示す図であ
る。
FIG. 15 is a diagram showing an operation of a lower element row in FIG.

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

1 データ保持回路 2 演算回路 3 第1レジスタ(入力レジスタ) 4 第2レジスタ(結果レジスタ) 5,5a 処理制御回路 6 入力選択回路 7 出力選択回路 8,9,10 第1〜第3ラッチ 12,13 第1、第2シフタ(入力シフタ) 14 加減算器 15 第3シフタ(結果シフタ) 16 フラグ保持回路 17 結果選択回路 18 シフタ(結果シフタ) 19 レジスタ(結果レジスタ) 22 データ選択回路 25 演算変更制御回路 51,52 第1,第2ラッチ 53 選択回路 54 加算器 55 シフタ 56 第3ラッチ 60,61 第4,第5ラッチ 62 制御シフタ 66 減算器 67 結果選択回路 69 フラグ保持回路 70,70a 混合回路 71,71a 混合制御回路 74 信号処理要素 75,75a 信号処理要素(制御処理要素) 81 第4ラッチ 82 定数保持回路 83 比較器 84 フラグ保持回路 100,100a 信号処理装置 101〜103 第1〜第3入力 104 中央処理装置(CPU) 105,105a,105b 信号処理要素 150,150a 信号処理装置 151〜153 第1〜第3入力 171,172 第4,第5入力 173 第4入力 200 制御レジスタ M1〜M5 混合率信号(選択信号) 1 Data Holding Circuit 2 Arithmetic Circuit 3 First Register (Input Register) 4 Second Register (Result Register) 5, 5a Processing Control Circuit 6 Input Selection Circuit 7 Output Selection Circuit 8, 9, 10 First to Third Latch 12, 13 first and second shifter (input shifter) 14 adder / subtractor 15 third shifter (result shifter) 16 flag holding circuit 17 result selection circuit 18 shifter (result shifter) 19 register (result register) 22 data selection circuit 25 operation change control Circuits 51, 52 First and second latches 53 Selection circuit 54 Adder 55 Shifter 56 Third latch 60, 61 Fourth, fifth latch 62 Control shifter 66 Subtractor 67 Result selection circuit 69 Flag holding circuit 70, 70a Mixing circuit 71, 71a Mixing control circuit 74 Signal processing element 75, 75a Signal processing element (control processing element) 8 Fourth latch 82 Constant holding circuit 83 Comparator 84 Flag holding circuit 100, 100a Signal processing device 101-103 First to third input 104 Central processing unit (CPU) 105, 105a, 105b Signal processing element 150, 150a Signal processing device 151 to 153 1st to 3rd inputs 171, 172 4th, 5th inputs 173 4th inputs 200 Control register M1 to M5 Mixing ratio signals (selection signals)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 津幡 真太郎 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 西山 保 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Shintaro Tsubata, 1006 Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor, Nishiyama, 1006, Kadoma, Kadoma, Osaka

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の処理要素を備えた信号処理装置で
あって、 前記複数の処理要素は、前記信号処理装置の入力データ
信号を転送するための第1パスと、各々前記入力データ
信号の対応する処理結果を示すデータ信号を転送するた
めの第2及び第3パスとを構成するように縦続接続され
ており、 前記複数の処理要素の各々は、 前記第1パス上に配置された第1入力と、 前記第2パス上に配置された第2入力と、 前記第3パス上に配置された第3入力と、 前記第1入力を介して供給されたデータ信号を保持する
ためのデータ保持回路と、 前記データ保持回路から供給されたデータ信号と前記第
2入力を介して供給された他のデータ信号との加減算の
演算結果を求め、かつ該演算結果を示すデータ信号を前
記第2パスへ供給するための演算回路と、 前記データ保持回路から供給されたデータ信号と前記演
算結果を示すデータ信号とのいずれかを前記第1パスへ
供給するための出力選択回路と、 前記第3入力を介して供給されたフラグ信号に前記演算
結果の符号を示すフラグ信号を連結して保持し、かつ該
連結されたフラグ信号を前記第3パスへ供給するための
フラグ保持回路と、 前記データ保持回路、前記演算回路、前記出力選択回路
及び前記フラグ保持回路の各々の動作を制御するための
処理制御回路とを備え、 前記演算回路は、 前記データ保持回路から供給されたデータ信号に一定量
のシフト処理を施すための入力シフタと、 前記入力シフタによるシフト処理の結果を示すデータ信
号と他のデータ信号との加減算を実行するための加減算
器と、 前記加減算器の演算結果を示すデータ信号に一定量のシ
フト処理を施すための結果シフタと、 前記結果シフタによるシフト処理の結果を示すデータ信
号を保持するための結果レジスタと、 前記第2入力を介して供給されたデータ信号と前記結果
レジスタから供給されたデータ信号とのいずれかを前記
加減算器へ供給するための入力選択回路とを備えたこと
を特徴とする信号処理装置。
1. A signal processing apparatus comprising a plurality of processing elements, wherein the plurality of processing elements include a first path for transferring an input data signal of the signal processing apparatus, and each of the input data signals. The plurality of processing elements are connected in series so as to form second and third paths for transferring a data signal indicating a corresponding processing result, and each of the plurality of processing elements is arranged on the first path. 1 input, a second input arranged on the second path, a third input arranged on the third path, and data for holding a data signal supplied via the first input A holding circuit, and a calculation result of addition and subtraction of the data signal supplied from the data holding circuit and another data signal supplied via the second input, and a data signal indicating the calculation result is output to the second signal. Operation to feed the path A path, an output selection circuit for supplying either the data signal supplied from the data holding circuit or the data signal indicating the calculation result to the first path, and the output selection circuit supplied via the third input. A flag holding circuit for connecting and holding a flag signal indicating the sign of the operation result to the flag signal and supplying the connected flag signal to the third path; the data holding circuit; the operation circuit; A processing control circuit for controlling the operation of each of the output selection circuit and the flag holding circuit, wherein the arithmetic circuit performs a certain amount of shift processing on the data signal supplied from the data holding circuit. An input shifter, an adder / subtractor for executing addition / subtraction of a data signal indicating the result of the shift processing by the input shifter and another data signal, and an operation result of the adder / subtractor. A result shifter for performing a certain amount of shift processing on the data signal, a result register for holding a data signal indicating a result of the shift processing by the result shifter, and a data signal supplied via the second input And an input selection circuit for supplying one of the data signal supplied from the result register to the adder / subtractor.
【請求項2】 請求項1記載の信号処理装置において、 前記データ保持回路は、前記第1入力を介して供給され
た複数のデータ信号を保持するための複数のラッチを備
え、 前記出力選択回路は、前記複数のラッチのうちの任意の
ラッチに保持されたデータ信号を前記第1パスへ供給す
る機能を備え、 前記演算回路は、前記複数のラッチに保持された複数の
データ信号の中から少なくとも1個のデータ信号を選択
するためのデータ選択回路を更に備え、 前記入力シフタは、各々前記選択されたデータ信号に一
定量のシフト処理を施し、かつ該シフト処理の結果を示
すデータ信号を前記加減算器へ供給するための少なくと
も1個のシフタを備えたことを特徴とする信号処理装
置。
2. The signal processing device according to claim 1, wherein the data holding circuit includes a plurality of latches for holding a plurality of data signals supplied via the first input, and the output selection circuit. Has a function of supplying a data signal held in any one of the plurality of latches to the first path, and the arithmetic circuit selects from among the plurality of data signals held in the plurality of latches. The input shifter further comprises a data selection circuit for selecting at least one data signal, wherein each of the input shifters performs a certain amount of shift processing on the selected data signal and outputs a data signal indicating a result of the shift processing. A signal processing device comprising at least one shifter for supplying to the adder / subtractor.
【請求項3】 請求項1記載の信号処理装置において、 前記演算回路は、前記第2入力を介して供給されたデー
タ信号を保持し、かつ該保持したデータ信号を前記入力
選択回路へ供給するための入力レジスタを更に備えたこ
とを特徴とする信号処理装置。
3. The signal processing device according to claim 1, wherein the arithmetic circuit holds a data signal supplied via the second input, and supplies the held data signal to the input selection circuit. A signal processing apparatus, further comprising an input register for.
【請求項4】 請求項1記載の信号処理装置において、 前記演算回路は、前記入力選択回路から供給されたデー
タ信号と、前記加減算器から供給された前記演算結果を
示すデータ信号とのいずれかを前記結果シフタへ供給す
るための結果選択回路を更に備えたことを特徴とする信
号処理装置。
4. The signal processing device according to claim 1, wherein the arithmetic circuit is one of a data signal supplied from the input selection circuit and a data signal supplied from the adder / subtractor indicating the operation result. And a result selection circuit for supplying the result to the result shifter.
【請求項5】 請求項1記載の信号処理装置において、 前記処理制御回路は、前記データ保持回路、前記演算回
路、前記出力選択回路及び前記フラグ保持回路の各々の
動作を指定する制御情報を保持するための少なくとも1
個の制御レジスタを備えたことを特徴とする信号処理装
置。
5. The signal processing device according to claim 1, wherein the processing control circuit holds control information that specifies an operation of each of the data holding circuit, the arithmetic circuit, the output selection circuit, and the flag holding circuit. At least one for
A signal processing device comprising a plurality of control registers.
【請求項6】 請求項1記載の信号処理装置において、 前記第3入力を介して供給されたフラグ信号が負の符号
を示す場合には、前記処理制御回路から加算指令が発せ
られたときには減算を、前記処理制御回路から減算指令
が発せられたときには加算をそれぞれ前記加減算器に実
行させるための演算変更制御回路を更に備えたことを特
徴とする信号処理装置。
6. The signal processing apparatus according to claim 1, wherein when the flag signal supplied via the third input has a negative sign, subtraction is performed when an addition command is issued from the processing control circuit. Is further provided with an arithmetic change control circuit for causing the adder / subtractor to execute addition when a subtraction command is issued from the processing control circuit.
【請求項7】 複数の処理要素を備えた信号処理装置で
あって、 前記複数の処理要素は、各々前記信号処理装置の対応す
る入力データ信号を転送するための第1及び第2パス
と、前記入力データ信号の処理結果を示すデータ信号を
転送するための第3パスとを構成するように縦続接続さ
れており、 前記複数の処理要素の各々は、 前記第1パス上に配置された第1入力と、 前記第2パス上に配置された第2入力と、 前記第3パス上に配置された第3入力と、 前記第1入力を介して供給されたデータ信号を保持し、
かつ該保持したデータ信号を前記第1パスへ供給するた
めの第1ラッチと、 前記第2入力を介して供給されたデータ信号を保持し、
かつ該保持したデータ信号を前記第2パスへ供給するた
めの第2ラッチと、 前記第3入力を介して供給されたデータ信号を保持する
ための第3ラッチと、 与えられた選択信号に応じて、前記第1ラッチから供給
されたデータ信号と前記第2ラッチから供給されたデー
タ信号とのいずれかを選択するための選択回路と、 前記選択されたデータ信号と前記第3ラッチから供給さ
れたデータ信号との和を求めるための加算器と、 前記加算器の和を示すデータ信号に一定量のシフト処理
を施し、かつ該シフト処理の結果を示すデータ信号を前
記第3パスへ供給するためのシフタとを備えたことを特
徴とする信号処理装置。
7. A signal processing device comprising a plurality of processing elements, said plurality of processing elements each comprising first and second paths for transferring a corresponding input data signal of said signal processing device, And a third path for transferring a data signal indicating a processing result of the input data signal, the plurality of processing elements being connected in cascade, each of the plurality of processing elements being arranged on the first path. 1 input, a second input arranged on the second path, a third input arranged on the third path, and a data signal supplied via the first input,
And a first latch for supplying the held data signal to the first path, and a data signal supplied via the second input,
And a second latch for supplying the held data signal to the second path, a third latch for holding the data signal supplied via the third input, and A selection circuit for selecting one of the data signal supplied from the first latch and the data signal supplied from the second latch; and the selected data signal and the third data supplied from the third latch. An adder for obtaining the sum of the data signal and a data signal indicating the sum of the adder, and a data signal indicating the result of the shift processing is supplied to the third path. And a shifter for the signal processing device.
【請求項8】 請求項7記載の信号処理装置において、 前記信号処理装置の制御データ信号を転送するための第
4パスと、前記制御データ信号の処理結果を示すデータ
信号を転送するための第5パスとを構成するように縦続
接続された複数の制御処理要素を更に備え、 前記複数の制御処理要素の各々は、 前記第4パス上に配置された第4入力と、 前記第5パス上に配置された第5入力と、 前記第4入力を介して供給されたデータ信号を保持し、
かつ該保持したデータ信号を前記第4パスへ供給するた
めの第4ラッチと、 前記第5入力を介して供給されたデータ信号を保持する
ための第5ラッチと、 前記第4ラッチから供給されたデータ信号に一定量のシ
フト処理を施すための制御シフタと、 前記第5ラッチから供給されたデータ信号から、前記制
御シフタによるシフト処理の結果を示すデータ信号を減
算するための減算器と、 前記第5ラッチから供給されたデータ信号と、前記減算
器の減算結果を示すデータ信号とのいずれかを前記第5
パスへ供給するための結果選択回路と、 前記減算器の減算結果の符号を示すフラグ信号を保持す
るためのフラグ保持回路とを備え、 前記複数の制御処理要素の各々のフラグ保持回路に保持
されたフラグ信号は、前記複数の信号処理要素のうちの
対応する信号処理要素の選択回路へ、前記選択信号とし
てそれぞれ与えられることを特徴とする信号処理装置。
8. The signal processing device according to claim 7, wherein a fourth path for transferring a control data signal of the signal processing device, and a fourth path for transferring a data signal indicating a processing result of the control data signal. And a plurality of control processing elements that are connected in cascade so as to form five paths, wherein each of the plurality of control processing elements includes a fourth input arranged on the fourth path, and a fifth input on the fifth path. Holding a fifth input located at, and a data signal provided through the fourth input,
And a fourth latch for supplying the held data signal to the fourth path, a fifth latch for holding the data signal supplied via the fifth input, and a fourth latch. A control shifter for performing a certain amount of shift processing on the data signal, and a subtractor for subtracting a data signal indicating the result of the shift processing by the control shifter from the data signal supplied from the fifth latch, One of the data signal supplied from the fifth latch and the data signal indicating the subtraction result of the subtractor is added to the fifth signal.
A result selection circuit for supplying to a path, and a flag holding circuit for holding a flag signal indicating the sign of the subtraction result of the subtractor, and held in each flag holding circuit of the plurality of control processing elements. The signal processing device is characterized in that the flag signal is applied as a selection signal to a selection circuit of a corresponding signal processing element among the plurality of signal processing elements.
【請求項9】 請求項7記載の信号処理装置において、 前記信号処理装置の制御データ信号を転送するための第
4パスを構成するように縦続接続された複数の制御処理
要素を更に備え、 前記複数の制御処理要素の各々は、 前記第4パス上に配置された第4入力と、 前記第4入力を介して供給されたデータ信号を保持し、
かつ該保持したデータ信号を前記第4パスへ供給するた
めの第4ラッチと、 定数データ信号を保持するための定数保持回路と、 前記第4ラッチから供給されたデータ信号と、前記定数
保持回路から供給された定数データ信号との大小比較を
実行するための比較器と、 前記大小比較の結果を示すフラグ信号を保持するための
フラグ保持回路とを備え、 前記複数の制御処理要素の各々のフラグ保持回路に保持
されたフラグ信号は、前記複数の信号処理要素のうちの
対応する信号処理要素の選択回路へ、前記選択信号とし
てそれぞれ与えられることを特徴とする信号処理装置。
9. The signal processing device according to claim 7, further comprising a plurality of control processing elements cascade-connected to form a fourth path for transferring a control data signal of the signal processing device, Each of the plurality of control processing elements holds a fourth input arranged on the fourth path, and a data signal supplied via the fourth input,
And a fourth latch for supplying the held data signal to the fourth path, a constant holding circuit for holding a constant data signal, a data signal supplied from the fourth latch, and the constant holding circuit A comparator for performing a magnitude comparison with a constant data signal supplied from, and a flag holding circuit for holding a flag signal indicating the result of the magnitude comparison, each of the plurality of control processing elements The signal processing device, wherein the flag signal held in the flag holding circuit is supplied as a selection signal to a selection circuit of a corresponding signal processing element among the plurality of signal processing elements.
JP11257796A 1995-05-11 1996-05-07 Signal processing device Expired - Fee Related JP3781476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11257796A JP3781476B2 (en) 1995-05-11 1996-05-07 Signal processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11290295 1995-05-11
JP7-112902 1995-05-11
JP11257796A JP3781476B2 (en) 1995-05-11 1996-05-07 Signal processing device

Publications (2)

Publication Number Publication Date
JPH0926953A true JPH0926953A (en) 1997-01-28
JP3781476B2 JP3781476B2 (en) 2006-05-31

Family

ID=26451708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11257796A Expired - Fee Related JP3781476B2 (en) 1995-05-11 1996-05-07 Signal processing device

Country Status (1)

Country Link
JP (1) JP3781476B2 (en)

Also Published As

Publication number Publication date
JP3781476B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
EP0644492A1 (en) Apparatus for adaptively processing video signals
JP3667635B2 (en) Arithmetic unit
EP0643354B1 (en) Signal processor
JPH04128982A (en) Processor element, processing unit, processor, and method of processing operation
JP2005267615A (en) Parallel arithmetic processor
JPH01269183A (en) Spatial filter picture processor
KR100202151B1 (en) Signal processing apparatus
JPH08123769A (en) Parallel processor
JPH09294054A (en) Architecture for equalizer filter processing real number and complex number signal sample
JP3781476B2 (en) Signal processing device
US5777688A (en) Signal processor
JP3934290B2 (en) Discrete cosine transform processing device, inverse discrete cosine transform processing device, discrete cosine transform processing device, and inverse discrete cosine transform processing device
GB2213621A (en) Information processing systems
US5204962A (en) Processor with preceding operation circuit connected to output of data register
JP4170173B2 (en) Block matching arithmetic unit
JP2790911B2 (en) Orthogonal transform operation unit
JPH07146781A (en) Processor
JP3352558B2 (en) Signal processing device
JP3120435B2 (en) Digital arithmetic circuit
JP3620887B2 (en) Data processing device
JPH08235157A (en) Signal processor
JP3261729B2 (en) Linear interpolation method and its circuit
JP2000020705A (en) Parallel image processing processor
JPH09185602A (en) Vector processor
JPH07170153A (en) Signal processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060307

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees