JPH04138555A - Parallel type digital signal processor - Google Patents
Parallel type digital signal processorInfo
- Publication number
- JPH04138555A JPH04138555A JP26164990A JP26164990A JPH04138555A JP H04138555 A JPH04138555 A JP H04138555A JP 26164990 A JP26164990 A JP 26164990A JP 26164990 A JP26164990 A JP 26164990A JP H04138555 A JPH04138555 A JP H04138555A
- Authority
- JP
- Japan
- Prior art keywords
- dsp
- signal
- instruction
- digital signal
- register
- 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
Links
- 235000019800 disodium phosphate Nutrition 0.000 abstract description 15
- 238000000034 method Methods 0.000 abstract description 3
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、非常に長いプログラムを実行する場合や膨大
な量の計算を行う場合に、並列に接続された複数のディ
ジタル信号処理プロセッサーにタスクを分担させること
により、データを高速に処理することが可能である並列
型ディジタル信号処理装置に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention enables tasks to be performed by multiple digital signal processing processors connected in parallel when executing a very long program or performing a huge amount of calculation. The present invention relates to a parallel digital signal processing device that is capable of processing data at high speed by sharing the functions.
第5図は従来の並列型ディジタル信号処理装置の一例の
ブロック図である。同図において、中央処理袋N(以下
、CPUとも称する。)10は単一のCPUからなる場
合でも、複数のCPUからなる場合でもよい、ディジタ
ル信号処理プロセッサー(以下、DSPとも称する−)
’12’t〜12、は、データバス14及び命令バス1
6によって、CPUl0と並列に接続されている。更に
、データバス14には、転送されるデータを一時的に記
憶するデータストア18が接続されている。DSP12
.〜12.は、内部にデコーダ、メモリ、演真回路を有
しており、命令バス16を通してCPUI Oから供給
される命令をデコードし、データバス14を通して送ら
れて来るデータに対して演算処理を行う。FIG. 5 is a block diagram of an example of a conventional parallel digital signal processing device. In the figure, a central processing unit N (hereinafter also referred to as CPU) 10 is a digital signal processing processor (hereinafter also referred to as DSP) which may consist of a single CPU or multiple CPUs.
'12't~12, data bus 14 and instruction bus 1
6, it is connected in parallel with CPU10. Furthermore, a data store 18 is connected to the data bus 14 to temporarily store data to be transferred. DSP12
.. ~12. has an internal decoder, memory, and logic circuit, and decodes instructions supplied from the CPU I O through an instruction bus 16, and performs arithmetic processing on data sent through a data bus 14.
CPUI Oから各DSPへデータの転送を行う場合は
データストア18を介して行う。例えば、CPUl0か
らDSP12+へあるデータの転送を行う場合、CPU
l0はデータバス14にそのデータを供給してデータス
トア18に一時的に記憶させる。次にDSP12+に対
して、データストア18にアクセスしこのデータをデー
タストア18からDSP 12+へ読み込むよう命令バ
スを通して命令する。CPUl0から他のDSPに対し
てデータを転送する場合も同様である。Data is transferred from the CPU I O to each DSP via the data store 18. For example, when transferring certain data from CPU10 to DSP12+, CPU
l0 provides the data on data bus 14 for temporary storage in data store 18. The DSP 12+ is then commanded via the instruction bus to access the data store 18 and read the data from the data store 18 to the DSP 12+. The same applies when data is transferred from CPU10 to another DSP.
DSP同士の間でのデータの転送も、同様にデータスト
ア18を介して行う0例えば、DSP 12、の演算処
理によって得られたデータを別のDSP12gが必要と
する場合、CPUl0はまずD S P 12 +に対
してそのデータをデータバス14を通してデータストア
18に記憶させるよう命令する。その後、D S P
1.2 zに対してデータストア18にアクセスしてこ
のデータをデータストア18から読み出すように命令す
る。このようにしてDSPI2.からDSP 12tへ
のデータの転送が行われる。Transfer of data between DSPs is also performed via the data store 18. For example, if another DSP 12g requires data obtained through arithmetic processing in the DSP 12, the CPU 10 first transfers the data to the DSP 12. 12 + to store its data in data store 18 over data bus 14. After that, DSP
1.2 Command z to access data store 18 and read this data from data store 18. In this way, DSPI2. Data is transferred from the DSP 12t to the DSP 12t.
ところで、各DSPにCPUから並列に命令バスが接続
されている場合には、CPUl0から出される命令信号
の語長は、各DSPに供給される命令信号の語長の総和
に等しい。すなわち、DSPI21に対する命令の語長
がn、、DSPI 22に対する命令の語長がnz、・
・・DSPI2、に対する命令の語長がn、とすると、
CPU 10から供給される命令の語長Nは、
N=Σn8
となる、各DSPに対する命令信号が全て等しくnビッ
トであるとすると、CPUから供給される命令信号全体
のビット数はnxmビットとなる。By the way, when an instruction bus is connected in parallel from the CPU to each DSP, the word length of the instruction signal output from CPU10 is equal to the sum of the word lengths of the instruction signals supplied to each DSP. That is, the word length of the instruction for the DSPI 21 is n, the word length of the instruction for the DSPI 22 is nz, .
...If the word length of the command for DSPI2 is n, then
The word length N of the instruction supplied from the CPU 10 is N=Σn8.If the instruction signals for each DSP are all n bits equally, the number of bits of the entire instruction signal supplied from the CPU is nxm bits. .
このようにCPUから出力される命令信号の語長を各D
SPに対する命令信号の語長の総和とすると、高速な処
理が可能になるとともに、CPUからDSPに命令信号
を転送する手続が容易となる。In this way, the word length of the command signal output from the CPU is
If the sum of the word lengths of the command signals for the SP is used, high-speed processing becomes possible and the procedure for transferring the command signals from the CPU to the DSP becomes easy.
しかしながら、上記のような従来の並列型ディジタル信
号処理装置では命令信号を送るための命令バスのライン
数が多くなり、ハードウェアの構成上好ましくないとい
う問題がある。特に、既存の通信回線を用いてCPtJ
からDSPへ命令信号を送ろうとすると、種々の不都合
を生じる。However, in the conventional parallel digital signal processing device as described above, the number of command bus lines for transmitting command signals increases, which is undesirable in terms of hardware configuration. In particular, CPtJ using existing communication lines
If an attempt is made to send a command signal from the DSP to the DSP, various inconveniences will occur.
また、各DSPとCPUとを1つの命令バスで接続した
場合、複数のDSPに対して同一の命令を与えようとす
る場合でも、CPLIの側で一つ一つのDSPを指定し
て順番に複数回に分けて命令を送るようにしなければな
らない、このためCPUの動作が複雑になるとともに、
命令の伝達に時間がかかるという問題がある。In addition, when each DSP and CPU are connected with one instruction bus, even if you want to give the same instruction to multiple DSPs, you can specify each DSP one by one on the CPLI side and send multiple instructions in order. The instructions must be sent in batches, which complicates the operation of the CPU and
There is a problem in that it takes time to transmit commands.
本発明は上記事情に基づいてなされたものであり、従来
のようにCPUからDSPへの命令信号の送り易さを維
持したまま、命令バスを構成するライン数を削減できる
並列型ディジタル信号処理装置を提供することを目的と
するものである。The present invention has been made based on the above circumstances, and provides a parallel digital signal processing device that can reduce the number of lines constituting an instruction bus while maintaining the ease of sending instruction signals from a CPU to a DSP as in the past. The purpose is to provide the following.
上記の目的を達成するための本発明は、中央処理装置と
複数のディジタル信号処理プロセッサーとをデータバス
及び命令バスによって接続し、前記中央処理装置からの
命令に基づき前記複数のディジタル信号処理プロセッサ
ーによってデータの並列処理を行う並列型ディジタル信
号処理装置において、前記命令バスを通して前記中央処
理装置から前記複数のディジタル信号処理プロセッサー
へ供給する命令信号にどのディジタル信号処理プロセッ
サーを動作させるかを示す識別手段を付加し、前記複数
のディジタル信号処理プロセッサーに前記識別手段を認
識する認識手段を設けたことを特徴とするものである。To achieve the above object, the present invention connects a central processing unit and a plurality of digital signal processing processors through a data bus and an instruction bus, and the plurality of digital signal processing processors connects a central processing unit and a plurality of digital signal processing processors based on instructions from the central processing unit. In a parallel digital signal processing device that performs parallel processing of data, an identification means for indicating which digital signal processing processor is to be operated in response to an instruction signal supplied from the central processing unit to the plurality of digital signal processing processors through the instruction bus. Additionally, the plurality of digital signal processing processors are further provided with recognition means for recognizing the identification means.
本発明は前記の構成により、中央処理装置(CPU)か
ら命令信号が出力されると各ディジタル信号処理プロセ
ッサー(DSP)に設けられた認識手段は、命令信号に
付加された識別手段の内容の認識を行う、この結果、こ
の識別手段が各認識手段に設定された信号と一致したと
きは、そのDSPは動作を開始し、命令信号の内容を実
行する。In the present invention, with the above configuration, when a command signal is output from the central processing unit (CPU), the recognition means provided in each digital signal processor (DSP) recognizes the content of the identification means added to the command signal. As a result, when the identification means matches the signal set in each recognition means, the DSP starts operating and executes the contents of the command signal.
識別手段は単一のDSPの動作開始を指示するだけでな
(、任意の複数のDSPや全てのDSPの動作を同時に
開始するよう指示することもできる。また、命令信号に
識別手段を付加する構成としたことにより、命令信号を
パラレル信号ではなく、シリアル信号とすることもでき
、少ないラインの既存の通信回線を使用することもでき
る。The identification means not only instructs the start of operation of a single DSP (but can also instruct the operation of any plurality of DSPs or all DSPs to start at the same time).In addition, the identification means is added to the command signal. With this configuration, the command signal can be a serial signal instead of a parallel signal, and an existing communication line with fewer lines can be used.
以下に図面を参照しつつ本発明の実施例について説明す
る。第1図は本発明の一実施例のブロツク図、第2[!
Iは識別ビット(識別手段)が付加された命令信号のビ
ット構成の例を示した図、第3図及び第4図は各DSP
の内部に設けられた認識回路の例を示す回路図である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
I is a diagram showing an example of the bit configuration of a command signal to which an identification bit (identification means) is added, and FIGS. 3 and 4 are for each DSP.
FIG. 2 is a circuit diagram showing an example of a recognition circuit provided inside.
第1図において第5図と同一構成部分には同一符号を付
し、その詳細な説明を省略する。第1図では第5図と異
なり、CPUl0から出ている命令バス14のバス幅が
、各DSP12+〜12゜に接続されている命令バスの
バス幅と等しく、いずれもnビットとなっている。この
命令バス14によって各DSPに送られる命令信号及び
識別信号は、例えば第2図に示すようなビット構成とな
っている。すなわち最初の4ビ7トがどのDSPの動作
を開始するかを示す識別ビットであり、これによって1
6種類の組合せを選択することができる。これに続く第
5ビツト目以降のn−4ビツトがDSPに対する命令信
号の内容となっている。In FIG. 1, the same components as those in FIG. 5 are denoted by the same reference numerals, and detailed explanation thereof will be omitted. In FIG. 1, unlike in FIG. 5, the bus width of the instruction bus 14 coming out from the CPU 10 is equal to the bus width of the instruction buses connected to each DSP 12+ to 12 degrees, and all of them are n bits. The command signal and identification signal sent to each DSP via the command bus 14 have a bit configuration as shown in FIG. 2, for example. In other words, the first 4 bits are identification bits that indicate which DSP starts operation, and thereby
Six types of combinations can be selected. The n-4 bits following the fifth bit are the contents of the command signal to the DSP.
DSPの選択の仕方は一つづつのDSPを指定するだけ
でなく、任意のDSPを複数組み合わせて指定すること
もできる。この識別ビットのビット数を増やせば、当然
指定できるDSPの組合せも増加する。The DSP can be selected not only by specifying one DSP one by one, but also by specifying a combination of a plurality of arbitrary DSPs. Naturally, if the number of identification bits is increased, the number of combinations of DSPs that can be specified also increases.
第3図は第1図の各DSP内に含まれる認識回路の一例
の回路図であり、命令系には2つのレジスタ22及び2
4が、また識別系には一つのレジスタ26とデコーダ2
8とが設けられている。この回路は命令信号がnビット
のパスラインを通しテパラレルに供給される場合に用い
られる。CPUl0から命令信号及び識別信号が出力さ
れると、各DSP内部の認識回路はレジスタ26に最初
の4ビツトの識別信号を取り込むと同時に、レジスタ2
2に第5ビツト目以下の命令信号を取り込む。FIG. 3 is a circuit diagram of an example of a recognition circuit included in each DSP in FIG. 1, and the instruction system includes two registers 22 and 2.
4, and one register 26 and decoder 2 for the identification system.
8 is provided. This circuit is used when command signals are supplied in parallel through n-bit pass lines. When the command signal and identification signal are output from CPU10, the recognition circuit inside each DSP takes in the first 4-bit identification signal to the register 26, and at the same time inputs the first 4-bit identification signal to the register 26.
2, the command signal from the fifth bit onward is taken in.
レジスタ26に取り込まれた識別信号はデコーダ28に
よって自己のDSPの動作の開始を指示するものかどう
か判断される。また、これと同時に命令信号はレジスタ
24に移される。A decoder 28 determines whether the identification signal taken into the register 26 instructs the start of the operation of its own DSP. At the same time, the command signal is transferred to the register 24.
デコーダ28がこの識別信号を自己のDSPの動作開始
を指示するものと判断したときは、デコーダ28はレジ
スタ24に格納された命令信号をDSPの内部に転送す
るよう指示し、これによりDSPはこの命令信号の内容
に沿った動作を開始する。一方、デコーダ2日が識別信
号を自己のDSPの動作開始を指示するものでないと判
断したときは、レジスタ24に対しここに格納された命
令信号を次段に送らないよう指示し、DSPの実行は開
始されない。When the decoder 28 determines that this identification signal is an instruction to start the operation of its own DSP, the decoder 28 instructs to transfer the command signal stored in the register 24 to the inside of the DSP. Starts an operation according to the contents of the command signal. On the other hand, when the decoder 2 determines that the identification signal does not instruct the start of operation of its own DSP, it instructs the register 24 not to send the command signal stored here to the next stage, and executes the DSP. is not started.
第4図はCPUからの命令信号及び識別信号が時間的に
シリアルな信号として供給される場合の認識回路の例を
示す図である。識別信号及び命令信号はクロック信号C
Kに同期して入力端子りよりシリアルに供給され、フリ
ップ・フロップ(FF)に保持されながらクロック信号
CKに同期して1ビツトづつ右側ヘシフトされる。した
がってFFの個数は命令バスのビット数と同しn個であ
る。FIG. 4 is a diagram showing an example of a recognition circuit when command signals and identification signals from the CPU are supplied as temporally serial signals. Identification signal and command signal are clock signal C
It is serially supplied from the input terminal in synchronization with K, and is shifted to the right one bit at a time in synchronization with clock signal CK while being held in a flip-flop (FF). Therefore, the number of FFs is n, which is the same as the number of bits of the instruction bus.
上記と同様に命令信号のうちの最初の4ピントがDSP
の識別信号だとすると、一つの識別信号及び命令信号が
全てFFに保持されたときに右側の4つOFFに識別信
号が保持されている。この状態でこの4つのFFの出力
は、このDSPを示す信号として予め設定されている値
と各ビット毎に4つの2人力ANDゲート30.〜30
4によって比較される。As above, the first 4 pins of the command signal are the DSP
If one identification signal and one command signal are all held FF, the four identification signals on the right side are held OFF. In this state, the outputs of these four FFs are combined with a preset value as a signal indicating this DSP and four two-manufactured AND gates 30. ~30
Compare by 4.
ここで識別信号がこの予め設定しである信号と一致する
ときは4人力ANDゲート32の出力がハイ・レベルと
なり、このとき2人力ANDゲート34.〜34□、は
第5ビツト目以降の各ピントの信号、すなわちDSPに
対する命令信号をそのままレジスタ36に供給する。こ
れによりDSPはこの命令信号の内容に沿った実行を開
始する。Here, when the identification signal matches this preset signal, the output of the four-man power AND gate 32 becomes high level, and at this time, the two-man power AND gate 34. -34□ supply the signals of each focus from the 5th bit onward, that is, the command signal for the DSP, to the register 36 as they are. This causes the DSP to start executing in accordance with the contents of this command signal.
一方、識別信号が予め設定しである信号と一致しないと
きは4人力ANDゲート32の出力はロー・レベルとな
り、2人力ANDゲート341〜34R−4の出力は命
令信号の内容の如何にかかわらず全てロー・レベルとな
る。したがって、命令信号の内容はレジスタ36以降に
は伝達されず、このDSPの実行は開始されない。On the other hand, when the identification signal does not match a preset signal, the output of the four-man power AND gate 32 becomes a low level, and the output of the two-man power AND gates 341 to 34R-4 remains at a low level regardless of the contents of the command signal. All are at low level. Therefore, the contents of the command signal are not transmitted to registers 36 and beyond, and execution of this DSP is not started.
本実施例では識別信号が4ビツトの場合について説明し
たが、本発明はこれに限られるものでなく、任意のピン
ト数の識別信号でも使用できることは言うまでもない。In this embodiment, the case where the identification signal is 4 bits has been described, but the present invention is not limited to this, and it goes without saying that identification signals with any number of focuses can be used.
以上説明したように本発明によれば、識別信号を命令信
号に付加するとともにDSPの内部に認識手段を設ける
ことにより、1つの命令バスにより伝達手続の簡単さを
維持したままCPUから各DSPに命令信号を伝達する
ことができる並列型ディジタル信号処理装置を提供する
ことができる。As explained above, according to the present invention, by adding an identification signal to a command signal and providing a recognition means inside the DSP, a single command bus can be used to transmit signals from the CPU to each DSP while maintaining the simplicity of the transmission procedure. A parallel digital signal processing device capable of transmitting command signals can be provided.
また本発明によれば命令をシリアル信号として伝達する
場合にも対応できるので、電話回線など既存の通信回線
を利用してCPUから各DSPへ命令を伝達することの
できる並列型ディジタル信号処理装置を提供することが
できる。Furthermore, according to the present invention, it is also possible to transmit instructions as serial signals, so a parallel digital signal processing device that can transmit instructions from a CPU to each DSP using an existing communication line such as a telephone line can be used. can be provided.
【図面の簡単な説明】
第1図は本発明の一実施例の並列型ディジタル信号処理
装置のブロック図、第2図は命令信号に識別信号を付加
した命令信号のビット構成の一例を示す図、第3図はパ
ラレルに送られる命令信号に付加された識別信号を認識
する識別信号認識回路の回路図、第4図はシリアルに送
られる命令信号に付加された識別する識別信号認識回路
の回路図、第5図は従来の並列型ディジタル信号処理装
置の一例のブロック図である。
10・・・CPU (中央処理装置)、12、〜12.
・・・DSP(ディジタル信号処理装置)、14・・・
データバス、16・・・命令バス22.24.26・、
・レジスタ、
30・・・デコーダ、31・・・命令レジスタ、2 ・
・・
ANDゲー
ト。[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block diagram of a parallel digital signal processing device according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the bit configuration of a command signal in which an identification signal is added to the command signal. , Figure 3 is a circuit diagram of an identification signal recognition circuit that recognizes an identification signal added to a command signal sent in parallel, and Figure 4 is a circuit diagram of an identification signal recognition circuit that identifies an identification signal added to a command signal sent serially. FIG. 5 is a block diagram of an example of a conventional parallel digital signal processing device. 10...CPU (central processing unit), 12, ~12.
...DSP (digital signal processing device), 14...
Data bus, 16...Instruction bus 22.24.26...
・Register, 30... Decoder, 31... Instruction register, 2 ・
...AND gate.
Claims (1)
ーとをデータバス及び命令バスによって接続し、前記中
央処理装置からの命令に基づき前記複数のディジタル信
号処理プロセッサーによってデータの並列処理を行う並
列型ディジタル信号処理装置において、 前記命令バスを通して前記中央処理装置から前記複数の
ディジタル信号処理プロセッサーへ供給する命令信号に
どのディジタル信号処理プロセッサーを動作させるかを
示す識別手段を付加し、前記複数のディジタル信号処理
プロセッサーに前記識別手段を認識する認識手段を設け
たことを特徴とする並列型ディジタル信号処理装置。[Claims] A central processing unit and a plurality of digital signal processing processors are connected through a data bus and an instruction bus, and data is processed in parallel by the plurality of digital signal processing processors based on instructions from the central processing unit. In the parallel digital signal processing device, an identification means indicating which digital signal processing processor is to be operated is added to an instruction signal supplied from the central processing unit to the plurality of digital signal processing processors through the instruction bus, A parallel digital signal processing device, characterized in that a digital signal processor is provided with recognition means for recognizing the identification means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26164990A JPH04138555A (en) | 1990-09-29 | 1990-09-29 | Parallel type digital signal processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26164990A JPH04138555A (en) | 1990-09-29 | 1990-09-29 | Parallel type digital signal processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04138555A true JPH04138555A (en) | 1992-05-13 |
Family
ID=17364842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26164990A Pending JPH04138555A (en) | 1990-09-29 | 1990-09-29 | Parallel type digital signal processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04138555A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314475A (en) * | 1995-05-19 | 1996-11-29 | Fujitsu Ltd | Active noise controller |
-
1990
- 1990-09-29 JP JP26164990A patent/JPH04138555A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314475A (en) * | 1995-05-19 | 1996-11-29 | Fujitsu Ltd | Active noise controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4467447A (en) | Information transferring apparatus | |
US4704678A (en) | Function set for a microcomputer | |
US4271465A (en) | Information handling unit provided with a self-control type bus utilization unit | |
EP0426393A2 (en) | Instructing method and execution system | |
US4378589A (en) | Undirectional looped bus microcomputer architecture | |
US4731737A (en) | High speed intelligent distributed control memory system | |
WO1995028676A1 (en) | Local semiautonomous dedicated-storage access for parallel processors | |
EP0338564B1 (en) | Microprogram branching method and microsequencer employing the method | |
CA1203917A (en) | Micro computer system | |
US7254667B2 (en) | Data transfer between an external data source and a memory associated with a data processor | |
JPH04138555A (en) | Parallel type digital signal processor | |
US5053954A (en) | Microprogram process for single cycle jump instruction execution | |
US5220670A (en) | Microprocessor having ability to carry out logical operation on internal bus | |
US3938187A (en) | System for putting an information record onto a magnetic substrate | |
KR950006585B1 (en) | Micro program control apparatus and control method thereof | |
JP2564318B2 (en) | Communication processing device | |
JP2504535B2 (en) | Bus unit configuration method | |
JPS59229659A (en) | Data processing method | |
JP2588042B2 (en) | Data processing circuit | |
JPH07146839A (en) | Dma circuit | |
JPS62259158A (en) | Interruption request circuit | |
JPH05334234A (en) | High speed dma transferring device | |
JPH0668055A (en) | Digital signal processor | |
JPH02141851A (en) | Register read-out circuit | |
JPH01222363A (en) | Multi-port memory controller |