JPH01171191A - Storage element with arithmetic function - Google Patents

Storage element with arithmetic function

Info

Publication number
JPH01171191A
JPH01171191A JP62332635A JP33263587A JPH01171191A JP H01171191 A JPH01171191 A JP H01171191A JP 62332635 A JP62332635 A JP 62332635A JP 33263587 A JP33263587 A JP 33263587A JP H01171191 A JPH01171191 A JP H01171191A
Authority
JP
Japan
Prior art keywords
data
arithmetic
transfer
signal input
control signal
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
JP62332635A
Other languages
Japanese (ja)
Inventor
Tsukasa Jinnomon
司 神之門
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP62332635A priority Critical patent/JPH01171191A/en
Publication of JPH01171191A publication Critical patent/JPH01171191A/en
Pending legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To shorten a time necessary for an arithmetic processing by providing a means to send an arithmetic control signal based on a control signal inputted from a control signal input terminal. CONSTITUTION:At the time of executing the arithmetic processing to data stored into a storing means 33, an address signal is sent fan external part through an address signal input terminal 32 to the storing means 33 and a transfer and arithmetic means 35, simultaneously, the control signal is sent through a control signal input terminal 36 to a control means 37, and further, arithmetic data are sent through a data signal input/output terminal 34 to the transfer and arithmetic means 35. The control means 37 sends a transfer and operation control signal to the transfer and arithmetic means 35 based on the control signal, the storing means 33 reads the data stored in an area based on the address signal, and the data are sent to the transfer and arithmetic means 35. Since, in such a way, only by sending the address signal, data signal and control signal to a storage element 31 having an arithmetic function, the arithmetic processing is automatically executed, the time necessary for the arithmetic processing can be widely shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コンピュータ等においてデータを記憶するた
めなどに用いられる演算機能付記憶素子に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory element with an arithmetic function used for storing data in a computer or the like.

〔従来の技術〕[Conventional technology]

従来の記憶素子(RA M −Random Acce
ss Me+w。
Conventional memory element (RAM-Random Access
ss Me+w.

ry)11は、例えば第8図に示すように、アドレス信
号入力端子12よりアドレス信号が供給される記憶手段
13、データ信号入出力端子14に接続される転送手段
15、および制御信号入力端子16から入力される制御
信号に基づいて上記記憶手段13と転送手段15とを制
御する制御手段17が設けられて成っている。
ry) 11 includes, for example, as shown in FIG. 8, a storage means 13 to which an address signal is supplied from an address signal input terminal 12, a transfer means 15 connected to a data signal input/output terminal 14, and a control signal input terminal 16. A control means 17 is provided for controlling the storage means 13 and the transfer means 15 based on control signals inputted from the controller.

上記記憶手段13は、アドレス信号入力端子12から入
力されたアドレス信号に基づく領域に対してデータの書
込み、読出しを行うようになっている。また、転送手段
15は、データ信号入出力端子14と上記記憶手段13
との間でデータの転送を行うようになっている。
The storage means 13 is configured to write and read data into and from an area based on an address signal input from the address signal input terminal 12. Further, the transfer means 15 includes the data signal input/output terminal 14 and the storage means 13.
Data is transferred between the two.

このような記憶素子11は、例えば、データ信号入出力
端子22に接続されるデータレジスタ23、演算部24
、アドレス信号出力端子25に接続されるアドレスレジ
スタ26、および制御信号出力端子27に接続される制
御部28が設けられて成るC P U(Central
 Processing Unit)  21等に接続
されて用いられ、各種のデータ処理が行われる。
Such a storage element 11 includes, for example, a data register 23 connected to a data signal input/output terminal 22 and a calculation unit 24.
, an address register 26 connected to an address signal output terminal 25, and a control section 28 connected to a control signal output terminal 27.
Processing Unit) 21, etc., and is used to perform various data processing.

特に、記憶素子11の記憶手段13に記憶されたデータ
と、CPU21のデータレジスタ23に保持されたデー
タとの論理積や論理和、排他的論理和などの演算処理は
比較的頻繁に行われ、この場合、記憶素子11およびC
PU21では、例えばプログラム処理によって次のよう
な動作が行われる。
In particular, arithmetic processing such as logical product, logical sum, and exclusive logical sum of the data stored in the storage means 13 of the storage element 11 and the data held in the data register 23 of the CPU 21 is performed relatively frequently. In this case, the memory element 11 and C
In the PU 21, the following operations are performed, for example, by program processing.

まず、CPU21のアドレスレジスタ26から記憶素子
11の記憶手段13にアドレス信号が出力されるととも
に、CPU21の制御部28から記憶素子11の制御手
段17に読出し指令信号が出力される。そこで、記憶素
子11の記憶手段13に記憶されたデータが読み出され
、転送手段15を介してCPU21のデータレジスタ2
3に送られる。
First, an address signal is outputted from the address register 26 of the CPU 21 to the storage means 13 of the storage element 11, and a read command signal is outputted from the control section 28 of the CPU 21 to the control means 17 of the storage element 11. Therefore, the data stored in the storage means 13 of the storage element 11 is read out and transferred to the data register 2 of the CPU 21 via the transfer means 15.
Sent to 3.

データレジスタ23に送られたデータは、あらかじめデ
ータレジスタ23に保持されたデータとともに演算部2
4に送られて演算が行われ、演算結果がデータレジスタ
23に戻される。
The data sent to the data register 23 is sent to the calculation unit 2 along with the data held in the data register 23 in advance.
4, the calculation is performed, and the calculation result is returned to the data register 23.

次に、CPU21のアドレスレジスタ26から記憶素子
11の記憶手段13にアドレス信号が出力されるととも
に、今度はCPU21の制御部28から記憶素子11の
制御手段17に書込み指令信号が出力される。そこで、
データレジスタ23の演算結果が記憶素子11の転送手
段15を介して記憶手段13に送られ、書き込まれる。
Next, an address signal is outputted from the address register 26 of the CPU 21 to the storage means 13 of the storage element 11, and a write command signal is outputted from the control section 28 of the CPU 21 to the control means 17 of the storage element 11. Therefore,
The calculation result of the data register 23 is sent to the storage means 13 via the transfer means 15 of the storage element 11 and written therein.

このように、CPU21等の有する演算機能を例えばプ
ログラム処理によって利用することにより、様々な演算
が行われるようになっていた。
In this way, various calculations have been performed by utilizing the calculation functions of the CPU 21 and the like through program processing, for example.

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

ところが、上記従来の記憶素子では、演算処理を行うた
びに、記憶手段13からのデータの読み出し、CPU2
1等による演算、記憶手段13への演算結果の書込みと
いう一連の動作を必要とする。しかも、この種の演算処
理は比較的頻繁に行われるために、総じて演算処理に長
い時間が費やされるという問題点を有していた。
However, in the above-mentioned conventional storage element, each time arithmetic processing is performed, data is read from the storage means 13 and the CPU 2
This requires a series of operations such as calculation using 1st grade, and writing the calculation result to the storage means 13. Furthermore, since this type of arithmetic processing is performed relatively frequently, there has been a problem in that a long time is spent on the arithmetic processing in general.

さらに、記憶手段13からのデータの読出しから演算結
果の書込みまでの間、CPU21等は演算処理にかかり
きりになるため、CPU21等に与える負担が大きいと
いう問題点をも有していた。
Furthermore, since the CPU 21 and the like are solely engaged in arithmetic processing from the time when data is read from the storage means 13 to the time when the calculation result is written, there is a problem in that a large burden is placed on the CPU 21 and the like.

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

本発明に係る演算機能付記憶素子は、上記の問題点を解
決するために、アドレス信号入力端子から入力されたア
ドレス信号に基づく領域に対してデータの書込み、読出
しを行う記憶手段と、アドレス信号と転送・演算制御信
号とに基づいて、上記記憶手段とデータ信号入出力端子
との間でデータの転送を行う一方、データ信号入出力端
子から入力されたデータと、上記記憶手段から読み出さ
れたデータとを演算して、記憶手段に送出する転送・演
算手段と、制御信号入力端子から入力された制御信号に
基づいて、上記転送・演算手段に転送・演算制御信号を
送出する制御手段とが設けられていることを特徴として
いる。
In order to solve the above-mentioned problems, the memory element with an arithmetic function according to the present invention includes a storage means for writing and reading data in an area based on an address signal input from an address signal input terminal, and an address signal input terminal. Data is transferred between the storage means and the data signal input/output terminal based on the data signal input/output terminal and the data read out from the storage means based on the data signal input/output terminal and the data signal input/output terminal. a transfer/calculation means for calculating the data and sending it to the storage means; and a control means for sending a transfer/calculation control signal to the transfer/calculation means based on a control signal input from the control signal input terminal. It is characterized by being provided with.

〔作 用〕[For production]

上記の構成により、記憶手段に記憶されたデータに対し
て演算処理を行うときには、外部からアドレス信号入力
端子を介して記憶手段および転送・演算手段にアドレス
信号を送るとともに、制御信号入力端子を介して制御手
段に制御信号を送り、さらに、データ信号入出力端子を
介して転送・演算手段に演算データを送る。
With the above configuration, when performing arithmetic processing on data stored in the storage means, an address signal is sent from the outside to the storage means and the transfer/calculation means via the address signal input terminal, and an address signal is sent from the outside to the storage means and the transfer/arithmetic means via the control signal input terminal. A control signal is sent to the control means via the data signal input/output terminal, and calculation data is sent to the transfer/calculation means via the data signal input/output terminal.

すると、制御手段は、制御信号に基づいて転送・演算手
段に転送・演算制御信号を送出し、記憶手段は、アドレ
ス信号に基づく領域に記憶されたデータを読み出して転
送・演算手段に送出する。
Then, the control means sends a transfer/calculation control signal to the transfer/calculation means based on the control signal, and the storage means reads out the data stored in the area based on the address signal and sends it to the transfer/calculation means.

そこで、転送・演算手段は、上記記憶手段から送られる
データとデータ信号入出力端子を介して送られたデータ
とに対して、アドレス信号により指定される演算を行う
Therefore, the transfer/calculation means performs the calculation specified by the address signal on the data sent from the storage means and the data sent via the data signal input/output terminal.

演算結果は、転送・演算手段から記憶手段に送られ、ア
ドレス信号に基づく領域に書き込まれて、演算処理が終
了する。
The calculation result is sent from the transfer/calculation means to the storage means and written into the area based on the address signal, and the calculation process is completed.

このように、演算機能付記憶素子にアドレス信号、デー
タ信号、および制御信号を送るだけで、自動的に演算処
理が行われるので、演算処理に要する時間を大幅に短縮
することができる。
In this way, simply by sending address signals, data signals, and control signals to the memory element with arithmetic functions, arithmetic processing is automatically performed, so that the time required for arithmetic processing can be significantly reduced.

しかも、演算機能付記憶素子にアドレス信号やデータ信
号、制御信号を送るCPU等は、これらの信号を一度出
力するだけでよいので、CPU等に与える負担も大幅に
軽減される。
Moreover, the CPU, etc. that sends address signals, data signals, and control signals to the memory element with arithmetic functions only needs to output these signals once, so the burden on the CPU, etc. is greatly reduced.

〔実施例〕〔Example〕

本発明の一実施例を第1図ないし第7図に基づいて説明
すれば、以下の通りである。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 7.

演算機能付記憶素子(RA M −Random Ac
cessMemory) 31は、例えば1ビツトのデ
ータに対して演算・記憶を行う記憶素子の例を第1図に
示すように、アドレス信号入力端子32よりアドレス信
号が供給される記憶手段33、データ信号入出力端子3
4に接続されるとともに、転送・演算を指定するアドレ
ス信号が供給される転送・演算手段35、および制御信
号入力端子36から入力された制御信号に基づいて上記
転送・演算手段35に転送・演算制御信号を送出する制
御手段37が設けられて成っている。
Memory element with arithmetic function (RAM-Random Ac
As shown in FIG. 1, cessMemory 31 is an example of a storage element that performs calculations and storage on 1-bit data. Output terminal 3
Transfer/calculation means 35 is connected to 4 and is supplied with an address signal specifying transfer/calculation, and the transfer/calculation means 35 is connected to the transfer/calculation means 35 based on a control signal inputted from a control signal input terminal 36. A control means 37 for sending a control signal is provided.

上記記憶手段33は、書込みデータライン38および読
出しデータライン39を介して転送・演算手段35に接
続されている。記憶手段33は、アドレス信号入力端子
32から入力されるアドレス信号に基づく領域に、転送
・演算手段35から書込みデータライン38を介して送
られるデータを書き込む一方、書き込まれたデータを読
み出し、読出しデータラインー39を介して転送・演算
手段35に送るようになっている。
The storage means 33 is connected to the transfer/calculation means 35 via a write data line 38 and a read data line 39. The storage means 33 writes the data sent from the transfer/calculation means 35 via the write data line 38 to an area based on the address signal input from the address signal input terminal 32, and reads the written data to the read data line. 39 to the transfer/calculation means 35.

また、転送・演算手段35は、アドレス信号と転送・演
算制御信号とに基づいて、上記記憶手段33とデータ信
号入出力端子34との間でデータの転送を行う一方、デ
ータ信号入出力端子34から入力されたデータと、上記
記憶手段33から読み出されたデータとに対してアドレ
ス信号により指定される演算を行い、演算結果を記憶手
段33に送るようになっている。
Further, the transfer/calculation means 35 transfers data between the storage means 33 and the data signal input/output terminal 34 based on the address signal and the transfer/calculation control signal. An operation specified by an address signal is performed on the data inputted from the storage means 33 and the data read from the storage means 33, and the operation result is sent to the storage means 33.

上記演算機能付記憶素子31は、さらに具体的には、例
えば第2図に示すような回路によって構成することがで
きる。
More specifically, the memory element with arithmetic function 31 can be configured by a circuit as shown in FIG. 2, for example.

即ち、記憶手段33には1ビツトの入力端子と出力端子
とを備えたメモリセルアレイ33aが設けられている。
That is, the storage means 33 is provided with a memory cell array 33a having a 1-bit input terminal and an output terminal.

このメモリセルアレイ33aには、アドレス信号入力端
子32から入力されるアドレス信号A o 〜A iの
うち、A0〜A、lのn+1ビットのアドレス信号が、
アドレスデコーダ33bを介して入力されるようになっ
ている。
Of the address signals A o to A i input from the address signal input terminal 32, n+1 bit address signals of A0 to A, l are input to this memory cell array 33a.
It is designed to be input via an address decoder 33b.

メモリセルアレイ33aの出力端子は、読出しデータラ
イン39を介して転送・演算手段35のスリーステート
バッファ35aの入力端子およびランチ回路35bのデ
ータ端子に1続されている。スリーステートバッファ3
5aの出力端子は、データ信号入出力端子34に接続さ
れている。また、ランチ回路35bの出力端子は、論理
演算を行うAND回路35c、OR回路35d、および
XOR回路35eに接続されている。
An output terminal of the memory cell array 33a is connected via a read data line 39 to an input terminal of a three-state buffer 35a of the transfer/calculation means 35 and a data terminal of a launch circuit 35b. three state buffer 3
The output terminal of 5a is connected to the data signal input/output terminal 34. Further, the output terminal of the launch circuit 35b is connected to an AND circuit 35c, an OR circuit 35d, and an XOR circuit 35e that perform logical operations.

AND回路35c、OR回路35d1およびXOR回路
35eには、さらに、データ信号入出力端子34から入
力されるデータ信号がスリーステートバッファ35gを
介して入力されるようになっている。スリーステートバ
ッフ135gは、また、スリーステートバッファ35f
にも接続されている。
A data signal input from the data signal input/output terminal 34 is further input to the AND circuit 35c, the OR circuit 35d1, and the XOR circuit 35e via the three-state buffer 35g. The three-state buffer 135g is also a three-state buffer 35f.
is also connected.

上記AND回路35c、OR回路35d、XOR回路3
5e、およびスリーステートバッファ35fの出力端子
は、互いに接続されて記憶手段33におけるメモリセル
アレイ33aの入力端子に接続されている。
The above AND circuit 35c, OR circuit 35d, and XOR circuit 3
5e and the output terminals of the three-state buffer 35f are connected to each other and to the input terminal of the memory cell array 33a in the storage means 33.

また、アドレス信号入力端子32から入力されるアドレ
ス信号のうち、論理演算の有無、および種類を指定する
A□1〜A Ro 3の3ビツトのアドレス信号は、そ
れぞれ、AND回路35C,OR回路35d1およびX
OR回路35eのゲート端子に接続される一方、ともに
NOR回路35hに接続されている。NOR回路35h
は、スリーステートバッファ35fのゲート端子に接続
されている。  、 つまり、第3図に示すように、A7+1〜A7.。
Further, among the address signals inputted from the address signal input terminal 32, 3-bit address signals A□1 to ARo3, which specify the presence or absence of logical operation and the type thereof, are sent to an AND circuit 35C and an OR circuit 35d1, respectively. and X
While connected to the gate terminal of the OR circuit 35e, both are connected to the NOR circuit 35h. NOR circuit 35h
is connected to the gate terminal of the three-state buffer 35f. , That is, as shown in FIG. 3, A7+1 to A7. .

の3ビツトのアドレス信号のうち、何れかがハイレベル
になっているときに、そのハイレベルにな。
When any one of the 3-bit address signals is at high level, it becomes high level.

っているビットに対応するAND回路35c、OR回路
35d1およびXOR回路356の何れかがON状態に
なり、論理積、論理和、または排他的論理和の演算が行
われるようになっている。また、A h + I−A 
、、zの3ビツトのアドレス信号が、何れもローレベル
のときには、スリーステートバッフ135fがON状態
になり、スリーステートバッファ35gから送られるデ
ータ信号がそのままメモリセルアレイ33aに送られる
ようになっている。
Any one of the AND circuit 35c, OR circuit 35d1, and XOR circuit 356 corresponding to the bit being turned on is turned on, and an AND, OR, or exclusive OR operation is performed. Also, A h + I-A
. .

一方、制御手段37には、クロック信号(CK)、チッ
プセレクト信号(C8)、およびライトイネーブル(W
E)信号の制御信号が、それぞれ制御信号入力端子36
・・・を介して入力されるようになっている。
On the other hand, the control means 37 receives a clock signal (CK), a chip select signal (C8), and a write enable (W
E) The control signals of the signals are respectively connected to the control signal input terminals 36.
It is designed to be input via...

上記クロック信号は、そのまま転送・演算手段35にお
けるラッチ回路35bのクロック端子に。
The above clock signal is directly sent to the clock terminal of the latch circuit 35b in the transfer/calculation means 35.

入力されるようになっている。チップセレクト信号およ
びライトイネーブル信号は、共に、負論理のNAND回
路37a、およびゲート37bに接続されている。この
ゲート37bは、チップセレクト信号がローレベルで、
かつ、リードライト信号がハイレベルのときにハイレベ
ルの信号を出力するようになっている。
It is now entered. Both the chip select signal and the write enable signal are connected to a negative logic NAND circuit 37a and a gate 37b. This gate 37b is activated when the chip select signal is at a low level.
Moreover, when the read/write signal is at a high level, a high level signal is output.

負論理のNAND回路37a、およびゲート37bの出
力によって転送・演算制御信号が構成され、それぞれ、
転送・演算手段35におけるスリーステートバッファ3
5g1およびスリーステートバッファ35aのゲート端
子に入力されるようになっている。
The outputs of the negative logic NAND circuit 37a and the gate 37b constitute a transfer/calculation control signal, and each
Three-state buffer 3 in transfer/calculation means 35
5g1 and the gate terminal of the three-state buffer 35a.

上記のような演算機能付記憶素子31は、例えば第4図
に示すように、m個設けられてmビット演算機能付記憶
装置51を構成し、CP U (Central Pr
ocessing Unit)  41に接続されて各
種のデータ処理が行われる。
For example, as shown in FIG. 4, m memory elements 31 with arithmetic functions as described above are provided to constitute an m-bit memory device 51 with arithmetic functions, and a CPU (Central Pr
processing unit) 41 to perform various data processing.

即ち、D、−D、のmビットのデータは、それぞれ1ビ
ツトずつ演算機能付記憶素子31・・・に記憶されるよ
うに構成されている。
That is, the m-bit data of D, -D, is configured to be stored one bit at a time in the storage element with arithmetic function 31, . . . .

上記cpυ41は、データ信号入出力端子42に接続さ
れるデータレジスタ43、データレジスタ43に接続さ
れてデータの演算等を行う演算部44、アドレス信号出
力端子45に接続されるアドレスレジスタ46、および
制御信号出力端子47に接続されるとともに、上記デー
タレジスタ43、演算部44、およびアドレスレジスタ
46等の制御を行う制御部48が設けられて成っている
The cpυ 41 includes a data register 43 connected to the data signal input/output terminal 42, an arithmetic unit 44 connected to the data register 43 to perform data calculations, an address register 46 connected to the address signal output terminal 45, and a control unit 44 connected to the data signal input/output terminal 42. A control section 48 is provided which is connected to the signal output terminal 47 and controls the data register 43, arithmetic section 44, address register 46, and the like.

上記の構成において、CPU41のデータレジスタ43
に保持されるデータを演算機能付記憶素子31の記憶手
段33に書き込むときには、次のような動作が行われる
In the above configuration, the data register 43 of the CPU 41
When writing data held in the memory device 33 of the memory element 31 with arithmetic function, the following operation is performed.

まず、第5図に示すように、CPU41のアドレスレジ
スタ46から演算機能付記憶素子31にアドレス信号A
 o ”” A iが出力される。このとき、3ビツト
のアドレス信号A 、l+1 ””A□、は何れもロー
レベルになっており、そこでスリーステートバッファ3
5fがON状態になる。
First, as shown in FIG.
o ”” A i is output. At this time, the 3-bit address signals A, l+1 ""A□, are all at low level, and the three-state buffer 3
5f becomes ON state.

また、CPU41の制御部48からは、演算機能付記憶
素子31の制御手段37に書込み指令信号が出力される
。つまり、チップセレクト信号がローレベルになり、引
き続いてライトイネーブル信号がローレベルになる。
Further, the control section 48 of the CPU 41 outputs a write command signal to the control means 37 of the memory element 31 with arithmetic function. That is, the chip select signal becomes low level, and subsequently the write enable signal becomes low level.

そこで、スリーステートバッファ35gがON状態にな
るので、CPU41のデータレジスタ43から送られる
データ信号は、転送・演算手段35のスリーステートバ
ッファ35g・35fおよび書込みデータライン38を
介して記憶手段33のメモリセルアレイ33aに送られ
、アドレス信号A0〜A、、に基づく領域に書き込まれ
る。
Therefore, since the three-state buffer 35g is turned on, the data signal sent from the data register 43 of the CPU 41 is transmitted to the memory of the storage means 33 via the three-state buffers 35g and 35f of the transfer/calculation means 35 and the write data line 38. The signal is sent to the cell array 33a and written into the area based on the address signals A0-A, .

一方、演算機能付記憶素子31の記憶手段33に書き込
まれたデータを読み出してCPU41のデータレジスタ
43に送るときには、次のような動作が行われる。
On the other hand, when data written in the storage means 33 of the storage element with arithmetic function 31 is read out and sent to the data register 43 of the CPU 41, the following operation is performed.

まず、上記書込み動作の場合と同様に、第6図に示すよ
うに、CPU41のアドレスレジスタ46から演算機能
付記憶素子31にアドレス信号A6〜A、が出力される
。また、CPU41の制御部48からは、演算機能付記
憶素子31の制御手段37に読出し指令信号が出力され
る。つまり、チツブセレクト信号はローレベルになるが
、ライトイネーブル信号はハイレベルになったままにな
る。
First, as in the case of the write operation described above, as shown in FIG. 6, address signals A6 to A are output from the address register 46 of the CPU 41 to the memory element with arithmetic function 31. Further, the control section 48 of the CPU 41 outputs a read command signal to the control means 37 of the memory element 31 with arithmetic function. In other words, the chip select signal becomes low level, but the write enable signal remains high level.

そこで、スリーステートバッファ35aがON状態にな
るので、記憶手段33のメモリセルアレイ33aにおけ
るアドレス信号A0〜A、1に基づく領域に書き込まれ
ているデータが、読出しデータライン39およびスリー
ステートバッファ35aを介してCPU41のデータレ
ジスタ43に送られる。
Therefore, since the three-state buffer 35a is turned on, the data written in the area based on the address signals A0 to A, 1 in the memory cell array 33a of the storage means 33 is transferred via the read data line 39 and the three-state buffer 35a. The data is sent to the data register 43 of the CPU 41.

また、演算機能付記憶素子31の記憶手段33に記憶さ
れたデータと、CPU41のデータレジスタ43に保持
されたデータとの論理積や論理和、排他的論理和などの
演算処理を行うときには、演算機能付記憶素子31およ
びCPU41では次のような動作が行われる。
In addition, when performing arithmetic processing such as logical product, logical sum, and exclusive logical sum between the data stored in the storage means 33 of the storage element 31 and the data held in the data register 43 of the CPU 41, The functional memory element 31 and the CPU 41 perform the following operations.

まず、第7図に示すように、CPU41のアドレスレジ
スタ46から演算機能付記憶素子31の記憶手段33に
アドレス信号A0〜Atが出力される。このとき、3ビ
ツトのアドレス信号A n+ 1〜A□、のうちの何れ
か1ビツトだけがハイレベルになっており、これに応じ
てAND回路35C1OR回路35d1またはXOR回
路35eの何れかがON状態になる。
First, as shown in FIG. 7, address signals A0 to At are output from the address register 46 of the CPU 41 to the storage means 33 of the storage element 31 with arithmetic function. At this time, only one bit of the 3-bit address signals A n+ 1 to A□ is at a high level, and accordingly, either the AND circuit 35C1, the OR circuit 35d1 or the XOR circuit 35e is in the ON state. become.

また、CPU41の制御部48からは、演算機能付記憶
素子31の制御手段37に演算指令信号が出力される。
Further, the control unit 48 of the CPU 41 outputs a calculation command signal to the control means 37 of the storage element 31 with calculation function.

つまり、チップセレクト信号がローレベルになり、引き
続いてクロック信号がローレベルになった後に、ライト
イネーブル信号がローレベルになる。
That is, after the chip select signal becomes low level and the clock signal subsequently becomes low level, the write enable signal becomes low level.

そして、クロック信号がローレベルになったときに、メ
モリセルアレイ33aのアドレス信号A。
Then, when the clock signal becomes low level, the address signal A of the memory cell array 33a.

〜A、に基づく領域に記憶され、読出しデータライン3
9を介して出力されたデータがラッチ回路35bにラッ
チされて、AND回路35C,OR回路35d、および
XOR回路35eに送られる。また、ライトイネーブル
信号がローレベルになると、スリーステートバッファ3
5gがON状態になり、CPU41のデータレジスタ4
3から送られるデータ信号も、AND回路35c、OR
回路35d、およびXOR回路35eに送られる。
~A, and read data line 3
9 is latched by the latch circuit 35b, and sent to the AND circuit 35C, the OR circuit 35d, and the XOR circuit 35e. Also, when the write enable signal goes low level, the three-state buffer 3
5g becomes ON state, data register 4 of CPU 41
The data signal sent from 3 is also connected to AND circuit 35c and OR circuit 35c.
The signal is sent to a circuit 35d and an XOR circuit 35e.

ソコテ、AND回路35c、OR回路35d1およびX
OR回路35eのうち、ON状態になっている回路の出
力が書込みデータライン38を介して記憶手段33のメ
モリセルアレイ33aに送られ、アドレス信号A0〜A
、1に基づく領域に再び書き込まれて、演算処理が終了
する。
Sokote, AND circuit 35c, OR circuit 35d1 and X
Among the OR circuits 35e, the output of the circuit that is in the ON state is sent to the memory cell array 33a of the storage means 33 via the write data line 38, and the address signals A0 to A are sent to the memory cell array 33a of the storage means 33.
, 1 is written again, and the arithmetic processing ends.

これにより、例えば、演算機能付記憶素子31の記憶手
段33におけるアドレスrob(16進数)」番地に書
き込まれているデータr5A (16進数)」と、CP
U41のデータレジスタ43に保持されているデータr
69(16進数)」との各ビットごとの論理積を演算す
る場合には、CPU41のアドレスレジスタ46、デー
タレジスタ43、および制御部48から、それぞれ、ア
ドレス信号r100(16進数)」と、演算データ信号
r69(16進数)」と、クロック信号、チップセレク
ト信号、およびライトイネーブル信号の制御信号とを出
力するだけで、演算機能付記憶素子31の記憶手段33
におけるrob(16番地)」に48(16進数)が書
き込まれる。
As a result, for example, the data r5A (hexadecimal) written at the address ``rob (hexadecimal)'' in the storage means 33 of the storage element 31 with arithmetic function, and the CP
Data r held in data register 43 of U41
69 (hexadecimal number)", the address signal r100 (hexadecimal number)" is calculated from the address register 46, data register 43, and control unit 48 of the CPU 41, respectively. By simply outputting the data signal r69 (hexadecimal number) and control signals such as a clock signal, a chip select signal, and a write enable signal,
48 (hexadecimal number) is written to "rob (address 16)" at "rob (address 16)".

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

本発明に係る演算機能付記憶素子は、以上のように、ア
ドレス信号入力端子から入力されたアドレス信号に基づ
く領域に対してデータの書込み、続出しを行う記憶手段
と、アドレス信号と転送・演算制御信号とに基づいて、
上記記憶手段とデータ信号入出力端子との間でデータの
転送を行う一方、データ信号入出力端子から入力された
データと、上記記憶手段から読み出されたデータとを演
算して、記憶手段に送出する転送・演算手段と、制御信
号入力端子から入力された制御信号に基づいて、上記転
送・演算手段に転送・演算制御信号を送出する制御手段
とが設けられた構成である。
As described above, the memory element with an arithmetic function according to the present invention includes a storage means for writing and successively outputting data in an area based on an address signal input from an address signal input terminal, and an address signal and a transfer/operation. Based on the control signal and
While transferring data between the storage means and the data signal input/output terminal, the data input from the data signal input/output terminal and the data read from the storage means are calculated and transferred to the storage means. The configuration is provided with a transfer/calculation means for sending out a signal, and a control means for sending a transfer/calculation control signal to the transfer/calculation means based on a control signal input from a control signal input terminal.

これにより、演算機能付記憶素子にアドレス信号、デー
タ信号、および制御信号を送るだけで、自動的に演算処
理が行われるので、演算処理に要する時間を大幅に短縮
することができる。
As a result, arithmetic processing is automatically performed simply by sending an address signal, a data signal, and a control signal to the memory element with arithmetic functions, so that the time required for arithmetic processing can be significantly shortened.

しかも、演算機能付記憶素子にアドレス信号やデータ信
号、制御信号を送るCPU等は、これらの信号を一度出
力するだけでよいので、CPU等に与える負担も大幅に
軽減されるという効果を奏する。
Moreover, since the CPU, etc. that sends address signals, data signals, and control signals to the memory element with arithmetic function only needs to output these signals once, there is an effect that the burden on the CPU, etc. is significantly reduced.

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

第1図ないし第7図は本発明の一実施例を示すものであ
って、第1図は演算機能付記憶素子の構成を示すブロッ
ク図、第2図は演算機能付記憶素子の具体的な回路例を
示す回路図、第3図はアドレス信号の構成を示す説明図
、第4図はm個の演算機能付記憶素子から成るmビット
演算機能付記憶装置をCPUに接続して用いた例を示す
ブロック図、第5図は演算機能付記憶素子にデータを書
き込むときの各部の動作を示すタイミングチャート、第
6図は演算機能付記憶素子からデータを読み出すときの
各部の動作を示すタイミングチャート、第7図は演算処
理を行うときの各部の動作を示すタイミングチャートで
ある。 第8図は従来例を示すものであって、従来の記憶素子の
構成および従来の記憶素子をCPUに接続して用いた例
を示すブロック図である。 31は演算機能付記憶素子、32はアドレス信号入力端
子、33は記憶手段、34はデータ信号入出力端子、3
5は転送・演算手段、36は制御信号入力端子、37は
制御手段である。 第5図 薄「 第6図 17図 E
1 to 7 show an embodiment of the present invention, in which FIG. 1 is a block diagram showing the configuration of a memory element with an arithmetic function, and FIG. 2 shows a specific example of the memory element with an arithmetic function. A circuit diagram showing a circuit example, FIG. 3 is an explanatory diagram showing the structure of an address signal, and FIG. 4 is an example in which an m-bit arithmetic function storage device consisting of m arithmetic function storage elements is connected to a CPU. 5 is a timing chart showing the operation of each part when writing data to a memory element with an arithmetic function, and FIG. 6 is a timing chart showing the operation of each part when reading data from a memory element with an arithmetic function. , FIG. 7 is a timing chart showing the operation of each part when performing arithmetic processing. FIG. 8 shows a conventional example, and is a block diagram showing the configuration of a conventional memory element and an example in which the conventional memory element is connected to a CPU. 31 is a storage element with an arithmetic function, 32 is an address signal input terminal, 33 is a storage means, 34 is a data signal input/output terminal, 3
5 is a transfer/calculation means, 36 is a control signal input terminal, and 37 is a control means. Figure 5 Thin Figure 6 Figure 17 E

Claims (1)

【特許請求の範囲】 1、アドレス信号入力端子から入力されたアドレス信号
に基づく領域に対してデータの書込み、読出しを行う記
憶手段と、 アドレス信号と転送・演算制御信号とに基づいて、上記
記憶手段とデータ信号入出力端子との間でデータの転送
を行う一方、データ信号入出力端子から入力されたデー
タと、上記記憶手段から読み出されたデータとを演算し
て、記憶手段に送出する転送・演算手段と、 制御信号入力端子から入力された制御信号に基づいて、
上記転送・演算手段に転送・演算制御信号を送出する制
御手段とが設けられていることを特徴とする演算機能付
記憶素子。
[Claims] 1. Storage means for writing and reading data in an area based on an address signal input from an address signal input terminal; While transferring data between the means and the data signal input/output terminal, the data input from the data signal input/output terminal and the data read from the storage means are calculated and sent to the storage means. Based on the control signal input from the transfer/calculation means and the control signal input terminal,
A memory element with an arithmetic function, characterized in that the above-mentioned transfer/arithmetic means is provided with a control means for sending out a transfer/arithmetic control signal.
JP62332635A 1987-12-25 1987-12-25 Storage element with arithmetic function Pending JPH01171191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62332635A JPH01171191A (en) 1987-12-25 1987-12-25 Storage element with arithmetic function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62332635A JPH01171191A (en) 1987-12-25 1987-12-25 Storage element with arithmetic function

Publications (1)

Publication Number Publication Date
JPH01171191A true JPH01171191A (en) 1989-07-06

Family

ID=18257158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62332635A Pending JPH01171191A (en) 1987-12-25 1987-12-25 Storage element with arithmetic function

Country Status (1)

Country Link
JP (1) JPH01171191A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6873234B2 (en) 1998-02-06 2005-03-29 Tsuneo Kyouno Electromagnetic actuator mounting structure
US7861043B2 (en) 2005-09-09 2010-12-28 Fujitsu Semiconductor Limited Semiconductor memory device, semiconductor integrated circuit system using the same, and control method of semiconductor memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6873234B2 (en) 1998-02-06 2005-03-29 Tsuneo Kyouno Electromagnetic actuator mounting structure
US7861043B2 (en) 2005-09-09 2010-12-28 Fujitsu Semiconductor Limited Semiconductor memory device, semiconductor integrated circuit system using the same, and control method of semiconductor memory device

Similar Documents

Publication Publication Date Title
US4514808A (en) Data transfer system for a data processing system provided with direct memory access units
JPH0612863A (en) Dual port dram
JPS61156358A (en) Bus converter
JPS5960658A (en) Semiconductor storage device provided with logical function
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
JPS5925254B2 (en) Digital data processing equipment
EP0315194A2 (en) Microcomputer capable of accessing continuous addresses for a short time
JPH0146946B2 (en)
JPH01171191A (en) Storage element with arithmetic function
JPH0353363A (en) Bus architecture converting circuit
JPS60554A (en) Memory control device
JPH0581923B2 (en)
JPS61235969A (en) Memory device
JPS6233603B2 (en)
JP2969825B2 (en) Dual port memory
JPH0535472A (en) Microcomputer
JPS5971510A (en) Sequence control circuit
JP2760742B2 (en) Data bus connection device with different number of bits
JP2884620B2 (en) Digital image processing device
JPS61112270A (en) Byte converter
JPH05334234A (en) High speed dma transferring device
JPS61292739A (en) Memory device
JPH10105457A (en) Memory control system and memory control circuitt
JPH0241058B2 (en)
JPH0545978B2 (en)