JPH04149788A - Signal processing processor - Google Patents
Signal processing processorInfo
- Publication number
- JPH04149788A JPH04149788A JP2276059A JP27605990A JPH04149788A JP H04149788 A JPH04149788 A JP H04149788A JP 2276059 A JP2276059 A JP 2276059A JP 27605990 A JP27605990 A JP 27605990A JP H04149788 A JPH04149788 A JP H04149788A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal processing
- address
- processing processor
- external
- 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
- 230000009977 dual effect Effects 0.000 claims abstract description 12
- 230000006866 deterioration Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Microcomputers (AREA)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、信号処理用のマイクロプロセッサである信号
処理プロセッサに関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a signal processing processor that is a microprocessor for signal processing.
従来の信号処理用マイクロプロセッサは、音声信号等一
定サンプルデータを入力とし、ROMを内蔵して個別の
機能を独立に実行するものが多かった。したがって、他
のマイクロプロセッサとのデータ交換はあまり考慮され
ず、内蔵された1ワードのレジスタを用いて、データの
やりとりをしていた。Conventional signal processing microprocessors often receive constant sample data such as audio signals as input, have a built-in ROM, and independently execute individual functions. Therefore, little consideration was given to exchanging data with other microprocessors, and data was exchanged using a built-in one-word register.
しかし、最近の信号処理プロセッサの高速化や浮動小数
点演算等の高機能化により、エンジニアリング・ワーク
ステーション(EWS)における座標変換演算や、ロボ
ットの位置制御等、他のマイクロプロセッサとのデータ
の交換が多い応用分野か増加しつつある。However, with the recent speeding up of signal processing processors and advanced functions such as floating point arithmetic, data exchange with other microprocessors such as coordinate transformation calculations in engineering workstations (EWS) and robot position control has become increasingly difficult. The number of application fields is increasing.
このような応用分野では、マルチプロセッサ構成でのブ
ロック単位のデータ交換が必要であり、従来の信号処理
プロセッサでは対応が困難であった。In such application fields, it is necessary to exchange data on a block-by-block basis in a multiprocessor configuration, which is difficult to handle with conventional signal processing processors.
ここで、以上のような、従来の信号処理プロセッサによ
る、マルチプロセッサ構成でのデータ交換を例に、従来
の技術の説明をする。Here, the conventional technology will be explained by taking as an example the data exchange in a multiprocessor configuration using the conventional signal processing processors as described above.
従来の信号処理プロセッサの例を第2図に示す。An example of a conventional signal processing processor is shown in FIG.
第2図を参照すると、従来の信号処理プロセッサ1は、
浮動小数点加算器1]と、ワーキングレジスタ12と、
乗算器】3と、データR,AM14と、データRAM1
4を指すポインタ15と、命令デコーダ]6と、命令R
OM17と、命令実行アト[スを指すプログラムカウン
タ18と、スタックレジスタ19と、内部バス23と、
インタフェースレジスタ24と、・インターフェースレ
ジスタ24を制御するフラグを含む制御回路25とから
構成されていた。Referring to FIG. 2, the conventional signal processing processor 1:
floating point adder 1], working register 12,
Multiplier】3, data R, AM14, data RAM1
A pointer 15 pointing to 4, an instruction decoder] 6, and an instruction R
OM 17, a program counter 18 pointing to an instruction execution address, a stack register 19, an internal bus 23,
It consisted of an interface register 24 and a control circuit 25 including a flag for controlling the interface register 24.
さらに、第2図には、従来例の動作の説明のため、マル
チプロセッサシステムを構成する、外部のマイクロプロ
セッサ2と、外部のメモリ3と、アドレスバス4と、デ
ータバス5とが示されている。Further, in order to explain the operation of the conventional example, FIG. 2 shows an external microprocessor 2, an external memory 3, an address bus 4, and a data bus 5 that constitute a multiprocessor system. There is.
以上の構成要素は、すべてマイクロプロセッサ等の構成
技術として周知のものであるので、本発明に直接関連す
るもの以外は冗長とならないよう説明を省略する。All of the above-mentioned components are well known in the art of configuring microprocessors and the like, so explanations of those that are not directly related to the present invention will be omitted to avoid redundancy.
次に、従来の信号処理プロセッサの動作について説明す
る。Next, the operation of the conventional signal processing processor will be explained.
まず、データを出力する場合について説明する。First, the case of outputting data will be explained.
最初に、命令ROM17に格納されているプログラムに
より出力したいデータを、内部バス23を介してインタ
ーフェースレジスタ24に書込む。データが、インター
フェースレジスタ24に書込まれると、制御回路25内
のフラグにより外部のマイクロプロセッサ2は、データ
があることを確認し、そのデータを読込むことができる
。First, data to be outputted by the program stored in the instruction ROM 17 is written into the interface register 24 via the internal bus 23. When data is written to the interface register 24, a flag in the control circuit 25 allows the external microprocessor 2 to confirm that the data exists and read the data.
マイクロプロセッサ2か、インターフェースレジスタ2
4からデー タを読込むと、制御回路25内のフラグは
リセットされ5テータを受領したことが確認される。Microprocessor 2 or interface register 2
When the data from No. 4 is read, the flag in the control circuit 25 is reset to confirm that data No. 5 has been received.
次に5デー タを入力する場合について説明ず仁
この場合も、データ出力の場合と同様に、インターフェ
ースしジスタ24を介してデータの入力を行う、外部プ
ロセッサ2がデー タをインターフェースしジスタ24
に書込むと、制御回路25内のフラグかセラ1〜され、
データが用意されたことか確認される、
データを連続的に入力する場合は、外部のマイクロプロ
セッサ2がインターフェースしジスタ24にデータを書
込んだかとうかを、フラグを確認して入力するものであ
った。Next, we will not explain the case of inputting data.In this case, as in the case of data output, data is input via the interface and register 24.The external processor 2 interfaces the data and inputs the data via the register
When writing to , the flag in the control circuit 25 is set to cell 1~,
It is checked whether the data has been prepared. When inputting data continuously, check the flag to check whether the external microprocessor 2 has interfaced and written the data to the register 24. there were.
1発明が解決しようとする課題〕
上述した従来の信号処理プロセッサは、内部の動作タイ
ミングと外部からのアクセスとの調停のため、フラグに
よる確認を行なうので、処理速度か遅くなり、複数個の
データを一括処理する場合には、きわめてデータ転送効
率が悪くなるという欠点があった。1. Problems to be Solved by the Invention] The conventional signal processing processor described above performs confirmation using flags in order to arbitrate between internal operation timing and external access. When processing data all at once, there is a drawback that the data transfer efficiency becomes extremely low.
たとえば、大量のデータを連続的に出力したい場合には
、外部のマイクロプロセッサがいちいちデータの受領を
1ifi認しながら出力するため、信号処理プロセッサ
が、内部でいくら高速で処理しても、システム全体の処
理速度は、外部のマイクロプロセッサの処理速度に依存
してしまうという欠点があった。For example, if you want to output a large amount of data continuously, the external microprocessor must acknowledge the reception of the data one by one before outputting it, so no matter how fast the signal processing processor internally processes it, the entire system The disadvantage was that the processing speed of the system depended on the processing speed of the external microprocessor.
また、データ入力の場合も、−個のデータ毎に処理する
ような場合は、問題ないが、複数個のデータを一括して
処理したい場合には、出力の場合と同様、外部のプロセ
ッサ2の処理速度に依存するという欠点があった。Also, in the case of data input, there is no problem when processing - pieces of data at a time, but when you want to process multiple pieces of data at once, as in the case of output, the external processor 2 It has the disadvantage of being dependent on processing speed.
また、内部バスを、そのままデータの入出力に使おうと
しても、信号処理プロセッサの内部では、一般に、パイ
プライン処理により内部バスを制御しているので、内部
バスのアクセスを待たせるような制御は、非常に複雑に
なるという欠点があった。Furthermore, even if you try to use the internal bus as is for data input/output, the internal bus is generally controlled by pipeline processing inside the signal processing processor, so control that makes access to the internal bus wait is not possible. , which had the disadvantage of being extremely complex.
本発明の信号処理プロセッサは、1組の記憶素子に対し
、内部データバスからと、少なくとも1つの外部データ
バスからのデータ入出力をそれぞれ独立して行なう複数
のデータ入出力ボートを備えるマルチポート記憶手段と
、
前記内部データバスのデータに対する前記記憶素子のア
ドレスを指定する第一のアドレス指定手段と、
前記外部データバスにそれぞれ対応する前記記憶素子の
アドレスを指定する少なくとも第二のアドレス指定手段
を有するものである。The signal processing processor of the present invention provides a multi-port memory including a plurality of data input/output ports that independently input and output data from an internal data bus and from at least one external data bus to a set of storage elements. means, first addressing means for specifying addresses of the storage elements for data on the internal data bus, and at least second addressing means for specifying addresses of the storage elements corresponding to the external data buses, respectively. It is something that you have.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の第一の実施例を示す回路図である。FIG. 1 is a circuit diagram showing a first embodiment of the present invention.
第1図を参照すると、本発明の信号処理プロセッサ1は
、従来例のインターフェースレジスタ24と、制御回路
25に代えて、新たにインターフェースを実行するため
のデュアルポートRAM20と、デュアルポートRAM
20のアドレスを内部から指すアドレスポインタ21、
デュアルポートRAM20のアドレスを外部から指すア
ドレスポインタ22が加えられている。Referring to FIG. 1, the signal processing processor 1 of the present invention includes a dual port RAM 20 for newly executing an interface, and a dual port RAM in place of the conventional interface register 24 and control circuit 25.
an address pointer 21 that points to the address of 20 from within;
An address pointer 22 that points to the address of the dual port RAM 20 from the outside is added.
ここで、デュアルポートRAM20は、1つのメモリ領
域に対し、独立した2組のデータ人呂力ボートを有する
RAMである。したがって、セパレートしたバスを介し
て、独立した2つのプロセッサから共通のメモリ領域を
アクセスしてデータ交換ができるという特徴がある。さ
らに、これらの2組のデータ入出力ボートの優先性を制
御するための周辺回路、たとえば、周知のセマフォ(読
本信号機)論理回路が付属している。Here, the dual port RAM 20 is a RAM having two independent data ports for one memory area. Therefore, a feature is that two independent processors can access a common memory area and exchange data via separate buses. Additionally, peripheral circuitry is provided for controlling the priorities of these two sets of data input/output ports, such as well-known semaphore logic.
その他、従来例と同様の浮動小数点加算器11と、ワー
キングレジスタ12と、乗算器13と、データRAM1
4と、データRAM14を指すポインタ15と、命令デ
コーダ16と、命令ROM17と、命令実行アドレスを
指すプログラムカウンタ18と、スタックレジスタ1つ
と、内部バス23とから構成されている。In addition, the same floating point adder 11, working register 12, multiplier 13, and data RAM 1 as in the conventional example are included.
4, a pointer 15 pointing to a data RAM 14, an instruction decoder 16, an instruction ROM 17, a program counter 18 pointing to an instruction execution address, one stack register, and an internal bus 23.
さらに、第1図には、従来例と同様、本実施例の動作の
説明のため、マルチプロセッサシステムを構成する、外
部のマイクロプロセッサ2と、外部のメモリ3と、アド
レスバス4と、データ入出力とが示されている。Furthermore, in order to explain the operation of this embodiment as in the conventional example, FIG. The output is shown.
以上の構成要素は、すべてマイクロプロセッサ等の構成
技術として周知のものであるので、本発明に直接関連す
るもの以外は冗長とならないよう説明を省略する。All of the above-mentioned components are well known in the art of configuring microprocessors and the like, so explanations of those that are not directly related to the present invention will be omitted to avoid redundancy.
次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
まず、外部データを連続的に読込む場合について説明す
る。First, a case in which external data is read continuously will be explained.
外部データは、外部のマイクロプロセッサ2により、読
込みアドレスをアドレスバス4を介しアドレスポインタ
22で指定し、デュアルポートRAM20に書込まれる
。デュアルポートRAM20への書込みは、内部の処理
とは無関係に非同期で実行できるので、信号プロセッサ
1内部で読込んだことを確認する必要はなく、ある量ま
では連続して書込める。External data is written into the dual port RAM 20 by an external microprocessor 2 by specifying a read address via an address bus 4 with an address pointer 22. Since writing to the dual port RAM 20 can be executed asynchronously regardless of internal processing, there is no need to confirm that the data has been read inside the signal processor 1, and up to a certain amount can be written continuously.
また、デュアルポートRAM20のある特定番地にデー
タ量等の情報を書込むことにより、これをセマフォ論理
回路として、信号処理プロセッサ1の内部にてデータか
揃ったことを確認し、次のデータ処理を開始できる。In addition, by writing information such as the amount of data to a certain address of the dual port RAM 20, this is used as a semaphore logic circuit to confirm that the data is complete inside the signal processing processor 1, and then performs the next data processing. You can start.
次に、内部データを連続して外部のマイクロプロセッサ
2に出力する場合について説明する。Next, a case will be described in which internal data is continuously output to the external microprocessor 2.
この場合は、データRAM14等に蓄えたデータを内部
データバス23を介して、アドレスポインタ21により
書込みアドレスが指定されたデュアルポートRAM20
に書込む。このときも、外部バス5等の状態に関係なく
アクセスできるため、連続的に高速の書込みができる。In this case, the data stored in the data RAM 14 etc. is transferred via the internal data bus 23 to the dual port RAM 20 whose write address is specified by the address pointer 21.
write to. At this time as well, since access is possible regardless of the state of the external bus 5, etc., continuous high-speed writing is possible.
また外部からの書込みと同様に、データが揃ったことを
、デュアルポートRAM20の一部であるセマフォ論理
回路を介して外部のマイクロプロセッサ2に通知できる
。Also, in the same way as writing from the outside, it is possible to notify the external microprocessor 2 that the data is complete via the semaphore logic circuit that is part of the dual port RAM 20.
以+2本発明の詳細な説明1〜なが、本発明は1記実施
例に限られることなく種々の変形かOT能である。2 Detailed Description of the Present Invention From 1 to 2, the present invention is not limited to the first embodiment and can be modified in various ways.
たとえば、インターフェース用としてデュアルボーt−
RA Mを用いる代りに、3あるいはそれ以上の数のボ
ー)を有するR、 A Mを使うことも、本発明のL旨
を逸脱しない限り適用できることは勿論である。For example, dual-board T-
Of course, instead of using RAM, it is also possible to use RAM having three or more bauds, as long as it does not depart from the spirit of the present invention.
[発明の効果1
1゛↓1−説明したように本発明によれば、信号処理プ
17セ・・!ザ内部に、マルチポート記憶手段と、その
マルチボー1へ記憶手段のアドレスを内部から指定する
第一のアトシス指定手段と、外部から指定する複数個の
アトトス指定手段とを独立して持つ二とにより、内部デ
ータ処理タイミングと外部かt、のアクセスとの関係を
考慮する必要がなく、信号処理プロセッサと外部のマイ
クロプロセッサとの間のデー タ転送を高速かつ高効率
で実施できるという効果かある。[Effect of the invention 1 1゛↓1-As explained, according to the present invention, the signal processing program 17...! 2, which independently has a multi-port storage means, a first attos specification means for internally specifying the address of the storage means for the multiport 1, and a plurality of attos specifying means for specifying from the outside. There is no need to consider the relationship between internal data processing timing and external access, and data transfer between the signal processing processor and the external microprocessor can be performed at high speed and with high efficiency.
また、簡単な回路構成で外部マイクロプロセッサとのイ
ンターフェースを実現できるという効果かある。Another advantage is that an interface with an external microprocessor can be realized with a simple circuit configuration.
第1図は本発明の一実施例を示すブロック図、第2図は
従来の信号処理プロセッサの一例を示すブロック図であ
る。
1・・信号処理プロセッサ、2・・・外部マイクロプロ
セッサ、3・・・外部メモリ、4・・・アトシスバス、
5・・データバス、]1・・浮動小数点加算器、12・
・ワーキングレジスタ、13・・・乗算器、14・・・
データRAM、15・ポインタ、16 ・命令デコーダ
、17・・・命令ROM、18・・プログラムカウンタ
、19・・・スタックしジスタ、20・デュアルボーt
−RAM、21.22・・・アドレスポインタ、23・
・内部バス、24・・・インターフェーストジスタ、2
5・・・制御回路。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a conventional signal processing processor. 1... Signal processing processor, 2... External microprocessor, 3... External memory, 4... Atsys bus,
5. Data bus, ]1. Floating point adder, 12.
- Working register, 13... Multiplier, 14...
Data RAM, 15 Pointer, 16 Instruction decoder, 17 Instruction ROM, 18 Program counter, 19 Stack register, 20 Dual board
-RAM, 21.22...address pointer, 23.
・Internal bus, 24...Interface register, 2
5...Control circuit.
Claims (1)
なくとも1つの外部データバスからのデータ入出力をそ
れぞれ独立して行なう複数のデータ入出力ポートを備え
るマルチポート記憶手段と、 前記内部データバスのデータに対する前記記憶素子のア
ドレスを指定する第一のアドレス指定手段と、 前記外部データバスにそれぞれ対応する前記記憶素子の
アドレスを指定する少なくとも第二のアドレス指定手段
を有することを特徴とする信号処理プロセッサ。 2、前記マルチポート記憶手段は、内部データバスと1
つの外部データバスに対する2つの入出力ポートを備え
るデュアルポートRAMであることを特徴とする請求項
1記載の信号処理プロセッサ。[Scope of Claims] 1. A multi-port memory comprising a plurality of data input/output ports that independently perform data input/output from an internal data bus and at least one external data bus to a set of storage elements. means, first addressing means for specifying addresses of the storage elements for data on the internal data bus, and at least second addressing means for specifying addresses of the storage elements corresponding to the external data buses, respectively. A signal processing processor comprising: 2. The multi-port storage means has an internal data bus and a
2. The signal processing processor according to claim 1, wherein the signal processing processor is a dual port RAM having two input/output ports for two external data buses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2276059A JPH04149788A (en) | 1990-10-15 | 1990-10-15 | Signal processing processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2276059A JPH04149788A (en) | 1990-10-15 | 1990-10-15 | Signal processing processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04149788A true JPH04149788A (en) | 1992-05-22 |
Family
ID=17564225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2276059A Pending JPH04149788A (en) | 1990-10-15 | 1990-10-15 | Signal processing processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04149788A (en) |
-
1990
- 1990-10-15 JP JP2276059A patent/JPH04149788A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3710349A (en) | Data transferring circuit arrangement for transferring data between memories of a computer system | |
US4314332A (en) | Memory control system | |
JPS5911921B2 (en) | numerical control device | |
JPS6113629B2 (en) | ||
JPH04149788A (en) | Signal processing processor | |
JPS6347835A (en) | Pipeline computer | |
CA2078913A1 (en) | Interprocessor communication system and method for multiprocessor circuitry | |
JP2568017B2 (en) | Microprocessor and data processing system using the same | |
EP0114683A2 (en) | Arithmetic unit | |
JP2717850B2 (en) | Parallel computer with high-speed communication mechanism | |
JP2962431B2 (en) | Programmable controller | |
JPH0926945A (en) | Information processor | |
JPH054258U (en) | Parallel distributed processor | |
JPH04117697A (en) | Multiport memory circuit | |
JPS62152061A (en) | Microprocessor | |
KR870001937Y1 (en) | Dual port system using ilbx in the computer with multi-bus | |
JPS63307529A (en) | Inter-arithmetic processing unit communication control system | |
JPH03104086A (en) | Memory with arithmetic function | |
JPS6267648A (en) | Exclusive control instruction processing method | |
JPS63137357A (en) | Data processor | |
JPS63183678A (en) | Multi-port memory device | |
JPS63225846A (en) | Multiport memory with address conversion mechanism | |
JPS5936838A (en) | Controlling method of interface | |
JPH0371307A (en) | Intelligent i/o module | |
JPS62224852A (en) | digital signal processor |