JPS62260280A - Arithmetic processing unit - Google Patents

Arithmetic processing unit

Info

Publication number
JPS62260280A
JPS62260280A JP10402086A JP10402086A JPS62260280A JP S62260280 A JPS62260280 A JP S62260280A JP 10402086 A JP10402086 A JP 10402086A JP 10402086 A JP10402086 A JP 10402086A JP S62260280 A JPS62260280 A JP S62260280A
Authority
JP
Japan
Prior art keywords
data
output
input
multiplier
supplied
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
JP10402086A
Other languages
Japanese (ja)
Inventor
Atsushi Hasebe
長谷部 淳
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP10402086A priority Critical patent/JPS62260280A/en
Priority to CA000535863A priority patent/CA1270954A/en
Publication of JPS62260280A publication Critical patent/JPS62260280A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To easily perform square-law arithmetic operation, etc., by supplying the output of a coefficient storage circuit to two inputs of a multiplier respectively. CONSTITUTION:Data from an input register (FRA) 31, data from a work memory 1, and data from a register 5 are selected by a selector 2 and inputted to one input of the multiplier 3 and data from the coefficient memory 4 is supplied to the other input of the multiplier 3. The data from the memory 4 is supplied to the register 5 as well. A coefficient from the coefficient memory 4 is supplied to the register 5 and the data from the register 5 is supplied to one input of the multiplier 3 through the selector, thereby performing square-law calculation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えば画像処理を行うための演算処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an arithmetic processing device for performing image processing, for example.

〔発明の概要〕[Summary of the invention]

本発明は演算処理装置に関し、係数記憶回路の出力を乗
算器の2つの入力にそれぞれ供給できるようにすること
によって、2乗演算等を容易に実行することができるよ
うにしたものである。
The present invention relates to an arithmetic processing device that allows the output of a coefficient storage circuit to be supplied to two inputs of a multiplier, thereby making it possible to easily perform squaring operations and the like.

〔従来の技術〕[Conventional technology]

本願出願人は先に、画像処理に通用できるディジタル信
号処理装置(特開昭58−215813号公報参照)を
提案した。
The applicant of the present application previously proposed a digital signal processing device (see Japanese Patent Laid-Open No. 58-215813) that can be used for image processing.

すなわち第4図はその装置の概略を説明するもので、図
において(21)は入力端子、(22)は人出力制御(
IOC)糸、(23)は入力角像メモリ(VIM)糸、
(24)は信号処理(P I F)系、(25)は7’
)’L/、2.生成(PVP)系、(26)は出力角像
メモリ (VIM)糸、(27)は主制御(TC)糸、
(28)は出力端子である。
That is, Fig. 4 explains the outline of the device. In the figure, (21) is the input terminal, and (22) is the human output control (
IOC) thread, (23) is input angular image memory (VIM) thread,
(24) is a signal processing (PIF) system, (25) is a 7'
)'L/, 2. generation (PVP) system, (26) is the output angular image memory (VIM) thread, (27) is the main control (TC) thread,
(28) is an output terminal.

この装置において、入力端子(21)にはビデオカメラ
(図示せず)等からのアナログのビデオ信号が供給され
る。このビデオ信号がIOC糸(22)に供給され、A
D変換等により所定のディジタルデータに変換されてV
IM系(23)に書込まれる。
In this device, an analog video signal from a video camera (not shown) or the like is supplied to an input terminal (21). This video signal is fed to the IOC thread (22) and
V converted into predetermined digital data by D conversion etc.
Written to the IM system (23).

なおIOC系(22)からディジタルデータ以外にもク
ロック、支配モードf?1号、アドレス、書込制御信号
等の外側からVIM糸(23)を制御する信号が供給さ
れている。
In addition to digital data, the IOC system (22) also receives clock and control mode f? Signals for controlling the VIM thread (23) are supplied from the outside, such as No. 1, address, and write control signals.

またこのVIM系(23)に、PVP系(25)から処
理を行うディジタルデータのアドレス、書込制御、続出
モード、データセレクト等の内側からVIM系(23)
を制御する信号が供給され、このアドレスのデータがP
IF糸(24)と相互に転送されて処理が行われる。さ
らにPIP系(24)で処理されたデータがVIM系(
26)に供給され、このVIM系(26)にpvp系(
25)からのアドレス等が供給される。これによって処
理されたディジタルデータがVIM系(26)に書込ま
れる。
In addition, to this VIM system (23), the address of digital data to be processed from the PVP system (25), write control, successive mode, data selection, etc. are input from inside the VIM system (23).
A signal is supplied to control the address, and the data at this address is
The thread is mutually transferred to the IF thread (24) and processed. Furthermore, the data processed by the PIP system (24) is transferred to the VIM system (
26), and this VIM system (26) is supplied with the pvp system (
25) is supplied with the address, etc. The digital data processed thereby is written to the VIM system (26).

さらにこのVIM系(26)にもioc糸(22)から
のアドレス等が供給され、これによって続出されたディ
ジタルデータが10C系(22)に供給され、DA変換
等により所定のアナログのビデオ信号に変換されて出力
端子(2日)に取出される。
Furthermore, this VIM system (26) is also supplied with the address etc. from the IOC thread (22), and the resulting digital data is supplied to the 10C system (22), where it is converted into a predetermined analog video signal by DA conversion etc. It is converted and taken out to the output terminal (2 days).

なおTC系(27)からは、各基(22)〜(26)に
対してそれぞれモード、方式等の指定信号やクロック信
号、さらに後述するマイクロプログラムの書替のための
プログラムデータ等が供給される。
The TC system (27) supplies designation signals such as modes and methods, clock signals, and program data for rewriting the microprogram, which will be described later, to each of the groups (22) to (26). Ru.

またIOC系(22)からPVP系(25)へ処理すべ
きフレームの開始信号が供給されると共に、PVP系(
25)からIOC系(22)へ処理の終了信号が供給さ
れる。
In addition, a start signal of a frame to be processed is supplied from the IOC system (22) to the PVP system (25), and the PVP system (
25) supplies a processing end signal to the IOC system (22).

このようにして入力端子(21)に供給されたビデオ信
号がディジタル処理されて出力端子(28)に取出され
るわけであるが、上述の装置によれば、処理に必要な機
能をそれぞれの系(22)〜(26)に分担し、各基(
22)〜(26)ごとに独立に制御回路を設けてそれぞ
れ独ケのマイクロプログラムで制御を行うことがセきる
ので、各基ごとのソフトウェアの負担が少なく、Wi単
なプログラムで晶速の処理を行うことができる。これに
よっζ例えばビデオ信号をリアルタイムで処理すること
も口J能になっている。
In this way, the video signal supplied to the input terminal (21) is digitally processed and taken out to the output terminal (28), but according to the above-mentioned device, the functions necessary for processing are provided in each system. (22) to (26), each group (
22) to (26) can be provided with independent control circuits and each can be controlled by its own microprogram, so there is less burden on the software for each unit, and the crystal speed can be processed with a simple Wi program. It can be performed. This makes it possible, for example, to process video signals in real time.

そして上述の装置において、処理の内容はPIP糸(2
4)等のマイクロプログラムによって決定される。そこ
でこれらのマイクロプログラムを書替ることによって処
理の内容を変更することができる。
In the above-mentioned device, the processing content is PIP thread (2
4) etc. is determined by the microprogram. Therefore, by rewriting these microprograms, the contents of processing can be changed.

すなわち第5図はPIF糸(24)の大略の構成をボし
、このPIP系(24)は実際には多数(例えば601
固)の処理プロセッサ部(30)が並列に設けられて形
成されるが、図ではその内の2(固(30a )(30
b )のみが示されている。この図において、VrM系
(23)または(26)からのディジタルデータは各プ
ロセッサ部(30a )  (30b )  ・・・ご
とに設けられた入力レジスタ(FRA)  (3]a)
(31b )  ・・・に供給されると共に、これらの
レジスタはPVP系(25) ニよ、てVIM糸(23
)(26)の続出アドレスに合わせて制御され、各プロ
セッサ部ごとに必要な所定量のデータが記憶される。
In other words, FIG. 5 shows the general structure of the PIF thread (24), and this PIP thread (24) actually consists of a large number (for example, 601
The processor units (30) of the hard drive (hardware) are provided in parallel, but in the figure, two of them (hardware (30a)) (30
Only b) is shown. In this figure, digital data from the VrM system (23) or (26) is input to an input register (FRA) provided for each processor section (30a) (30b) (3]a)
(31b) ..., and these registers are supplied to the PVP system (25).
) (26), and a predetermined amount of data required for each processor section is stored.

これらのレジスタ(31a )  (31b )  ・
・・に書込まれたデータがそれぞれ演算部(32a )
  (33a ) 。
These registers (31a) (31b)
The data written in... are respectively processed by the calculation section (32a).
(33a).

(32b )  (33b )  ・・・に供給される
。そしてこれらの演算部にはそれぞれ加減算器、乗算器
及び係数メモリ、データメモリ共が設けられ、制御部<
34a )  (34b )  ・・・からの制御信号
に従って線形及び非線形のデータ変換演算を行うゆさら
にこの演算結果は演算部(33a )  (33b )
  ・・・に得られ、この演算部(33a )  (3
3b )  ・・・がpvp系(25)によってVIM
系(23)  (26)の身体アドレスに合わせて制御
され、演算結果がVIM系(23)  (26)の所望
部に書込まれる。
(32b) (33b) ... is supplied. Each of these arithmetic units is provided with an adder/subtractor, a multiplier, a coefficient memory, and a data memory, and the control unit <
34a ) (34b) . . . performs linear and nonlinear data conversion calculations according to control signals from the controllers 34a ) (34b) .
... is obtained, and this calculation section (33a) (3
3b) ... is VIM by the pvp system (25)
It is controlled according to the body addresses of the VIM systems (23) and (26), and the calculation results are written to desired parts of the VIM systems (23) and (26).

そし°ζこの場合に、制御部(34a )  (34b
 )  ・・・からの制御信号はマイクロプログラムメ
モリ(MPM)(35a)(35b)  ・・・に書込
まれたマイクロプログラムに従って形成される。そこで
このMPM (35a )  (35b )  ・・・
をいわゆるRAM構成とし、このMPM (35a) 
 (35b)  ・・・に変更部(36a )  (3
6b )  ・・・を通じて1゛C系(27)からのマ
イクロプログラムを書込むことにより、マイクロプログ
ラムを書替で処理の内容を変更することができる。
In this case, the control units (34a) (34b
) . . . control signals are formed according to microprograms written in microprogram memories (MPM) (35a) (35b) . So this MPM (35a) (35b)...
is a so-called RAM configuration, and this MPM (35a)
(35b) Changed part (36a) (3
6b) By writing the microprogram from the 1'C system (27) through..., the contents of the process can be changed by rewriting the microprogram.

とごろで上述の装置において、いわゆる球体画像のシェ
ーディング処理を行う場合には、光源の単位ベクトルと
画像の表面の法線ベクトルとの内偵を計算してその点の
明るさとする。その場合に表面の法線ベクトルを得るた
めにはいわゆるルックrツブテーブル(LUT)処理や
係数の2乗演算等を行う必要が、bる。そこで上述のP
IP系(24)を構成する各処理プロセッサ部(30)
の演像部(32)  (33)には、2来演算を行うた
めの構成が設けられる。
In the above-mentioned apparatus, when performing shading processing on a so-called spherical image, the brightness of that point is determined by calculating the internal value of the unit vector of the light source and the normal vector of the surface of the image. In this case, in order to obtain the normal vector of the surface, it is necessary to perform so-called look-up table (LUT) processing, square calculation of coefficients, and the like. Therefore, the above P
Each processing processor unit (30) that constitutes the IP system (24)
The imaging units (32) and (33) are provided with a configuration for performing two-fold calculations.

すなわち第3図は従来の演算部の要部の構成であって、
FRA(31)からのデータとワークメモリ (41)
からのデータとが選択器(42)で選択されて乗算器(
43)の一方の入力に供給され、この乗算器(43)の
他方の入力には係数メモリ (44)からのデータが供
給される。さらにこの乗算器(43)の出力データが論
理演算回路(ALU)(45)の一方の入力に供給され
、この出力データが上述のワークメモリ (41)に供
給されると共に、レジスタ(46)を介してALU(4
5)の他方の入力に供給される。
In other words, FIG. 3 shows the configuration of the main parts of the conventional calculation section,
Data from FRA (31) and work memory (41)
is selected by the selector (42) and sent to the multiplier (
43), and the other input of this multiplier (43) is fed data from a coefficient memory (44). Furthermore, the output data of this multiplier (43) is supplied to one input of an logic arithmetic unit (ALU) (45), and this output data is supplied to the above-mentioned work memory (41) and also to the register (46). ALU (4
5) is supplied to the other input.

従ってこの装置において係数の2乗演算を行う場合には
、係数メモリ (44)からの係数を乗算器(43)、
八LU(45)を通じてワークメモリ (41)に供給
し、次にワークメモリ (41)からのデータを選択w
I(42)を通じて乗算器(43)の一方の入力に供給
すると同時に係数メモリ (44)からの係数を乗算器
(43)の他方の入力に供給し、得られた積(係数の2
東値)をALU(45)を通じて出力する。
Therefore, when performing a coefficient square operation in this device, the coefficients from the coefficient memory (44) are transferred to the multiplier (43),
8 LUs (45) to the work memory (41), and then select data from the work memory (41) w
At the same time, the coefficients from the coefficient memory (44) are supplied to the other input of the multiplier (43) through I (42), and the resulting product (2
East Price) is output through the ALU (45).

このようにして2乗演算が行われる。In this way, the square calculation is performed.

しかしながらこの装置におい°ζ、演算の中間処理のた
めにワークメモリ (41)を用いることは、アドレス
の生成等の処理が複雑になり、これによって演算効率が
低トし°ζしまうおそれがあった。
However, in this device, using the work memory (41) for intermediate processing of calculations complicates processing such as address generation, which may reduce calculation efficiency. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上述べたように従来の技術では、例えばLUT処理に
おいて係数の2來演算を行う場合に演算効率が良くない
などの問題点があった。
As described above, the conventional technology has problems such as poor calculation efficiency when performing quadratic calculations of coefficients in LUT processing, for example.

(問題点を解決するための手段) 本発明は、乗算器(3)と係数記憶回VII(41とか
ら成り、上記係数記憶回路の出力を1−記乗算器の2つ
の入力のそれぞれに供給できるようにした演算処理装置
である。
(Means for Solving the Problems) The present invention comprises a multiplier (3) and a coefficient storage circuit VII (41), and supplies the output of the coefficient storage circuit to each of the two inputs of the multiplier. It is an arithmetic processing device that can perform

〔作用〕[Effect]

これによれば、係数記憶回路の出力を乗W−器の2つの
入力のそれぞれに供給する通路を設けたことによって、
LUT処理等における係数の2乗演算等を極めて容易に
行うことができる。
According to this, by providing a path for supplying the output of the coefficient storage circuit to each of the two inputs of the W-multiplier,
Calculation of the square of coefficients in LUT processing and the like can be performed extremely easily.

〔実施例〕〔Example〕

第1図において、FRA(31)からのデータとワーク
メモり(1)からのデータと後述するレジスタ(5)か
らのデータとが選択器(2)で選択されて乗算器(3)
の一方の入力に供給され、この乗算器(3)の他方の入
力には係数メモリ(4)からのデータが供給される。ま
た係数メモリ(4)からのデータがレジスタ(5)に供
給される。さらに乗算器(3)の出力データが論理演算
回路(ALU)+(S)の一方の入力に供給され、この
出力データが上述のワークメモリ+11に供給されると
共に、レジスタ(7)を介してA L tJ 16)の
他方の入力に供給される。なおレジスタ(5)は逆側の
通路に設けてもよい。
In FIG. 1, data from the FRA (31), data from the work memory (1), and data from a register (5), which will be described later, are selected by a selector (2) and sent to a multiplier (3).
, and the other input of this multiplier (3) is fed data from a coefficient memory (4). Data from the coefficient memory (4) is also supplied to the register (5). Furthermore, the output data of the multiplier (3) is supplied to one input of the logic operation circuit (ALU) + (S), and this output data is supplied to the above-mentioned work memory +11 and is also sent via the register (7). A L tJ 16). Note that the register (5) may be provided in the opposite passage.

そしてこの装置において係数の2乗演算を行う場合には
、係数メモ1月4)からの係数をレジスタ(5)に供給
し、次にレジスタ(5)からのデータを選択器(2)を
通じて乗算器(3)の一方の入力に供給すると同時に係
数メモリ(4)からの同じ係数を乗算器(3)の他方の
入力に供給し、得られた積(2乗値)をALU(6)を
通じて出力する。
When performing a coefficient square operation in this device, the coefficient from the coefficient memo (January 4) is supplied to the register (5), and then the data from the register (5) is multiplied through the selector (2). At the same time, the same coefficient from the coefficient memory (4) is supplied to the other input of the multiplier (3), and the resulting product (squared value) is sent through the ALU (6). Output.

このようにして係数の2乗演算が行われる。In this way, the square calculation of the coefficients is performed.

従ってこの装置によれば、係数メモリ(4)の出力を乗
W″m(31の2つの入力の両方に供給できるようにし
ているので、2乗演算を極めて容易に行うことができる
。これによって例えばLUT処理における係数の2乗演
算あるいは係数同士の乗算等を任意に行うことができ、
演算効率を極めて高くすることができる。
Therefore, according to this device, since the output of the coefficient memory (4) can be supplied to both of the two inputs of the power W″m (31), the square calculation can be performed extremely easily. For example, it is possible to arbitrarily perform squaring of coefficients or multiplication of coefficients in LUT processing.
Computation efficiency can be made extremely high.

さらに第2図に十述の装置を従来技術で述べたディジタ
ル信号処理装置のPIP系(24)の演算部(32) 
 (33)に通用した場合の具体例を不す。
Furthermore, FIG. 2 shows the arithmetic section (32) of the PIP system (24) of the digital signal processing device described in the prior art.
A specific example of the case where (33) is applicable is not provided.

1なわち図において、PIPの演算部はAバート、Bパ
ートの2系統から成っている。2系統はそれぞれ係数メ
モリ、ワークメモリ、乗算器、八L U、レジスタから
成り(M号処理、画像処理を行うために必要な基本的演
算を効率よく処理できるように設計しである。
1, that is, in the figure, the PIP calculation section consists of two systems, an A part and a B part. Each of the two systems consists of a coefficient memory, a work memory, a multiplier, eight LUs, and a register (designed to efficiently process the basic operations required for M-number processing and image processing).

係数メモリ八CM、B CMはそれぞれ1024X 1
6bi tで、TC系(27)からPIFのプログラム
・チェンジ部(36)を経てメモリの内容を入換えるこ
とができる。しかし、PIF側からは読み出すことしか
できない、係数メモリは処理に必要な係数などをしまう
のに使われる0例えば、ディジタル・フィルタの係数と
か、FFTのsin 、 cos値など、A CMとR
CHのアドレスは共通である。しかし、八CM、 B 
GMの内容は独立にTC側から入力できるので問題ない
。A CMからの出力は^I MIX、又は^I RE
Gのいずれかに入る。B CMからの出力もBI MU
X。
Coefficient memory 8 CM and B CM are each 1024×1
With 6 bits, the contents of the memory can be replaced from the TC system (27) through the PIF program change section (36). However, it can only be read from the PIF side.The coefficient memory is used to store coefficients necessary for processing.For example, digital filter coefficients, FFT sin and cos values, ACM and R.
The CH addresses are common. However, eight commercials, B
There is no problem because the contents of the GM can be input independently from the TC side. The output from A CM is ^I MIX or ^I RE
Enter either G. The output from B CM is also BI MU.
X.

又はBI R1!Gのいずれかに入る。^l REGと
BI REGの内容は次のCLKでそれぞれの出力側に
出る。
Or BI R1! Enter either G. ^l The contents of REG and BI REG appear on their respective outputs at the next CLK.

乗算器A MPY 、 B MPYは16bit X 
16bitパラレル乗算器である。 A MPYの入力
XにはΔI MIIXで選択されたA CMの出力値か
、A ALUの出力値が、入力YにはA2 MUXテ選
択されりA11?EG、 PL REG。
Multipliers A MPY and B MPY are 16 bits
It is a 16-bit parallel multiplier. The input X of the A MPY is the output value of the A CM selected by ΔI MIIX, or the output value of the A ALU, and the input Y is the A2 MUX selected. EG, PL REG.

A6 REG、 B7 REG、 F RAの出力値の
1つが、それぞれ入力する。 PL REGはマイクロ
プログラム中のPL値をしまうレジスタである。^e 
REG、 B7 I?EcはそれぞれワークメモリA 
TM、B TMの出力をしまうレジスタである。 FR
A (31)はPIF外の別のプロセッサ(PvP系(
25)TC系(27) ) ニコントロールされる構造
口J変のシフトレジスタ群で、PIFの外部入力ボート
である。構造は処理に応じ変えられ、必要に応じシフト
することができる。乗算器の出力は32bitでM S
 816bit 。
One of the output values of A6 REG, B7 REG, and FRA is input respectively. PL REG is a register that stores the PL value in the microprogram. ^e
REG, B7 I? Ec is work memory A
TM, B These are registers that store the output of TM. F.R.
A (31) is another processor outside PIF (PvP system (
25) TC system (27)) A group of shift registers with a J-shaped structure that is controlled by J, and is an external input port for the PIF. The structure is process dependent and can be shifted as needed. The output of the multiplier is 32 bits and M S
816bit.

L S B 16bitを別のサイクルで取出すことが
できる。L S B 16bitを入力Yから取出すこ
ともできる。^l REGは^CMの内容を2来したり
、異なる内容同士を掛算することができるように用意し
た。
The LSB 16 bits can be taken out in another cycle. LS B 16 bits can also be taken out from input Y. ^l REG has been prepared so that it is possible to multiply the contents of a CM by two or to multiply different contents.

BパートもB2 MUXでPL REGの出力値を選択
できない以外は全く同じである。FRAは2ボートなの
でAパート、Bバートから同時に同じデータを読み出湯
ことができる。
Part B is also exactly the same except that the output value of PL REG cannot be selected using B2 MUX. Since FRA has two boats, the same data can be read out from Part A and Part B at the same time.

A ALUとB ALUは16bi tの論理演算回路
で加減算や論理和、論理積などの論理演算を行える。
The A ALU and the B ALU are 16-bit logical operation circuits that can perform logical operations such as addition and subtraction, logical sum, and logical product.

A ALU (7)入力はA MPYの出力、A2 M
IX(7)選択出力、A2 RUGの出力、^3 RE
Gの出力のうちの1つである会13 ALUの入力もB
 MPYの出力、82 MUXの選択出力・82 RE
Gの出力、83 REGの出力のうち1つである一MU
Xの選択は正確にはいづれか1つ、あるいは全く選択せ
ずの何れかである。A2 RI!GとB2 R11!G
はA MPYとB MPYのそれぞれが1以上の入力デ
ータの掛算ができないため用意した。すなわち、いま係
数1.5をl” RAからの入力データに掛ける場合、
乗算器では0.5と入力の掛算を行い、同時にデータを
^2RF、GあるいはB2 REGに迂回させることに
より、1以上の係数の掛算を行える。 A3 REGと
83 REGはAパートとBバートを結ぶ重要なバスで
ある。
A ALU (7) Input is A MPY output, A2 M
IX (7) selection output, A2 RUG output, ^3 RE
The input of ALU 13, which is one of the outputs of G, is also B
MPY output, 82 MUX selection output/82 RE
Output of G, one MU which is one of the outputs of 83 REG
The selection of X is exactly one, or none at all. A2 RI! G and B2 R11! G
was prepared because A MPY and B MPY cannot each multiply input data of 1 or more. In other words, if we now multiply the input data from l''RA by a coefficient of 1.5,
The multiplier multiplies the input by 0.5 and simultaneously routes the data to ^2RF, G or B2 REG, thereby allowing multiplication by a coefficient of 1 or more. A3 REG and 83 REG are important buses that connect Part A and Part B.

たとえばディジタルフィルタの積相演算をA、  8両
パートに分は処理し、最後に1つにまとめる時用いる。
For example, it is used to process the product phase calculation of a digital filter into both parts A and 8, and then combine them into one at the end.

 A ALUの出力はA4 MIX、 At MUX、
 B3 REGに行<、BALIIの出力は84 MI
JX、 BI MtlX、 A3 REGに行く、^4
 MUXテA ALII 、 IN REGSF RA
(7)出力を選択する。
A ALU output is A4 MIX, At MUX,
B3 REG line <, BALII output is 84 MI
JX, BI MtlX, A3 Go to REG, ^4
MUXTEA ALII, IN REGSF RA
(7) Select output.

IN l?EGは外部入力ボートの1つである。A4 
MUXで選択された出力はA4 REG、 0UTI 
RF、G、0IIT2 RUG及びB4 MUXに行<
 、 A4 RF、Gは主としてづ−クメモリ^THの
入力をしまうのに用いる。 0UTI REGと0UT
2 REGはPIFの出力ボートである。これらには独
立にデータをセットできるようコントロールされζいる
。 84 MIIXはB ALU 、 A4 MIXS
CALU (7)出力を選択する。
IN l? EG is one of the external input ports. A4
The output selected by MUX is A4 REG, 0UTI
Go to RF, G, 0IIT2 RUG and B4 MUX<
, A4 RF, G are mainly used to store the input of the memory TH. 0UTI REG and 0UT
2 REG is the output port of PIF. These are controlled so that data can be set independently. 84 MIIX is B ALU, A4 MIXS
CALU (7) Select output.

^4 REGと八5 RUGの出力は選択され、A T
M、八61?EG。
^4 REG and 85 RUG outputs are selected and A T
M, 861? E.G.

^? RHGにしまわれる。もちろん、3つの中のいず
れかにしまっζもよい、^TMの入出力は双方向で、へ
律から出力する場合は^4 )IEG、^5 REGの
出力は選択されず、^TMの出力はA5賛EG、八6 
REG、^7 REGにしまわれる。 A5 )IEG
はA THのアドレス内容をずらず時役立つ。具体的に
はディジタル・フィルタの遅延処理を効率的に行える。
^? It is stored in RHG. Of course, it is also possible to choose one of the three. ^TM input/output is bidirectional, and when outputting from the heritism, ^4) IEG, ^5 REG output is not selected, and ^TM output is selected. is A5 pro EG, 86
REG, ^7 Stored in REG. A5) IEG
is useful when changing the address contents of ATH. Specifically, delay processing of digital filters can be performed efficiently.

 A7 REGはAバートのデータをBパートに送るた
めのレジスタである。
A7 REG is a register for sending data of A part to B part.

八’/ REGの出力はBパートの82 MtlXに行
く。Aパートでデータを2乗し、そのデータにBバート
である値を掛けるシェーディング処理に有効である。
The output of 8'/REG goes to 82 MtlX of the B part. This is effective for shading processing in which data is squared in the A part and multiplied by a certain value in the B part.

Bバートも同様なので省略する。B-vert is also the same, so it will be omitted.

C^1.Uは演算部と制御部との中間に位置する。C^1. U is located between the calculation section and the control section.

^3 MIIXで選択されたデータはCAl、Uに入力
され、CALIIで演算された値はCM REGSTM
 REG、、VECT REG。
^3 The data selected by MIIX is input to CAl and U, and the value calculated by CALII is CM REGSTM
REG,, VECT REG.

84 nIJXニ送られる。 CALUは、A ALU
 、 B ALtlと同じ演算島能を持つ、 CM R
UGは係数メモリA CM、B CMのアドレスをしま
うレジスタである。 TVI RUGはワークメモリA
 TM、B THのアドレスをしまうレジスタである。
84 nIJX is sent. CALU is ALU
, B CM R has the same computational capabilities as ALtl.
UG is a register that stores addresses of coefficient memories ACM and BCM. TVI RUG is work memory A
This is a register that stores the addresses of TM, BTH.

VECT REGは制御部のプログラムコントローラ(
PRGCNT)で使う、プログラムのループ回数やジャ
ンプ先をボす値をしまうレジスタである。 84 Mt
lXへのパスにより、CALtlの演算結果を処理部に
戻すことができる。これによりCALUを^^Lll 
、 B ALUの補助として使うこともできる。
VECT REG is the program controller (
PRGCNT) is a register used to store the number of program loops and the value that skips the jump destination. 84 Mt.
The path to lX allows the calculation result of CALtl to be returned to the processing unit. This makes CALU ^^Lll
, B It can also be used as an auxiliary ALU.

CM REG、 TM REGにより処理部のデータを
係数メモリやワークメモリのアドレスとして使えるので
ルックアップテーブル処理に役立つ、FFT処理を使う
場合、バタフライ演算をA MPY 、^^Ltl 。
CM REG and TM REG allow processing unit data to be used as coefficient memory and work memory addresses, which is useful for look-up table processing.When using FFT processing, butterfly operations are performed using AMPY, ^^Ltl.

RMPY SB ALUなどを使って行い、データのあ
る八TM、B THのアドレスと係数(sin r c
os )のあるA CL B GMのアドレスをCAl
、[1を使って計算する。バラフライ演算を行う時、実
数部をAパートで、虚数部をBパートで処理する。同時
に実数部、虚数部の演算を行えるので、データと係数の
アドレスシング処理の負担を軽減できる。全体の処理効
果を商め、高速化できる。これは処理部がAパートとB
バートの2系統ある効果である。 TM IIEG。
This is done using RMPY SB ALU etc., and the addresses and coefficients (sin r c
CAL the address of the ACL B GM with
, [Calculate using 1. When performing a butterfly operation, the real part is processed in the A part and the imaginary part is processed in the B part. Since the real and imaginary parts can be calculated simultaneously, the burden of addressing data and coefficients can be reduced. The overall processing effect can be improved and the speed can be increased. This means that the processing section is part A and part B.
This is an effect that has two types of Bart. TM IIEG.

CM RI’、Gは4つのレジスタから成り、CALt
lで同じアドレスを何回も計算する必要がなく、CAL
Uの効率を高めている。
CM RI', G consists of four registers, CALt
There is no need to calculate the same address many times with CAL.
It increases the efficiency of U.

なお、この例では具体的な回路基板の大きさ等の物理的
な制約によってA、Bパートがアンバランスになってい
るが、これらは左右対称に回路を構成してもよい。
Note that in this example, the A and B parts are unbalanced due to physical constraints such as the size of the specific circuit board, but the circuits may be configured symmetrically between the A and B parts.

〔発明の効果〕〔Effect of the invention〕

この発明によれば、係数記憶回路の出力を乗算器の2つ
の入力のそれぞれに供給する通路を設けたごとによって
、LUT処理等における係数の2来演算等を極め°ζ容
易に行うことができるようになった。
According to the present invention, by providing a path for supplying the output of the coefficient storage circuit to each of the two inputs of the multiplier, it is possible to extremely easily carry out double calculation of coefficients in LUT processing, etc. It became so.

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

第1図は本発明の一例の構成図、第2図はPIP系に通
用した場合の全体の構成図、第3図〜第5図は従来の技
術の説明のための図である。 +11はワークメモリ、(2)は選択器、(3)は乗算
器、(4)は係数メモリ、(5) (71はレジスタ、
(6)は論理演算回路である。
FIG. 1 is a configuration diagram of an example of the present invention, FIG. 2 is an overall configuration diagram when applicable to a PIP system, and FIGS. 3 to 5 are diagrams for explaining conventional techniques. +11 is work memory, (2) is selector, (3) is multiplier, (4) is coefficient memory, (5) (71 is register,
(6) is a logic operation circuit.

Claims (1)

【特許請求の範囲】 乗算器と係数記憶回路とを有し、 上記係数記憶回路の出力を上記乗算器の2つの入力のそ
れぞれに供給できるようにした演算処理装置。
[Scope of Claim] An arithmetic processing device comprising a multiplier and a coefficient storage circuit, the output of the coefficient storage circuit being able to be supplied to each of two inputs of the multiplier.
JP10402086A 1986-04-30 1986-05-07 Arithmetic processing unit Pending JPS62260280A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP10402086A JPS62260280A (en) 1986-05-07 1986-05-07 Arithmetic processing unit
CA000535863A CA1270954A (en) 1986-04-30 1987-04-29 Apparatus for arithmetic processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10402086A JPS62260280A (en) 1986-05-07 1986-05-07 Arithmetic processing unit

Publications (1)

Publication Number Publication Date
JPS62260280A true JPS62260280A (en) 1987-11-12

Family

ID=14369576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10402086A Pending JPS62260280A (en) 1986-04-30 1986-05-07 Arithmetic processing unit

Country Status (1)

Country Link
JP (1) JPS62260280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086547A (en) * 1998-10-06 2010-04-15 Texas Instr Inc <Ti> Multiplyer/accumulator unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086547A (en) * 1998-10-06 2010-04-15 Texas Instr Inc <Ti> Multiplyer/accumulator unit

Similar Documents

Publication Publication Date Title
US4635292A (en) Image processor
US4920480A (en) Digital signal processor
JP3210319B2 (en) Neurochip and neurocomputer using the chip
WO1999040522A2 (en) Digital signal processor using a reconfigurable array of macrocells
JPH07141304A (en) Parallel arithmetic unit using memory array
JPS62256129A (en) Arithmetic processing unit
Moorer The lucasfilm audio signal processor
KR0138859B1 (en) Mind-typed digital processor array for neural network and system composed thereof
JPS62260280A (en) Arithmetic processing unit
JPH02240768A (en) Arithmetic element controler
US7260711B2 (en) Single instruction multiple data processing allowing the combination of portions of two data words with a single pack instruction
EP0169030A2 (en) Data processing circuit for calculating either a total sum or a total product of a series of data at a high speed
JPH0345420B2 (en)
JPS62259190A (en) Arithmetic processing unit
JPS62259189A (en) Arithmetic processing unit
JP2583774B2 (en) High-speed numerical operation device
JP2535817B2 (en) Processor
JPS62114064A (en) Dynamic body detecting method
JP2610817B2 (en) Address generator
JPH01311319A (en) Bus control circuit
JP3394052B2 (en) Multi-precision calculation method and multi-precision calculation device
EP0314342A2 (en) Parallel pipelined computer processor
JP2510219B2 (en) Image processing device
JP2741869B2 (en) Inverse coordinate transformation processor
JPS62260281A (en) Arithmetic processing unit