JP2735173B2 - One-chip memory device - Google Patents

One-chip memory device

Info

Publication number
JP2735173B2
JP2735173B2 JP60105845A JP10584585A JP2735173B2 JP 2735173 B2 JP2735173 B2 JP 2735173B2 JP 60105845 A JP60105845 A JP 60105845A JP 10584585 A JP10584585 A JP 10584585A JP 2735173 B2 JP2735173 B2 JP 2735173B2
Authority
JP
Japan
Prior art keywords
data
write
signal
memory
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60105845A
Other languages
Japanese (ja)
Other versions
JPS61264379A (en
Inventor
敏彦 小倉
広明 青津
光一 木村
博道 榎本
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 JP60105845A priority Critical patent/JP2735173B2/en
Priority to KR1019860003912A priority patent/KR950014553B1/en
Publication of JPS61264379A publication Critical patent/JPS61264379A/en
Priority to US07/314,238 priority patent/US5113487A/en
Priority to US07/855,843 priority patent/US5450342A/en
Priority to US08/013,174 priority patent/US5265234A/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,407 priority patent/US5448519A/en
Priority to US08/294,405 priority patent/US5767864A/en
Priority to US08/354,934 priority patent/US5548744A/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 KR1019950025089A priority patent/KR960006281B1/en
Priority to KR1019950025084A priority patent/KR960006276B1/en
Priority to KR1019950025087A priority patent/KR960006279B1/en
Priority to KR1019950025090A priority patent/KR960006282B1/en
Priority to KR1019950025085A priority patent/KR960006277B1/en
Priority to KR1019950025088A priority patent/KR960006280B1/en
Priority to KR1019950025086A priority patent/KR960006278B1/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
Application granted granted Critical
Publication of JP2735173B2 publication Critical patent/JP2735173B2/en
Priority to US09/750,040 priority patent/US6359812B2/en
Priority to US10/059,328 priority patent/US6643189B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は記憶素子に係り、特に高速グラフィックディ
スプレイのフレームバッファとして好適な記憶回路に関
する。 〔発明の背景〕 グラフィックディスプレイ装置は、表示分解能の向上
に伴い、大容量の表示情報記憶用メモリすなわちフレー
ムバッファを必要とし始めている。しかし、フレームバ
ッファの大容量化はグラフィックデータの表示を行う際
のメモリアクセス回数の増加に結びつくので、表示の高
速化を図るためにはメモリアクセス回数の削減が必要で
ある。 このメモリアクセス回数の削減を図る手段としては、
グラフィックディスプレイ用フレームバッファの内部で
演算処理を実行する方法がある。この方法を用いたフレ
ームバッファの例を第2図に示す。第2図において、1
は16ビット長の演算部、2はグラフィックデータを記憶
するメモリ、3は演算器の演算機能指定レジスタ、4は
書き込みマスク回路、D15〜D0はデータ処理装置からの1
6ビットデータ、DO15〜DO0はメモリの読み出しデータ、
FC3〜FC0は演算器に対する演算機能指定データ、M15〜M
0はメモリに対する書き込み制御信号、A23〜A1はデータ
処理装置からの23ビットアドレス信号、WEはデータ処理
装置からの書き込み制御信号、FSは演算機能指定レジス
タに対するラッチ制御信号、MSは書き込みマスク回路に
対するラッチ制御信号である。 この第2図の構成でメモリアクセス回数が減る理由に
ついて説明する。ビットマップ方式のグラフィックディ
スプレイで図形を書く場合、図形は点の集合で表すた
め、図形描画は点描画の繰返しで行う。このため、フレ
ームバッファに対してのアクセスは、16ビット単位では
なく1ビットとか4ビットのようなメモリを構成してい
るデータ幅よりも小さい単位で行う。また、一般には点
を書く場合に書き込みデータとの演算を必要とするた
め、メモリデータとの演算とビット単位の書き込みが必
要となる。通常のメモリではこれらの機能が無いため、
図形描画処理を行うデータ処理装置の内部で演算を実行
することとなり、書き込むべきメモリ番地のデータを読
み込み、ビット演算実行後、同一番地に書き込むという
処理で実現している。このため、1ビットのデータを書
く場合でも2回のメモリアクセスが必要である。第2図
のフレームバッファでは、演算器1でメモリデータとデ
ータ処理装置の演算を書き込みマスク回路4でビット単
位のデータ書き込みを実現しており、1ビットのデータ
を書くために必要なメモリアクセスはデータ処理装置で
は1回ですむ。メモリ2のアクセスは、リードとライト
の2回必要であるが通常のメモリにはリード・モディフ
ァイ・ライトという、1回でリードとライトを実現する
アクセスモードあるため、1回で実現できる。以上のよ
うに第2図に示したフレームバッファは、グラフィック
ディスプレイの高速化には有効であるが、メモリ素子周
辺に多くの回路を付加しなければならないため、信頼性
が低下しまたコストが高くなるという問題点がある。な
お、第2図に示すフレームバッファについては、例えば
日経エレクトロニクス1984.8.27号「1280×1024画素の
グラフィック・ディスプレイ用フレームバッファをニプ
ル・モード付き64KRAMで設計」(P.227〜245)に示され
る。 〔発明の目的〕 本発明の目的は上記の問題点を解決し、ワンチップ多
機能メモリデバイスのピン数を増やすことなく、複数の
演算モード中から所定の演算モードヲ設定することがで
きるワンチップメモリデバイスを提供することにある。 本発明の他の目的は、演算モードを設定するためのオ
ーバーワーク極小とするワンチップメモリデバイスを提
供することにある。 また、本発明の他の目的は、高速グラフィックディス
プレイ用フレームバッファをコンパクトに実現するワン
チップメモリデバイスを提供することにある。 〔発明の概要〕 上記の目的を達成するため、本発明の特徴とするとこ
ろは、アドレス信号が外部から供給される端子と、複数
の記憶位置が割り付けられ、外部からの前記アドレス信
号に応答して該複数の記憶位置の読み出し、又は書き込
みが行われる記憶素子と、前記記憶素子の前記アドレス
信号により指定される記憶位置に対してデータの読み出
し又は書き込みを行うリードモディファイライトサイク
ルにおいて、複数の異なった演算モードの任意の一つの
演算モードで演算を行う演算部とを具備してなるメモリ
デバイスであって、前記記憶素子に対してデータの読み
出し又は書き込みを行うリードモディファイライトサイ
クルの前の演算モード設定期間で前記アドレス信号が供
給される前記端子の予め定めた一部の端子を経由して外
部から供給される演算モード信号に従って前記一つの演
算モードでの動作を指示する指示信号を保持する保持手
段と、前記演算モード設定期間に、前記演算部の前記記
憶素子への書き込みを許容するか否かの信号を保持する
書き込み選択手段とをさらに具備してなり、前記演算部
は前記演算モード設定期間においては前記アドレス信号
の指定による前記記憶位置のデータ読み出し又は書き込
みのいずれの実行も禁止され、前記リードモディファイ
ライトサイクルにおいては前記書き込み選択手段が書き
込みを許容する信号を保持していることにより、前記記
憶素子に対してビット単位でデータの書き込みを行うこ
とを特徴とするワンチップメモリデバイスにある。 〔発明の実施例〕 以下、本発明の一実施例を図面を用いて詳細に説明す
る。 まず、本発明の概念を説明する。 第2図で示すフレームバッファ用メモリの周辺回路を
減らすためには、メモリ,演算器,演算機能指定レジス
タ,書き込みマスク回路を一体化したIC(Integrted Ci
rcuit)を作ることが考えられる。現状のグラフィック
ディスプレイでは、演算機能として要求されるものは論
理演算が主体であるため、演算器は演算データのビット
単位に分割することが可能である。算術演算を使う場合
も桁上げ信号を扱う回路を付加することで、原則的には
ビット単位の分割は可能である。書き込みマスク回路4
はビット単位の書き込み制御を行う回路であるから、ビ
ット単位に分割できることは明らかである。しかしなが
ら演算機能指定レジスタ3は、演算器1の演算機能の数
で決まるビット長であり、演算データのビット長(ここ
では16)とは無関係であるため、演算データのビット単
位に分割することはできない。したがって演算機能指定
レジスタ3は、分割した単位毎に持つ必要がある。この
ように、分割した単位毎に同一の機能のものを持つこと
は無駄であるがICの集積度は年毎に高くなり、一体化し
た場合のメモリ素子の数に対する周辺回路として使われ
る素子の数の比率は1%にもならないわずかのものであ
るため問題とはならない。一体化をした場合に、演算機
能指定レジスタ3を分割単位毎に持つことは、以上に示
したようにそれほど問題ではないが、第2図に示したフ
レームバッファをデータのビット単位に分割することは
問題がある。第2図のフレームバッファを使うために
は、実際のメモリアクセスを行う前に、演算機能指定レ
ジスタ3に演算機能データを書き込みマスク回路4に書
き込みマスクデータを設定する必要がある。第2図のフ
レームバッファでは、どちらのデータもデータ処理装置
からのデータ信号D15〜D0を入力信号としているため、
ビット単位に分割すると1ビットの信号となってしまう
ので、書き込みマスク回路4では問題がないが、演算機
能指定レジスタ3では2種類の演算しか指定できなくな
ってしまう。このように、メモリのビット構成の違いで
演算機能の数が変わることは問題である。本発明は、演
算機能指定データバスで行うため、データのビット分割
に依存することにより発生しているのに着目し、データ
バスと違いビット分割に依存しないアドレス信号を用い
て指定するものである。 次に、本発明の一実施例を説明する。 第1図は、実施例のフレームバッファ用メモリ回路の
構成である。1は演算器、2はメモリ素子、3は演算機
能指定レジスタ、4は書き込みマスク回路、Djはグラフ
ィク描画用データ処理装置のデータ信号16ビットの中の
1ビット信号、A23〜A1はデータ処理装置のアドレス信
号、WEはデータ処理装置のライト制御信号、FSは演算機
能指定レジスタ3及び書き込みマスク回路4に対するデ
ータセット制御信号、DOjはメモリ素子2の読み出しデ
ータ、DIjは演算器1の演算結果データ、Wjはメモリ素
子2に対する書き込み制御信号である。 第3図は書き込みマスク回路の構成である。41は書き
込みマスクデータ格納レジスタ、42はライト制御信号WE
を抑止するためのゲートである。 第4図は第1図のメモリ回路によるフレームバッファ
の構成例である。第4図では接続関係を明確にするた
め、4ビットの構成を示してある。 第5図はグラフィックディスプレイシステムに実施例
のメモリ回路を適用した例である。6はデータ処理装
置、7はセット信号FSを発生するデコード回路である。 以下、実施例のメモリ回路の動作を説明する。実施例
では、メモリ回路5は800000H〜8FFFFFH番地に割当てら
れている。ここでHは16進数であることを示しバイトを
単位とする番地である。デコード回路7は900000H〜900
01FH番地でセット信号FSを出力する。演算器1の演算機
能は第6図に示す16種である。データ処理装置6が例え
ば900014H番地にF0FFHを書き込むと、デコード回路7は
セット信号FSを出力し、演算機能指定レジスタ3にアド
レス信号A4〜A1すなわち1010B(Bは2倍数)をセット
する。この結果、演算器1は第6図の演算機能表に示す
ように、論理和を演算機能として選択する。また書き込
みマスク回路4では、書き込みマスクデータ格納レジス
タ41にデータ処理装置6からのデータF0FFHの16ビット
のデータの中の1ビットをセットする。セットされる1
ビットは、メモリ素子のビット位置と同一の位置であ
る。この結果、書き込みマスクデータとしてF0FFHがセ
ットされたことになる。 次にデータ処理装置6が800000H番地にF3FFHを書く場
合について説明する。800000H番地には、0512Hが格納し
てあるとする。データ処理装置6のメモリアクセスタイ
ミングを第7図に示す。データ処理装置6のメモリ回路
5に対するライトアクセスは、第7図に示すようにリー
ド・モディファイ・ライト動作となる。リード・モディ
ファイ・ライトのリードのタイミングでDOバスには0512
Hが読み出され、DバスにはF3FFHが入力されている。次
のモディファイのタイミングで、演算器1はDバスとDO
バスのデータを演算し、DIバスに演算結果を出力する。
この場合はDバスの値がF3FFHであり、DOバスが0512Hで
あるため、DIバスのデータはF7FFHとなる。これは、前
述した動作で演算器1は論理和を演算機能として選択し
ているためである。最後にリード・モディファイ・ライ
トのライトのタイミングでDIバスのデータF7FFHをライ
トするが前述のセット動作で、書き込みマスクデータは
F0FFHがセットされており、第3図に示すようにマスク
データが0のビットはゲート42がONとなり、1のビット
はゲート42がOFFとなるため、D11〜D8の4ビットのみが
実際のライト動作を実行し、残りの12ビットではライト
動作は起こらない。この結果、800000H番地のデータは0
712Hになる。 以上述べたように、本実施例ではアドレス信号の一部
を制御信号として用いるため、データの分割方法によら
ず演算機能の指定が可能なリード・モディファイ・ライ
トを行うメモリ回路が実現することができる。実施例の
メモリ回路で通常のメモリICと異なるのは、演算機能及
び書き込みマスクデータをセットするためのセット信号
FSのみであり、ICのピンは1ピン増加するだけなので、
この相異は第1図の回路のままIC化する上で問題になら
ない。例えば、64K×1ビット構成のDynamic RAMでは1
ピンは使用していないものもあるため、この空ピンにFS
を使うことが可能である。 また、このセット信号を通常のメモリアクセスと異な
るタイミングシーケンスで実現してもよいことは明らか
である。例えば第8図に示すような、Dynamic RAMの通
常シーケンスではでてこない、RAS信号の立下がりとWE
信号でセット信号を作ることが可能である。 なお、本実施例ではデータ幅を16ビットとし、分割の
単位を1ビットとしたが、どちらの値も本実施例で説明
した値以外の値でもよいことは明らかである。 また実施例では、演算機能の指定と書き込みマスクの
指定を同時に行っているが、別々に指定するようにして
もよいことも明らかである。 さらに、演算器の機能指定のデータ幅も4ビット以外
でも良いことも明らかである。 また、シフトレジスタを内蔵して、シリアル出力を持
つ構成のメモリに対して、本実施例を適用してもよいこ
とも明らかである。 〔発明の効果〕 以上の説明から明らかなように、本発明によれば、多
機能ワンチップメモリデバイスの演算モードの設定をピ
ン数を増やすことなく実現することができる。また、ワ
ンチップメモリデバイスの演算モードを保持し、これに
従って次々にアクセスを実行できるので、演算モードの
設定のためのオーバーワークを極小することができる。 また、リード・モディファイ・ライトのモディファイ
演算の指定が書き込みデータのデータ幅に依存しなくな
るため、任意のデータ幅でリード・モディファイ・ライ
ト動作を実行する回路を内蔵したワンチップメモリデバ
イスが実現でき、例えば高速グラフィックディスプレイ
用フレームバッファのコンパクト化が可能となるという
効果がある。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage element, and more particularly to a storage circuit suitable as a frame buffer for a high-speed graphic display. BACKGROUND OF THE INVENTION Graphic display devices have begun to require large-capacity display information storage memories, that is, frame buffers, with the improvement in display resolution. However, an increase in the capacity of the frame buffer leads to an increase in the number of memory accesses when displaying graphic data. Therefore, it is necessary to reduce the number of memory accesses in order to speed up the display. As means for reducing the number of memory accesses,
There is a method of executing arithmetic processing inside a frame buffer for a graphic display. FIG. 2 shows an example of a frame buffer using this method. In FIG. 2, 1
Is a 16-bit arithmetic unit, 2 is a memory for storing graphic data, 3 is an arithmetic function designating register of an arithmetic unit, 4 is a write mask circuit, and D 15 to D 0 are 1 from the data processing device.
6-bit data, DO 15 to DO 0 are read data of memory,
FC 3 ~FC 0 computation function specifying data for calculator, M 15 ~M
0 is a write control signal for the memory, A 23 to A 1 are 23-bit address signals from the data processing device, WE is a write control signal from the data processing device, FS is a latch control signal for the arithmetic function designation register, and MS is a write mask. This is a latch control signal for the circuit. The reason why the number of times of memory access is reduced in the configuration of FIG. 2 will be described. When drawing a graphic on a bitmap type graphic display, the graphic is represented by a set of points, and the graphic is drawn by repeating point drawing. For this reason, access to the frame buffer is performed not in units of 16 bits but in units smaller than the data width constituting the memory, such as 1 bit or 4 bits. In general, when writing a point, an operation with write data is required, and therefore an operation with memory data and a write in bit units are required. Normal memory does not have these functions.
The calculation is performed inside the data processing device that performs the graphic drawing process, and the data is written in the same address after reading the data of the memory address to be written and executing the bit calculation. Therefore, even when writing 1-bit data, two memory accesses are required. In the frame buffer shown in FIG. 2, the arithmetic unit 1 realizes the operation of the memory data and the operation of the data processing unit, and the mask circuit 4 realizes the data writing in bit units. The memory access required for writing 1-bit data is as follows. The data processor only needs to do it once. Access to the memory 2 is required twice: read and write. However, a normal memory has an access mode called read-modify-write that realizes read and write in one time, so that it can be realized in one time. As described above, the frame buffer shown in FIG. 2 is effective for speeding up the graphic display, but requires a large number of circuits to be added around the memory element, so that the reliability is reduced and the cost is high. There is a problem that becomes. The frame buffer shown in FIG. 2 is shown in, for example, Nikkei Electronics 1984.8.27, “Designing a 1280 × 1024 Pixel Graphic Display Frame Buffer with 64KRAM with Nipple Mode” (P.227 to 245). . [Object of the Invention] An object of the present invention is to solve the above-mentioned problems and to provide a one-chip multi-function memory device capable of setting a predetermined operation mode from among a plurality of operation modes without increasing the number of pins of the device. To provide a device. Another object of the present invention is to provide a one-chip memory device that minimizes overwork for setting an operation mode. It is another object of the present invention to provide a one-chip memory device that realizes a compact high-speed graphic display frame buffer. [Summary of the Invention] In order to achieve the above object, a feature of the present invention is that a terminal to which an address signal is supplied from the outside and a plurality of storage locations are allocated and respond to the address signal from the outside. In a storage element from which reading or writing of the plurality of storage locations is performed, and in a read-modify-write cycle in which data is read or written from or to a storage location specified by the address signal of the storage element, a plurality of different A computing unit for performing an operation in any one of the operation modes, the operation mode being prior to a read-modify-write cycle for reading or writing data to or from the storage element. The terminal is externally connected via a predetermined part of the terminals to which the address signal is supplied in a set period. Holding means for holding an instruction signal for instructing the operation in the one operation mode according to the operation mode signal supplied from the control unit, and whether or not to permit the operation unit to write to the storage element during the operation mode setting period. Further comprising a write selection unit that holds the signal, wherein the arithmetic unit is prohibited from performing any of data reading or writing of the storage location by designating the address signal during the arithmetic mode setting period, In the read-modify-write cycle, data is written to the storage element in bit units by the write selection unit holding a signal that permits writing, thereby providing a one-chip memory device. . Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. First, the concept of the present invention will be described. In order to reduce the peripheral circuits of the frame buffer memory shown in FIG. 2, an integrated circuit (IC) integrating a memory, a computing unit, a computing function designation register, and a write mask circuit is required.
rcuit). In a current graphic display, a logical operation is mainly required as an arithmetic function, so that an arithmetic unit can be divided into bit units of arithmetic data. Even in the case of using arithmetic operation, division by a bit unit is possible in principle by adding a circuit for handling a carry signal. Write mask circuit 4
Is a circuit that performs write control on a bit basis, so that it can be clearly divided on a bit basis. However, since the arithmetic function designation register 3 has a bit length determined by the number of arithmetic functions of the arithmetic unit 1 and has no relation to the bit length of the arithmetic data (here, 16), it is not possible to divide the arithmetic data into bit units. Can not. Therefore, the operation function specification register 3 must be provided for each divided unit. Although it is useless to have the same function for each divided unit in this way, the degree of integration of ICs increases every year, and the number of elements used as peripheral circuits for the number of memory elements when integrated is increased. This is not a problem because the ratio of numbers is so small that it does not reach 1%. In the case of integration, it is not so problematic to have the arithmetic function designation register 3 for each division unit as described above, but it is necessary to divide the frame buffer shown in FIG. 2 into data bit units. Has a problem. In order to use the frame buffer shown in FIG. 2, it is necessary to write arithmetic function data in the arithmetic function designation register 3 and write mask data in the mask circuit 4 before actually performing memory access. The frame buffer of FIG. 2, since both data are the input signals a data signal D 15 to D 0 from the data processing device,
Since division into bits results in a one-bit signal, there is no problem in the write mask circuit 4, but only two types of computations can be designated in the computation function designation register 3. As described above, it is a problem that the number of arithmetic functions varies depending on the bit configuration of the memory. The present invention focuses on the fact that it is performed on the data bus for specifying the operation function and therefore depends on the bit division of data, and designates using an address signal that does not depend on the bit division unlike the data bus. . Next, an embodiment of the present invention will be described. FIG. 1 shows the configuration of a frame buffer memory circuit according to an embodiment. 1 computing unit, 2 a memory device, 3 arithmetic function specifying register, the write mask circuit 4, Dj is 1-bit signals in the data signal 16 bits Gurafiku drawing data processor, A 23 to A 1 data Address signal of the processing device, WE is a write control signal of the data processing device, FS is a data set control signal for the arithmetic function designation register 3 and the write mask circuit 4, DOj is read data of the memory element 2, and DIj is an arithmetic operation of the arithmetic unit 1. The result data, Wj, is a write control signal for the memory element 2. FIG. 3 shows the configuration of the write mask circuit. 41 is a write mask data storage register, 42 is a write control signal WE
This is a gate for suppressing the above. FIG. 4 is an example of the configuration of a frame buffer using the memory circuit of FIG. FIG. 4 shows a 4-bit configuration to clarify the connection relationship. FIG. 5 shows an example in which the memory circuit of the embodiment is applied to a graphic display system. Reference numeral 6 denotes a data processing device, and reference numeral 7 denotes a decoding circuit for generating a set signal FS. Hereinafter, the operation of the memory circuit of the embodiment will be described. In the embodiment, the memory circuit 5 is assigned to addresses from 800000H to 8FFFFFH. Here, H is an address indicating a hexadecimal number and having a byte unit. Decoding circuit 7 is 900000H ~ 900
The set signal FS is output at the address 01FH. The arithmetic functions of the arithmetic unit 1 are 16 types shown in FIG. When the data processing apparatus 6 writes F0FFH for example 900014H address, the decode circuit 7 outputs a set signal FS, to the arithmetic function specified register 3 address signal A 4 to A 1 i.e. 1010B (B 2 multiples) sets. As a result, the arithmetic unit 1 selects the logical sum as the arithmetic function as shown in the arithmetic function table of FIG. In the write mask circuit 4, one bit of the 16-bit data F0FFH from the data processor 6 is set in the write mask data storage register 41. 1 to be set
The bit is the same position as the bit position of the memory element. As a result, F0FFH is set as the write mask data. Next, the case where the data processing device 6 writes F3FFH at the address of 800000H will be described. It is assumed that 0512H is stored at the address 800000H. FIG. 7 shows the memory access timing of the data processing device 6. Write access to the memory circuit 5 of the data processing device 6 is a read-modify-write operation as shown in FIG. 0512 on the DO bus at the timing of read-modify-write
H is read, and F3FFH is input to the D bus. At the next modify timing, arithmetic unit 1 connects to D bus and DO
Calculates bus data and outputs the result to the DI bus.
In this case, since the value of the D bus is F3FFH and the value of the DO bus is 0512H, the data of the DI bus is F7FFH. This is because the arithmetic unit 1 has selected the logical sum as the arithmetic function in the operation described above. Finally, the data F7FFH on the DI bus is written at the timing of read-modify-write, but the write mask data is
F0FFH is set, and as shown in FIG. 3, since the gate 42 is turned on when the mask data is 0 and the gate 42 is turned off when the bit is 1, only the four bits D 11 to D 8 are actually set. , And no write operation occurs in the remaining 12 bits. As a result, the data at address 800000H is 0
712H. As described above, in this embodiment, since a part of the address signal is used as the control signal, it is possible to realize a read-modify-write memory circuit capable of specifying an arithmetic function regardless of the data division method. it can. The difference between the memory circuit of the embodiment and a normal memory IC is that a set signal for setting an arithmetic function and write mask data.
Since only FS and IC pins increase by one pin,
This difference does not pose a problem when the circuit of FIG. For example, in a dynamic RAM of 64K × 1 bit configuration, 1
Since some pins are not used, FS
It is possible to use It is also apparent that this set signal may be realized in a timing sequence different from a normal memory access. For example, as shown in FIG. 8, the falling edge of RAS signal and WE
It is possible to make a set signal with the signal. In this embodiment, the data width is 16 bits and the unit of division is 1 bit. However, it is obvious that both values may be values other than the values described in this embodiment. In the embodiment, the designation of the arithmetic function and the designation of the write mask are performed at the same time. However, it is apparent that the designation may be performed separately. Further, it is apparent that the data width for designating the function of the arithmetic unit may be other than 4 bits. It is also apparent that the present embodiment may be applied to a memory having a configuration in which a shift register is built in and has a serial output. [Effects of the Invention] As is clear from the above description, according to the present invention, the setting of the operation mode of the multifunctional one-chip memory device can be realized without increasing the number of pins. Further, since the operation mode of the one-chip memory device is held and access can be executed one after another according to the operation mode, overwork for setting the operation mode can be minimized. In addition, since the specification of the read-modify-write write operation does not depend on the data width of the write data, a one-chip memory device with a built-in circuit for executing the read-modify-write operation with an arbitrary data width can be realized. For example, there is an effect that the frame buffer for a high-speed graphic display can be made compact.

【図面の簡単な説明】 第1図は実施例のメモリ回路を示すブロック図、第2図
は従来例のフレームバッファ用メモリを示すブロック
図、第3図は書き込みマスク回路を示す図、第4図は実
施例のフレームバッファ構成を説明するための図、第5
図はグラフィックディスプレイシステムの構成例を示す
ブロック図、第6図は演算機能を説明するための図、第
7図はメモリアクセスタイミングを示すタイミングチャ
ート、第8図はセット信号作成タイミングを示すタイミ
ングチャートである。 1……演算器、2……メモリ素子、 3……演算機能指定レジスタ、 4……書き込みマスク回路、 D15〜D0……入力データ、A23〜A1……アドレス信号、 WE……書き込み制御信号、 FS……セット信号。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a memory circuit of an embodiment, FIG. 2 is a block diagram showing a conventional frame buffer memory, FIG. 3 is a diagram showing a write mask circuit, FIG. FIG. 5 is a diagram for explaining the frame buffer configuration of the embodiment, and FIG.
FIG. 6 is a block diagram showing a configuration example of the graphic display system, FIG. 6 is a diagram for explaining an arithmetic function, FIG. 7 is a timing chart showing memory access timing, and FIG. 8 is a timing chart showing set signal creation timing. It is. 1 ...... calculator, 2 ...... memory device, 3 ...... calculation function specified register, 4 ...... write mask circuit, D 15 to D 0 ...... input data, A 23 to A 1 ...... address signal, WE ...... Write control signal, FS …… Set signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木村 光一 横浜市戸塚区吉田町292番地 株式会社 日立製作所マイクロエレクトロニクス機 器開発研究所内 (72)発明者 榎本 博道 秦野市堀山下1番地 株式会社日立製作 所神奈川工場内 (56)参考文献 特開 昭55−124187(JP,A) 特開 昭55−121574(JP,A) 特開 昭53−32634(JP,A) 特開 昭53−113437(JP,A) 特開 昭59−56284(JP,A) 特開 昭60−83296(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Koichi Kimura               292 Yoshida-cho, Totsuka-ku, Yokohama-shi Co., Ltd.               Hitachi, Ltd. microelectronics machine               Instrument development laboratory (72) Inventor Hiromichi Enomoto               1 Horiyamashita, Hadano City Hitachi, Ltd.               Tokoro Kanagawa Factory                (56) References JP-A-55-124187 (JP, A)                 JP-A-55-121574 (JP, A)                 JP-A-53-32634 (JP, A)                 JP-A-53-113437 (JP, A)                 JP-A-59-56284 (JP, A)                 JP-A-60-83296 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.アドレス信号が外部から供給される端子と、 複数の記憶位置が割り付けられ、外部からの前記アドレ
ス信号に応答して該複数の記憶位置の読み出し、又は書
き込みが行われる記憶素子と、 前記記憶素子の前記アドレス信号により指定される記憶
位置に対してデータの読み出し又は書き込みを行うリー
ドモディファイライトサイクルにおいて、複数の異なっ
た演算モードの任意の一つの演算モードで演算を行う演
算部とを具備してなるメモリデバイスであって、 前記記憶素子に対してデータの読み出し又は書き込みを
行うリードモディファイライトサイクルの前の演算モー
ド設定期間で前記アドレス信号が供給される前記端子の
予め定めた一部の端子を経由して外部から供給される演
算モード信号に従って前記一つの演算モードでの動作を
指示する指示信号を保持する保持手段と、 前記演算モード設定期間に、前記演算部の前記記憶素子
への書き込みを許容するか否かの信号を保持する書き込
み選択手段とをさらに具備してなり、 前記演算部は前記演算モード設定期間においては前記ア
ドレス信号の指定による前記記憶位置のデータ読み出し
又は書き込みのいずれの実行も禁止され、前記リードモ
ディファイライトサイクルにおいては前記書き込み選択
手段が書き込みを許容する信号を保持していることによ
り、前記記憶素子に対してビット単位でデータの書き込
みを行うことを特徴とするワンチップメモリデバイス。
(57) [Claims] A terminal to which an address signal is supplied from the outside, a plurality of storage locations assigned, and a storage element for reading or writing the plurality of storage locations in response to the address signal from the outside; A read-modify-write cycle for reading or writing data from or to a storage location specified by the address signal, the read-modify-write cycle comprising: an operation unit that performs an operation in any one of a plurality of different operation modes. A memory device, which passes through a predetermined part of the terminals to which the address signal is supplied in an operation mode setting period before a read-modify-write cycle for reading or writing data to or from the storage element. Operation in the one operation mode according to the operation mode signal supplied from outside. Holding means for holding an instruction signal to perform, and write selection means for holding a signal as to whether or not to allow the arithmetic unit to write to the storage element during the arithmetic mode setting period. In the operation mode setting period, the execution of any of data reading or writing at the storage location by the designation of the address signal is prohibited during the operation mode setting period, and in the read-modify-write cycle, the write selection unit outputs a signal that permits writing. A one-chip memory device characterized in that, by holding the data, data is written to the storage element in bit units.
JP60105845A 1984-10-05 1985-05-20 One-chip memory device Expired - Lifetime JP2735173B2 (en)

Priority Applications (28)

Application Number Priority Date Filing Date Title
JP60105845A JP2735173B2 (en) 1985-05-20 1985-05-20 One-chip memory device
KR1019860003912A KR950014553B1 (en) 1985-05-20 1986-05-20 Memory circuit with logic functions
US07/314,238 US5113487A (en) 1985-05-20 1989-02-22 Memory circuit with logic functions
US07/855,843 US5450342A (en) 1984-10-05 1992-03-20 Memory device
US08/013,174 US5265234A (en) 1985-05-20 1993-01-29 Integrated memory circuit and function unit with selective storage of logic functions
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,404 US5475636A (en) 1984-10-05 1994-08-23 Memory device
US08/294,403 US5424981A (en) 1984-10-05 1994-08-23 Memory device
US08/294,407 US5448519A (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/354,934 US5548744A (en) 1985-05-20 1994-12-12 Memory circuit and method for setting an operation mode
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
KR1019950025089A KR960006281B1 (en) 1985-05-20 1995-08-16 One chip display processing device
KR1019950025084A KR960006276B1 (en) 1985-05-20 1995-08-16 Memory system
KR1019950025087A KR960006279B1 (en) 1985-05-20 1995-08-16 One chip memory device
KR1019950025090A KR960006282B1 (en) 1985-05-20 1995-08-16 Dynamic memory device
KR1019950025085A KR960006277B1 (en) 1985-05-20 1995-08-16 One chip memory device
KR1019950025088A KR960006280B1 (en) 1985-05-20 1995-08-16 One chip memory device and outside device system
KR1019950025086A KR960006278B1 (en) 1985-05-20 1995-08-16 System with multi-function one chip 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
JP60105845A JP2735173B2 (en) 1985-05-20 1985-05-20 One-chip memory device

Related Child Applications (6)

Application Number Title Priority Date Filing Date
JP4127132A Division JPH05216741A (en) 1992-05-20 1992-05-20 Storage circuit and its operating mode setting method
JP7149986A Division JP2591515B2 (en) 1995-06-16 1995-06-16 One-chip memory device
JP7149985A Division JPH08152873A (en) 1995-06-16 1995-06-16 Data processing system
JP7149987A Division JP2605656B2 (en) 1995-06-16 1995-06-16 One-chip memory device
JP7149988A Division JPH08123716A (en) 1995-06-16 1995-06-16 Memory system
JP7149984A Division JP2591514B2 (en) 1995-06-16 1995-06-16 One-chip memory device

Publications (2)

Publication Number Publication Date
JPS61264379A JPS61264379A (en) 1986-11-22
JP2735173B2 true JP2735173B2 (en) 1998-04-02

Family

ID=14418351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60105845A Expired - Lifetime JP2735173B2 (en) 1984-10-05 1985-05-20 One-chip memory device

Country Status (1)

Country Link
JP (1) JP2735173B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5450342A (en) * 1984-10-05 1995-09-12 Hitachi, Ltd. Memory device
US5923591A (en) * 1985-09-24 1999-07-13 Hitachi, Ltd. Memory circuit
US6028795A (en) * 1985-09-24 2000-02-22 Hitachi, Ltd. One chip semiconductor integrated circuit device having two modes of data write operation and bits setting operation
US5448519A (en) * 1984-10-05 1995-09-05 Hitachi, Ltd. Memory device
US5265234A (en) * 1985-05-20 1993-11-23 Hitachi, Ltd. Integrated memory circuit and function unit with selective storage of logic functions
JPS6252681A (en) * 1985-09-02 1987-03-07 Alps Electric Co Ltd Picture display method
JPS63204595A (en) * 1987-02-20 1988-08-24 Fujitsu Ltd Multi-plane video ram constituting system
JPS6433644A (en) * 1987-07-30 1989-02-03 Kyocera Corp Control system for video memory
JPH0193868A (en) * 1987-10-05 1989-04-12 Nec Corp Data processor
JPH01116690A (en) * 1987-10-30 1989-05-09 Fujitsu Ltd Logical computation circuit
JPH01286055A (en) * 1988-05-13 1989-11-17 Hitachi Ltd Memory access control device
JP3579461B2 (en) 1993-10-15 2004-10-20 株式会社ルネサステクノロジ Data processing system and data processing device
JPH0713555A (en) * 1994-03-14 1995-01-17 Hitachi Ltd Read and write operation control method of one chip memory device and its system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55121574A (en) * 1979-03-13 1980-09-18 Nec Corp Memory controller
JPS55124187A (en) * 1979-03-19 1980-09-25 Hitachi Ltd Color graphic display and device therefor

Also Published As

Publication number Publication date
JPS61264379A (en) 1986-11-22

Similar Documents

Publication Publication Date Title
KR100287355B1 (en) Smart video memory for processing graphics / images and its processing method
JP2735173B2 (en) One-chip memory device
JP2591514B2 (en) One-chip memory device
JP2605656B2 (en) One-chip memory device
JPS6334795A (en) Semiconductor storage device
JPH0697394B2 (en) Memory circuit
KR960006278B1 (en) System with multi-function one chip memory device
JP2811929B2 (en) Semiconductor storage device
JP2591515B2 (en) One-chip memory device
JPH08123716A (en) Memory system
JP3085299B2 (en) Information processing system
KR960006282B1 (en) Dynamic memory device
JP3075280B2 (en) Information processing system
JPH08152873A (en) Data processing system
JP2719589B2 (en) One-chip semiconductor storage device
JP3285033B2 (en) Information processing system
KR950010847B1 (en) Read/write circuit for multiple control register
JP2954988B2 (en) Information processing device
JPH0784860A (en) Information processing system
JPH0784861A (en) Storage circuit and one-chip memory device
JPS61222086A (en) Semiconductor memory element
JPS60260988A (en) Graphic display
JPS61204685A (en) Accessing for video ram
JPH1131121A (en) Bus width conversion circuit
JPS59157883A (en) Memory