JP2002182905A - Digital signal processing processor - Google Patents

Digital signal processing processor

Info

Publication number
JP2002182905A
JP2002182905A JP2000383807A JP2000383807A JP2002182905A JP 2002182905 A JP2002182905 A JP 2002182905A JP 2000383807 A JP2000383807 A JP 2000383807A JP 2000383807 A JP2000383807 A JP 2000383807A JP 2002182905 A JP2002182905 A JP 2002182905A
Authority
JP
Japan
Prior art keywords
register
instruction
digital signal
held
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.)
Withdrawn
Application number
JP2000383807A
Other languages
Japanese (ja)
Inventor
Mitsunari Todoroki
晃成 轟
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000383807A priority Critical patent/JP2002182905A/en
Publication of JP2002182905A publication Critical patent/JP2002182905A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a digital signal processing processor with a simple instruction system and to be easily controlled. SOLUTION: In the digital signal processing processor to execute an operation instruction by a pipeline processing consisting of plural stages, a register 110 exclusive for operation instruction to directly hold an operation result by execution of the operation instruction is provided and the operation instruction is executed by using the held contents of the register 110. In this case, a processing result at a certain stage is directly held and an arithmetic operation is performed by using the held contents at the next stage. No selecting instruction of the register is required since the operation result is directly held in the register exclusive for operation instruction and the instruction system can be simplified. Control becomes easy since the operation results at the previous stages of two operation stages are held as it is and used in the operation results at the following stage.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はディジタル信号処理
プロセッサに関し、特に複数のステージからなるパイプ
ライン処理によって演算命令を実行するディジタル信号
処理プロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processor, and more particularly to a digital signal processor which executes an operation instruction by pipeline processing including a plurality of stages.

【0002】[0002]

【従来の技術】一般的な携帯用機器の内部構成が図6に
示されている。同図に示されている携帯用機器は、演算
対象となるXデータを記憶するXメモリ(X−memo
ry)101と、同じく演算対象となるYデータを記憶
するYメモリ(Y−memory)102と、ディジタ
ル信号処理プロセッサ105のプログラムを格納するた
めのPメモリ(P−memory)103と、これら各
メモリ101〜103にアクセスするディジタル信号処
理プロセッサ105とを含んで構成されている。
2. Description of the Related Art The internal structure of a general portable device is shown in FIG. The portable device shown in FIG. 1 has an X memory (X-memo) for storing X data to be calculated.
ry) 101, a Y memory (Y-memory) 102 for storing Y data to be operated on, a P memory (P-memory) 103 for storing a program for the digital signal processor 105, and these memories And a digital signal processor 105 for accessing 101 to 103.

【0003】また、同図に示されている携帯用機器は、
機器全体の制御を行うホストCPU(Host CP
U)107と、無線又は有線によって外部の機器と通信
を行う通信装置(Com. device)108と、
各種のデータを入出力するためのキーボード(KB)、
マイクロフォン(MIC)及びスピーカ(SPK)との
インタフェースを行うユーザインタフェース(User
I/F)109と、各種のデータを記憶するメモリ
(memory)110と、データ等の表示を行うディ
スプレイ112と、このディスプレイ112を制御する
ディスプレイコントローラ(Display cont
roler)111と、各種のデータについてディジタ
ル信号処理プロセッサ105に対して入出力するための
中継機能を有するメモリブリッジ(Memory br
idge)106とを含んで構成されている。
The portable device shown in FIG.
Host CPU (Host CP) that controls the entire device
U) 107, a communication device (Com. Device) 108 that communicates with an external device by wireless or wired,
Keyboard (KB) for inputting and outputting various data,
User interface (User) for interfacing with microphone (MIC) and speaker (SPK)
(I / F) 109, a memory 110 for storing various data, a display 112 for displaying data and the like, and a display controller (Display controller) for controlling the display 112.
(controller) 111 and a memory bridge (Memory br) having a relay function for inputting and outputting various data to and from the digital signal processor 105.
id) 106.

【0004】ここで、ディジタル信号処理プロセッサ1
05の構成例について図7を参照して説明する。同図に
おいて、従来のディジタル信号処理プロセッサは、図示
せぬメモリや周辺回路(Peripheral)とのイ
ンタフェースをなすインタフェース部10と、Xバスを
介してXメモリからのデータを格納するレジスタX0〜
X7からなるXレジスタRXと、Yバスを介してYメモ
リからのデータを格納し、Pバスを介してPメモリから
のデータを格納するレジスタY0及びY1からなるYレ
ジスタRYと、乗算を行う乗算器(MPY)1と、この
乗算器1の乗算結果についてシフト処理やオーバフロー
処理、飽和処理等(shift、ovf、sat)を行
う演算処理部2と、加算を行うための加算器(Adde
r)3と、この加算器3の加算結果についてオーバフロ
ー処理や丸め込み処理等(zero、ovf、sat、
round)を行う演算処理部4と、算術演算や論理演
算を行う演算器(ALU)5と、入力された値の絶対値
同士の比較や丸め込み処理、入れ換え処理、結合処理等
(sat、swap、merge)を行う比較器(ab
s compare)6と、右又は左にシフトするシフ
タ(shift)7と、これらの演算処理結果を保持す
るためのアキュムレータACCとを含んで構成されてい
る。なお、図中のPABはPメモリのアドレスバス、X
ABはXメモリのアドレスバス、YABはYメモリのア
ドレスバスである。
Here, the digital signal processor 1
An example of the configuration 05 will be described with reference to FIG. In FIG. 1, a conventional digital signal processor includes an interface unit 10 for interfacing with a memory and a peripheral circuit (peripheral) not shown, and registers X0 to X0 for storing data from the X memory via an X bus.
Multiplication for performing multiplication with an X register RX composed of X7 and a Y register RY composed of registers Y0 and Y1 for storing data from Y memory via Y bus and storing data from P memory via P bus. (MPY) 1, an arithmetic processing unit 2 that performs shift processing, overflow processing, saturation processing, and the like (shift, ovf, sat) on the multiplication result of the multiplier 1, and an adder (Adde) for performing addition
r) 3 and the addition result of the adder 3 for overflow processing, rounding processing, etc. (zero, ovf, sat,
and an arithmetic unit (ALU) 5 for performing arithmetic and logical operations, comparing and rounding the absolute values of input values, rounding, exchanging, combining, etc. (sat, swap, merge (ab)
s compare) 6, a shifter (shift) 7 for shifting right or left, and an accumulator ACC for holding the results of these arithmetic processing. PAB in the figure is an address bus of P memory, XB
AB is an address bus of the X memory, and YAB is an address bus of the Y memory.

【0005】XレジスタRXを構成するレジスタX0〜
X7は、実行すべき命令に従って、32ビット信号ライ
ンXBのデータや、アキュムレータACCに保持されて
いるデータを一時保持する機能を有する。YレジスタR
Yを構成するレジスタY0及びY1は、実行すべき命令
に従って、32ビット信号ラインYBのデータを一時保
持する機能を有する。
[0005] Registers X0 to X0 constituting the X register RX
X7 has a function of temporarily holding the data of the 32-bit signal line XB and the data held in the accumulator ACC according to the instruction to be executed. Y register R
The registers Y0 and Y1 constituting Y have a function of temporarily holding data of the 32-bit signal line YB according to an instruction to be executed.

【0006】乗算器1は、入力される8ビットデータ同
士の演算器を2個有する構成、又は16ビットデータ同
士の演算を行う機能を有する。加算器3は、40ビット
又は20ビット同士の加算を行う機能を有する。演算器
5は、算術演算及び論理演算を行う機能を有する。本プ
ロセッサには、16ビット加算及び絶対値処理を行うた
めの加算器8と、この加算器8の処理結果について丸め
込み処理やオーバフロー処理等(sat、ovf)を行
う演算処理部9とが追加されることもある。
The multiplier 1 has a configuration having two arithmetic units for input 8-bit data or a function of performing an operation between 16-bit data. The adder 3 has a function of performing addition of 40 bits or 20 bits. The arithmetic unit 5 has a function of performing an arithmetic operation and a logical operation. This processor is provided with an adder 8 for performing 16-bit addition and absolute value processing, and an arithmetic processing unit 9 for performing rounding processing, overflow processing, and the like (sat, ovf) on the processing result of the adder 8. Sometimes.

【0007】アキュムレータACCは、乗算器1、加算
器3、演算器5等、並列に配置されている各演算器から
アクセスできる2つのレジスタRA及びRBによって構
成されている。2つのレジスタRA及びRBは、例えば
それぞれ40ビットの記憶容量を有している。各演算器
の演算結果をアキュムレータACCに保持するには、2
つのレジスタRA及びRBのいずれか一方を指定しなけ
ればならない。なお、各演算器の前段にマルチプレクサ
を置いても良い。
[0007] The accumulator ACC is composed of two registers RA and RB which can be accessed from respective arithmetic units arranged in parallel, such as a multiplier 1, an adder 3, and an arithmetic unit 5. Each of the two registers RA and RB has a storage capacity of, for example, 40 bits. To hold the operation result of each operation unit in the accumulator ACC, 2
One of the two registers RA and RB must be specified. It is to be noted that a multiplexer may be provided at a stage preceding each arithmetic unit.

【0008】かかる構成からなるディジタル信号処理プ
ロセッサにおいて、パイプライン処理によって演算を行
う場合、乗算器1、加算器3、演算器5等、並列に配置
されている各演算器による演算結果が、アキュムレータ
ACCを構成する2つのレジスタRA及びRBのうちの
指定された方に保持される。この2つのレジスタRA及
びRBのいずれかの保持内容は、次の演算処理等に利用
される。
In a digital signal processor having such a configuration, when performing an operation by pipeline processing, the operation results of the arithmetic units arranged in parallel, such as a multiplier 1, an adder 3, and an arithmetic unit 5, are stored in an accumulator. It is held in a designated one of the two registers RA and RB constituting the ACC. The contents held in either of the two registers RA and RB are used for the next arithmetic processing.

【0009】[0009]

【発明が解決しようとする課題】上述したディジタル信
号処理プロセッサにおいては、演算結果をアキュムレー
タにデータを保持する場合、レジスタの指定を行わなけ
ればならない。したがって、命令長が長くなり、命令体
系が複雑になるばかりか、レジスタを選択するための制
御が複雑になる欠点がある。
In the above-described digital signal processor, when the operation result is to be stored in the accumulator, the register must be specified. Therefore, there are drawbacks that not only the instruction length becomes longer and the instruction system becomes complicated, but also the control for selecting a register becomes complicated.

【0010】なお、特開平11−11202号公報にお
いては、並列に配置された演算ユニットと汎用レジスタ
とを接続した構成が記載されている。同公報に記載され
ている構成においても、汎用レジスタを指定する必要が
あり、上記と同様の欠点がある。また、特開2000−
207210号公報においては、大容量の汎用レジスタ
を設けてパイプライン処理を行っている。この場合にお
いては、上記と同様の欠点がある他、汎用レジスタの記
憶容量が大きいのでプロセッサ全体が大きくなる。プロ
セッサが大きいと、例えば携帯用機器に適用するのに適
さないという欠点がある。
Japanese Patent Application Laid-Open No. H11-112202 describes a configuration in which arithmetic units and general-purpose registers arranged in parallel are connected. Even in the configuration described in this publication, it is necessary to specify a general-purpose register, and there is the same drawback as described above. Also, Japanese Patent Laid-Open No. 2000-
In JP-A-207210, pipeline processing is performed by providing a large-capacity general-purpose register. In this case, in addition to the same drawbacks as described above, since the storage capacity of the general-purpose register is large, the entire processor becomes large. The disadvantage of a large processor is that it is not suitable for application to portable equipment, for example.

【0011】本発明は上述した従来技術の欠点を解決す
るためになされたものであり、その目的は命令体系が簡
単で、かつ制御が簡単であり、携帯用機器への適用が容
易なディジタル信号処理プロセッサを提供することであ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned drawbacks of the prior art, and has as its object to provide a digital signal which has a simple instruction system, is easy to control, and can be easily applied to portable equipment. It is to provide a processing processor.

【0012】[0012]

【課題を解決するための手段】本発明によるディジタル
信号処理プロセッサは、複数のステージからなるパイプ
ライン処理によって、演算命令を実行するディジタル信
号処理プロセッサであって、前記演算命令の実行による
演算結果を直接保持する演算命令専用のレジスタを含
み、このレジスタの保持内容を利用して前記演算命令を
実行することを特徴とする。演算結果を、演算命令専用
のレジスタに直接保持するため、レジスタの選択指令が
不要で、命令体系を簡単にすることができる。
SUMMARY OF THE INVENTION A digital signal processor according to the present invention is a digital signal processor for executing an operation instruction by pipeline processing including a plurality of stages. It includes a register dedicated to an operation instruction that is directly held, and executes the operation instruction using the contents held in the register. Since the operation result is directly held in the register dedicated to the operation instruction, a register selection instruction is not required, and the instruction system can be simplified.

【0013】また、前記レジスタは、あるステージにお
ける処理結果を直接保持し、この保持内容を次のステー
ジにおいて利用して演算を行うことを特徴とする。2つ
の演算ステージの前段における演算結果をそのまま保持
し、これを後段における演算結果に用いるので、制御が
簡単である。さらに、前記レジスタは、自プロセッサの
処理単位である1ワード分の記憶容量を有することを特
徴とする。1ワードの記憶容量のレジスタを追加するだ
けで済むので、従来のプロセッサに比してプロセッサ全
体はあまり大きくならず、例えば携帯用機器への搭載に
適した構成を実現できる。
Further, the register directly holds a processing result in a certain stage, and performs an operation by using the held content in a next stage. Since the calculation results in the preceding stages of the two calculation stages are held as they are and used for the calculation results in the subsequent stages, the control is simple. Further, the register has a storage capacity for one word which is a processing unit of the own processor. Since it is only necessary to add a register having a storage capacity of one word, the entire processor is not so large as compared with a conventional processor, and for example, a configuration suitable for mounting on portable equipment can be realized.

【0014】[0014]

【発明の実施の形態】次に、図面を参照して本発明の実
施の形態について説明する。なお、以下の説明において
参照する各図では、他の図と同等部分は同一符号によっ
て示されている。図1は本発明によるディジタル信号処
理プロセッサの実施の一形態を示すブロック図である。
同図に示されているように、本実施形態によるディジタ
ル信号処理プロセッサは、従来の構成とは異なり、パイ
プライン処理レジスタ110を有している。このパイプ
ライン処理レジスタ110は、各プロセッサから直接ア
クセス可能な専用レジスタである。そして、演算を行う
際、このレジスタ110を利用して演算結果を一時的に
保持する。例えば、積和演算すなわち、まず乗算を行
い、その乗算結果同士を加算する、という演算を行う場
合、最初に行った乗算の結果をパイプライン処理レジス
タ110に保持しておき、次の加算を行うときにパイプ
ライン処理レジスタ110からデータを読出して演算に
用いる。この場合、汎用レジスタではなく、専用のレジ
スタであるパイプライン処理レジスタ110を用いるの
である。
Next, an embodiment of the present invention will be described with reference to the drawings. In the drawings referred to in the following description, the same parts as those in the other drawings are denoted by the same reference numerals. FIG. 1 is a block diagram showing an embodiment of a digital signal processor according to the present invention.
As shown in the figure, the digital signal processor according to the present embodiment has a pipeline processing register 110, unlike the conventional configuration. The pipeline processing register 110 is a dedicated register that can be directly accessed from each processor. Then, when performing the calculation, the result of the calculation is temporarily held using the register 110. For example, when performing a product-sum operation, that is, an operation of first performing multiplication and adding the multiplication results together, the result of the first multiplication is held in the pipeline processing register 110, and the next addition is performed. At times, data is read from the pipeline processing register 110 and used for an operation. In this case, the pipeline processing register 110, which is a dedicated register, is used instead of the general-purpose register.

【0015】汎用的なレジスタの場合、そのレジスタを
使用するには、レジスタを指定したり、そのレジスタに
データを入力する必要があるため、命令長が長くなる。
これに対し、本システムにおいては、汎用的なレジスタ
とは別に、専用のレジスタを独立して設けている。この
ため、レジスタを選択するための回路が不要であり、そ
の制御が簡易化できると共に、レジスタを指定したり、
レジスタにデータを入力する必要がないので命令長を短
くすることができる。
In the case of a general-purpose register, in order to use the register, it is necessary to specify the register or input data to the register, so that the instruction length becomes long.
On the other hand, in the present system, a dedicated register is provided independently of a general-purpose register. For this reason, a circuit for selecting a register is not required, the control can be simplified, and a register can be specified,
Since there is no need to input data to the register, the instruction length can be reduced.

【0016】つまり、本システムにおいては、演算命令
による各種の演算を行う場合、各演算の中間に、パイプ
ライン処理レジスタ110を置いていることになる。こ
の結果、データを取り込む経路は、Xレジスタ、Yレジ
スタ、Xバス、Yバス、パイプライン処理、レジスタ、
アキュムレータ、イミーディエイトを自由に選択できる
ことになる。そして、例えばリードサイクルとライトサ
イクルとを1命令ステージの中に含めると、ロード、実
行、ストアを同時に実行できる。
In other words, in the present system, when performing various operations according to operation instructions, the pipeline processing register 110 is placed in the middle of each operation. As a result, the paths for fetching data are: X register, Y register, X bus, Y bus, pipeline processing, register,
Accumulator and immediate can be freely selected. If, for example, a read cycle and a write cycle are included in one instruction stage, load, execution, and store can be performed simultaneously.

【0017】そして、演算命令が複数の演算器によって
実行され、レジスタ110は複数の演算器からそれぞれ
直接アクセスでき、各演算器の演算結果を保持すること
になる。さらに、それら複数の演算器には、レジスタ1
10の保持内容が直接入力されることになる。ところ
で、パイプライン処理レジスタ110は、例えば1ワー
ドの記憶容量であるものとすれば、従来のプロセッサに
比して、プロセッサ全体がそれほど大きくなることはな
い。また、演算処理の一単位をそのまま保持できるの
で、制御が簡単である。
Then, the operation instruction is executed by a plurality of operation units, and the register 110 can be directly accessed from each of the plurality of operation units, and holds the operation result of each operation unit. Furthermore, the plurality of arithmetic units have a register 1
The ten held contents are directly input. By the way, if the pipeline processing register 110 has a storage capacity of, for example, one word, the entire processor is not so large as compared with a conventional processor. Also, since one unit of the arithmetic processing can be held as it is, the control is simple.

【0018】かかる構成からなる本システムの動作につ
いて、図2〜図4を参照して説明する。これらの各図に
おいては、命令inst.1〜inst.8をパイプラ
イン処理によって順に実行する場合が示されている。図
2には、パイプライン処理の一般的な実行順序が示され
ている。同図に示されているように、1つの命令ins
t.N(N=1〜8)については、プリフェッチ(Pr
Fetch)、フェッチ(Fetch)、デコード(D
ecode)、アクセス(Access)、リード(R
ead)、実行(Ex1,Ex2)、ライト(Writ
e)の各ステージを順に通過することによって実行され
る。この場合において、実行Ex1による演算結果を、
一旦パイプライン処理レジスタ110に保持し、この保
持した演算結果を実行Ex2において用いるのである。
The operation of the present system having such a configuration will be described with reference to FIGS. In each of these figures, the instruction inst. 1 to inst. 8 are sequentially executed by pipeline processing. FIG. 2 shows a general execution order of the pipeline processing. As shown in FIG.
t. For N (N = 1 to 8), the prefetch (Pr
Fetch), fetch (Fetch), decode (D
code), access (Access), read (R)
read), execute (Ex1, Ex2), write (Writ)
This is executed by sequentially passing through each stage of e). In this case, the calculation result of the execution Ex1 is
The result is temporarily held in the pipeline processing register 110, and the held operation result is used in the execution Ex2.

【0019】つまり、1つの命令について複数の演算を
実行することになるので、1命令でより多くの演算処理
を実行するプロセッサを実現できる。また、1命令につ
いて複数の演算を実行することになるので、プロセッサ
の動作周波数を下げることができる。動作周波数を下げ
ることができるので、より低い電源電圧で動作させるこ
とができ、消費電力を低減できる。
That is, since a plurality of operations are executed for one instruction, it is possible to realize a processor which executes more operations with one instruction. Further, since a plurality of operations are performed for one instruction, the operating frequency of the processor can be reduced. Since the operating frequency can be reduced, operation can be performed with a lower power supply voltage, and power consumption can be reduced.

【0020】図3には、積和演算、すなわち乗算の後に
加算を行う場合が示されている。同図においては、図2
中の実行Ex1が乗算(MPY)であり、実行Ex2が
加算(ADD)である。つまり、同図においては、1つ
の命令inst.N(N=1〜8)が、プリフェッチ
(PrFetch)、フェッチ(Fetch)、デコー
ド(Decode)、アクセス(Access)、リー
ド(Read)、乗算(MPY)、加算(ADD)、ラ
イト(Write)の各ステージを順に通過することに
よって実行される。この場合においても、乗算MPYに
よる演算結果を、一旦パイプライン処理レジスタ110
に保持し、この保持した演算結果を加算ADDにおいて
用いるのである。
FIG. 3 shows a product-sum operation, that is, a case where addition is performed after multiplication. In FIG.
The execution Ex1 in the middle is multiplication (MPY), and the execution Ex2 is addition (ADD). That is, in the figure, one instruction inst. N (N = 1 to 8) represents prefetch (PrFetch), fetch (Fetch), decode (Decode), access (Access), read (Read), multiplication (MPY), addition (ADD), and write (Write). It is performed by passing through each stage in turn. Also in this case, the operation result of the multiplication MPY is temporarily stored in the pipeline processing register 110.
, And the held operation result is used in the addition ADD.

【0021】また、図4には、4つのデータを加算した
後に数値「4」で除算を行う場合が示されている。この
演算は、周知のMPEG演算における動き補償において
用いられる。同図においては、図2中の実行Ex1と実
行Ex2が両方とも加算(ADD)である場合と、実行
Ex1が加算(ADD)であり、実行Ex2が算術右シ
フト(ASR)である場合の2つの異なる命令実行を示
している。つまり、同図においては、命令inst.N
(N=1,2,4,5,7,8)が、プリフェッチ(P
rFetch)、フェッチ(Fetch)、デコード
(Decode)、アクセス(Access)、リード
(Read)、加算(ADD)、加算(ADD)、ライ
ト(Write)の各ステージを順に通過することによ
って実行される。そして、次の命令inst.N(N=
3,6)が、プリフェッチ(PrFetch)、フェッ
チ(Fetch)、デコード(Decode)、アクセ
ス(Access)、リード(Read)、加算(AD
D)、右2ビットシフト(ASR)、ライト(Writ
e)の各ステージを順に通過することによって実行され
る。この場合、図5に示されているように、データA、
データB、データC及びデータDを加算した結果につい
て、右2ビットシフト処理を行うことによって、4つの
データA、B、C及びDを加算した後に数値「4」で除
算する処理が実現される。この場合においても、加算A
DDによる演算結果を、一旦パイプライン処理レジスタ
110に保持し、この保持した演算結果を用いて加算A
DDを行う。また、加算ADDによる演算結果を、一旦
パイプライン処理レジスタ110に保持し、この保持し
ておいた加算結果について2ビット右シフトする処理を
行うのである。
FIG. 4 shows a case in which four data are added and then divided by a numerical value "4". This operation is used in motion compensation in the well-known MPEG operation. In the drawing, two cases are shown: a case where both execution Ex1 and execution Ex2 in FIG. 2 are addition (ADD), and a case where execution Ex1 is addition (ADD) and execution Ex2 is arithmetic right shift (ASR). Shows three different instruction executions. That is, in FIG. N
(N = 1, 2, 4, 5, 7, 8) is the prefetch (P
rFetch), fetch (Fetch), decode (Decode), access (Access), read (Read), addition (ADD), addition (ADD), and write (Write). Then, the next instruction inst. N (N =
3, 6) are prefetch (PrFetch), fetch (Fetch), decode (Decode), access (Access), read (Read), and addition (AD).
D), right 2 bit shift (ASR), write (Writ)
This is executed by sequentially passing through each stage of e). In this case, as shown in FIG.
By performing a right two-bit shift process on the result obtained by adding the data B, the data C, and the data D, a process of adding the four data A, B, C, and D and then dividing by the numerical value “4” is realized. . Also in this case, the addition A
The operation result by the DD is temporarily stored in the pipeline processing register 110, and the addition A is performed by using the held operation result.
Perform DD. Further, the operation result of the addition ADD is temporarily stored in the pipeline processing register 110, and the stored addition result is subjected to a process of shifting right by 2 bits.

【0022】以上のように本システムでは、乗算器1、
加算器3、演算器5等、並列に配置されている各演算器
に対し、どの演算器もパイプライン処理レジスタ110
とアキュムレータACCに取り込める構造にしている。
さらに、演算のパイプライン段数を複数段(本例では2
段)にする。複数段パイプライン中の演算器の組合せ
は、自由に選択できるので、図3、図4のいずれの場合
も実行できる。
As described above, in the present system, the multiplier 1,
For each of the arithmetic units arranged in parallel, such as the adder 3 and the arithmetic unit 5, any of the arithmetic units is a pipeline processing register 110.
And accumulator ACC.
Further, the number of pipeline stages of the operation is set to a plurality of stages (2
Column). Since the combination of the arithmetic units in the multi-stage pipeline can be freely selected, it can be executed in any of the cases of FIGS.

【0023】そのレジスタを選択するための命令を用意
する必要がなく、命令長が短くなり、命令体系が簡単に
なる。よって、全体の制御が簡単になる。また、そのレ
ジスタを選択するための回路構成が不要になるので、シ
ステム全体の構成が簡単になる。以上のように本プロセ
ッサでは、各演算器から直接的かつ専用にアクセスでき
るレジスタを用いているので、レジスタを選択する指令
を含まない分だけ命令長を短くすることができ、命令体
系が大きくならないのである。
There is no need to prepare an instruction for selecting the register, the instruction length is shortened, and the instruction system is simplified. Therefore, the overall control is simplified. Further, since a circuit configuration for selecting the register is not required, the configuration of the entire system is simplified. As described above, the present processor uses registers that can be directly and exclusively accessed from each arithmetic unit, so that the instruction length can be shortened by not including the instruction to select a register, and the instruction system does not increase. It is.

【0024】請求項の記載に関し、本発明は更に以下の
態様を採り得る。 (1)前記演算命令は複数の演算器によって実行され、
前記レジスタは前記複数の演算器からそれぞれ直接アク
セスでき、各演算器の演算結果を保持することを特徴と
する請求項1〜3のいずれかに記載のディジタル信号処
理プロセッサ。 (2)前記複数の演算器には、前記レジスタの保持内容
が直接入力されることを特徴とする(1)記載のディジ
タル信号処理プロセッサ。
Regarding the description of the claims, the present invention can further adopt the following aspects. (1) The operation instruction is executed by a plurality of operation units,
The digital signal processor according to claim 1, wherein the register is directly accessible from each of the plurality of arithmetic units, and holds a calculation result of each of the arithmetic units. (2) The digital signal processor according to (1), wherein the contents held in the register are directly input to the plurality of arithmetic units.

【0025】[0025]

【発明の効果】以上説明したように本発明は、各演算器
から直接的かつ専用にアクセスできるレジスタを用いて
いるので、そのレジスタを選択するための命令を用意す
る必要がなく、命令長が短くなり、命令体系が簡単にな
る。よって、全体の制御が簡単になるという効果があ
る。また、そのレジスタを選択するための回路構成が不
要になるので、システム全体の構成が簡単になるという
効果がある。
As described above, the present invention uses registers which can be directly and exclusively accessed from each arithmetic unit, so that there is no need to prepare an instruction for selecting the register, and the instruction length is reduced. Shorter and easier instruction system. Therefore, there is an effect that the whole control is simplified. Further, since a circuit configuration for selecting the register is not required, there is an effect that the configuration of the entire system is simplified.

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

【図1】本発明によるディジタル信号処理プロセッサの
実施の一形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a digital signal processor according to the present invention.

【図2】図1のディジタル信号処理プロセッサにおける
パイプライン処理の一般的な実行順序動作例を示す図で
ある。
FIG. 2 is a diagram showing a general execution order operation example of pipeline processing in the digital signal processor of FIG. 1;

【図3】図1のディジタル信号処理プロセッサの動作例
を示す図である。
FIG. 3 is a diagram illustrating an operation example of the digital signal processor of FIG. 1;

【図4】図1のディジタル信号処理プロセッサの他の動
作例を示す図である。
FIG. 4 is a diagram showing another operation example of the digital signal processor of FIG. 1;

【図5】周知のMPEG演算における動き補償において
用いられる演算を示す図である。
FIG. 5 is a diagram showing an operation used in motion compensation in a well-known MPEG operation.

【図6】一般的な携帯用機器の内部構成を示すブロック
図である。
FIG. 6 is a block diagram illustrating an internal configuration of a general portable device.

【図7】従来のディジタル信号処理プロセッサの構成を
示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a conventional digital signal processor.

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

1 乗算器 2 演算処理部 3 加算器 4 演算処理部 5 演算器 6 比較器 7 シフタ 110 パイプライン処理レジスタ ACC アキュムレータ RX Xレジスタ RY Yレジスタ Reference Signs List 1 multiplier 2 arithmetic processing unit 3 adder 4 arithmetic processing unit 5 arithmetic unit 6 comparator 7 shifter 110 pipeline processing register ACC accumulator RX X register RY Y register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のステージからなるパイプライン処
理によって演算命令を実行するディジタル信号処理プロ
セッサであって、前記演算命令の実行による演算結果を
直接保持する演算命令専用のレジスタを含み、このレジ
スタの保持内容を利用して前記演算命令を実行すること
を特徴とするディジタル信号処理プロセッサ。
1. A digital signal processor for executing an operation instruction by pipeline processing including a plurality of stages, comprising: a register dedicated to an operation instruction for directly holding an operation result by execution of the operation instruction; A digital signal processor which executes the operation instruction by using held contents.
【請求項2】 前記レジスタは、あるステージにおける
処理結果を直接保持し、この保持内容を次のステージに
おいて利用して演算を行うことを特徴とするディジタル
信号処理プロセッサ。
2. The digital signal processor according to claim 1, wherein the register directly holds a processing result in a certain stage, and performs an operation by using the held content in a next stage.
【請求項3】 前記レジスタは、自プロセッサの処理単
位である1ワード分の記憶容量を有することを特徴とす
る請求項1又は2記載のディジタル信号処理プロセッ
サ。
3. The digital signal processor according to claim 1, wherein the register has a storage capacity of one word which is a processing unit of the own processor.
JP2000383807A 2000-12-18 2000-12-18 Digital signal processing processor Withdrawn JP2002182905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000383807A JP2002182905A (en) 2000-12-18 2000-12-18 Digital signal processing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000383807A JP2002182905A (en) 2000-12-18 2000-12-18 Digital signal processing processor

Publications (1)

Publication Number Publication Date
JP2002182905A true JP2002182905A (en) 2002-06-28

Family

ID=18851393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000383807A Withdrawn JP2002182905A (en) 2000-12-18 2000-12-18 Digital signal processing processor

Country Status (1)

Country Link
JP (1) JP2002182905A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3223233A1 (en) 2016-03-25 2017-09-27 Renesas Electronics Corporation Image processing apparatus; image processing method; and vehicle control apparatus
WO2018101167A1 (en) * 2016-12-01 2018-06-07 ヤマハ株式会社 Processor and arithmetic processing device equipped with processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3223233A1 (en) 2016-03-25 2017-09-27 Renesas Electronics Corporation Image processing apparatus; image processing method; and vehicle control apparatus
US10229472B2 (en) 2016-03-25 2019-03-12 Renesas Electronics Corporation Image processing apparatus, image processing method, and vehicle control apparatus
WO2018101167A1 (en) * 2016-12-01 2018-06-07 ヤマハ株式会社 Processor and arithmetic processing device equipped with processor

Similar Documents

Publication Publication Date Title
JPH11154114A (en) System and method for table look-up using architecture of plural data fetching
US6233596B1 (en) Multiple sum-of-products circuit and its use in electronic equipment and microcomputers
JP2004030015A (en) Information processor and electronic equipment
JP3479385B2 (en) Information processing device
JP4073721B2 (en) Data processing device
JP2000322235A (en) Information processor
JP2002544587A (en) Digital signal processor calculation core
US6779098B2 (en) Data processing device capable of reading and writing of double precision data in one cycle
JP3727395B2 (en) Microcomputer
JP2002182905A (en) Digital signal processing processor
JP3841820B2 (en) Microcomputer
US20030009652A1 (en) Data processing system and control method
JP2003241960A (en) Processor, and computation instruction processing method and computation control method therein
JP3867804B2 (en) Integrated circuit device
JP4284559B2 (en) Microprocessor, microcomputer, electronic equipment
JP3441847B2 (en) Processor with data memory
JP5263498B2 (en) Signal processor and semiconductor device
JP2001092633A (en) Arithmetic unit having instruction to output plurality of results
JP3547316B2 (en) Processor
JP4382076B2 (en) Data processing device
JP5311008B2 (en) Signal processor and semiconductor device
JP2696578B2 (en) Data processing device
JP3733137B2 (en) Microcomputer
US20050188183A1 (en) Digital signal processor having data address generator with speculative register file
JP2012168888A (en) Processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080304