JPH01311319A - Bus control circuit - Google Patents
Bus control circuitInfo
- Publication number
- JPH01311319A JPH01311319A JP63141605A JP14160588A JPH01311319A JP H01311319 A JPH01311319 A JP H01311319A JP 63141605 A JP63141605 A JP 63141605A JP 14160588 A JP14160588 A JP 14160588A JP H01311319 A JPH01311319 A JP H01311319A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- memory
- bus
- buses
- 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
- 230000015654 memory Effects 0.000 claims abstract description 93
- 238000004364 calculation method Methods 0.000 claims description 27
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 9
- 238000007792 addition Methods 0.000 description 2
- 239000000872 buffer Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 1
- 240000002853 Nelumbo nucifera Species 0.000 description 1
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 1
- 102100030551 Protein MEMO1 Human genes 0.000 description 1
- 101710176845 Protein MEMO1 Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、バス制御回路、更に詳細には、ディジクル信
号処理プロセッサにおけるバスへのデータの流れを制御
するバス制御回路に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a bus control circuit, and more particularly to a bus control circuit that controls the flow of data to a bus in a digital signal processor.
(従来の技術)
従来から合成音声、ディジタルフィルタ等の用途におい
て、種々の構造のディジタル信号処理プロセッサ(以下
、単にプロセッサと称することもある)が使用されてい
る。そして、このようなプロセッサの性能は、通常、数
値データの演算を如何に高速で行なうことができるかに
よって評価されている。(Prior Art) Digital signal processing processors (hereinafter sometimes simply referred to as processors) of various structures have been used in applications such as synthetic speech and digital filters. The performance of such a processor is usually evaluated based on how fast it can perform calculations on numerical data.
第3図は、この独の従来のプロセッサにおける数値デー
タと演算の流れの説明図である。この図において、30
1はRAM、ROMよりなるXメモ1ノ、302はRA
M、ROMよりなるYメモリである。演算に使用される
数値データは、これらメモリに適宜振り分けて格納され
る。303はアドレスALUで、Xメモリ301.Yメ
モリ302ニ格納された数値データのアドレス管理を行
なう。304は数値データをもとに必要な演算を行なう
データALUである。305.306は夫々Xアドレス
バス。FIG. 3 is an explanatory diagram of numerical data and the flow of calculations in this conventional German processor. In this figure, 30
1 is X memo 1 consisting of RAM and ROM, 302 is RA
This is a Y memory consisting of M and ROM. Numerical data used for calculations are appropriately distributed and stored in these memories. 303 is an address ALU, and X memory 301. The addresses of the numerical data stored in the Y memory 302 are managed. 304 is a data ALU that performs necessary calculations based on numerical data. 305 and 306 are respectively X address buses.
Yアドレスバス、307.308.309.310.3
11.312はいずれもデータバスである。Y address bus, 307.308.309.310.3
11.312 are data buses.
第3図における数値データと演算の流れを次に説明する
。The numerical data and calculation flow in FIG. 3 will be explained next.
まず、Xメモリ301. Yメモリ302に格納されて
いる数値データをバス307.308.309.310
.311.312を介してデータA L U304へ転
送する。このとき、Xメモリ301から読み出すデータ
のアドレスはアドレスA L U 303よりXアドレ
スバス305を通して制御される。Yメモリ302に関
しても同様にアドレスALU303、Yアドレスバス3
06により制御される。そして、数値データは、データ
ALU304で演算が施され、演算結果(以下、算出デ
ータということがある)は、前記した経路を逆にたどっ
てXメモリ301又はYメモリ302に書き込まれる。First, the X memory 301. The numerical data stored in the Y memory 302 is transferred to the bus 307.308.309.310.
.. 311 and 312 to the data ALU 304. At this time, the address of the data read from the X memory 301 is controlled by the address ALU 303 via the X address bus 305. Similarly, regarding the Y memory 302, the address ALU 303 and the Y address bus 3
Controlled by 06. Then, the numerical data is subjected to calculations in the data ALU 304, and the calculation results (hereinafter sometimes referred to as calculation data) are written to the X memory 301 or the Y memory 302 by retracing the above-mentioned path.
第4図は、第3図中のデータA L U 304の一例
を示す構成ブロック図である( モトローラ社製DSP
56000マニュアル参照)。この図において、400
゜401、402.403 ハ夫々レジスタX、Y、A
、B、404は乗算・累算・論理ユニット、405は累
算器・シフタ、406は乗算器・コントロール・レコー
ダ、407はシフタ/リミッタ、408はビット・マニ
ピユレーション・ユニット、409はXデータバス、4
10はYデータバス、411は算出データのデータバス
、412はデータ線、413.414.415.416
はローカルデータバスである。なお、Xデータバス40
9は第3図(7)ハス311 ニ、Yデータバス41′
。FIG. 4 is a configuration block diagram showing an example of the data ALU 304 in FIG.
56000 manual). In this figure, 400
゜401, 402.403 C registers X, Y, A respectively
, B, 404 is a multiplication/accumulation/logic unit, 405 is an accumulator/shifter, 406 is a multiplier/control recorder, 407 is a shifter/limiter, 408 is a bit manipulation unit, 409 is an X data bus, 4
10 is a Y data bus, 411 is a calculated data data bus, 412 is a data line, 413.414.415.416
is the local data bus. In addition, the X data bus 40
9 is Fig. 3 (7) Lotus 311 D, Y data bus 41'
.
は第3図のバス312に接続される。is connected to bus 312 in FIG.
第4図において、Xデータバス409、Yデータバス4
10上のデータは、レジスタX、Y、A、B4O0〜4
03に入力される。そして、レジスタX。In FIG. 4, an X data bus 409, a Y data bus 4
The data on 10 is in registers X, Y, A, B4O0-4.
03. And register X.
Y、 A、 B 400〜403の出力は、データ線4
12、ローカルデータバス413.414.415を介
して乗算・累算・論理ユニット404へ入力される。こ
の場合、レジスタA、 B、 X、 Y 400〜40
3 (7)夫/?(7)出力は、2本のローカルデータ
バス415のいずれにも接続可能になっている。すなわ
ち、第3図の回路では、データバス309とXメモリ3
01及びデータA L U 304のXデータバス31
1 (409)、データバス310とYメモリ302及
びデータA L U 304のYデータバス312(4
10)が夫々固定接続されているため、X・データなY
データバス312に流したりYデータをXデータバスに
流すこと(データ交換)はXデータ、Yデータのデータ
ALU304への入力以前には不可能であるが、データ
を受けた・データA L tJ 304に前記ローカル
データバス415、更にローカルデータバス416を設
け、データA L U 304内でデータ交換を可能に
している。このようにデータ交換を可能にすると、プロ
グラムを作成する上でデータの格納場所を比較的自由に
設定でき、プログラムを作り易いという利便がある。The outputs of Y, A, B 400 to 403 are connected to data line 4.
12, is input to the multiply-accumulate logic unit 404 via local data buses 413.414.415. In this case, registers A, B, X, Y 400-40
3 (7) Husband/? (7) The output can be connected to either of the two local data buses 415. That is, in the circuit of FIG. 3, the data bus 309 and the X memory 3
01 and data ALU 304's X data bus 31
1 (409), data bus 310, Y memory 302, and Y data bus 312 (409) of data ALU 304.
10) are fixedly connected to each other, so X, data, Y
It is not possible to flow the data to the data bus 312 or to flow the Y data to the X data bus (data exchange) before inputting the X data and Y data to the data ALU 304. The local data bus 415 and a local data bus 416 are provided to enable data exchange within the data ALU 304. Enabling data exchange in this way is advantageous in that the data storage location can be set relatively freely when creating a program, making it easier to create a program.
(発明が解決しようとする課題)
しかしながら、上記構成の従来プロセッサでは演算デー
タ用バスがXデータバス309とYデータバス310の
2本の場合であるので、データALU304内の2本の
ローカルデータバス415によってデータ交換が可能で
あるが、プロセッサの処理能力を上げるために演算デー
タ用バスを更に3本。(Problem to be Solved by the Invention) However, in the conventional processor with the above configuration, there are two buses for calculation data, the X data bus 309 and the Y data bus 310, so two local data buses in the data ALU 304 are used. 415, data can be exchanged, but in order to increase the processing power of the processor, there are three additional buses for calculation data.
4本と増加させてゆくと、データALU304内のロー
カルデータバスの本数も増加させないとバスゞ 上
のデータを自由に交換できなくなる。そして、ローカル
データバスの本数を増加させると、増加したバス、ロー
カルデータバス上に自由に演算データを流すためにプロ
グラムステップ数が増加したり、インストラクションの
制御ビット数を増加させなければならず、データ交換を
行なうために却ってプログラムが作り難くなってしまう
という問題点があった。If the number of local data buses is increased to four, data on the buses cannot be exchanged freely unless the number of local data buses within the data ALU 304 is also increased. When the number of local data buses is increased, the number of program steps increases and the number of instruction control bits must be increased in order to freely flow calculation data on the increased buses and local data buses. There was a problem in that the data exchange made it more difficult to create programs.
本発明は、従来プロセッサにおけるデータ交換方法によ
ると演算データ用バスの本数を増加させたとき却ってプ
ログラムが作り難くなるという問題点を解決し、演算デ
ータ用バス数増加による回路規模の増加を少なくし、か
つ、演算データの流れを任意に制御することを可能にす
ることで、処理能力の高いディジタル信号処理プロセッ
サを提供することを目的とする。The present invention solves the problem that, according to the conventional data exchange method in processors, when the number of arithmetic data buses increases, it becomes difficult to create a program, and also reduces the increase in circuit scale due to an increase in the number of arithmetic data buses. It is an object of the present invention to provide a digital signal processing processor with high processing ability by making it possible to arbitrarily control the flow of calculation data.
(課題を解決するための手段)
本発明は、演算器、メモリ及びバスを夫々複数有するデ
ィジタル信号処理プロセッサのバス制御回路であって、
(])前記メモリに接続され前記バスのいずれとも接続
可能に設けられたメモリデータ送出回路と、前記バスと
前記演算器間を固定接続するメモリデータ取込回路と、
前記メモリデータ送出回路と前記メモリデータ取込回路
を組み合わせて制御する一つのデータ制御回路とからな
るバス制御回路、(2)前記メモリと前記バス間を固定
接続する算出データ取込回路と、前記演算器に接続され
前記バスのいずれとも接続可能に設けられた算出データ
送出回路と、前記算出データ送出側路と前記算出データ
取込回路を組み合わせて制御する一つのデータ制御回路
とからなるバス制御回路、並びに、(3)前記バス制御
回路 (1)及び(2)とからなるバス制御回路である
。(Means for Solving the Problems) The present invention provides a bus control circuit for a digital signal processing processor having a plurality of arithmetic units, a plurality of memories, and a plurality of buses.
(]) a memory data sending circuit connected to the memory and connectable to any of the buses; and a memory data importing circuit fixedly connecting the bus and the arithmetic unit;
a bus control circuit including one data control circuit that controls a combination of the memory data sending circuit and the memory data capturing circuit; (2) a calculated data capturing circuit that provides a fixed connection between the memory and the bus; A bus control comprising a calculated data sending circuit connected to an arithmetic unit and connectable to any of the buses, and one data control circuit that controls a combination of the calculated data sending path and the calculated data acquisition circuit. (3) The bus control circuit (1) and (2).
(作用)
本発明のバス制御回路(以下、本発明回路ということが
ある) (1)、(2)又は(3)に使用されるメモ
リデータ送出回路及び算出データ送出回路は、データバ
スのいずれとも接続可能に設けられ、メモリデータ又は
算出データを任意のデータバスへ送出することかできる
。(Function) The bus control circuit of the present invention (hereinafter sometimes referred to as the circuit of the present invention) (1), (2), or (3) may be used in any of the data buses. The memory data or calculated data can be sent to any data bus.
また、メモリデータ取込回路及び算出データ取込回路は
、データバスのいずれかと固定接続され、特定のデータ
バスを通じてメモリデータ又は算出データの取込みを行
なう。Further, the memory data acquisition circuit and the calculated data acquisition circuit are fixedly connected to one of the data buses, and acquire memory data or calculation data through a specific data bus.
本発明回路に使用されるデータ制御回路は、バス制御回
路(1)においては、メモリデータ送出回路とデータバ
スの接続及びメモリデータ取込回路を組み合わせて選択
し、また、バス制御回路(2)においては、算出データ
送出回路とデータバスの接続及び算出データ取込回路を
組み合わせて選択し、データの経路を制御する機能を有
する。The data control circuit used in the circuit of the present invention is selected by combining a memory data sending circuit, a data bus connection, and a memory data acquisition circuit in the bus control circuit (1), and in the bus control circuit (2). has a function of selecting a combination of a calculated data sending circuit, a data bus connection, and a calculated data importing circuit, and controlling the data route.
そして、これら回路を組み合わせてなる本発明回路は、
比較的簡易な構成にもかかわらずデータ制御回路の制御
により自由にデータ交換を行なうことができる。The circuit of the present invention, which is a combination of these circuits, is
Despite the relatively simple configuration, data can be freely exchanged under the control of the data control circuit.
しかし、プロセッサにより数値演算を行なう場合、一般
にデータ交換がメモリと演算器間の全ての組み合わせに
ついて行なえる必要はない。というのは、通常、データ
バスを介してデータ送出側(ソース)とデータ取込側(
デスティネーション)は処理上の相関性が強く、連動す
ることが多いので、この相関性を踏まえて前記データ制
御回路を機能させ、必要なデータ交換のみ行なえるよう
にすればよいからである。この意味において、本発明回
路によればデータ交換の自由度を簡易に増加できるばか
りでなく、減少させることができ、前記相関性を考慮に
入れることにより必要最小限の自由度を持つプロセッサ
の構築が可能になる。従って、バス制御のためのプログ
ラムのステップ数、インストラクションビット数を減少
させることができる。そして、本発明回路の構成回路の
データバスとの接続はパターン化しやすい構成であるた
め、本発明回路はプロセッサの用途に応じたバス構成に
広く柔軟に適用することができる。However, when numerical operations are performed by a processor, data exchange generally does not need to be possible for all combinations between memory and arithmetic units. This is because the data transmission side (source) and the data acquisition side (data acquisition side) are usually connected via a data bus.
This is because the data control circuit has a strong correlation in processing and is often linked, so the data control circuit can be operated based on this correlation so that only necessary data exchange can be performed. In this sense, according to the circuit of the present invention, the degree of freedom of data exchange can be easily increased as well as decreased, and by taking the above-mentioned correlation into consideration, a processor with the minimum degree of freedom necessary can be constructed. becomes possible. Therefore, the number of program steps and number of instruction bits for bus control can be reduced. Furthermore, since the connection between the component circuits of the circuit of the present invention and the data bus can be easily patterned, the circuit of the present invention can be widely and flexibly applied to bus configurations depending on the purpose of the processor.
ここで、前記した送出側と取込側の相関性について簡単
に説明する。通常、数値演算は、ソフトウェア的に一連
の乗算、加減等はまとめて行なわれるので、ハードウェ
ア的にも、データ処理の都合上、乗算に付される数値デ
ータ、加減等に付される数値データは夫々ひとまとめに
して個別のメモリに格納しておくことが多い。その結果
、演算時にはデータの送出側と取込側(演算器)の間の
データ経路がデータの種類に応じである程度専用化され
ることになる。このことを送出側と取込側のデータ処理
に相関性が強いという。Here, the correlation between the sending side and the receiving side described above will be briefly explained. Normally, in numerical calculations, a series of multiplications, additions, subtractions, etc. are performed all at once in software, so for the convenience of data processing, numerical data added to multiplication, numerical data added to addition/subtraction, etc. are often grouped together and stored in separate memories. As a result, during calculation, the data path between the data sending side and the data receiving side (computing unit) is dedicated to some extent depending on the type of data. This means that there is a strong correlation between data processing on the sending and receiving sides.
(実施例) 以下、本発明の実施例を図面と共に説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.
第1図は、本発明のバス制御回路(1)の一実施例を示
す構成ブロック図である。この図において、 100〜
103はデータバスで、本実施例では4本のデータバス
が使用されている。104はデータ制御回路、 105
〜110はメモリデータ取込回路、 111〜113は
いずれも演算器で、 111及び112は乗算器、11
3は加減算器である。114〜117はメモリデータ送
出回路、 118〜121はいずれも数値データを格納
するメモリである。 122〜+25はメモリデータ送
出回路114〜117とデータバス 100〜103の
間の接続を選択する制御線、126〜131はメモリデ
ータ取込回路105〜110へのデータの取込みを制御
する制御線で、制御線112〜125と制御線126〜
131はデータ制御回路104によって組み合わせて制
御される。また、132は前記データ制御回路104を
制御するためのプログラム格納回路で、133はその制
御線である。FIG. 1 is a configuration block diagram showing an embodiment of a bus control circuit (1) of the present invention. In this figure, 100~
103 is a data bus, and in this embodiment, four data buses are used. 104 is a data control circuit, 105
-110 are memory data import circuits, 111-113 are all arithmetic units, 111 and 112 are multipliers, 11
3 is an adder/subtracter. 114 to 117 are memory data sending circuits, and 118 to 121 are memories for storing numerical data. 122 to +25 are control lines for selecting connections between the memory data sending circuits 114 to 117 and data buses 100 to 103, and 126 to 131 are control lines for controlling data loading to the memory data loading circuits 105 to 110. , control lines 112-125 and control lines 126-
131 are controlled in combination by the data control circuit 104. Further, 132 is a program storage circuit for controlling the data control circuit 104, and 133 is its control line.
第1図に示すように、本実施例では、メモリデータ取込
回路105〜110は、いずれもデータバス100〜1
03のいずれかと固定して接続され、また、乗算器11
1及び112 、加減算器113とも固定して接続され
ている。このメモリデータ取込回路105〜110は、
データバス 100〜103上のデータを取込むか取込
まないかの2状態を制御すれば良いので前記制御線12
6〜131は夫々1ビツトである。As shown in FIG. 1, in this embodiment, the memory data acquisition circuits 105 to 110 are connected to data buses 100 to 1
03, and the multiplier 11
1 and 112, and the adder/subtractor 113 are also fixedly connected. The memory data acquisition circuits 105 to 110 are
Since it is only necessary to control two states: whether or not to take in the data on the data buses 100 to 103, the control line 12
6 to 131 are each 1 bit.
また、メモリデータ送出回路114〜117は、4本の
データバス100〜103のいずれとも接続可能に配設
され、また、メモリ 118〜121と夫々固定接続さ
れている。従って、メモリ 118〜+21は、メモリ
データ送出回路114〜117を介してデータバス 1
00〜103のいずれのバスへもデータを送出すること
か可能である。この場合にいずれのデータバスへデータ
を送出するかを制御するのがデータ制御回路104であ
り制御線122〜125である。従って、制御線122
〜+25は、本実施例では夫々4ビツトである。Further, the memory data sending circuits 114 to 117 are arranged to be connectable to any of the four data buses 100 to 103, and are fixedly connected to the memories 118 to 121, respectively. Therefore, the memories 118 to +21 are connected to the data bus 1 via the memory data sending circuits 114 to 117.
It is possible to send data to any of the buses 00 to 103. In this case, it is the data control circuit 104 and the control lines 122 to 125 that control which data bus the data is sent to. Therefore, control line 122
~+25 are each 4 bits in this embodiment.
第5図は、第1図のメモリデータ送出回路の一例を示す
回路図である。この図において、500〜503はメモ
リデータ送出回路114とデータバス100〜103と
の接続を選択するバッファーで、前記4ビツトの制御線
122によって制御線504を介して制御される。50
5はメモリデータ送出回路114とメモリ118とを固
定接続するデータ線である。FIG. 5 is a circuit diagram showing an example of the memory data sending circuit of FIG. 1. In this figure, buffers 500 to 503 select connections between the memory data sending circuit 114 and the data buses 100 to 103, and are controlled by the 4-bit control line 122 via a control line 504. 50
Reference numeral 5 denotes a data line that fixedly connects the memory data sending circuit 114 and the memory 118.
次に第1図のバス制御回路(1)によるバス制御につい
て説明する。Next, bus control by the bus control circuit (1) shown in FIG. 1 will be explained.
データ制御回路104は、前記したように、制御線12
2〜125及び制御線126〜131の合計22ビツト
の制御信号を送出する。その−例を次の第1表に示す。As described above, the data control circuit 104 operates on the control line 12.
A total of 22 bits of control signals from control lines 2 to 125 and control lines 126 to 131 are sent out. Examples are shown in Table 1 below.
(以下余白)
この22ビツトの制御信号は、例えば第1図に示したプ
ログラム格納回路134に1組のデータとして格納され
る。このようにすると、アドレスを指定すれば、メモリ
データ送出回路114〜117及びメモリデータ取込回
路105〜110の間のデータの流れをこのアドレスを
指定するだけで簡易に制御することができる。そして、
データバスの本数を増加させてもデータALU等の演算
ユニット内のローカルバスの本数を増加させることなく
メモリと演算器間に自由にデータを流すことができる。(Left below) This 22-bit control signal is stored, for example, in the program storage circuit 134 shown in FIG. 1 as a set of data. In this way, by specifying an address, the flow of data between the memory data sending circuits 114 to 117 and the memory data receiving circuits 105 to 110 can be easily controlled by simply specifying this address. and,
Even if the number of data buses is increased, data can be freely flowed between the memory and the arithmetic unit without increasing the number of local buses in the arithmetic unit such as the data ALU.
ところで、上記した方法によりバス制御を行なうと、デ
ータの流れを自由に選択できる反面、プログラム格納回
路134に格納すべき22ビツトのデータの組が膨大な
数になるように思われる。しかし、実際には、前記作用
の項で触れたように、ディジタル信号処理プロセッサで
処理する数値演算は、メモリと演算器の相関性が強いた
め、メモリデータ送出回路114〜117とメモリデー
タ取込回路105〜110とは連動すべきことが多いの
で用意すべきデータの組の数は限られる。従って、デー
タ制御回路104は、必要な制御信号のパターンのみ発
生させれば良く、制御線133は限られたパターンのい
ずれかを指示するだけで良い。By the way, if the bus is controlled by the method described above, the data flow can be freely selected, but it seems that the number of 22-bit data sets to be stored in the program storage circuit 134 becomes enormous. However, in reality, as mentioned in the operation section above, numerical operations processed by a digital signal processor have a strong correlation between memory and arithmetic units, so memory data sending circuits 114 to 117 and memory data importing circuits 114 to 117 Since the circuits 105 to 110 often need to be interlocked, the number of data sets to be prepared is limited. Therefore, the data control circuit 104 only needs to generate the necessary control signal patterns, and the control line 133 only needs to instruct one of the limited patterns.
次に、上記相関性について具体例をもって説明する。Next, the above correlation will be explained using a specific example.
今、(x” +y −z)を計算する場合を考える。そ
して、Xの数値データをメモリ(1) 118に、yの
数値データはメモリ(2) 119に、Zの数値データ
はメモリ(3)120に格納されており、x2の計算結
果(算出データ)及びy’zの算出データはメモリ(4
)121に格納されるとする。演算処理にあたり、デー
タ制御回路104は第1表のアドレスOに格納された制
御信号を受ける。このとき、メモリ(1) 118のデ
ータは、メモリデータ取込回路105及び106を介し
て乗算器Illに入力されx2が算出され、算出データ
はメモリ(4)121に格納される。次いで、アドレス
lに格納された制御信号を受ける。このとき、メモリ(
2)119及びメモリ(3)120に格納されたデータ
は、夫々メモリデータ取込回路107及び108を介し
て乗算器112に入力されy−zが算出され、算出デー
タはメモリ(4H21に格納される。その後、アドレス
2に格納された制御信号を受ける。このとき、メモリ(
4)+21に格納されたデータは、夫々メモリデータ取
込回路109及び110を介して加減算器113に人力
されx2+y−zが算出される。このように、メモリ内
の数値データと演算器における処理との間に演算内容に
応じて相関性を持たせることによって演算処理を簡略化
できる。ここでは、簡単な計算例を用いたが、演算内容
が複雑になっても同様のことが言える。Now, consider the case of calculating (x" + y - z).Then, the numerical data of X is stored in memory (1) 118, the numerical data of y is stored in memory (2) 119, and the numerical data of Z is stored in memory (3). ) 120, and the calculation results of x2 (calculation data) and the calculation data of y'z are stored in the memory (4
) 121. During arithmetic processing, the data control circuit 104 receives the control signal stored at address O in Table 1. At this time, the data in the memory (1) 118 is input to the multiplier Ill via the memory data acquisition circuits 105 and 106 to calculate x2, and the calculated data is stored in the memory (4) 121. Next, the control signal stored at address l is received. At this time, memory (
The data stored in the memory (2) 119 and the memory (3) 120 is input to the multiplier 112 via the memory data acquisition circuits 107 and 108, respectively, to calculate y-z, and the calculated data is stored in the memory (4H21). Then, it receives the control signal stored in address 2. At this time, the memory (
4) The data stored in +21 is manually input to the adder/subtractor 113 via memory data acquisition circuits 109 and 110, respectively, and x2+y-z is calculated. In this way, the arithmetic processing can be simplified by creating a correlation between the numerical data in the memory and the processing in the arithmetic unit according to the content of the arithmetic operation. Although a simple calculation example is used here, the same holds true even if the calculation contents become complex.
また、処理する内容(プログラム)が変わると、必要な
制御信号も変化することが考えられるが、このような場
合、データ制御回路104をROM等で構成し、プログ
ラムと対にして交換すれば制御可能なパターンに捕られ
れることなくプログラムを作成でき、柔軟性の高いプロ
セッサを構築することができる。本発明回路は、パター
ン化し易い構成よりなるものであるので、汎用性が高く
柔軟性の高いプロセッサを構築するうえで好適なもので
ある。Additionally, if the content (program) to be processed changes, the necessary control signals may also change, but in such a case, the data control circuit 104 can be configured with a ROM, etc., and the control signal can be changed by exchanging the data control circuit 104 in pairs with the program. Programs can be created without being bound by possible patterns, and highly flexible processors can be constructed. Since the circuit of the present invention has a configuration that can be easily patterned, it is suitable for constructing a highly versatile and highly flexible processor.
第2図は、本発明のバス制御回路(2)の一実施例を示
す構成ブロック図である。この図において、200〜2
02はいずれも演算器で、200及び201は乗算器、
202は加減算器である。203〜206はいずれも数
値データを格納するメモリである。207〜209は算
出データ送出回路、 210〜213は算出データ取込
回路である。214〜217はデータバスで、本実施例
では4本のデータバスが使用されている。218〜22
0は算出データ送出回路207〜209とデータバス2
14〜217の間の接続を選択する制御線、221〜2
24は算出データ取込回路210〜213へのデータの
取込みを制御する制御線である。225はデータ制御回
路で、制御線218〜220と制御線221〜224を
組み合わせて制御する。また、227は前記データ制御
回路225を制御するためのプログラム格納回路で、2
26はその制御線である。FIG. 2 is a block diagram showing an embodiment of the bus control circuit (2) of the present invention. In this figure, 200-2
02 are all arithmetic units, 200 and 201 are multipliers,
202 is an adder/subtracter. 203 to 206 are memories that store numerical data. 207 to 209 are calculation data sending circuits, and 210 to 213 are calculation data acquisition circuits. 214 to 217 are data buses, and in this embodiment, four data buses are used. 218-22
0 is calculated data sending circuits 207 to 209 and data bus 2
Control lines for selecting connections between 14 and 217, 221-2
Reference numeral 24 denotes a control line for controlling the acquisition of data into the calculation data acquisition circuits 210 to 213. A data control circuit 225 controls the control lines 218 to 220 and the control lines 221 to 224 in combination. Further, 227 is a program storage circuit for controlling the data control circuit 225;
26 is its control line.
本実施例は、第2図に示すように演算器からメモリへの
データ転送の場合である。算出データ取込回路210〜
213は、いずれもデータバス214〜2+7のいずれ
かと固定接続され、また、夫々メモリ 203〜206
とも固定接続されている。また、算出データ送出回路2
07〜209は、4本のデータバス214〜217のい
ずれとも接続可能に配設され、また、乗算器2001乗
算器201及び加減算器202と夫々固定接続されてい
る。従って、これらの演算器200〜202は、算出デ
ータ送出回路207〜209を介してデータバス214
〜217のいずれのバスへもデータを送出することが可
能である。This embodiment is a case of data transfer from an arithmetic unit to a memory as shown in FIG. Calculation data acquisition circuit 210~
213 are all fixedly connected to one of the data buses 214 to 2+7, and also have memories 203 to 206, respectively.
Both are fixedly connected. In addition, the calculation data sending circuit 2
07 to 209 are arranged to be connectable to any of the four data buses 214 to 217, and are fixedly connected to the multiplier 2001, the multiplier 201, and the adder/subtractor 202, respectively. Therefore, these arithmetic units 200 to 202 are connected to the data bus 214 via calculated data sending circuits 207 to 209.
It is possible to send data to any of the buses .
本発明のバス制御回路(2)におけるバス制御は、既に
説明したバス制御回路(1)と同様にして行なうことが
できる。この場合、演算器とメモリとの間の相関性の考
慮が有用であり、それによりバス制御が簡易になること
は言うまでもない。Bus control in the bus control circuit (2) of the present invention can be performed in the same manner as in the bus control circuit (1) already described. In this case, it is useful to consider the correlation between the arithmetic unit and memory, and it goes without saying that this simplifies bus control.
更に、本発明のバス制御回路(1)と(2)とを組み合
わせると夫々を単独で使用した場合の効果を相乗的に高
めることができるので好ましい。例えば、データ制御回
路104及び225の夫々において、制御パターンを半
減でき制御ビット数を半減できる場合等に有効である。Further, it is preferable to combine the bus control circuits (1) and (2) of the present invention because the effects obtained when each is used alone can be synergistically enhanced. For example, this is effective when the control pattern can be halved and the number of control bits can be halved in each of the data control circuits 104 and 225.
このように組み合わせることによって、プログラム作成
を一層柔軟なものとすることができる。なお、この場合
、データ制御回路、プログラム格納回路等はひとつにま
とめて構成することができる。By combining in this way, program creation can be made even more flexible. Note that in this case, the data control circuit, program storage circuit, etc. can be configured as one unit.
(発明の効果)
以上、詳細に説明したように、本発明では、■メモリ又
は演算器から任意のデータバスへデータを流すことの可
能なメモリデータ又は算出データ送出回路
■データバスと演算器又はメモリとに固定接続されたメ
モリデータ又は算出データ(以下、単にデータという)
取込回路を設けたので、従来プロセッサに使用されてい
た演算部のローカルバ久が不要になり、
■データ送出回路とデータ取込回路を連動して制御する
バス制御回路
を設けたので、データ送出回路とデータ取込回路の制御
のためのプログラム容貴を削減できる。(Effects of the Invention) As described above in detail, the present invention provides: ■ A memory data or calculated data sending circuit that can flow data from a memory or an arithmetic unit to an arbitrary data bus; ■ A data bus and an arithmetic unit, or Memory data or calculated data fixedly connected to memory (hereinafter simply referred to as data)
The provision of an acquisition circuit eliminates the need for local buffers in the arithmetic unit, which were conventionally used in processors. ■The provision of a bus control circuit that controls the data transmission circuit and data acquisition circuit in conjunction with each other enables data transmission. The program cost for controlling the circuit and data acquisition circuit can be reduced.
従って、本発明によれば、バス構成を簡単にでき、バス
制御が容易になる。本発明は、特にバス構成において、
データの送出側と取込側に相関性がある場合に有用であ
る。Therefore, according to the present invention, the bus configuration can be simplified and bus control can be facilitated. In particular, in the bus configuration, the present invention provides
This is useful when there is a correlation between the data sending and receiving sides.
また、本発明は、汎用性があるため、プロセッサの種類
を1問わず広く適用できる。Further, since the present invention is versatile, it can be widely applied regardless of the type of processor.
第1図は本発明のバス制御回路(1)の一実施例を示す
構成ブロック図、第2図は本発明のバス制御回路(2)
の一実施例を示すブロック図、第3図は従来のプロセッ
サにおける数値データと演算の流れの説明図、第4図は
第3図中のデータA L U 304の一例を示す構成
ブロック図、第5図は第1図中のメモリデータ送出回路
の一例を示す回路図である。
100〜103.214〜217・・・データバスミ1
05〜110・・・メモリデータ取込回路、114〜1
17・・・メモリデータ送出回路、207〜209・・
・算出データ送出回路、210〜213・・・算出デー
タ取込回路、104、225・・・データ制御回路、1
22〜131.218〜224・・・制御線、132、
227・・・プログラム格納回路。
特許出願人 沖電気工業株式会社
手続ネr’lT正書(自発)
平成元年 2月6 日FIG. 1 is a configuration block diagram showing an embodiment of the bus control circuit (1) of the present invention, and FIG. 2 is the bus control circuit (2) of the present invention.
3 is an explanatory diagram of the flow of numerical data and calculations in a conventional processor. FIG. 4 is a block diagram showing an example of the data ALU 304 in FIG. 3. FIG. 5 is a circuit diagram showing an example of the memory data sending circuit in FIG. 1. 100~103.214~217...Data Busumi 1
05-110...Memory data acquisition circuit, 114-1
17...Memory data sending circuit, 207-209...
- Calculated data sending circuit, 210-213... Calculated data acquisition circuit, 104, 225... Data control circuit, 1
22-131.218-224... control line, 132,
227...Program storage circuit. Patent applicant: Oki Electric Industry Co., Ltd. Procedural Ner'lT official document (spontaneous) February 6, 1989
Claims (1)
ル信号処理プロセッサのバス制御回路であって、 前記メモリに接続され前記バスのいずれとも接続可能に
設けられたメモリデータ送出回路と、前記バスと前記演
算器間を固定接続するメモリデータ取込回路と、 前記メモリデータ送出回路と前記メモリデータ取込回路
を組み合わせて制御する一つのデータ制御回路とからな
るバス制御回路。 2、演算器、メモリ及びバスを夫々複数有するディジタ
ル信号処理プロセッサのバス制御回路であって、 前記メモリと前記バス間を固定接続する算出データ取込
回路と、 前記演算器に接続され前記バスのいずれとも接続可能に
設けられた算出データ送出回路と、前記算出データ送出
回路と前記算出データ取込回路を組み合わせて制御する
一つのデータ制御回路とからなるバス制御回路。 3、演算器、メモリ及びバスを夫々複数有するディジタ
ル信号処理プロセッサのバス制御回路であって、 前記メモリに接続され前記バスのいずれとも接続可能に
設けられたメモリデータ送出回路と、前記バスと前記演
算器間を固定接続するメモリデータ取込回路と、 前記メモリと前記バス間を固定接続する算出データ取込
回路と、 前記演算器に接続され前記バスのいずれとも接続可能に
設けられた算出データ送出回路と、前記メモリデータ送
出回路と前記メモリデータ取込回路、及び前記算出デー
タ送出回路と前記算出データ取込回路を夫々組み合わせ
て制御するデータ制御回路とからなるバス制御回路。[Claims] 1. A bus control circuit for a digital signal processor having a plurality of arithmetic units, a plurality of memories, and a plurality of buses, the memory data sending circuit being connected to the memory and connectable to any of the buses. A bus control circuit comprising: a memory data acquisition circuit that fixedly connects the bus and the arithmetic unit; and one data control circuit that controls a combination of the memory data transmission circuit and the memory data acquisition circuit. 2. A bus control circuit for a digital signal processing processor having a plurality of arithmetic units, a plurality of memories, and a plurality of buses, the calculation data acquisition circuit having a fixed connection between the memory and the bus; A bus control circuit comprising a calculated data sending circuit that is connectable to both, and one data control circuit that controls the calculated data sending circuit and the calculated data capturing circuit in combination. 3. A bus control circuit for a digital signal processing processor having a plurality of arithmetic units, a plurality of memories, and a plurality of buses, the memory data sending circuit being connected to the memory and being connectable to any of the buses; A memory data acquisition circuit that provides a fixed connection between arithmetic units; a calculated data acquisition circuit that provides a fixed connection between the memory and the bus; and a calculated data that is connected to the arithmetic unit and is connectable to any of the buses. A bus control circuit comprising a transmission circuit, a data control circuit that controls a combination of the memory data transmission circuit, the memory data acquisition circuit, and the calculated data transmission circuit and the calculated data acquisition circuit, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63141605A JPH01311319A (en) | 1988-06-10 | 1988-06-10 | Bus control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63141605A JPH01311319A (en) | 1988-06-10 | 1988-06-10 | Bus control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01311319A true JPH01311319A (en) | 1989-12-15 |
Family
ID=15295902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63141605A Pending JPH01311319A (en) | 1988-06-10 | 1988-06-10 | Bus control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01311319A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100948A (en) * | 1991-04-01 | 1993-04-23 | Motorola Inc | Speed improvement type data processing system executing square arithmetic operation and method thereof |
JP2002288113A (en) * | 2001-03-26 | 2002-10-04 | Denso Corp | Signal processor |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6024634A (en) * | 1983-07-21 | 1985-02-07 | Matsushita Electric Ind Co Ltd | Digital signal processing device |
-
1988
- 1988-06-10 JP JP63141605A patent/JPH01311319A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6024634A (en) * | 1983-07-21 | 1985-02-07 | Matsushita Electric Ind Co Ltd | Digital signal processing device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100948A (en) * | 1991-04-01 | 1993-04-23 | Motorola Inc | Speed improvement type data processing system executing square arithmetic operation and method thereof |
JP2002288113A (en) * | 2001-03-26 | 2002-10-04 | Denso Corp | Signal processor |
JP4715008B2 (en) * | 2001-03-26 | 2011-07-06 | 株式会社デンソー | Signal processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0282825B1 (en) | Digital signal processor | |
US6557022B1 (en) | Digital signal processor with coupled multiply-accumulate units | |
US6286024B1 (en) | High-efficiency multiplier and multiplying method | |
EP0314809B1 (en) | Vector processor for processing recurrent equations at a high speed | |
KR880011681A (en) | Memory-Connected Wavefront Array Processors | |
JPH07141304A (en) | Parallel arithmetic unit using memory array | |
JPH02210538A (en) | Integrated circuit and processing system | |
US20060112159A1 (en) | Processor | |
KR0138859B1 (en) | Mind-typed digital processor array for neural network and system composed thereof | |
JPS62256129A (en) | Arithmetic processing unit | |
EP0474246A2 (en) | Image signal processor | |
JPH01311319A (en) | Bus control circuit | |
JP2583774B2 (en) | High-speed numerical operation device | |
EP1936492A1 (en) | SIMD processor with reduction unit | |
US5650952A (en) | Circuit arrangement for forming the sum of products | |
JP2001084242A (en) | Variable operation processor | |
JPH0298777A (en) | Parallel sum of product arithmetic circuit and vector matrix product arithmetic method | |
JP2696903B2 (en) | Numerical calculator | |
Ungerboeck et al. | The SP16 signal processor | |
JPH0721760B2 (en) | Digital arithmetic circuit | |
JPS61251933A (en) | Multiplying circuit | |
JPS59186070A (en) | High speed signal processor | |
JPS62260280A (en) | Arithmetic processing unit | |
JPH04252372A (en) | Variable pipeline structure | |
JPS61101872A (en) | Fast fourier transform arithmetic circuit |