JPH02187824A - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JPH02187824A
JPH02187824A JP1006805A JP680589A JPH02187824A JP H02187824 A JPH02187824 A JP H02187824A JP 1006805 A JP1006805 A JP 1006805A JP 680589 A JP680589 A JP 680589A JP H02187824 A JPH02187824 A JP H02187824A
Authority
JP
Japan
Prior art keywords
data
output
address
processing
branch destination
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
JP1006805A
Other languages
Japanese (ja)
Inventor
Atsumichi Murakami
篤道 村上
Naoto Kaneshiro
直人 金城
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1006805A priority Critical patent/JPH02187824A/en
Priority to CA000605490A priority patent/CA1311063C/en
Priority to US07/379,274 priority patent/US5161247A/en
Priority to EP89113000A priority patent/EP0373291B1/en
Priority to EP95106305A priority patent/EP0666533A1/en
Priority to EP95106303A priority patent/EP0666532A1/en
Priority to EP95106304A priority patent/EP0669599A1/en
Priority to DE68927798T priority patent/DE68927798T2/en
Priority to KR1019890017852A priority patent/KR920010933B1/en
Publication of JPH02187824A publication Critical patent/JPH02187824A/en
Priority to US07/907,233 priority patent/US5442799A/en
Priority to US08/103,175 priority patent/US5421023A/en
Priority to US08/128,257 priority patent/US5504916A/en
Priority to US08/140,989 priority patent/US5388236A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently perform a branch processing by constituting a system so that the comparison processing of specific data with plural threshold values can be performed in parallel with an arithmetic processing and plural branch destinations can be designated corresponding to compared results. CONSTITUTION:A data judging apparatus performs the comparison of size relation of each of (n) threshold values set in advance as data targeted to be compared inputted from an arithmetic part via an output bus and supplied from a threshold value register group 15 by a comparator 17. And the apparatus judges the data area of targeted data by a conditional judging apparatus 19 based on (n) compared results supplied via the output bus 18. Plural branch destination addresses corresponding to each condition are stored in an address register file 24, and a branch destination address is outputted to the output bus 14 based on an address index signal supplied from the judging apparatus 19. A control circuit sets a program count value based on the address value of the branch destination address. Also, when all conditions are not satisfied at all, the count value of a program counter shows the next instruction address.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディジタル信号処理プロセッサに関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital signal processor.

〔従来の技術〕[Conventional technology]

第7図は、例えばIEEE、ICASSP86、P2O
3“A  50ns  FLOATINGPOINT 
 5IGNAL  PROCESSORVLSl”に示
された従来のディジタル信号処理プロセッサ(以後、D
SPと略称する)の構成図であり、図において、(1)
はプログラムメモリ、(2)はデータ転送、演算、分岐
等の制御を行なう制御回路、(3)は制御回路(2)か
ら制御信号を出力する出力バス、(4)は制御回路(2
)からプログラムメモリ(1)への出力バス、(5)は
プログラムメモリ(1)から制御回路(2)への出力バ
ス、(6)はデータメモリ、(7)は乗算器、算術演算
器、シフタ、累算器等を有する演算部、(8)はデータ
転送バス、(9)はデータメモリ(6)からデータ転送
バス(8)および該データ転送バスから演算部(7)へ
の出力バス、(10)は演算部(7)からデータ転送バ
ス(8)および該データ転送バスからデータメモリ(6
)への出力バスである。
FIG. 7 shows, for example, IEEE, ICASSP86, P2O
3"A 50ns FLOATINGPOINT
5IGNAL PROCESSORVLSl” (hereinafter referred to as D
(abbreviated as SP), and in the figure, (1)
is a program memory, (2) is a control circuit that controls data transfer, arithmetic, branching, etc., (3) is an output bus that outputs control signals from the control circuit (2), and (4) is a control circuit (2).
) to the program memory (1), (5) is the output bus from the program memory (1) to the control circuit (2), (6) is the data memory, (7) is a multiplier, an arithmetic unit, An arithmetic section having a shifter, an accumulator, etc., (8) a data transfer bus, and (9) an output bus from the data memory (6) to the data transfer bus (8) and from the data transfer bus to the arithmetic section (7). , (10) are connected from the calculation unit (7) to the data transfer bus (8) and from the data transfer bus to the data memory (6).
).

次に動作について説明する。DSPの基本動作はプログ
ラムメモリ(1)から読出されたプログラムに従って制
御回路(2)で制御され、データメモリ(6)から読出
されたデータを演算部(7)に入力して行なわれる命令
フェッチ、デコード、データ読出し、演算、演算結果書
込みという一連の処理動作からなる。
Next, the operation will be explained. The basic operation of the DSP is controlled by a control circuit (2) according to a program read from a program memory (1), and includes instruction fetch, which is performed by inputting data read from a data memory (6) to an arithmetic unit (7). It consists of a series of processing operations: decoding, data reading, computation, and computation result writing.

これらはバイブライン処理で実行することにより、同一
命令を連続実行した場合、1命令当り1マシンサイクル
で実行する割合に近づく。したがって、単一命令を繰返
し行なう処理では連続的に実行する程、処理速度は向上
する。
By executing these in the vibe line processing, when the same instruction is executed continuously, the execution rate approaches that of one machine cycle per instruction. Therefore, in a process in which a single instruction is repeatedly executed, the processing speed increases as the instruction is executed continuously.

しかし、演算結果により、ある特定の条件が成立した場
合に、現在実行中の処理を抜は出し、別の処理へ分岐す
るプログラムにおいては、条件判定のために連続実行処
理が終了する以前に、途中に中間チエツクポイントを設
け、−担連続実行を中断し、ある演算結果データを特定
のデータ値と比較し、その結果に基づいて分岐処理を行
なうことが必要になる。
However, in a program that skips the currently executing process and branches to another process when a certain condition is satisfied based on the calculation result, before the continuous execution process ends to determine the condition, It is necessary to provide an intermediate checkpoint in the middle, interrupt continuous execution, compare certain operation result data with a specific data value, and perform branch processing based on the result.

第8図は一連の連続実行処理中に中間チエツクを行なう
処理フローを示すもので、演算処理の結果をしきい値と
比較しくステップ5T8−1.8−2)、その後、中止
条件成立か否かを判断しくステップ5T8−3) 、Y
ESの場合は処理を終了し、Noの場合は最終データ終
了か否かを判断しくステップ5T8−4) 、Noの場
合はステップ5T8−1に戻って上記の動作を繰返し、
YESの場合は処理を終了する。
FIG. 8 shows a processing flow in which an intermediate check is performed during a series of continuous execution processing, in which the result of the arithmetic processing is compared with a threshold value (step 5T8-1.8-2), and then, whether or not the cancellation condition is satisfied is shown. Step 5T8-3), Y
If ES, the process ends; if No, it is determined whether the final data has ended or not (Step 5T8-4); if No, the process returns to Step 5T8-1 and the above operation is repeated;
If YES, the process ends.

画像符号化方式における動き補償処理では、パターン間
のマツチングとして差分絶対値累算を用い、最小パター
ンの検出を行なうものであるが、例えば現在累算実行中
の値が最小値を越えた場合、残りの累算は無駄であり、
このようなケースには次のルーチンへ移行した方が効率
的である。
In motion compensation processing in image coding systems, absolute difference value accumulation is used to match between patterns, and the minimum pattern is detected. For example, if the value currently being accumulated exceeds the minimum value, The remaining accumulation is wasted;
In such cases, it is more efficient to move to the next routine.

そのために中間チエツクを行なうことは有用であるが、
処理の中断および比較・判定による処理時間の損失を伴
なう。また、従来のDSPではデータの正負の判定によ
る条件判定のみ可能であり、特定のしきい値データとの
大小関係を求めるには、−旦、その対象データとしきい
値との減算を行ない、その結果による判定を行なうため
、処理効率が低い。
It is useful to perform intermediate checks for this purpose, but
This involves interruption of processing and loss of processing time due to comparison/judgment. In addition, conventional DSPs can only make conditional judgments based on whether the data is positive or negative, and in order to determine the magnitude relationship with specific threshold data, first subtract the target data from the threshold. Processing efficiency is low because judgment is made based on results.

比較対象のしきい値が複数種類ある場合は、更に処理効
率が低くなる。例えば、データの範囲により処理の種類
が複数種類(n個)に分れるケースでは、(n−1)個
のしきい値との比較およびその結果に基づく分岐命令が
必要となり、少なくとも(n−1)X2マシンサイクル
の損失を伴なうことになる。
If there are multiple types of thresholds to be compared, the processing efficiency will further decrease. For example, in a case where the types of processing are divided into multiple types (n) depending on the range of data, comparisons with (n-1) thresholds and branch instructions based on the results are required, and at least (n-1) 1) It will involve a loss of X2 machine cycles.

〔発明の解決しようとする課題〕[Problem to be solved by the invention]

従来のディジタル信号処理プロセッサは以上のように構
成されているので、演算結果または途中の結果によって
分岐処理を行なうケースでは、連続処理途中である場合
は一担処理を中断し、減算および比較処理を行なうため
、処理効率が低下するという問題点があった。
Conventional digital signal processing processors are configured as described above, so in cases where branch processing is performed based on arithmetic results or intermediate results, if continuous processing is in progress, one-step processing is interrupted and subtraction and comparison processing is performed. Therefore, there was a problem that processing efficiency decreased.

この発明は上記のような問題点を解消することを課題に
なされたもので、一連の連続処理の途中においても、連
続処理を中断することなく比較処理を実行し、効率的な
分岐処理を実現することのできるディジタル信号処理プ
ロセッサを得ることを目的とする。
This invention was made with the aim of solving the above-mentioned problems, and even in the middle of a series of continuous processing, comparison processing is executed without interrupting the continuous processing, and efficient branching processing is realized. The object of the present invention is to obtain a digital signal processing processor that can perform the following steps.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るディジタル信号処理プロセッサは、フェ
ッチする命令のアドレス制御用のプログラムカウンタを
内蔵した制御回路と、データ入出力用のデータメモリと
、演算部動作と並行に該演算部内の算術演算器出力、論
理シフタ出力、乗算器出力のいづれかの選択を行ない、
選択された出力データに対し予め設定されたn個(nは
1以上の整数)のしきい値と同時に大小関係を比較し、
そのn個の比較結果に基づいて、前記n個のしきい値に
よって(n+1)個に区切られるデータ領域中、前記出
力データがどの領域に存在するかを判定し、その判定結
果に対し予め設定されたデータ領域を指定するm個(m
は1以上の整数)の領域限定条件と順次比較を行ない、
条件が一致した場合、上記m個の領域限定条件に対応し
て予め設定されたm個の分岐先アドレスの中から上記一
致した領域限定条件に対応する分岐先アドレス情報を出
力し、m個の条件全てが不一致の場合は全条件不一致を
示す信号を出力するデータ判定器とを具備したものであ
る。
The digital signal processing processor according to the present invention includes a control circuit including a program counter for controlling the address of instructions to be fetched, a data memory for data input/output, and an arithmetic unit output in the arithmetic unit in parallel with the operation of the arithmetic unit. , select either the logical shifter output or the multiplier output,
Simultaneously compare the magnitude relationship with n preset thresholds (n is an integer of 1 or more) for the selected output data,
Based on the n comparison results, it is determined in which area the output data exists among the data areas divided into (n+1) pieces by the n thresholds, and a preset value is set based on the determination result. m pieces (m
is an integer greater than or equal to 1).
If the conditions match, output the branch destination address information corresponding to the matched area limiting condition from among the m branch destination addresses preset corresponding to the m area limiting conditions, and The device is equipped with a data determiner that outputs a signal indicating that all conditions do not match when all conditions do not match.

〔作用〕[Effect]

この発明におけるデータ判定器は、1マシンサイクル毎
に乗算器出力に対し、複数のしきい値と並列比較処理を
行うとともに、その比較結果に対応して複数個ある分岐
先から特定の分岐先を選定することにより、連続処理を
中断することなく常に比較判断を行なうもので、複雑な
分岐処理を効率よく制御することを可能とする。
The data determiner in this invention performs parallel comparison processing with multiple thresholds on the multiplier output every machine cycle, and selects a specific branch destination from among the multiple branch destinations in response to the comparison result. By selecting this option, comparison and judgment are always performed without interrupting continuous processing, making it possible to efficiently control complex branching processing.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、前記第7図と同一または相当部分には同一
符号を付して重複説明を省略する。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, the same or corresponding parts as those in FIG. 7 are given the same reference numerals, and redundant explanation will be omitted.

(11)はデータ判定器、(12)はデータ転送バス(
8)とデータ判定器(11)を結ぶ入出力バス、(13
)は演算部(7)からデータ判定器(11)への出力バ
スである。
(11) is a data judger, (12) is a data transfer bus (
8) and the data determiner (11), an input/output bus (13)
) is an output bus from the arithmetic unit (7) to the data determiner (11).

第2図は上記データ判定器(11)の内部構成を示すブ
ロック図であり、第2図において、(15)はしきい値
レジスタ群、(17)は演算データとしきい値との大小
関係を比較する比較器、(19)は比較器出力により演
算データの領域を判定し、分岐条件との比較を行なう条
件判定器、(20)は分岐条件およびその分岐先を示す
アドレスインデックス情報を保持する条件レジスタ、(
24)は条件レジスタの複数の条件成立時分岐先アドレ
スを保持するアドレスレジスタファイル、(12)は入
出力バス、(13) 、  (14) 。
FIG. 2 is a block diagram showing the internal configuration of the data determiner (11). In FIG. A comparator for comparison, (19) is a condition determiner that determines the area of operation data based on the comparator output and compares it with the branch condition, and (20) holds address index information indicating the branch condition and its branch destination. condition register, (
24) is an address register file that holds branch destination addresses when multiple conditions of the condition register are met; (12) is an input/output bus; (13), (14).

(16)、  (18)、  (21)、  (22)
は出力バスである。
(16), (18), (21), (22)
is the output bus.

第3図は上記条件判定器(19)の内部構成を示すブロ
ック図であり、第3図において、(26)は領域判定回
路、(28)は条件比較回路、(1g)、  (2t)
、  (22)、  (27)は出力バスである。
FIG. 3 is a block diagram showing the internal configuration of the condition determination unit (19). In FIG. 3, (26) is an area determination circuit, (28) is a condition comparison circuit, (1g), (2t)
, (22), and (27) are output buses.

次に動作について説明する。第1図において、条件判定
器(11)は、演算部(7)から出力バス(13)を介
して入力される比較対象データと予め設定されているし
きい値レジスタ群(15)から出力バス(16)を介し
て供給されるn個の各しきい値との大小関係の比較を比
較器(17)で行ない、出力バス(18)を介して供給
されるそのn個の比較結果(大小関係はrOJ、rlJ
の1ビツトで表現される)に基づいて、条件判定器19
で対象データのデータ領域を判定する。
Next, the operation will be explained. In FIG. 1, a condition determiner (11) receives data to be compared which is inputted from an arithmetic unit (7) via an output bus (13) and an output bus from a preset threshold register group (15). The comparator (17) compares the magnitude relationship with each of the n thresholds supplied via the output bus (16), and the n comparison results (size The relationship is rOJ, rlJ
(expressed by 1 bit), the condition determiner 19
Determine the data area of the target data.

第4図はしきい値aO・・・・・・a9の設定による(
n+1)個の領域0・・・・・・領域4の分割と、比較
器出力および領域判定の一例を示すもので、ここでは領
域番号に応じてビットに「1」を立てるものとする。
Figure 4 shows the setting of the threshold value aO...a9 (
This shows an example of division of n+1) areas 0, 4, comparator output, and area determination, and here it is assumed that bits are set to "1" according to area numbers.

条件判定器(19)の領域判定回路(26)は、出力バ
ス(18)を介して供給された比較器(17)からの比
較器出力により、データの領域を判定し領域を示すイン
デックス信号を出力バス(27)に出力する。条件比較
回路(28)はこの領域インデックス信号と出力バス(
21)を介して条件レジスタ(20)から供給された条
件信号との比較により、条件が成立した場合、その分岐
先アドレスを示すアドレスインデックスを出力バス(2
2)に出力する。
The area determining circuit (26) of the condition determining unit (19) determines the area of data based on the comparator output from the comparator (17) supplied via the output bus (18), and generates an index signal indicating the area. Output to the output bus (27). The condition comparison circuit (28) uses this area index signal and the output bus (
If the condition is satisfied by comparison with the condition signal supplied from the condition register (20) via the output bus (21), the address index indicating the branch destination address is sent to the output bus (21).
2) Output.

第5図は条件レジスタ(20)に保持される条件信号の
フォーマットの一例を示すもので、第5図において、f
O〜f4は領域0指定フラグ〜領域4指定フラグを示し
、指定時1、非指定時0である。条件1〜条件mは複数
個指定することが可能で、比較すべき条件に優先順位を
付け、順次比較するものとし、条件が成立次第、出力バ
ス(22)を介して条件判定器(19)からアドレスイ
ンデックス信号を出力するものとする。
FIG. 5 shows an example of the format of the condition signal held in the condition register (20).
O to f4 indicate area 0 designation flag to area 4 designation flag, which are 1 when designated and 0 when not designated. Multiple conditions 1 to m can be specified, and the conditions to be compared are prioritized and compared in order. As soon as the conditions are met, the conditions are sent to the condition determiner (19) via the output bus (22). It is assumed that an address index signal is output from.

アドレスレジスタファイル(24)には、各条件に応じ
た分岐先アドレスを複数個格納しておき、出力バス(2
2)を介して条件判定器(19)から供給されるアドレ
スインデックス信号に基づいて、出力バス(14)に分
岐先アドレス信号を出力する。このようにして出力され
たアドレス値に基づいて、制御回路(2)は内蔵するプ
ログラムカウンタのカウント値をこのアドレス値にセッ
トして分岐を行なう。
The address register file (24) stores multiple branch destination addresses according to each condition, and the output bus (24) stores multiple branch destination addresses according to each condition.
2) outputs a branch destination address signal to the output bus (14) based on the address index signal supplied from the condition determiner (19). Based on the address value thus output, the control circuit (2) sets the count value of the built-in program counter to this address value and branches.

なお、全ての条件が不成立の場合は、上記アドレスイン
デックス信号が“OFF″で、アドレスレジスタファイ
ル(24)から出力されるアドレス信号も“OFF”状
態であり、プログラムカウンタのカウント値は次の命令
番地を示す。
If all conditions are not satisfied, the address index signal is "OFF", the address signal output from the address register file (24) is also "OFF", and the count value of the program counter is set to the next instruction. Indicates the street address.

このデータ判定器(11)でのチエツク対象となる演算
部(7)から出力バス(13)を介して供給されるデー
タについては、演算部(7)内の算術演算器、乗算器、
累算器等の出力のいづれかをモード設定等の命令で規定
できるようにしておき、マシンサイクル毎にデータ判定
器(11)でチエツクする構成にすることで、データ範
囲の比較のために処理時間の損失を防ぐことができる。
Regarding the data supplied via the output bus (13) from the arithmetic unit (7) to be checked by the data determiner (11), the arithmetic operation unit, multiplier,
By making it possible to specify one of the outputs of the accumulator, etc. by a command such as mode setting, and checking it with the data determiner (11) every machine cycle, the processing time for comparing data ranges can be reduced. loss can be prevented.

第6図は中間チエツクを含む連続処理フローを示すもの
で、まず、比較対象選定、しきい値データセット、分岐
アドレスセット、分岐条件セット等の初期設定を行ない
(ステップ5T6−1)、次いで演算処理と条件判定処
理を並列して処理データ数回ループを介して繰返し、条
件1〜3の成立時にアドレスA−Cを出力する。
FIG. 6 shows a continuous processing flow including an intermediate check. First, initial settings such as comparison target selection, threshold data set, branch address set, branch condition set, etc. are performed (step 5T6-1), and then calculation is performed. Processing and condition determination processing are repeated in parallel through a loop several times for processing data, and when conditions 1 to 3 are met, addresses A to C are output.

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

以上のように、この発明によれば、ある特定のデータに
対し、演算処理と並行して複数のしきい値との比較処理
を行ない、その比較処理結果に応じて分岐先を複数個指
定できる構成としたので、複雑な分岐処理を効率よく制
御することができるという効果がある。
As described above, according to the present invention, comparison processing with multiple threshold values is performed on certain data in parallel with arithmetic processing, and multiple branch destinations can be specified according to the comparison processing results. This configuration has the effect that complex branch processing can be efficiently controlled.

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

第1図はこの発明の一実施例によるディジタル信号処理
プロセッサの全体構成を示すブロック図、第2図はデー
タ判定器の内部構成を示すブロック図、第3図はデータ
判定器の内部構成を示すブロック図、第4図はデータ領
域判定の一例を示す説明図、第5図は分岐条件を示す条
件データの説明図、第6図はデータ判定を含む連続演算
処理のフローチャート図、第7図は従来のディジタル信
号処理プロセッサの全体構成を示すブロック図、第8図
は従来のディジタル信号処理プロセッサにおけるデータ
判定を含む連続演算処理のフローチャート図である。 図において、(1)はプログラムメモリ、(2)は制御
回路、(6)はデータメモリ、(7)は演算部、(11
)はデータ判定器である。 なお、図中、同一符号は同一または相当部分を示す。 代理人 弁理士 大 岩 増 雄 (外2名) 条件判定器の内部構成図 第3 図 データ領域判定0説明図 第4図 条件データの説明図 第5 図 従来のディジタル信号処理プロセッサのブロノ、r;z
j第7 図 とのノ=明、つ連続演算処理9′)フロチャ ト図 従来の連続演算処理のフローチャート間第8 図 手 続 補 正 書 (自発) 5、補正の対象 明細書の発明の詳細な説明及び図面の簡単な説明の欄。 6、補正の内容 1、事件の表示 特願平 号 2、発明の名称 ディジタル信号処理プロセッサ 36補正をする者 以 上 代表者 志 岐 守 哉 カ 傅′に−シ
FIG. 1 is a block diagram showing the overall configuration of a digital signal processor according to an embodiment of the present invention, FIG. 2 is a block diagram showing the internal configuration of a data determiner, and FIG. 3 is a block diagram showing the internal configuration of a data determiner. 4 is an explanatory diagram showing an example of data area determination, FIG. 5 is an explanatory diagram of condition data indicating branch conditions, FIG. 6 is a flowchart of continuous calculation processing including data determination, and FIG. 7 is an explanatory diagram showing an example of data area determination. FIG. 8 is a block diagram showing the overall configuration of a conventional digital signal processor. FIG. 8 is a flowchart of continuous arithmetic processing including data determination in the conventional digital signal processor. In the figure, (1) is a program memory, (2) is a control circuit, (6) is a data memory, (7) is an arithmetic unit, and (11) is a control circuit.
) is a data judge. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent: Patent Attorney Masuo Oiwa (2 others) Internal configuration diagram of condition determination unit Figure 3 Diagram of data area determination 0 Explanation diagram Figure 4 Explanation diagram of condition data Figure 5 Conventional digital signal processing processor Brono, r ;z
j Figure 7: Continuous operation processing 9') Flowchart diagram Flowchart diagram of conventional continuous operation processing Figure 8 Procedure amendment (voluntary) 5. Detailed explanation of the invention of the specification to be amended; A field for a brief description of the drawing. 6. Contents of the amendment 1, Indication of the incident, Patent Application No. 2, Name of the invention: Digital signal processing processor

Claims (1)

【特許請求の範囲】 内蔵されたマイクロプログラムのフェッチおよびデコー
ド、そのマイクロプログラムの内容に従ったデータの読
出し、演算、演算結果データの書き込みを基本動作とす
るディジタル信号処理プロセッサにおいて、 フェッチする命令のアドレス制御用のプログラムカウン
タを内蔵した制御回路と、 データ入出力用のデータメモリと、 演算部動作と並行に該演算部内の算術演算器出力、論理
シフタ出力、乗算器出力のいずれかの選択を行ない、選
択された出力データに対し予め設定されたn個(nは1
以上の整数)のしきい値と同時に大小関係を比較し、そ
のn個の比較結果に基づいて、前記n個のしきい値によ
って(n+1)個に区切られるデータ領域中、前記出力
データがどの領域に存在するかを判定し、その判定結果
に対し予め設定されたデータ領域を指定するm個(mは
1以上の整数)の領域限定条件と順次比較を行ない、条
件が一致した場合、上記m個の領域限定条件に対応して
前記予め設定されたm個の分岐先アドレスの中から上記
一致した領域限定条件に対応する分岐先アドレス情報を
出力し、m個の条件全てが不一致の場合は全条件不一致
を示す信号を出力するデータ判定器と、 を備え、前記制御回路は前記データ判定器から出力され
る前記分岐先アドレス情報に基づいて、前記プログラム
カウンタを更新して、分岐先の命令アドレスを生成して
前記データ判定器出力が不一致信号である場合は、前記
プログラムカウンタを単純に1増加することで次命令ア
ドレスを生成することを特徴とするディジタル信号処理
プロセッサ。
[Claims] In a digital signal processing processor whose basic operations are fetching and decoding a built-in microprogram, reading data according to the contents of the microprogram, performing operations, and writing operation result data, A control circuit with a built-in program counter for address control, a data memory for data input/output, and a selection of the arithmetic unit output, logic shifter output, or multiplier output in the arithmetic unit in parallel with the operation of the arithmetic unit. The preset number of n (n is 1) is set for the selected output data.
At the same time, the magnitude relationship is compared with the threshold value (an integer greater than or equal to It is determined whether it exists in the area, and the determination result is sequentially compared with m area limiting conditions (m is an integer of 1 or more) specifying a preset data area, and if the conditions match, the above Output branch destination address information corresponding to the matched area limiting condition from among the m branch destination addresses set in advance in response to the m area limiting conditions, and if all m conditions do not match; and a data determiner that outputs a signal indicating that all conditions do not match, and the control circuit updates the program counter based on the branch destination address information output from the data determiner to determine the branch destination. A digital signal processing processor characterized in that when an instruction address is generated and the output of the data determiner is a mismatch signal, the next instruction address is generated by simply incrementing the program counter by 1.
JP1006805A 1988-12-16 1989-01-13 Digital signal processor Pending JPH02187824A (en)

Priority Applications (13)

Application Number Priority Date Filing Date Title
JP1006805A JPH02187824A (en) 1989-01-13 1989-01-13 Digital signal processor
CA000605490A CA1311063C (en) 1988-12-16 1989-07-12 Digital signal processor
US07/379,274 US5161247A (en) 1988-12-16 1989-07-13 Digital signal processor matching data blocks against a reference block and replacing the reference block when a new minimum distortion block is calculated
DE68927798T DE68927798T2 (en) 1988-12-16 1989-07-15 Processor for a numerical signal
EP95106305A EP0666533A1 (en) 1988-12-16 1989-07-15 Digital signal processor
EP95106303A EP0666532A1 (en) 1988-12-16 1989-07-15 Digital signal processor
EP95106304A EP0669599A1 (en) 1988-12-16 1989-07-15 Digital signal processor
EP89113000A EP0373291B1 (en) 1988-12-16 1989-07-15 Digital signal processor
KR1019890017852A KR920010933B1 (en) 1988-12-16 1989-12-04 Digital signal processor
US07/907,233 US5442799A (en) 1988-12-16 1992-07-01 Digital signal processor with high speed multiplier means for double data input
US08/103,175 US5421023A (en) 1988-12-16 1993-08-06 Motion vector calculation method using sequential minimum distortion calculations at different densities
US08/128,257 US5504916A (en) 1988-12-16 1993-09-28 Digital signal processor with direct data transfer from external memory
US08/140,989 US5388236A (en) 1988-12-16 1993-10-25 Digital signal processor with multiway branching based on parallel evaluation of N threshold values followed by sequential evaluation of M

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1006805A JPH02187824A (en) 1989-01-13 1989-01-13 Digital signal processor

Publications (1)

Publication Number Publication Date
JPH02187824A true JPH02187824A (en) 1990-07-24

Family

ID=11648409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1006805A Pending JPH02187824A (en) 1988-12-16 1989-01-13 Digital signal processor

Country Status (1)

Country Link
JP (1) JPH02187824A (en)

Similar Documents

Publication Publication Date Title
US4782441A (en) Vector processor capable of parallely executing instructions and reserving execution status order for restarting interrupted executions
US5671382A (en) Information processing system and information processing method for executing instructions in parallel
CA1223371A (en) System for by-pass control in pipeline operation of computer
US4740893A (en) Method for reducing the time for switching between programs
EP0378830A2 (en) Method and apparatus for handling multiple condition codes as for a parallel pipeline computer
US5381531A (en) Data processor for selective simultaneous execution of a delay slot instruction and a second subsequent instruction the pair following a conditional branch instruction
EP0269980A2 (en) Data processor for parallelly executing conflicting instructions
CA1098214A (en) Data processing system with an enhanced instruction pipeline control
JPS633337B2 (en)
EP0093430B1 (en) Pipeline data processing system
EP0094535B1 (en) Pipe-line data processing system
JPH06105460B2 (en) Multiprocessor processor switching device
US4954947A (en) Instruction processor for processing branch instruction at high speed
US4631672A (en) Arithmetic control apparatus for a pipeline processing system
US6581086B1 (en) Multiply and accumulate unit (MAC) and method therefor
JPH02187824A (en) Digital signal processor
JPS6327746B2 (en)
JP2629479B2 (en) Information processing device
JPH0279122A (en) Floating point arithmetic mechanism
JPH04184535A (en) Parallel arithmetic units
JP2021144426A (en) Processor and error detection method
JP2000305782A (en) Arithmetic unit
JPH09282165A (en) Information processor
JPS63231628A (en) Address computing element
JPH04218834A (en) Conditional branch control circuit