JPS61264453A - Storage circuit - Google Patents

Storage circuit

Info

Publication number
JPS61264453A
JPS61264453A JP60105850A JP10585085A JPS61264453A JP S61264453 A JPS61264453 A JP S61264453A JP 60105850 A JP60105850 A JP 60105850A JP 10585085 A JP10585085 A JP 10585085A JP S61264453 A JPS61264453 A JP S61264453A
Authority
JP
Japan
Prior art keywords
data
memory
operation mode
memory circuit
arithmetic
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
JP60105850A
Other languages
Japanese (ja)
Inventor
Toshihiko Ogura
敏彦 小倉
Teiji Kuwabara
禎司 桑原
Hiroaki Aotsu
青津 広明
Koichi Kimura
光一 木村
Mitsuru Ikegami
池上 充
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60105850A priority Critical patent/JPS61264453A/en
Priority to KR1019850007172A priority patent/KR910000365B1/en
Priority to CN85107929A priority patent/CN1006586B/en
Priority to EP19920112252 priority patent/EP0513851A3/en
Publication of JPS61264453A publication Critical patent/JPS61264453A/en
Priority to US07/240,380 priority patent/US4868781A/en
Priority to US07/349,403 priority patent/US5175838A/en
Priority to US07/542,028 priority patent/USRE33922E/en
Priority to US07/855,843 priority patent/US5450342A/en
Priority to US08/279,843 priority patent/US5592649A/en
Priority to US08/294,407 priority patent/US5448519A/en
Priority to US08/294,404 priority patent/US5475636A/en
Priority to US08/294,406 priority patent/US5838337A/en
Priority to US08/294,403 priority patent/US5424981A/en
Priority to US08/294,405 priority patent/US5767864A/en
Priority to US08/408,283 priority patent/US5477486A/en
Priority to US08/435,959 priority patent/US5493528A/en
Priority to US08/435,962 priority patent/US5499222A/en
Priority to US08/458,480 priority patent/US5523973A/en
Priority to US08/582,906 priority patent/US5615155A/en
Priority to US08/588,232 priority patent/US5617360A/en
Priority to US08/694,599 priority patent/US5719809A/en
Priority to US08/853,713 priority patent/US5781479A/en
Priority to US09/750,040 priority patent/US6359812B2/en
Priority to US10/059,328 priority patent/US6643189B2/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To synthesize a multi-value picture data at high speed by providing an arithmetic function to a storage circuit and carrying out the read-out and arithmetic in the storage circuit with a single access. CONSTITUTION:The read data DO and the external data DI undergo the arithmetic through a control circuit 1 with indications of the external control signals CNT and Cr. While the write data Z of the arithmetic result is written to a storage element 2. When both signals CNT and Cr are equal to 0, such a mode is set that the data DI serves as a control signal which decides whether the data DO of the element 2 is transmitted as it is or inverted. While a mode where the data DI is transmitted as it is is secured when the signals CNT and Cr are equal to 0 and 1 respectively. When the signal CNT is equal to 1, the data DO, the data DI and the signal Cr are added together.

Description

【発明の詳細な説明】 本発明は、記憶素子に係り、特に高速多値画像データの
処理用画像メモリに好適な記憶回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a storage element, and more particularly to a storage circuit suitable for an image memory for processing high-speed multivalued image data.

〔発明の背景〕[Background of the invention]

第2図,第3図に示す様な画像処理を例に取り、従来技
術を説明する。
The prior art will be explained by taking image processing as shown in FIGS. 2 and 3 as an example.

第2図において、Mlは元の多値画像データが格納され
たメモリエリア、M2は合成する多値画像データが格納
されているメモリエリア,M1′は演算後の多値画像デ
ータ格納エリアである。
In FIG. 2, Ml is the memory area where the original multi-value image data is stored, M2 is the memory area where the multi-value image data to be synthesized is stored, and M1' is the multi-value image data storage area after calculation. .

また、第3図において81はメモリエリアM1からデー
タをFi,eadする処理ステ,プ,82はメモリエリ
アM2からデータを3eadする処理ステ,プ,85は
ReadシたメモリエリアM1とメモリエリアM2のデ
ータを合成する処理ステップ, 84はS6で得られた
合成データをメモリエリアM1へWriteする処理ス
テ,プである。
Further, in FIG. 3, 81 is a processing step for reading data from memory area M1, 82 is a processing step for reading data from memory area M2, and 85 is a processing step for reading data from memory area M1 and memory area M2. A processing step 84 is a processing step for writing the combined data obtained in S6 to the memory area M1.

第2図に示した多値画像データ処理は、通常の合成であ
るため、演算として加算をすることになる。この結果、
重なっている部分は、データの値が大きくなりクロスハ
ツチで示すように濃くなる。一般に、メモリエリアのデ
ータ量は数百Kから数十Mバイトと大容量であり、演算
処理装置で扱うデータ単位は、8ビ,トから52ビツト
の範囲にあるものが殆んどである。この結果、データ処
理のステップは、第5図に示す様に81から84のデー
タ処理の繰返し回数は52ビツトを1@算単位としても
10〜10 のオーダーとなる。このように繰返し回数
が多いため、画像データ処理時間の大部分は、第S図に
示すループ内の処理時間となる。この結果、画像データ
処理は、データ演算処理よりもメモリアクセスに多くの
時間を使うことになる。(Slから84の4ステツプ中
、Sl,Sl,S4の3ステ,グがメモリアクセスであ
る)。以上のように、画像データ処理等のような大容量
メモリアクセスを必要とする処理では、演算処理装置の
演算スピードの向上を図ってもメモリアクセスの時間で
処理時間が規定され、演算処理装置の実効演算スピード
が向上しないという欠点がある。
Since the multivalued image data processing shown in FIG. 2 is a normal combination, addition is performed as an operation. As a result,
In the overlapping area, the data value increases and becomes darker as shown by the crosshatch. Generally, the amount of data in a memory area is large, ranging from several hundred kilobytes to several tens of megabytes, and most data units handled by an arithmetic processing unit range from 8 bits to 52 bits. As a result, as shown in FIG. 5, the number of repetitions of the data processing steps 81 to 84 is on the order of 10 to 10, assuming 52 bits as 1 arithmetic unit. Since the number of repetitions is large as described above, most of the image data processing time is the processing time in the loop shown in FIG. As a result, image data processing uses more time for memory access than for data calculation processing. (Out of the four steps from Sl to 84, three steps, Sl, Sl, S4, are memory accesses). As described above, in processes that require large-capacity memory access, such as image data processing, even if the processing speed of the processing unit is improved, the processing time is determined by the memory access time, and the processing time of the processing unit is limited. The disadvantage is that the effective calculation speed does not improve.

なお、この種の処理を行う記憶回路として、例えば、特
開昭55−129387号公報に示される。
Note that a memory circuit that performs this type of processing is disclosed in, for example, Japanese Patent Laid-Open No. 129387/1983.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記欠点に対処するため多値画像デー
タの画像処理及び多倍長演算処理等を高速に実行する記
憶回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a storage circuit that can perform image processing of multivalued image data, multi-length arithmetic processing, etc. at high speed in order to overcome the above-mentioned drawbacks.

〔発明の概要〕[Summary of the invention]

本発明は、例えば前述の多値画像データの合成処理(画
像データ間の加算処理)の高速化を図るために、下記の
5つの機能を合せ持つ記憶回路である。
The present invention is a storage circuit having the following five functions, for example, in order to speed up the above-mentioned multivalued image data synthesis process (addition process between image data).

(1)外部データの記憶素子への書込み処理機能。(1) A function for writing external data to a storage element.

(2)記憶素子に既に記憶されているデータと外部デー
タの論理演算の実行及び演算結果の記憶素子への書き込
み処理機能。
(2) A function for executing logical operations on data already stored in the storage element and external data and writing the operation results to the storage element.

(3)記憶素子に既に記憶されているデータと外部デー
タの算術演算の実行及び演算結果の記憶素子への書き込
み処理機能。
(3) Processing function of executing arithmetic operations on data already stored in the storage element and external data and writing the operation results to the storage element.

これらの3つの機能を持つ記憶回路を、次の点に着眼し
て実現している。
A memory circuit with these three functions was realized by focusing on the following points.

前述した多値画像データ合成処理以外の多くの演算処理
に2いても、演算として要求されるものは、2項演算で
あり、なおかつ2オペランド演算である。すなわち、 D−DopS(OPは演算子) の形式の演算が多く、 D 4−81 op 8.op−・−・−op3nのよ
5な多項演算、多オペランド演算は使用頻度が低い。こ
の2項かつ2オペランド演算を演算処理装置(CPU)
のデータと記憶素子のデータの間で行う場合、演算結果
の格納先がCPUのレジスタであれば(前記のDがレジ
スタで、Sが記憶素子)1回の記憶素子のアクセスで済
むが、逆の場合(前記りが記憶素子で、Sがレジスタ)
では、2回のアクセスとなる。多値画像データ処理を始
め、多くのデータ処理では、CPUのレジスタの数より
も多くのデータを取扱うた゛め、後者のDを記憶素子と
した演算が多用され、さらに2つのオペランド両方が記
憶素子となる場合が多い。前記Sのアクセスは、データ
を読み込むために必須であるが、Dを読み出し、書き込
みで2回アクセスすることは、同一の記憶素子を1つの
演算のために2回アクセスすることになる。
In many arithmetic processes other than the above-mentioned multilevel image data synthesis process, what is required is a binary arithmetic operation and a two-operand arithmetic operation. That is, there are many operations in the form of D-DopS (OP is an operator), D 4-81 op 8. Polynomial operations and multi-operand operations such as op----op3n are rarely used. A processing unit (CPU) performs this two-term and two-operand operation.
When performing the operation between data in a memory element and data in a memory element, if the storage destination of the operation result is a register of the CPU (D is a register and S is a memory element), accessing the memory element is sufficient, but vice versa. In the case of (the above is a memory element and S is a register)
So, it will be accessed twice. In many data processes, including multilevel image data processing, the latter operation using D as a storage element is often used because more data is handled than the number of registers in the CPU, and furthermore, both operands are used as storage elements. This is often the case. Accessing S is essential for reading data, but accessing D twice for reading and writing means accessing the same storage element twice for one operation.

即ち、DRAM(Dynarnic Random A
ccessMemory)で用いられているRead 
Modify Writeを使い、演算機能を記憶回路
に持たせ、記憶回路内部で読み出しと演算を実行して、
同一の記憶素子を1つの演算のために1回のアクセスで
すむようにする。
That is, DRAM (Dynamic Random A
Read used in accessMemory)
Using Modify Write, arithmetic functions are added to the memory circuit, and reading and arithmetic are executed within the memory circuit.
To allow one access to the same storage element for one operation.

即ち、データの読み出し、書ぎ込み及び保存が任意に行
なえる記憶素子において、外部からの第1のデータと記
憶素子内の第2のデータから第1のデータを記憶素子に
記憶する通常書き込みモードと第1のデータと第2のデ
ータの論理演算結果のデータを記憶素子に記憶する論理
演算モードと、第1のデータと第2のデータの算術演算
結果のデータを記憶素子に記憶する算術演算モードを取
り得る制御回路を設けたことを特徴とする。
That is, in a memory element in which data can be read, written, and saved as desired, a normal write mode is used in which first data is stored in the memory element from first data from the outside and second data within the memory element. and a logical operation mode in which data as a result of a logical operation of the first data and second data is stored in a storage element, and an arithmetic operation mode in which data as a result of an arithmetic operation in the first data and second data is stored in a storage element. It is characterized by the provision of a control circuit that can take different modes.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面を用いて詳細に説明する
Hereinafter, one embodiment of the present invention will be described in detail using the drawings.

まず、本発明の詳細な説明する。$4図に、Read 
Modify Write (n場合ツメモリサイクル
ツタイミングチヤードの一例を示す。第4図において、
入DRはCPUからのアドレス、WRはCPUからのラ
イドリクエスト信号、RASは行アドレスストローブ、
CA8は列アドレスストローブ。
First, the present invention will be explained in detail. In Figure $4, Read
Modify Write (An example of a memory cycle modification chart is shown in FIG.
Input DR is the address from the CPU, WR is the ride request signal from the CPU, RAS is the row address strobe,
CA8 is a column address strobe.

Aは行及び列の時分割アドレス信号、WEはライトイネ
ーフ゛ル、DOはDRAMのリードデータ。
A is a time division address signal for rows and columns, WE is a write enable, and DO is DRAM read data.

ZはDOとCPUからのデータを演算した結果データで
ある。第4図の■で示した区間はメモリのセットアツプ
区間であり、■が演算(Mod i f y )区間、
■がライト区間である。通常のメモリライトでは■の区
間が無くなり、1メモリサイクyは短くなるが、半分よ
りは多いため、ReadとWriteノ2回ノアクセス
より、Read Modi fy Wri teの1回
のアクセスの方が時間が短くなり、処理の高速化が図れ
る。本発明による第5図と対応する処理を示す70−チ
ヤトは第5図に示すようになる。
Z is data resulting from calculation of data from DO and CPU. The section indicated by ■ in FIG. 4 is the memory setup section, and ■ is the calculation (Modif y) section;
■ is the light section. In a normal memory write, the section ``■'' is eliminated, and one memory cycle y becomes shorter, but it is still more than half the time, so one Read Modify Write access takes more time than two Read and Write accesses. is shortened, and processing speed can be increased. 70-chat showing the process corresponding to FIG. 5 according to the present invention is shown in FIG.

次に、本発明の一実施例を説明する。Next, one embodiment of the present invention will be described.

第1図は本実施例の記憶回路である。第1図において、
1は制御回路、2は記憶素子、3はDRAMニア ン)
 a −ラ、CNT 、Crは外部制御信号、DIは外
部からのデータ、Zは記憶素子へのライトデータ、DO
は記憶素子からのリードデータ、P、Gは演算結果状態
イg号、A 、WE 、 CAB。
FIG. 1 shows the memory circuit of this embodiment. In Figure 1,
1 is a control circuit, 2 is a memory element, and 3 is a DRAM driver)
a-RA, CNT, Cr are external control signals, DI is external data, Z is write data to the storage element, DO
is read data from the storage element, P and G are operation result states, A, WE, CAB.

RAS、ADR,WRは第4図と同様の信号である。RAS, ADR, and WR are the same signals as in FIG. 4.

第4図に示すように、本実施例では、リードデータ美と
外部データDIを外部制御信号CNT。
As shown in FIG. 4, in this embodiment, the read data signal and external data DI are connected to an external control signal CNT.

Crによる指示で制御回路1で演算し、演算結果のライ
トデータ2を記憶素子2に書き込む。制御回路1の制御
動作モードを第6図に示す。外部制御信号CNT及びC
rが0の時は、外部データDIが記憶素子2のリードデ
ータDoをそのまま通すか、反転するかの制御信号とな
るモードであり、外部制御信号CNTが0でCrが1の
時は、外部データDIをそのまま通すモードであり、外
部制御信号CNTが1の時は、リードデータDOと外部
データDIと外部制御信号Crの算術加算をするモード
となる。
The control circuit 1 performs calculations according to instructions from Cr, and writes write data 2 as a result of the calculations to the storage element 2. The control operation mode of the control circuit 1 is shown in FIG. External control signals CNT and C
When r is 0, the external data DI is the control signal for whether to pass the read data Do of the storage element 2 as is or to invert it. When the external control signal CNT is 0 and Cr is 1, the external data DI is This is a mode in which the data DI is passed through as is, and when the external control signal CNT is 1, it is a mode in which the read data DO, external data DI, and external control signal Cr are arithmetic added.

上記制御動作モードを実現した具体的な回路例を第7図
に示す。第7因において、G1.G2のENORゲート
により、算術加算を実現し、G6゜G7.oaのゲート
で外部制御信号CNTが0かつCrが1の条件を検出し
、G5 、G4.G5のゲートで構成するセレクタでE
NORゲートG2の出力か外部データDIの選択をする
。G9 ハCarry Look ahead(D G
enerate信号Gを生成するNANDゲート、G1
0は同じ(Carry Lookahead cr) 
Propagate信号Pを生成するANDゲートであ
る。制御回路1の出力信号Z 、P 、Gの論理式は第
7図に示すようになり、Carry Lookahea
d信号P、Gは、外部制御信号CNでが0の時一定の値
(P=O。
A specific example of a circuit realizing the above control operation mode is shown in FIG. In the seventh cause, G1. Arithmetic addition is realized by the ENOR gate of G2, and G6°G7. The condition that the external control signal CNT is 0 and Cr is 1 is detected at the gate of oa, and the gates of G5, G4 . E with the selector consisting of the gate of G5
Selects the output of NOR gate G2 or external data DI. G9 Carry Look ahead (D G
NAND gate that generates the generate signal G, G1
0 is the same (Carry Lookahead cr)
This is an AND gate that generates a propagate signal P. The logical expressions of the output signals Z, P, and G of the control circuit 1 are shown in FIG.
The d signals P and G have constant values when the external control signal CN is 0 (P=O).

G=1)を取る。Take G=1).

第8図は本実施例の記憶回路を4回路用いた4ビツト演
算メモリの構成である。第8図で&気説明を簡単にする
ため、算術演算モードを主体とした部分のみ示しである
。11.12,13.i4は第1@に示した記憶回路、
G11から028は桁上げ処理を行うたメ+7) Ca
rry Lookahead回路を構成しているゲート
、Fは演算後の桁上げ結果を格納するレジスタである。
FIG. 8 shows the configuration of a 4-bit operation memory using four memory circuits of this embodiment. In FIG. 8, in order to simplify the explanation, only the part mainly in the arithmetic operation mode is shown. 11.12,13. i4 is the memory circuit shown in the first @,
G11 to 028 perform carry processing +7) Ca
The gate F constituting the rry Lookahead circuit is a register that stores the carry result after the operation.

記憶回路11は最下位ビット、記憶回路14は最上位と
、トに対応している。レジスタFは繁雑さを防ぐため図
では省略しているが、外部から、0及び1にセットする
回路が付加しである。桁上げ結果すなわちグー)G29
の出力論理式は、 G、+GS ・P、+G、 −P3−P4+G、 −P
、 −P3−P、−)−Cr−PleP、・P、・P4
と表わされ、外部制御信号CNTが0の時、Pi =1
 、 Gi =0 (ただしiは1から4までの整数)
となるので、上記論理式は、C「だけとなり、レジスタ
Fの値はライト動作で変化しない。途中桁上げ信号Cr
2.Cr、 、Cr、も同様にCrと同じ値となるため
、外部制御信号CNTが00時の5つの動作状態はライ
ト動作で変化しない。外部制御信号CNTの値が1の時
は、記憶回路11,12,13.14の桁上げ制御信号
p、 、pt、p、。
The memory circuit 11 corresponds to the least significant bit, and the memory circuit 14 corresponds to the most significant bit. Although register F is omitted in the figure to avoid complexity, a circuit for setting it to 0 and 1 from the outside is added. Carry result (goo) G29
The output logical formula is G, +GS ・P, +G, -P3-P4+G, -P
, -P3-P, -)-Cr-PleP, ・P, ・P4
When the external control signal CNT is 0, Pi = 1
, Gi = 0 (where i is an integer from 1 to 4)
Therefore, the above logical formula becomes only C', and the value of register F does not change due to the write operation.
2. Similarly, Cr, , and Cr have the same value as Cr, so the five operating states when the external control signal CNT is 00 do not change due to the write operation. When the value of the external control signal CNT is 1, the carry control signals p, , pt, p, of the memory circuits 11, 12, 13, and 14.

P4 、G1.C% 、()S 、G4 )j Car
ry J、ookahead er)信号として動作す
るため、通常の加算が実現できる。
P4, G1. C%, ()S, G4)j Car
ry J, ookahead er) signal, normal addition can be realized.

第6図に示すように、制御回路1の動作モードは少ない
が、外部制御信号Crと外部データDIの入力として、
論理O2論理1.マイクロプロセッサ等の書き込みデー
タD及びその反転データDを選択することで動作ファン
クシ璽ンは増加する。
As shown in FIG. 6, although there are few operating modes of the control circuit 1, as an input of the external control signal Cr and external data DI,
Logic O2 Logic 1. By selecting the write data D and its inverted data D from a microprocessor or the like, the operational func- tion increases.

第9図に上記の回路を組合せた例を示す。第9図(a)
は具体的な最下位ビットの回路であり、第9図(b)は
その動作ファンクシ曹ンである。
FIG. 9 shows an example in which the above circuits are combined. Figure 9(a)
is a concrete circuit of the least significant bit, and FIG. 9(b) is its operational function.

029〜G55のゲートは外部制御信号Orに対するセ
レクタを構成しており、034〜G57のゲートは外部
データDIに対するセレクタを構成している。SO,S
lは外部制御信号Crのセレクタのセレクト制御信号、
82.83は外部データDIのセレクタのセレクト制御
信号である。第9図(C)は上位ビットに対する回路で
ある。第9図(a)との違いは、外部制御信号CNTが
1の時に、外部制御信号Crに下位ビットからの桁上げ
信号(:ri−1を入力するために、038〜G44の
ゲートで構成しであるようにセレクタを変更しであるこ
とである。外部データDIに対するセレクタは第9図(
a)と同一構成となっている。第9図に示す構成で、記
憶回路は、16種の論理演算と6種の算術演算を1回の
メモリライトアクセスで実行可能となる。例えば第2図
に示した多値画像データの重ね合わせは、セレクト信号
SOをO81を0.S2を0.85を1にセットし、多
値画像データメモリ鳩を読み被演算多値画像データメモ
IJ Mlに書くことで、各々のデータの加算が興行さ
れ、演算結果データM1’となり、高速な多値画像の重
ね合わせの処理が可能となる。同様に、セレクト信号S
Oを1.Slを182を1.S5を1とすることで減算
を指定し、第10図に示すように、多値画像データの不
要部分(ノイズ等)の削除処理が可能となる。
The gates 029 to G55 constitute a selector for the external control signal Or, and the gates 034 to G57 constitute a selector for the external data DI. S.O.S.
l is a select control signal of the selector of the external control signal Cr;
82 and 83 are select control signals for the external data DI selector. FIG. 9(C) shows a circuit for the upper bits. The difference from FIG. 9(a) is that when the external control signal CNT is 1, the gates 038 to G44 are configured to input a carry signal (:ri-1) from the lower bit to the external control signal Cr. The selector for the external data DI is shown in Figure 9 (
It has the same configuration as a). With the configuration shown in FIG. 9, the memory circuit can perform 16 types of logical operations and 6 types of arithmetic operations with one memory write access. For example, when superimposing the multivalued image data shown in FIG. 2, the select signal SO is set to 0. By setting S2 from 0.85 to 1, reading the multi-value image data memory and writing it to the operand multi-value image data memo IJ Ml, each data is added, resulting in the calculation result data M1', which is processed at high speed. This makes it possible to superimpose multivalued images. Similarly, select signal S
O to 1. Sl 182 1. By setting S5 to 1, subtraction is designated, and as shown in FIG. 10, it becomes possible to delete unnecessary portions (noise, etc.) of multivalued image data.

この処理においても重ね合わせ処理と同様、削除用デー
タメモIJM3の読み出しと被演算データメモリへの書
き込みをくり返すだけで実現できるため、高速処理が可
能である。
Similar to the superimposition process, this process can be realized by simply repeating reading of the deletion data memo IJM3 and writing to the operand data memory, so high-speed processing is possible.

本実施例によれば、 (1)多値画像データ処理が6回のメモリアクセスノク
り返しから2回のメモリアクセスのくり返しとなり、重
ね合わせ、削除等の処理の高速化が可能となる。
According to this embodiment, (1) Multi-level image data processing changes from six memory access repetitions to two memory access repetitions, making it possible to speed up processing such as superimposition and deletion.

(2)メモリ間のデータ演算が、メモリ側で実現するた
め、マイクロプロセッサ等の演算機能を待ったデバイス
だけでなく、DAM(Direct Memory 、
Access) =y yFローラのような演X機能が
ないデバイスでも多値画像処理が可能となる。
(2) Data calculation between memories is realized on the memory side, so it is not only possible to use devices such as microprocessors that have arithmetic functions, but also DAM (Direct Memory,
Multilevel image processing is possible even in a device that does not have an X function, such as a yF roller.

(5)第8図に示すような回路構成を取ることで、メモ
リライトアクセス時に桁上げ処理も行うため、多倍長算
術演算が、メモリライトのみで実現でき、高速な多倍長
算術演算処理が可能となる。
(5) By adopting the circuit configuration shown in Figure 8, carry processing is also performed during memory write access, so multiple-precision arithmetic operations can be realized only by memory writes, resulting in high-speed multiple-precision arithmetic operations. becomes possible.

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

以上説明したように本発明によれば、多値画像データ合
成処理や多値I#偉データ削除処理が高速に実行できる
という効果が得られる。
As described above, according to the present invention, it is possible to achieve the effect that multi-value image data synthesis processing and multi-value I# data deletion processing can be executed at high speed.

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

第1図は本発明の一実施例の記憶回路のブロック図、畠
2図は多値画像データ処理を説明するための図、第5図
は多値画像データ処理を示すフローチャート、第4図は
メモリアクセスを示すタイミングチャート、tgs図は
本発明の一実施例である多値画像データを示すフローチ
ャート、第6図は制御回路の動作モードを説明するため
の図、第7図は制御回路の構成例を示す図、第8図は4
ビツト演算メモリ構成例を示す図、第9図は本実施例の
応用例を説明するだめの図、第10図は多値画像データ
削除処理を説明するための図である。 °1・・・・・・制御回路、    2・・・・・・記
憶素子、5・・・・・・Di(、AMコントローラ、1
1.12,13.14・・曲記憶回路、DI・・・・・
・外部入力データ、 DO・・・・・・メモリリードデータ、Cr・・・・・
・外部制御信号(桁上げ他)、CNT・・・・・・外部
制御信号(演算モード)、Z・・・・・・演算ライトデ
ータ。 躬 I 乙 も 2 口 第30 も50 ご    的 の Qごくで <C”;c<  リ \ (Q N 第 6 図 第1O口 r13′ 第 7 口 Z=(C#7’ Cy−)□I 十(0下cr)−(o
r■D 00Cr )第 8 口 ト。−い Q
Fig. 1 is a block diagram of a storage circuit according to an embodiment of the present invention, Fig. 2 is a diagram for explaining multi-value image data processing, Fig. 5 is a flowchart showing multi-value image data processing, and Fig. 4 is a diagram for explaining multi-value image data processing. A timing chart showing memory access, a TGS diagram showing a flowchart showing multivalued image data according to an embodiment of the present invention, FIG. 6 a diagram for explaining the operation mode of the control circuit, and FIG. 7 a configuration of the control circuit. A diagram showing an example, Figure 8 is 4
FIG. 9 is a diagram showing an example of a bit operation memory configuration, FIG. 9 is a diagram for explaining an application example of this embodiment, and FIG. 10 is a diagram for explaining multivalued image data deletion processing. °1...control circuit, 2...memory element, 5...Di(, AM controller, 1
1.12, 13.14... Song memory circuit, DI...
・External input data, DO...Memory read data, Cr...
・External control signal (carry, etc.), CNT... External control signal (calculation mode), Z... Calculation write data.躬I Otsumo 2nd mouth 30th also 50th Q Gokude<C”;c< li \ (Q N Fig. 6 1O mouth r13' 7th mouth Z= (C#7' Cy-) □I Ten (0 below cr) - (o
r■D 00Cr) 8th mouth. -i Q

Claims (1)

【特許請求の範囲】 1、データの読み出し、書き込み及び保存が任意に行な
える記憶素子において、外部からの第1のデータと該記
憶素子内の第2のデータから該第1のデータを該記憶素
子に記憶する通常書き込みモードと、該第1のデータと
該第2のデータの論理演算結果のデータを該記憶素子に
記憶する論理演算モードと、該第1のデータと該第2の
データの算術演算結果のデータを該記憶素子に記憶する
算術演算モードを取り得る制御回路を設けたことを特徴
とする記憶回路。 2、前記制御回路における前記3つのモードを複数の外
部からの制御入力信号で指定することを特徴とした特許
請求の範囲第1項記載の記憶回路。 3、前記制御回路における前記3つのモードを2つの外
部からの制御入力信号で指定することを特徴とする特許
請求の範囲第1項記載の記憶回路。 4、前記外部からの制御入力信号の1つで、前記3つの
モードを2種類に区別することを特徴とする特許請求の
範囲第2項または第3項記載の記憶回路。 5、前記3つのモードの2種類の区別を通常書き込みモ
ード及び論理演算モードと算術演算モードとすることを
特徴とする特許請求の範囲第4項記載の記憶回路。 6、算術演算モード指定時に、前記の外部からの制御入
力信号の1つを桁上げ入力信号とすることを特徴とする
特許請求の範囲第2項、第3項、第4項または第5項記
載の記憶回路。 7、前記3つのモードの2種類の区別を指定する外部か
らの制御入力信号と異なる制御入力信号で、通常書き込
みモードと論理演算モードの区別をすることを特徴とす
る特許請求の範囲第5項記載の記憶回路。 8、論理演算モード時の論理演算として、前記第1のデ
ータと前記第2のデータの排他的論理和を取ることを特
徴とする特許請求の範囲第1項記載の記憶回路。 9、算術演算モード時の算術演算として、前記第1のデ
ータと前記第2のデータの桁上げ加算を取ることを特徴
とする特許請求の範囲第1項記載の記憶回路。 10、算術演算モード時の算術加算の桁上げ結果を出力
することを特徴とする特許請求の範囲第9項記載の記憶
回路。 11、複数の入力データから1つのデータを選択するセ
レクタを2つ設け、該2つのセレクタのうち第1のセレ
クタの出力を前記第1のデータの入力とし、第2のセレ
クタの出力を前記外部からの制御入力信号の1つの入力
とし、該2つのセレクタの出力選択は、互いに独立に指
定することを特徴とする特許請求の範囲第1項、第2項
、第3項または第4項記載の記憶回路。 12、前記桁上げ入力信号と、前記通常書き込みモード
と論理演算モードの区別をする制御入力信号を同一の信
号とすることを特徴とする特許請求の範囲第6項または
第7項記載の記憶回路。 13、算術演算モード時の前記第1のセレクタの入力デ
ータを前記外部からの第1のデータとその反転データの
2つとし、前記第2のセレクタの入力データを0と1と
することを特徴とする特許請求の範囲第9項または第1
1項記載の記憶回路。
[Scope of Claims] 1. In a memory element in which data can be read, written, and stored arbitrarily, the first data is stored in the memory from external first data and second data within the memory element. a normal write mode in which data is stored in the element; a logical operation mode in which data resulting from a logical operation of the first data and the second data is stored in the memory element; 1. A storage circuit comprising a control circuit that can take an arithmetic operation mode for storing data resulting from an arithmetic operation in the storage element. 2. The memory circuit according to claim 1, wherein the three modes in the control circuit are specified by a plurality of external control input signals. 3. The memory circuit according to claim 1, wherein the three modes in the control circuit are specified by two external control input signals. 4. The memory circuit according to claim 2 or 3, wherein one of the control input signals from the outside distinguishes the three modes into two types. 5. The memory circuit according to claim 4, wherein two types of the three modes are distinguished as a normal write mode, a logical operation mode, and an arithmetic operation mode. 6. Claims 2, 3, 4, or 5, characterized in that when specifying an arithmetic operation mode, one of the external control input signals is used as a carry input signal. Memory circuit described. 7. Claim 5, characterized in that the normal write mode and the logical operation mode are distinguished by a control input signal different from an external control input signal that specifies the distinction between the two types of the three modes. Memory circuit described. 8. The memory circuit according to claim 1, wherein the logical operation in the logical operation mode is an exclusive OR of the first data and the second data. 9. The storage circuit according to claim 1, wherein the arithmetic operation in the arithmetic operation mode is a carry addition of the first data and the second data. 10. The memory circuit according to claim 9, which outputs a carry result of arithmetic addition in an arithmetic operation mode. 11. Two selectors for selecting one data from a plurality of input data are provided, the output of the first selector of the two selectors is used as the input of the first data, and the output of the second selector is used as the input of the external data. According to claim 1, 2, 3, or 4, the output selection of the two selectors is specified independently from each other. memory circuit. 12. The memory circuit according to claim 6 or 7, wherein the carry input signal and the control input signal for distinguishing between the normal write mode and the logical operation mode are the same signal. . 13. The input data of the first selector in the arithmetic operation mode is the first data from the outside and its inverted data, and the input data of the second selector is 0 and 1. Claim 9 or 1
The memory circuit according to item 1.
JP60105850A 1984-10-05 1985-05-20 Storage circuit Pending JPS61264453A (en)

Priority Applications (24)

Application Number Priority Date Filing Date Title
JP60105850A JPS61264453A (en) 1985-05-20 1985-05-20 Storage circuit
KR1019850007172A KR910000365B1 (en) 1984-10-05 1985-09-28 Memory circuit
CN85107929A CN1006586B (en) 1984-10-05 1985-09-30 Memory circuit
EP19920112252 EP0513851A3 (en) 1984-10-05 1985-10-02 Memory device having arithmetic and logic functions, in particular for graphic processing
US07/240,380 US4868781A (en) 1984-10-05 1988-08-29 Memory circuit for graphic images
US07/349,403 US5175838A (en) 1984-10-05 1989-05-08 Memory circuit formed on integrated circuit device and having programmable function
US07/542,028 USRE33922E (en) 1984-10-05 1990-06-21 Memory circuit for graphic images
US07/855,843 US5450342A (en) 1984-10-05 1992-03-20 Memory device
US08/279,843 US5592649A (en) 1984-10-05 1994-07-26 RAM control method and apparatus for presetting RAM access modes
US08/294,404 US5475636A (en) 1984-10-05 1994-08-23 Memory device
US08/294,405 US5767864A (en) 1984-10-05 1994-08-23 One chip semiconductor integrated circuit device for displaying pixel data on a graphic display
US08/294,407 US5448519A (en) 1984-10-05 1994-08-23 Memory device
US08/294,406 US5838337A (en) 1984-10-05 1994-08-23 Graphic system including a plurality of one chip semiconductor integrated circuit devices for displaying pixel data on a graphic display
US08/294,403 US5424981A (en) 1984-10-05 1994-08-23 Memory device
US08/408,283 US5477486A (en) 1984-10-05 1995-03-22 Memory device
US08/435,959 US5493528A (en) 1984-10-05 1995-05-05 Memory device
US08/435,962 US5499222A (en) 1984-10-05 1995-05-05 Memory device
US08/458,480 US5523973A (en) 1984-10-05 1995-06-02 Memory device
US08/582,906 US5615155A (en) 1984-10-05 1996-01-04 Memory device
US08/588,232 US5617360A (en) 1984-10-05 1996-01-18 Memory device
US08/694,599 US5719809A (en) 1984-10-05 1996-08-09 Memory device
US08/853,713 US5781479A (en) 1984-10-05 1997-05-09 Memory device
US09/750,040 US6359812B2 (en) 1984-10-05 2000-12-29 Memory device
US10/059,328 US6643189B2 (en) 1984-10-05 2002-01-31 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60105850A JPS61264453A (en) 1985-05-20 1985-05-20 Storage circuit

Publications (1)

Publication Number Publication Date
JPS61264453A true JPS61264453A (en) 1986-11-22

Family

ID=14418475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60105850A Pending JPS61264453A (en) 1984-10-05 1985-05-20 Storage circuit

Country Status (1)

Country Link
JP (1) JPS61264453A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5960658A (en) * 1982-09-30 1984-04-06 Fujitsu Ltd Semiconductor storage device provided with logical function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5960658A (en) * 1982-09-30 1984-04-06 Fujitsu Ltd Semiconductor storage device provided with logical function

Similar Documents

Publication Publication Date Title
US5093783A (en) Microcomputer register bank accessing
KR910000365B1 (en) Memory circuit
US4621324A (en) Processor for carrying out vector operation wherein the same vector element is used repeatedly in succession
JPH01204147A (en) Address qualifying circuit
JPS61264453A (en) Storage circuit
US5175838A (en) Memory circuit formed on integrated circuit device and having programmable function
US6643189B2 (en) Memory device
JPH04316153A (en) Neuro-processor
JP4989899B2 (en) Semiconductor processing unit
JPH0259943A (en) Memory device with operational function
US5590302A (en) Device for generating structured addresses
JPH0774994B2 (en) OSC detection method for buffer storage controller
USRE33922E (en) Memory circuit for graphic images
EP0189524A2 (en) Memory unit having arithmetic and logic functions, in particular for graphic processing
JP2940060B2 (en) Semiconductor memory device
JPS61264425A (en) Storage circuit
JPH0514359B2 (en)
JP3285033B2 (en) Information processing system
JPH1021690A (en) Dynamic associative access memory
JPS60146362A (en) Constituting system of vector register
JPS5815808B2 (en) Digital Bibun Kaisekiki
JPH11296441A (en) Error correction circuit
JPH05128007A (en) Image forming device
JPH025186A (en) Data transfer device
JPH02105264A (en) Memory device for processing graphic data