Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6231376B2 - - Google Patents
[go: Go Back, main page]

JPS6231376B2 - - Google Patents

Info

Publication number
JPS6231376B2
JPS6231376B2 JP54116473A JP11647379A JPS6231376B2 JP S6231376 B2 JPS6231376 B2 JP S6231376B2 JP 54116473 A JP54116473 A JP 54116473A JP 11647379 A JP11647379 A JP 11647379A JP S6231376 B2 JPS6231376 B2 JP S6231376B2
Authority
JP
Japan
Prior art keywords
data
signal
arithmetic
register
output
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.)
Expired
Application number
JP54116473A
Other languages
Japanese (ja)
Other versions
JPS5640949A (en
Inventor
Tsutomu Tenma
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11647379A priority Critical patent/JPS5640949A/en
Publication of JPS5640949A publication Critical patent/JPS5640949A/en
Publication of JPS6231376B2 publication Critical patent/JPS6231376B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 この発明は、情報処理装置における、演算部を
複数個並べ、複数のデータに対し同一の演算処理
列を異なる演算部で行ない処理の高速化を図る、
並列演算処理の回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention aims to speed up processing in an information processing device by arranging a plurality of arithmetic units and performing the same arithmetic processing sequence on a plurality of data in different arithmetic units.
It relates to circuits for parallel arithmetic processing.

従来同一の演算処理命令例で複数のデータを処
理するため演算部を複数台並べる試みがなされて
いるが、各演算部に演算処理のための命令系列を
格納するメモリを置かなければならず高価であつ
た。又、複数のデータを同時に複数台の演算部に
供給する必要があり、データの供給が難しくなる
という問題があつた。
Conventionally, attempts have been made to arrange multiple arithmetic units in order to process multiple pieces of data using the same arithmetic processing instruction example, but each arithmetic unit must have memory to store the instruction sequence for arithmetic processing, which is expensive. It was hot. Furthermore, it is necessary to simultaneously supply a plurality of pieces of data to a plurality of arithmetic units, making it difficult to supply the data.

本発明の目的は、複数台の演算部を同時に動作
させることにより高速化を図る時に各演算部に命
令データを保持するレジスタを持ちこのレジスタ
により演算回路の処理機能を指示し、更に演算回
路を動作させるか否かを決定する論理回路を備え
各演算部を共通の入力バスと共通の出力バスとで
接続する簡単な構成により経済的な並列演算処理
装置を提供することにある。
An object of the present invention is to provide a register for holding instruction data in each arithmetic unit when operating multiple arithmetic units at the same time, and to use this register to instruct the processing function of the arithmetic circuit. It is an object of the present invention to provide an economical parallel arithmetic processing device with a simple configuration that includes a logic circuit for determining whether to operate or not and connects each arithmetic unit with a common input bus and a common output bus.

次にこの発明について図面を参照して説明す
る。第1図は本発明の1つの実施例を示すための
ブロツク図である。
Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.

本実施例では4つの演算部11〜14により構
成される並列演算処理装置について説明する。命
令データがデータ線61を通して、レジスタ41
に入力され、単位時間後前記命令データがレジス
タ42へ移送され、同時に続く命令データがレジ
スタ41に入力される。レジスタ41〜44は、
シフトレジスタとして動作し、単位時間毎に命令
データが次段のレジスタへ移送される。演算部1
1〜14は、レジスタ41〜44の内容に従いそ
れぞれ動作する。レジスタ41は例えば24ビツト
で構成される。このうち16ビツトは演算回路21
の処理機能を決定するフアンクシヨンデータで4
ビツトは動作制御回路の状態を変化させる状態制
御データ、残る4ビツトは演算回路の動作禁止を
指示するモジユール禁止データである。4ビツト
からなる状態制御データはステータスリセツト信
号、零検出信号、負検出信号、正検出信号であ
る。モジユール禁止データ4ビツトの各ビツトは
演算部11〜14に対応しており、最初のビツト
は、演算部11のモジユール禁止信号、第2〜第
4ビツトはそれぞれ演算部12〜14のモジユー
ル禁止信号である。各モジユール禁止信号が
“0”の時対応する演算部の演算回路は動作しな
い。レジスタ41からデータ線71に出力される
データのうちフアンクシヨンデータはデータ線7
6を通して演算回路21へ入力される。又状態制
御データとモジユール禁止信号がデータ線81を
通して動作制御回路31へ入力される。
In this embodiment, a parallel arithmetic processing device constituted by four arithmetic units 11 to 14 will be described. Command data is passed through the data line 61 to the register 41.
After a unit time, the instruction data is transferred to the register 42, and at the same time, the following instruction data is input to the register 41. Registers 41 to 44 are
It operates as a shift register, and instruction data is transferred to the next stage register every unit time. Arithmetic unit 1
1 to 14 operate according to the contents of registers 41 to 44, respectively. The register 41 is composed of, for example, 24 bits. Of these, 16 bits are used by the arithmetic circuit 21
4 with function data that determines the processing function of
The bits are state control data that change the state of the operation control circuit, and the remaining four bits are module prohibition data that instructs to prohibit the operation of the arithmetic circuit. The state control data consisting of 4 bits is a status reset signal, a zero detection signal, a negative detection signal, and a positive detection signal. Each bit of the 4 bits of module prohibition data corresponds to the calculation units 11 to 14, the first bit is the module prohibition signal of the calculation unit 11, and the second to fourth bits are the module prohibition signals of the calculation units 12 to 14, respectively. It is. When each module inhibition signal is "0", the arithmetic circuit of the corresponding arithmetic section does not operate. Among the data output from the register 41 to the data line 71, function data is output to the data line 7.
6 to the arithmetic circuit 21. Further, state control data and a module inhibit signal are input to the operation control circuit 31 through the data line 81.

演算データ線51は演算部への共通入力バス、
演算データ線52は演算部からの共通出力バスで
ある。演算回路21から演算結果の値が負の時
“1”の負信号と零の時“0”の零信号とが2本
の信号線としてデータ線91へ出力される。デー
タ線81から入力されるモジユール禁止信号が
“1”でデータ線91から入力される負信号零信
号がデータ線81から入力される状態制御データ
の条件に合致していればクロツク線53のクロツ
クが信号線96に出力され、演算回路21を動作
させる。演算回路21は信号線96から動作信号
が入力されるとデータ線76から入力されるフア
ンクシヨンデータに従う動作を行なう。演算部1
2〜14も同様な動作を行なう。
The calculation data line 51 is a common input bus to the calculation section,
The calculation data line 52 is a common output bus from the calculation section. The arithmetic circuit 21 outputs a negative signal of "1" when the value of the arithmetic result is negative and a zero signal of "0" when the value is zero to the data line 91 as two signal lines. If the module inhibit signal inputted from the data line 81 is "1" and the negative signal zero signal inputted from the data line 91 matches the condition of the state control data inputted from the data line 81, the clock of the clock line 53 is turned off. is output to the signal line 96, causing the arithmetic circuit 21 to operate. When the operation signal is input from the signal line 96, the arithmetic circuit 21 performs an operation according to the function data input from the data line 76. Arithmetic unit 1
2 to 14 also perform similar operations.

第2図は演算回路21の一例を示すブロツク図
である。16ビツトのデータに対する演算処理を行
なう場合を例にとつて演算回路21を説明する。
ブロツク201〜204は各々4ビツトのCPU
であり、例えば「NEC社製μPB2901」を用いる
ことが出来る。双方向データ線251〜254は
ビツトシフトを行なう時用いられるデータ線であ
る。又データ線261〜263は加減算実行時に
生じるキヤリ伝播のためのデータ線である。デー
タ線76を通してCPU201〜204へフアン
クシヨンデータが与えられる。信号線96から動
作信号が入力されるとCPU201〜204はこ
のフアンクシヨンデータに従つた動作を行なう。
FIG. 2 is a block diagram showing an example of the arithmetic circuit 21. As shown in FIG. The arithmetic circuit 21 will be explained using an example in which arithmetic processing is performed on 16-bit data.
Blocks 201 to 204 are each 4-bit CPU
For example, "μPB2901 manufactured by NEC Corporation" can be used. Bidirectional data lines 251-254 are data lines used when bit shifting is performed. Further, data lines 261 to 263 are data lines for propagating a carry that occurs when performing addition and subtraction. Function data is provided to the CPUs 201-204 through a data line 76. When an operation signal is input from the signal line 96, the CPUs 201-204 perform operations according to this function data.

CPU201〜204の演算結果データが0の
とき“0”の信号がデータ線271〜274を通
じて出力され論理否定回路205〜208で論理
否定がとられそれぞれ信号線281〜284へ出
力され、否定論理積回路209で否定論理積がと
られ信号線285に零信号が出力される。又
CPU204の演算結果の最上位ビツトが負信号
としてデータ線275に出力され零信号と負信号
とがデータ線91を通して出力される。
When the operation result data of the CPUs 201 to 204 is 0, a signal of "0" is outputted through the data lines 271 to 274, logically negated by the logical NOT circuits 205 to 208, and outputted to the signal lines 281 to 284, respectively, and the NANDed signal is outputted through the data lines 271 to 274. A NAND operation is performed in the circuit 209 and a zero signal is output to the signal line 285. or
The most significant bit of the calculation result of CPU 204 is output as a negative signal to data line 275, and a zero signal and a negative signal are output through data line 91.

信号線76を経て入力されるフアンクシヨンデ
ータが入力動作を示すとき16ビツトの共通入力バ
ス51の下位から4ビツトづつに分けられたデー
タがデータ線211〜214に与えられ4ビツト
づつのデータがCPU201〜204へ入力され
る。フアンクシヨンデータが出力動作を示すとき
4ビツトづつのデータがCPU201〜204か
らデータ線231〜234へ出力され16ビツトの
データとして共通出力バス52へ出力される。
When the function data input via the signal line 76 indicates an input operation, the data divided into 4 bits each from the lower order of the 16-bit common input bus 51 is applied to the data lines 211 to 214, and the data is divided into 4 bits each. is input to the CPUs 201-204. When the function data indicates an output operation, data of 4 bits each is outputted from the CPUs 201-204 to the data lines 231-234 and then outputted to the common output bus 52 as 16-bit data.

第3図は動作制御回路31の一例を示すブロツ
ク図である。データ線81から入力される状態制
御データを構成する5つの信号、すなわちモジユ
ール禁止信号、ステータスリセツト信号、零検出
信号、負検出信号、正検出信号がそれぞれ信号線
330,335〜338に伝えられる。データ線
91から入力されるデータを構成する2つの信
号、零信号、負信号がそれぞれ信号線320,3
21に伝えられる。
FIG. 3 is a block diagram showing an example of the operation control circuit 31. Five signals constituting the state control data input from data line 81, namely, a module inhibit signal, a status reset signal, a zero detection signal, a negative detection signal, and a positive detection signal, are transmitted to signal lines 330, 335-338, respectively. Two signals, a zero signal and a negative signal, constituting the data input from the data line 91 are connected to the signal lines 320 and 3, respectively.
21 will be informed.

信号線320,321の信号はそれぞれ論理否
定回路306,307で論理否定され否定率信
号、否定負信号として信号線322,333に出
力される。信号線336の零検出信号が“1”で
信号線322の否定零信号が“1”の時否定論理
積回路308により“0”の信号が信号線341
に出力される。また、信号線337の負検出信号
が“1”で信号線321の負信号が“1”の時否
定論理積回路309により“0”の信号が信号線
342に出力される。否定論理積回路310では
信号線338の正検出信号が“1”で信号線33
3,320の否定負信号、零信号が共に“1”の
時信号線343に“0”を出力する。論理積回路
311で信号線341〜343の論理積がとられ
いづれかに“0”が出力されている時信号線34
4に“0”を出力しフリツプフロツプ312の動
作ステータスを“1”の状態にする。信号線33
5に伝えられるステータスリセツト信号が“1”
の時フリツプフロツプ312の動作ステータスが
“0”の状態にされる。フリツプフロツプ312
の動作ステータスが信号線345を通して論理否
定回路313に入力され論理否定された信号が信
号線346へ出力される。
The signals on signal lines 320 and 321 are logically negated by logical negation circuits 306 and 307, respectively, and outputted to signal lines 322 and 333 as negation rate signals and negation signals. When the zero detection signal on the signal line 336 is “1” and the negative zero signal on the signal line 322 is “1”, the negative AND circuit 308 outputs a “0” signal to the signal line 341.
is output to. Further, when the negative detection signal on the signal line 337 is "1" and the negative signal on the signal line 321 is "1", the NAND circuit 309 outputs a signal of "0" to the signal line 342. In the NAND circuit 310, when the positive detection signal on the signal line 338 is “1”, the signal line 33
When both the negative signal and the zero signal of 3 and 320 are "1", "0" is output to the signal line 343. When the AND circuit 311 takes the AND of the signal lines 341 to 343 and outputs "0" to any of them, the signal line 34
4 and outputs "0" to the flip-flop 312 to set the operating status of the flip-flop 312 to "1". Signal line 33
The status reset signal transmitted to 5 is “1”
At this time, the operating status of the flip-flop 312 is set to "0". flipflop 312
The operation status of is input to the logic NOT circuit 313 through the signal line 345, and a logic NOT signal is output to the signal line 346.

信号線330のモジユール禁止信号が“1”で
フリツプフロツプ312の出力が“0”の時信号
線53を通して入力されるクロツクが論理積回路
314を通り信号線96に出力される。
When the module inhibit signal on the signal line 330 is "1" and the output of the flip-flop 312 is "0", the clock input through the signal line 53 passes through the AND circuit 314 and is output to the signal line 96.

第4図は本発明の並列演算処理装置の演算部1
1〜14の動作の一例を示すタイムチヤートであ
る。
FIG. 4 shows the arithmetic unit 1 of the parallel arithmetic processing device of the present invention.
It is a time chart showing an example of operations 1 to 14.

上位8ビツトが“0”の16ビツトデータA1
…,A4とB1,…,B4に対しA1×B1,…,A4×B4
を計算する処理の流れを例にとつて説明する。
16-bit data A 1 whose upper 8 bits are “0”,
…, A 4 and B 1 , …, B 4 , A 1 ×B 1 , …, A 4 ×B 4
The flow of processing for calculating will be explained as an example.

横軸を単位時間毎に番号づけ縦軸に演算部のレ
ジスタにその時刻にセツトされている命令データ
を示した。第2図を参照するとCPU201〜2
04はそれぞれ4ビツト16語のメモリをもつてお
りしたがつて、CPU201〜204で16ビツ
ト/語16語のメモリを構成している。第4図を参
照するとI1〜I27は命令データを示し、断わ
らない限り4ビツトのモジユール禁止信号、ステ
ータスリセツト信号、零検出信号、負検出信号、
正検出信号として“0”が用いられる。I1の命
令データでメモリの第0番地がクリアされる。I
2,I3の命令データで共通入力バスに与えられ
る演算データがそれぞれメモリの第1番地及び第
2番地に格納される。I4,I7,I10,I1
3,I16,I19,I22,I25の命令デー
タではステータス・リセツト信号、零検出信号、
正検出信号が“1”にされておりこれらの命令デ
ータでメモリの第2番地のデータが右へ1ビツト
回転シフトされる。シフトされたデータの最上位
ビツトが0のとき動作ステータスが“1”にな
る。I5,I8,I11,I14,I17,I2
0,I23,I26の命令データでは、ステータ
スリセツト信号が“1”にされており、動作ステ
ータスが“0”の時メモリの第0番地の内容と第
1番地の内容が加算され第0番地に格納される。
動作ステータスが“1”の時は演算回路で処理が
行なわれない。I6,I9,I12,I15,I
18,I21,I24の命令データでメモリの第
1番地のデータが左へ1ビツトシフトされ第1番
地へ格納される。I4〜I26の命令データで乗
算演算が終了する。I27の命令データでメモリ
の第0番地の内容が共通出力バスに出力される。
The horizontal axis is numbered by unit time, and the vertical axis shows the instruction data set in the register of the calculation section at that time. Referring to Figure 2, CPU201-2
Each of the CPUs 201-204 constitutes a 16-bit/16-word memory. Referring to FIG. 4, I1 to I27 indicate command data, and unless otherwise specified, a 4-bit module inhibit signal, status reset signal, zero detection signal, negative detection signal,
“0” is used as the positive detection signal. The 0th address of the memory is cleared by the instruction data of I1. I
Operational data given to the common input bus as instruction data No. 2 and I3 are respectively stored at the first address and the second address of the memory. I4, I7, I10, I1
3.In command data of I16, I19, I22, and I25, status reset signal, zero detection signal,
The positive detection signal is set to "1", and the data at the second address of the memory is rotated one bit to the right by these command data. When the most significant bit of the shifted data is 0, the operation status becomes "1". I5, I8, I11, I14, I17, I2
In the instruction data of 0, I23, and I26, the status reset signal is set to "1", and when the operation status is "0", the contents of the 0th address and the 1st address of the memory are added to the 0th address. Stored.
When the operation status is "1", no processing is performed in the arithmetic circuit. I6, I9, I12, I15, I
The data at the first address of the memory is shifted one bit to the left by the instruction data of 18, I21, and I24 and stored at the first address. The multiplication operation ends with instruction data I4 to I26. The contents of the 0th address of the memory are outputted to the common output bus with the instruction data of I27.

時刻2〜9でそれぞれA1〜A4,B1〜B4のデー
タが共通入力バスに外部から供給され、時刻30
〜33で出力されるデータA1×B1,A2×B2
…,A4×B4が共通出力バスから外部へ出力され
る。
At times 2 to 9, data A 1 to A 4 and B 1 to B 4 are externally supplied to the common input bus, and at time 30
Data output in ~33 A 1 ×B 1 , A 2 ×B 2 ,
..., A 4 × B 4 are output from the common output bus to the outside.

本発明の並列演算処理装置を用いれば演算部
を、直列に接続することで接続個数倍に近い演算
処理装置を安価で簡単に実現することが出来る。
By using the parallel arithmetic processing device of the present invention, by connecting the arithmetic units in series, it is possible to easily realize an arithmetic processing device that is nearly twice as many as the number of connected arithmetic units at low cost.

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

第1図は本発明の並列演算処理装置の実施例を
示すブロツク図、第2図は、第1図の演算器21
〜24の詳細ブロツク図、第3図は、第1図の動
作制御器31〜34の詳細ブロツク図、第4図は
本発明並列演算処理器の動作例を説明するための
タイムチヤートである。 図において、21〜24は演算器、31〜34
は動作制御器、41〜44はレジスタ、201〜
204はCPU、205〜208は論理否定回
路、209は論理積回路、306〜307は論理
否定回路、308〜310は否定論理積回路、3
11は論理積回路、312はフリツプフロツプ、
313は論理否定回路、314は論理積回路であ
る。
FIG. 1 is a block diagram showing an embodiment of the parallel arithmetic processing device of the present invention, and FIG. 2 shows the arithmetic unit 21 of FIG.
24, FIG. 3 is a detailed block diagram of the operation controllers 31 to 34 of FIG. 1, and FIG. 4 is a time chart for explaining an example of the operation of the parallel arithmetic processor of the present invention. In the figure, 21 to 24 are arithmetic units, 31 to 34
is an operation controller, 41 to 44 are registers, and 201 to 44 are registers.
204 is a CPU, 205 to 208 are logical NOT circuits, 209 is an AND circuit, 306 to 307 are logical NOT circuits, 308 to 310 are NOT AND circuits, 3
11 is an AND circuit, 312 is a flip-flop,
313 is a logical NOT circuit, and 314 is an AND circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のレジスタを直列に接続し、入力された
命令データを単位時間毎に次々に次段のレジスタ
へ前記命令データが移送されるようにしたシフト
レジスタと、前記シフトレジスタの各レジスタに
対応して設けられレジスタの出力命令データを入
力とする演算回路と、前記演算回路の各々に対し
て設けられ前記演算回路から出力される状態デー
タと前記レジスタの出力命令データとで前記演算
回路を動作させるか否かの信号を出力する動作制
御回路とを備え、全ての前記演算回路の演算デー
タの入出力線を対応する共通の入力バス及び共通
の出力バスで接続したことを特徴とする並列演算
処理装置。
1. A shift register in which a plurality of registers are connected in series so that the input instruction data is transferred to the next register one after another every unit time, and a shift register corresponding to each register of the shift register. an arithmetic circuit provided for each of the arithmetic circuits and receiving output instruction data from the register; and an arithmetic circuit provided for each of the arithmetic circuits and operating the arithmetic circuit using state data output from the arithmetic circuit and output instruction data from the register. and an operation control circuit that outputs a signal indicating whether or not, and the input/output lines of the calculation data of all the calculation circuits are connected by a corresponding common input bus and a common output bus. Device.
JP11647379A 1979-09-11 1979-09-11 Parallel arithmetic processor Granted JPS5640949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11647379A JPS5640949A (en) 1979-09-11 1979-09-11 Parallel arithmetic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11647379A JPS5640949A (en) 1979-09-11 1979-09-11 Parallel arithmetic processor

Publications (2)

Publication Number Publication Date
JPS5640949A JPS5640949A (en) 1981-04-17
JPS6231376B2 true JPS6231376B2 (en) 1987-07-08

Family

ID=14687965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11647379A Granted JPS5640949A (en) 1979-09-11 1979-09-11 Parallel arithmetic processor

Country Status (1)

Country Link
JP (1) JPS5640949A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61113375A (en) * 1984-11-07 1986-05-31 Nec Corp Real time animation processor
JPH0614349B2 (en) * 1984-07-20 1994-02-23 日本電気株式会社 Real-time video processor
JPS6380371A (en) * 1986-09-24 1988-04-11 Daikin Ind Ltd Coordinate transforming device
JPH0727513B2 (en) * 1988-06-08 1995-03-29 富士通株式会社 Digital signal processing circuit

Also Published As

Publication number Publication date
JPS5640949A (en) 1981-04-17

Similar Documents

Publication Publication Date Title
US4514808A (en) Data transfer system for a data processing system provided with direct memory access units
JPS6351287B2 (en)
US4339793A (en) Function integrated, shared ALU processor apparatus and method
EP0264048A2 (en) Thirty-two bit bit-slice
US4386413A (en) Method and apparatus of providing a result of a numerical calculation with the number of exact significant figures
JPH0412503B2 (en)
US4270184A (en) Microprocessor-based programmable logic controller
JPS6231376B2 (en)
KR910001708B1 (en) Central processing unit
EP0314342B1 (en) Parallel pipelined computer processor
JPS6339932B2 (en)
JPH0623977B2 (en) Vector processor
KR0124866Y1 (en) Data exchange
JP3565906B2 (en) Buffer device
JP2553630B2 (en) Data processing device
JPH0668055A (en) Digital signal processor
JPS62249228A (en) Shift device
JPH03149656A (en) Arithmetic circuit
JP2928566B2 (en) Operand reading device
SU920778A2 (en) Combined computing system
JPS6111493B2 (en)
JPH0567978B2 (en)
JPS63205767A (en) Bit reversing device
JPH04365170A (en) Digital signal processing semiconductor integrated circuit
JPH0432924A (en) Maximum value detector and minimum value detector