[go: up one dir, main page]

JPS63303424A - Arithmetic circuit - Google Patents

Arithmetic circuit

Info

Publication number
JPS63303424A
JPS63303424A JP62139159A JP13915987A JPS63303424A JP S63303424 A JPS63303424 A JP S63303424A JP 62139159 A JP62139159 A JP 62139159A JP 13915987 A JP13915987 A JP 13915987A JP S63303424 A JPS63303424 A JP S63303424A
Authority
JP
Japan
Prior art keywords
data
arithmetic
timing
input
address signals
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
JP62139159A
Other languages
Japanese (ja)
Inventor
Ichiro Nakamura
一郎 中村
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP62139159A priority Critical patent/JPS63303424A/en
Publication of JPS63303424A publication Critical patent/JPS63303424A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform an arithmetic operation at the timing of two clocks against original oscillation, by making an access to two storage devices at the same timing and sending data to a computing element. CONSTITUTION:When address signals A and B are outputted against two operands from a ROM 1, the address signals A and B are simultaneously latched respectively by latches 25 and 26 at the timing of a clock CK1. After they are latched by the latches 25 and 26, the address signals A and B are simultaneously latched respectively by RAMs 41 and 42. When the address signals A and B are inputted to the RAMs 41 and 42, calculation data A and B are outputted to the computing element 5 through latches 27 and 28 from the RAMs 41 and 42 at the timing of a clock CK2 and arithmetic operation is executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は演算回路に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an arithmetic circuit.

〔従来の技術〕[Conventional technology]

一般に演算回路は、中央処理装置やマイクロコンピュー
タの演算処理機構の中枢となる重要な回路であって、特
に高速性が要求される。
In general, an arithmetic circuit is an important circuit that is the core of the arithmetic processing mechanism of a central processing unit or a microcomputer, and is particularly required to be high-speed.

次に従来の演算回路の一例を第3図に示す。Next, an example of a conventional arithmetic circuit is shown in FIG.

第3図において、1はROM、21,22゜23および
24はラッチ、3は切り換え回路、4はRAM、5は演
算器である。
In FIG. 3, 1 is a ROM, 21, 22, 23 and 24 are latches, 3 is a switching circuit, 4 is a RAM, and 5 is an arithmetic unit.

第4図は各構成要素における制御信号とデータとのタイ
ミングチャートである。
FIG. 4 is a timing chart of control signals and data in each component.

先ず、ROM1から出力された、2つのオペランドに対
するアドレス信号AとBをクロックCK1のタイミング
でラッチ21とラッチ22にラッチする。ラッチされた
アドレス信号AとBは切り換え回路3によって制御され
、どちらか一方(ここではアドレス信号Aとする)から
順にRAM4に入力される。
First, address signals A and B for two operands output from the ROM 1 are latched into the latch 21 and the latch 22 at the timing of the clock CK1. The latched address signals A and B are controlled by the switching circuit 3, and one of them (here, address signal A) is sequentially input to the RAM 4.

入力されたアドレス信号Aによって演算データAを出力
する。出力された演算データAはクロックCK2のタイ
ミングでラッチ23にラッチされた後、演算器5にも入
力される。入力された演算データAは、次に入力される
演算データBを待つ。
Calculated data A is output based on the input address signal A. The output arithmetic data A is latched by the latch 23 at the timing of the clock CK2, and then also input to the arithmetic unit 5. The input calculation data A waits for the calculation data B to be input next.

演算データAが演算器5に入力された時点で、アドレス
信号が、RAM4のアドレスに入力される。RAM4は
、入力されたアドレス信号Bによって演算データBを出
力する。出力された演算データBは、クロックCK3の
タイミングでラッチ24にラッチされた後、演算器5に
入力される。
When the calculation data A is input to the calculation unit 5, an address signal is input to the address of the RAM 4. The RAM 4 outputs operation data B in response to the input address signal B. The output calculation data B is input to the calculation unit 5 after being latched by the latch 24 at the timing of the clock CK3.

入力された演算データBは、先に入力されている演算デ
ータAと演算され、演算結果を得る。得られた演算結果
は、外部へはもちろんRAM4にも入力される。
The input calculation data B is operated on the previously input calculation data A to obtain a calculation result. The obtained calculation results are input to the RAM 4 as well as to the outside.

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

以上説明した従来の演算回路においては、演算データの
転送経路が1つしか存在しなかったため、1つの演算デ
ータを演算器に入力しおえた後に次の演算データを入力
しなくてはならなかった。そのため演算結果を得るまで
に、原発振に対して3クロツクもかかるという欠点があ
った。その上切り換え回路も必要となり、また原発振を
3分周してクロックを作成しなくてはならないなど、制
御信号も複雑化するという欠点もあった。
In the conventional arithmetic circuit described above, there was only one transfer path for the arithmetic data, so it was necessary to input the next arithmetic data after inputting one arithmetic data to the arithmetic unit. . Therefore, there was a drawback that it took three clocks for the original oscillation to obtain the calculation result. In addition, a switching circuit is required, and the control signal is also complicated, such as having to create a clock by dividing the original oscillation by three.

そこで本発明の目的は、演算速度を向上させ制御信号を
簡素化した演算回路を提供することにある。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide an arithmetic circuit that improves arithmetic speed and simplifies control signals.

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

本発明の演算回路は、2つの同様な記憶装置と、本記憶
装置から同一タイミングで読み出されたデータを演算す
る演算器とを有し、それぞれの記憶装置は同一タイミン
グでアクセスされてデータを演算器に送るようにしたこ
とを特徴とする。
The arithmetic circuit of the present invention has two similar storage devices and an arithmetic unit that operates on data read out from the storage devices at the same timing, and each storage device is accessed at the same timing to process data. It is characterized in that it is sent to a computing unit.

〔実施例〕〔Example〕

次に本発明の一実施例について図面を参照して説明する
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例である。1はROM25.2
6.27および28はラッチ、41および42はRAM
、5は演算器であり、第2図は各構成要素に対する制御
信号と各データとのタイミングチャートである。
FIG. 1 shows an embodiment of the present invention. 1 is ROM25.2
6.27 and 28 are latches, 41 and 42 are RAM
, 5 is an arithmetic unit, and FIG. 2 is a timing chart of control signals and data for each component.

第1図において、ラッチ25.27およびRAM41か
ら成るデータ転送経路と、ラッチ26゜28およびRA
M42から成るデータ経路が用意されているため、アド
レス信号およびデータを同時に取り扱うことができる。
In FIG. 1, a data transfer path consisting of latches 25, 27 and RAM 41, latches 26, 28 and
Since a data path consisting of M42 is provided, address signals and data can be handled simultaneously.

次に動作について説明する。今、ROM1から2つのオ
ペランドに対するアドレス信号Aとアドレス信号が出力
されるものとする。
Next, the operation will be explained. Now, it is assumed that the ROM1 outputs an address signal A and an address signal for two operands.

タロツクCKIのタイミングでアドレス信号Aをラッチ
25に、アドレス信号Bをラッチ26にそれぞれ同時に
ラッチする。これらのアドレス信号はラッチされた後、
それぞれRAM4とRAM42にも同時に入力される。
The address signal A is latched into the latch 25 and the address signal B is latched into the latch 26 simultaneously at the timing of the tarock CKI. After these address signals are latched,
They are also simultaneously input to RAM4 and RAM42, respectively.

RAM41にアドレス信号Aが入力すると、そのアドレ
ス信号によって演算データAを出力する。同様にRAM
42にアドレス信号Bが入力すると、そのアドレスによ
って演算データBを出力する。
When address signal A is input to the RAM 41, calculation data A is output based on the address signal. Similarly RAM
When address signal B is input to 42, calculation data B is output according to the address.

出力された演算データAと演算データBはクロックCK
2のタイミングでそれぞれラッチ27とラッチ28に同
時にラッチされる。ラッチされた後、2つの演算データ
は演算器5に同時に入力される。演算器5によって演算
が行なわれ、得られた結果は、外部に供給されたり、R
AM42にも入力され記憶される。
The output calculation data A and calculation data B are clock CK.
They are simultaneously latched by the latch 27 and the latch 28 at timing 2. After being latched, the two calculation data are simultaneously input to the calculation unit 5. Arithmetic operations are performed by the arithmetic unit 5, and the obtained results are supplied to the outside or R
It is also input to AM42 and stored.

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

以上の説明で明らかなごとく、本発明の演算回路によれ
ば、2つの記憶装置によって、2つの演算データを同時
に取り扱えるため、演算結果を得るまでに原発振に対し
て2クロツクですむようになった。これは従来の演算回
路に対して、1クロツク分処理速度で速くなったことに
なる。制御信号も2種類ですむので、原発振を3分周す
る必要がなく回路が簡単になる。また、演算データを同
時に取り扱えるということは、切り換え回路も不要であ
りチップサイズの縮小にもつながる。
As is clear from the above explanation, according to the arithmetic circuit of the present invention, two memory devices can handle two arithmetic data simultaneously, so that it takes two clocks for the original oscillation to obtain the arithmetic result. This means that the processing speed is increased by one clock compared to the conventional arithmetic circuit. Since only two types of control signals are required, there is no need to divide the original oscillation by three, simplifying the circuit. Furthermore, the fact that calculation data can be handled simultaneously eliminates the need for a switching circuit, leading to a reduction in chip size.

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

第1図は、本発明の一実施例、第2図は本実施例のタイ
ミングチャート、第3図は従来例および第4図はこの従
来例のタイミングチャートである。
FIG. 1 shows an embodiment of the present invention, FIG. 2 shows a timing chart of this embodiment, FIG. 3 shows a conventional example, and FIG. 4 shows a timing chart of this conventional example.

Claims (1)

【特許請求の範囲】[Claims] 2つの同様な記憶装置と、該記憶装置から同一タイミン
グで読み出されたデータを演算する演算器とを有し前記
記憶装置のそれぞれは同一タイミングでアクセスされて
前記データを前記演算器に送るようにしたことを特徴と
する演算回路。
It has two similar storage devices and an arithmetic unit that operates on data read out from the storage devices at the same timing, and each of the storage devices is accessed at the same timing and sends the data to the arithmetic unit. An arithmetic circuit characterized by:
JP62139159A 1987-06-02 1987-06-02 Arithmetic circuit Pending JPS63303424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62139159A JPS63303424A (en) 1987-06-02 1987-06-02 Arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62139159A JPS63303424A (en) 1987-06-02 1987-06-02 Arithmetic circuit

Publications (1)

Publication Number Publication Date
JPS63303424A true JPS63303424A (en) 1988-12-12

Family

ID=15238952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62139159A Pending JPS63303424A (en) 1987-06-02 1987-06-02 Arithmetic circuit

Country Status (1)

Country Link
JP (1) JPS63303424A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
EP0102242B1 (en) Data processing apparatus
US3978413A (en) Modulus counter circuit utilizing serial access
JPS63303424A (en) Arithmetic circuit
US4723258A (en) Counter circuit
JPS6285343A (en) Memory reading-out circuit
JP2566009B2 (en) Data processing device
JPH01273132A (en) Microprocessor
JP2558701B2 (en) Data transfer device
JPH0514359B2 (en)
IE41472L (en) Electrical data processor
JPS6260755B2 (en)
JPS62123526A (en) Central processing unit for digital signal processor
JP2668215B2 (en) Micro computer
KR100257502B1 (en) Shifter operated without cluck
JPS61269288A (en) Storage element module
JPH05266189A (en) Digital signal processor
JPH03209546A (en) Fast data transfer processor
JPH03248242A (en) Memory control circuit
JPH0668055A (en) Digital signal processor
JPS62196746A (en) Memory integrated circuit
JPH03214275A (en) Semiconductor integrated circuit
JPS58218090A (en) Memory circuit
JPH01197840A (en) Information processor
JPH03282821A (en) Asynchronous operation circuit
JPH04263316A (en) Counter