JPS62160530A - Data processor - Google Patents

Data processor

Info

Publication number
JPS62160530A
JPS62160530A JP61002520A JP252086A JPS62160530A JP S62160530 A JPS62160530 A JP S62160530A JP 61002520 A JP61002520 A JP 61002520A JP 252086 A JP252086 A JP 252086A JP S62160530 A JPS62160530 A JP S62160530A
Authority
JP
Japan
Prior art keywords
data
latch
cycle
calculation
held
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61002520A
Other languages
Japanese (ja)
Inventor
Takashi Nakano
孝 中野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61002520A priority Critical patent/JPS62160530A/en
Publication of JPS62160530A publication Critical patent/JPS62160530A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To operate data repeatedly in continuous cycles by providing a latch, where the operation result in the preceding cycle is held, between a memory device and an arithmetic unit for pipeline processing. CONSTITUTION:In the latter half of a cycle 1, data is read out from the memory device 1 and is held in a latch 5. In a following cycle 2, the arithmetic unit 3 uses data held in the latch 5 to perform the operation, and data used for the following operation is read out from the memory device 1 and is held in the latch in the latter half of this cycle 2. If data used for the following operation is the operation result in the cycle 2, data read from the memory device 1 is invalidated, and the operation result is taken into the latch 5 in the latter half of the cycle 2. In a cycle 3, data held in the latch 5 is used to perform the operation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はパイプライン方式でデータを処理するデータ
処理装置に関するものでめる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device that processes data in a pipeline method.

〔従来の技術〕[Conventional technology]

第6区はこの棟の従来のデータ処理装置の構成を示すブ
ロック図であシ、図中(1)は処理すべきデータを格納
する記1惠装置、(2)はデータの胱出し経路、<sr
は耽出し経路(2)を介して読出された記憶装置(1)
のデータを処理する演算装置、(4)はこの演算装置(
3)の演算結果を記憶装置(1)に書込む蕾込み経路を
それぞれ示している。
Section 6 is a block diagram showing the configuration of the conventional data processing equipment in this building. In the diagram, (1) is the device that stores the data to be processed, (2) is the data output route, <sr
is the storage device (1) read out via the indulgence path (2)
(4) is an arithmetic device that processes the data of this arithmetic device (
The bud paths for writing the calculation results in step 3) into the storage device (1) are shown.

このデータ処理装置の動作を第4図のタイムチャートt
も参照して以下に説明する0なお、第4図中のRDn(
n=1.2.5・・・)は記憶装置(1)からのデータ
読出しタイミング、OPn (n=1.2.3.  ・
命・)は演算装置(8)の演算タイミング、w T n
 (n = 1 、2 、3 、  ・Φ・)は記憶装
置(1)への演算結果の曹込みタイミングをそれぞれ示
している。
The operation of this data processing device is shown in the time chart t in FIG.
0, which will be explained below with reference to RDn (
n=1.2.5...) is the data read timing from the storage device (1), OPn (n=1.2.3.
) is the calculation timing of the calculation device (8), w T n
(n = 1, 2, 3, ·Φ·) respectively indicate the timing of computation of the calculation result to the storage device (1).

ここで、演算装置(3)がオペレーション1、オペレー
ション2およびオペレーション31a次’+IIFする
。このうち、オペレーション1ではサイクル1の後半の
RDiのタイミングにて記憶装置(1)からデータ全読
出しくサイクル2のOPlのタイミングで演算全行った
後、サイクル6の前半のWTIのタイミングで演算結果
を記憶装置(1)に畜込む0また、オペレーション2で
はこれよりも1サイクル遅れたRD2.OF2.WT2
のタイミングでそれぞれ同様の仇出し、演算、沓込み全
行う0さらにマタ、オペレーション6ではオペレーショ
ン2より1サイクル遅れたRD3.OF2.WT3のタ
イミングでそれぞれ同様の読出し、演算、書込みを行う
Here, the arithmetic unit (3) performs operation 1, operation 2, and operation 31a next'+IIF. Of these, in operation 1, all data is read from the storage device (1) at the timing of RDi in the second half of cycle 1, and after all calculations are performed at the timing of OPl in cycle 2, the calculation results are obtained at the timing of WTI in the first half of cycle 6. Also, in operation 2, RD2. which is one cycle later than this is stored in the storage device (1). OF2. WT2
At the timing of 0, the same calculations, calculations, and insertions are performed, respectively.Furthermore, in operation 6, RD3, which is one cycle later than operation 2, is executed. OF2. Similar reading, calculation, and writing are performed at the timing of WT3.

この場合、演算装置(8)はサイクル2の後半にてオペ
レーション1の演算(OPl) トオペレーション2の
読出しくRD2)とを同時に行う一方、サイクル5の前
半にてオペレーション1の書込み(WTl)トオペレー
ション2の演算(OF2)とを同時に行ってシステムの
性能を高めている。
In this case, in the second half of cycle 2, the arithmetic unit (8) simultaneously performs the operation 1 (OPl) and the read operation 2 (RD2), while in the first half of cycle 5 the operation 1 writes (WTl). The operation 2 calculation (OF2) is performed simultaneously to improve the performance of the system.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のデータ処理装置は以上のように構成されており、
例えばオペレーション1にて演算した結果を用いて、さ
らに、次の演算をしようとするとオペレーション1、オ
ペレーション5tl−実行することになり、オペレーシ
ョン2では別の演算をすることになる。
A conventional data processing device is configured as described above.
For example, if the next operation is to be performed using the result of operation 1, operation 1 and operation 5tl- will be executed, and another operation will be performed in operation 2.

すなわち、あるデータを繰返して処理する場合、演算の
後、記憶装置への書込みおよび記憶装置からの胱出しを
行なわなければならず、高速でデータ処理するべく連続
したサイクルで演算しようとしても、これができないと
いう問題点があった。
In other words, when processing certain data repeatedly, after the calculation, it is necessary to write to the storage device and remove the data from the storage device. The problem was that it couldn't be done.

この発l1l11は、上記のような問題点を解消するた
めになされたもので、連続したサイクルでデータの繰返
し演算を可能にするデータ処理装置を得ることを目的と
する。
This development 11111 was made in order to solve the above-mentioned problems, and its purpose is to obtain a data processing device that can perform repeated operations on data in consecutive cycles.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るデータ処理装置は、パイプライン処理す
るための記憶装置と演算装置との間にラッチを設け、こ
のラッチに演算装置の前サイクルでの演算結果を示すデ
ータを保持させ、演算装置がこのラッチに保持されたデ
ータを用いて演算を行うようにしたものである0 〔作用〕 この発明においては、演算結果を示すデータをラッチに
取込むと共に、このラッチに保持されたデータを演算装
置の入力データとすることによシ、連続したサイクルで
データの繰返し演算を可能にする。
A data processing device according to the present invention provides a latch between a storage device for pipeline processing and an arithmetic device, causes the latch to hold data indicating an arithmetic result of the previous cycle of the arithmetic device, and the arithmetic device The data held in this latch is used to perform calculations.0 [Operation] In this invention, data indicating the calculation result is taken into the latch, and the data held in this latch is transferred to the calculation device. By using this as input data, it is possible to perform repeated operations on the data in consecutive cycles.

〔実施−例〕[Implementation - Examples]

一つ\ 第1図はこの発明の一実施例の構成を示すブロック図で
あり、図中第6図と同一の符号を付したものはそれぞれ
同一の要素を示し、これら以外の(6)は記憶装置(1
)と演算装置(8)との間に設けられたラッチで、記憶
装置(1)より読出されたデータを保持して演算装置(
8)の入力データとする一方、演算結果を示すデータを
取込んで、ここに保持式れたデータを演算装置(3)の
入力データとするものである0 上記の如く構成された本実施例の作用を第2図のタイム
チャートをも参照して以下に説明する。
One\ Figure 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, the same reference numerals as in Figure 6 indicate the same elements, and other than these (6) Storage device (1
) and the arithmetic device (8), which holds data read from the storage device (1) and stores the data read out from the storage device (1).
8), data indicating the calculation result is taken in, and the data held here is used as the input data of the calculation device (3).0 This embodiment configured as described above. The operation will be explained below with reference to the time chart of FIG.

先ず、記憶装置<1>よりデータを読出すと、このデー
タがラッチ(5)に保持され、演算装置(8)はここに
保持されたデータを用いて演′に4.を行う。また、演
算結果を示すデータが記憶装置M(1)に書込まれ、こ
れによって第4図に示したと同様なデータ処理が行われ
る。
First, when data is read from the storage device <1>, this data is held in the latch (5), and the arithmetic unit (8) uses the data held here to perform 4. I do. Further, data indicating the calculation result is written to the storage device M(1), thereby performing data processing similar to that shown in FIG.

次に、演算装置(3)で演算した結果を用いて再度演算
するときには、第2図に示すように、サイクル1の後半
のRDlのタイミングで記憶装fit (1)よりデー
タが読出され、このデータがラッチ(5)に保持される
。演算装置(8)はOPlのタイミングで演算を行う。
Next, when performing calculations again using the results calculated by the calculation device (3), data is read from the storage device fit (1) at the timing of RDl in the latter half of cycle 1, as shown in FIG. Data is held in latch (5). The calculation device (8) performs calculation at the timing of OP1.

この時、サイクル6のOF2のタイミングで演算するデ
ータがOPlのタイミングで行った演算結果である場合
には、記憶装置(1)からのデータの読出しを無効とし
、oplのタイミングで演算した結果をLOHのタイミ
ングにてラッチ(5)に取込む。演算装置(8)はOF
2のタイミングで演算を行う。また、これよりも1サイ
クル遅れたLOH,OF3のタイミングでそれぞれ演x
g来のラッチ(6)への取込みと演算全行う。なお、演
算結果を記憶装置(1)に記憶させる必要があるときに
は、サイクル6のWT 1.サイクル4のw’r2*・
・のタイミングで記憶させればよい。
At this time, if the data calculated at the timing of OF2 of cycle 6 is the result of the calculation performed at the timing of OPl, reading out the data from the storage device (1) is disabled and the result of the calculation performed at the timing of opl is It is taken into the latch (5) at the timing of LOH. Arithmetic unit (8) is OF
Calculation is performed at timing 2. Also, the timing of LOH and OF3, which is one cycle later than this, is
After g, import into the latch (6) and perform all calculations. Note that when it is necessary to store the calculation result in the storage device (1), the WT 1. Cycle 4 w'r2*・
You can memorize it at the timing of ・.

かくして、この実施例によれば、連続したサイクルでデ
ータの繰返し演算ができる。
Thus, according to this embodiment, data can be repeatedly operated in consecutive cycles.

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

この発明は以上説明したとおり、パイプライン処理する
ための記憶装置と演算装置との間にラッチを設け、この
ラッチに演算装置の前サイクルでの演算結果を保持させ
て演算装置の入力データとしているので、連続したサイ
クルでデータを繰返し演算をすることができ、これによ
って高速のデータ処理が可能になる。
As explained above, in this invention, a latch is provided between a storage device for pipeline processing and an arithmetic unit, and this latch holds the arithmetic result of the previous cycle of the arithmetic unit as input data to the arithmetic unit. Therefore, data can be repeatedly operated on in successive cycles, which enables high-speed data processing.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の動作を説明するためのタイムチャー
ト、第3図は従来のデータ処理装置の構成を示すブロッ
ク図、第4図は同装置の動作を説明するためのタイムチ
ャートである。 (1):記憶装置     (8):演算装置(6)二
ランチ なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a time chart for explaining the operation of the same embodiment, FIG. 3 is a block diagram showing the configuration of a conventional data processing device, and FIG. 4 is a time chart for explaining the operation of the same device. . (1): Storage device (8): Arithmetic device (6) Two launches Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] パイプライン処理するための記憶装置と演算装置との間
に、前記演算装置の前サイクルでの演算結果を示すデー
タを保持させ得るラッチを設け、前記演算装置が前記ラ
ッチに保持されたデータを用いて演算を行うことを特徴
とするデータ処理装置。
A latch capable of holding data indicating the calculation result of the previous cycle of the calculation device is provided between the storage device for pipeline processing and the calculation device, and the calculation device uses the data held in the latch. A data processing device characterized in that it performs arithmetic operations.
JP61002520A 1986-01-09 1986-01-09 Data processor Pending JPS62160530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61002520A JPS62160530A (en) 1986-01-09 1986-01-09 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61002520A JPS62160530A (en) 1986-01-09 1986-01-09 Data processor

Publications (1)

Publication Number Publication Date
JPS62160530A true JPS62160530A (en) 1987-07-16

Family

ID=11531648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61002520A Pending JPS62160530A (en) 1986-01-09 1986-01-09 Data processor

Country Status (1)

Country Link
JP (1) JPS62160530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH039425A (en) * 1989-06-07 1991-01-17 Sanyo Electric Co Ltd Central processing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH039425A (en) * 1989-06-07 1991-01-17 Sanyo Electric Co Ltd Central processing unit

Similar Documents

Publication Publication Date Title
JPH03180933A (en) Stack memory
JPS62160530A (en) Data processor
JPH0616287B2 (en) Vector arithmetic processor with mask
JPH01273132A (en) Microprocessor
JPS62164135A (en) Data processor
JP2895892B2 (en) Data processing device
JP2657947B2 (en) Data processing device
JPS5849960B2 (en) Information check method
JPS6349832A (en) Data processor
JPS6343782B2 (en)
JPH0241522A (en) Function arithmetic processor
JPS5856138B2 (en) Interlocking method of digital differential analyzer
JPS62143176A (en) Vector register access control system
JP2001051980A (en) Vector diffusion processor
JPS63188230A (en) Information processor
JPH023822A (en) Data processor
JPH0478931A (en) Designated word interruption generating system
JPS62262155A (en) Access system for multi-port storage device
JPH03116322A (en) Matrix transforming device
JPS63221442A (en) Memory data saving system
JPH01232421A (en) Bus control circuit
JPH02211579A (en) Vector arithmetic processing system
JPH01265346A (en) Semiconductor integrated circuit
JPH0426494B2 (en)
JPS59180632A (en) Arithmetic unit