JP2605656B2 - One-chip memory device - Google Patents

One-chip memory device

Info

Publication number
JP2605656B2
JP2605656B2 JP7149987A JP14998795A JP2605656B2 JP 2605656 B2 JP2605656 B2 JP 2605656B2 JP 7149987 A JP7149987 A JP 7149987A JP 14998795 A JP14998795 A JP 14998795A JP 2605656 B2 JP2605656 B2 JP 2605656B2
Authority
JP
Japan
Prior art keywords
data
terminals
memory
bit
write
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
JP7149987A
Other languages
Japanese (ja)
Other versions
JPH08123402A (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 JP7149987A priority Critical patent/JP2605656B2/en
Publication of JPH08123402A publication Critical patent/JPH08123402A/en
Application granted granted Critical
Publication of JP2605656B2 publication Critical patent/JP2605656B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は記憶素子に係り、特に高
速グラフィックディスプレイのフレームバッファとして
好適な記憶回路に関する。 【0002】 【従来の技術】グラフィックディスプレイ装置は、表示
分解能の向上に伴い、大容量の表示情報記憶用メモリす
なわちフレームバッファを必要とし始めている。しか
し、フレームバッファの大容量化はグラフィックデータ
の表示を行う際のメモリアクセス回数の増加に結びつく
ので、表示の高速化を図るためにはメモリアクセス回数
の削減が必要である。 【0003】このメモリアクセス回数の削減を図る手段
としては、グラフィックディスプレイ用フレームバッフ
ァの内部で演算処理を実行する方法がある。この方法を
用いたフレームバッファの例を図2に示す。図2におい
て、1は16ビット長の演算器、2はグラフィックデー
タを記憶するメモリ、3は演算器の演算機能指定レジス
タ、4は書き込みマスク回路、D15〜D0はデータ処
理装置からの16ビットデータ、DO15〜DO0はメ
モリの読み出しデータ、FC3〜FC0は演算器に対す
る演算機能指定データ、M15〜M0はメモリに対する
書き込み制御信号、A23〜A1はデータ処理装置から
の23ビットアドレス信号、WEはデータ処理装置から
の書き込み制御信号、FSは演算機能指定レジスタに対
するラッチ制御信号、MSは書き込みマスク回路に対す
るラッチ制御信号である。 【0004】この図2の構成でメモリアクセス回数が減
る理由について説明する。ビットマップ方式のグラフィ
ックディスプレイで図形を書く場合、図形は点の集合で
表すため、図形描画は点描画の繰返しで行う。このた
め、フレームバッファに対してのアクセスは、16ビッ
ト単位ではなく1ビットとか4ビットのようなメモリを
構成しているデータ幅よりも小さい単位で行う。また、
一般には点を書く場合に書き込みデータとの演算を必要
とするため、メモリデータとの演算とビット単位の書き
込みが必要となる。通常のメモリではこれらの機能が無
いため、図形描画処理を行うデータ処理装置の内部で演
算を実行することとなり、書き込むべきメモリ番地のデ
ータを読み込み、ビット演算実行後、同一番地に書き込
むという処理で実現している。このため、1ビットのデ
ータを書く場合でも2回のメモリアクセスが必要であ
る。図2のフレームバッファでは、演算器1でメモリデ
ータとデータ処理装置の演算を書き込みマスク回路4で
ビット単位のデータ書き込みを実現しており、1ビット
のデータを書くために必要なメモリアクセスはデータ処
理装置では1回ですむ。メモリ2のアクセスは、リード
とライトの2回必要であるが通常のメモリにはリード・
モディファイ・ライトという、1回でリードとライトを
実現するアクセスモードがあるため、1回で実現でき
る。以上のように図2に示したフレームバッファは、グ
ラフィックディスプレイの高速化には有効であるが、メ
モリ素子周辺に多くの回路を付加しなければならないた
め、信頼性が低下し、またコストが高くなるという問題
点がある。なお、図2に示すフレームバッファについて
は、例えば日経エレクトロニクス1984.8.27号
「1280×1024画素のグラフィック・ディスプレ
イ用フレームバッファをニブル・モード付き64KRA
Mで設計」(P.227〜245)に示される。 【0005】 【発明が解決しようとする課題】本発明の目的は、1チ
ップメモリデバイスの記憶部の複数ビットに対して同一
の論理レベルの設定のための外部デバイスとメモリデバ
イスとのアクセスを極小とし、システム全体の処理の高
速化が図れ、しかも外部デバイスにとって取扱性の良好
な1チップメモリデバイスを提供することにある。 【0006】 【課題を解決するための手段】上記の目的を達成するた
め、本発明は、複数の記憶位置が割り付けられた記憶部
と、複数の動作モードの任意の一つを特定するための制
御命令である複数ビットの動作指示信号が供給される複
数の端子と、前記記憶部と前記複数の端子に接続され、
前記動作指示信号により特定された所定の動作モードに
応じて、前記記憶部の複数ビットを外部デバイスから供
給されるデータ以外の所定の論理レベルに設定する制御
部とを備え、前記制御部は前記複数の端子から供給され
る前記複数ビットの動作指示信号により特定された動作
モードを保持する保持回路を具備することを特徴とする
1チップメモリデバイスにある。本発明の好適な実施態
様によれば、前記複数の端子から前記複数ビットの動作
指示信号が供給される期間においては前記記憶部は前記
外部デバイスからのアクセスが行われず、前記期間の
後、前記保持回路に保持された前記動作モードに従って
前記記憶部がアクセスされる。また、本発明の好適な実
施態様によれば、前記複数の端子は、外部デバイスによ
り動作指示信号が供給される外部端子である。更に、本
発明の好適な実施態様によれば、前記所定の論理レベル
は、ロジック“0”レベルかロジック“1”レベルの値
である。 【0007】 【作用】上記のように構成すれば、複数の動作モードの
中から、記憶部の所定のブロックの記憶位置を所定の論
理レベルに設定する動作モードを特定し該動作モードを
設定すれば、外部からのデータの値によらず所定の値が
設定可能となるため、記憶部の所定のブロックの記憶位
置のそれぞれのアドレスに対して外部からの所定の論理
レベルを設定するための外部データの供給を不要とする
ことができる。すなわち、記憶部の所定のブロックの記
憶位置のそれぞれのアドレスへの所定の論理レベルの設
定に際し、外部からのデータの供給が不要となることか
ら、処理の高速化が図れ、結果的にシステム全体の処理
の高速化が図れる1チップメモリデバイスを得ることが
できる。また、本発明によれば、制御部が複数の端子か
ら供給される複数ビットの動作指示信号により特定され
た動作モードを保持する保持回路を備えているため、こ
の保持回路に、動作に先だってモードを保持記憶するこ
とができる。したがって、実際の動作中においては、外
部デバイスから動作指示信号を供給する必要がないた
め、外部デバイスにとって、極めて取扱性のよい1チッ
プメモリデバイスを得ることができる。 【0008】 【実施例】以下、本発明の一実施例を図面を用いて詳細
に説明する。 【0009】まず、本発明の概念を説明する。 【0010】図2で示すフレームバッファ用メモリの周
辺回路を減らすためには、メモリ、演算器、演算機能指
定レジスタ、書き込みマスク回路を一体化したIC(In
tegrated Circuit)を作ることが考えられる。現状のグ
ラフィックディスプレイでは、演算機能として要求され
るものは論理演算が主体であるため、演算器は演算デー
タのビット単位に分割することが可能である。算術演算
を使う場合も桁上げ信号を扱う回路を付加することで、
原則的にはビット単位の分割は可能である。書き込みマ
スク回路4はビット単位の書き込み制御を行う回路であ
るから、ビット単位に分割できることは明らかである。
しかしながら演算機能指定レジスタ3は、演算器1の演
算機能の数で決まるビット長であり、演算データのビッ
ト長(ここでは16)とは無関係であるため、演算デー
タのビット単位に分割することはできない。したがって
演算機能指定レジスタ3は、分割した単位毎に持つ必要
がある。このように、分割した単位毎に同一の機能のも
のを持つことは無駄であるがICの集積度は年毎に高く
なり、一体化した場合のメモリ素子の数に対する周辺回
路として使われる素子の数の比率は1%にもならないわ
ずかのものであるため問題とはならない。一体化をした
場合に、演算機能指定レジスタ3を分割単位毎に持つこ
とは、以上に示したようにそれほど問題ではないが、図
2に示したフレームバッファをデータのビット単位に分
割することには問題がある。図2のフレームバッファを
使うためには、実際のメモリアクセスを行う前に、演算
機能指定レジスタ3に演算機能データを書き込みマスク
回路4に書き込みマスクデータを設定する必要がある。
図2のフレームバッファでは、どちらのデータも処理装
置からのデータ信号D15〜D0を入力信号としている
ため、ビット単位に分割すると1ビットの信号となって
しまうので、書き込みマスク回路4では問題がないが、
演算機能指定レジスタ3では2種類の演算しか指定でき
なくなってしまう。このように、メモリのビット構成の
違いで演算機能の数が変わることは問題である。本発明
は、演算機能指定をデータバスで行うため、データのビ
ット分割に依存することになり発生しているのに着目
し、データバスと違いビット分割に依存しないアドレス
信号を用いて指定するものである。 【0011】次に、本発明の一実施例を説明する。図1
は、実施例のフレームバッファ用メモリ回路の構成であ
る。1は演算器、2はメモリ素子、3は演算機能指定レ
ジスタ、4は書き込みマスク回路、Djはグラフィック
描画用データ処理装置のデータ信号16ビットの中の1
ビット信号、A23〜A1はデータ処理装置のアドレス
信号、WEはデータ処理装置のライト制御信号、FSは
演算機能指定レジスタ3及び書き込みマスク回路4に対
するデータセット制御信号、DOjはメモリ素子2の読
み出しデータ、DIjは演算器1の演算結果データ、W
jはメモリ素子2に対する書き込み制御信号である。 【0012】図3は書き込みマスク回路の構成である。
41は書き込みマスクデータ格納レジスタ、42はライ
ト制御信号WEを抑止するためのゲートである。 【0013】図4は図1のメモリ回路によるフレームバ
ッファの構成例である。図4では接続関係を明確にする
ため、4ビットの構成を示してある。 【0014】図5はグラフィックディスプレイシステム
に実施例のメモリ回路を適用した例である。6はデータ
処理装置、7はセット信号FSを発生するデコード回路
である。 【0015】以下、実施例のメモリ回路の動作を説明す
る。実施例では、メモリ回路5は800000H〜8F
FFFFH番地に割当てられている。ここでHは16進
数であることを示しバイトを単位とする番地である。デ
コード回路7は900000H〜90001FH番地で
セット信号FSを出力する。演算器1の演算機能は図6
に示す16種である。データ処理装置6が例えば900
014H番地にF0FFHを書き込むと、デコード回路
7はセット信号FSを出力し、演算機能指定レジスタ3
にアドレス信号A4〜A1すなわち0101B(Bはビ
ットデータ)をセットする。この結果、演算器1は図6
の演算機能表に示すように、論理和を演算機能として選
択する。同様に、演算器1は演算機能指定レジスタ3に
0010Bをセットすれば、データDj、Dojとは無
関係に論理レベル“0”のデータを出力し、また演算機
能指定レジスタ3に1010Bをセットすれば、データ
Dj、Dojとは無関係に論理レベル“1”のデータを
出力する。また、書き込みマスク回路4では、書き込み
マスクデータ格納レジスタ41にデータ処理装置6から
のデータ0F00Hの16ビットのデータの中の1ビッ
トをセットする。セットされる1ビットは、メモリ素子
のビット位置と同一の位置である。この結果、書き込み
マスクレジスタとしてF0FFHがセットされたことに
なる。 【0016】次にデータ処理装置6が800000H番
地にF3FFHを書く場合について説明する。8000
00H番地には、0512Hが格納してあるとする。デ
ータ処理装置6のメモリアクセスタイミングを図7に示
す。データ処理装置6のメモリ回路5に対するライトア
クセスは、図7に示すようにリード・モディファイ・ラ
イト動作となる。リード・モディファイ・ライトのリー
ドのタイミングでDOバスには0512Hが読み出さ
れ、DバスにはF3FFHが入力されている。次のモデ
ィファイのタイミングで、演算器1はDバスとDOバス
のデータを演算し、DIバスに演算結果を出力する。こ
の場合はDバスの値がF3FFHであり、DOバスが0
512Hであるため、DIバスのデータはF7FFHと
なる。これは、前述した動作で演算器1は論理和を演算
機能として選択しているためである。最後にリード・モ
ディファイ・ライトのライトのタイミングでDIバスの
データF7FFHをライトするが前述のセット動作で、
書き込みマスクデータはF0FFHがセットされてお
り、第3図に示すようにマスクデータが0のビットはゲ
ート42がONとなり、1のビットはゲート42がOF
Fとなるため、D11〜D8の4ビットのみが実際のラ
イト動作を実行し、残りの12ビットではライト動作は
起こらない。この結果、800000H番地のデータは
0712Hになる。 【0017】以上述べたように、本実施例ではアドレス
信号の一部を制御信号として用いるため、データの分割
方法によらず演算機能の指定が可能なリード・モディフ
ァイ・ライトを行うメモリ回路が実現することができ
る。実施例のメモリ回路で通常のメモリICと異なるの
は、演算機能及び書き込みマスクデータをセットするた
めのセット信号FSのみであり、ICのピンは1ピン増
加するだけなので、この相異は図1の回路のままIC化
する上で問題にならない。例えば、64K×1ビット構
成のDynamic RAMでは1ピンは使用していないものも
あるため、この空ピンにFSを使うことが可能である。 【0018】また、このセット信号を通常のメモリアク
セスと異なるタイミングシーケンスで実現してもよいこ
とは明らかである。例えば図8に示すような、Dynamic
RAMの通常シーケンスではでてこない、RAS信号の
立下がりとWE信号でセット信号を作ることが可能であ
る。 【0019】なお、本実施例ではデータ幅を16ビット
とし、分割の単位を1ビットとしたが、どちらの値も本
実施例で説明した値以外の値でもよいことは明らかであ
る。 【0020】また実施例では、演算機能の指定と書き込
みマスクの指定を同時に行っているが、別々に指定する
ようにしてもよいことも明らかである。 【0021】さらに、演算器の機能指定のデータ幅も4
ビット以外でも良いことも明らかである。 【0022】また、シフトレジスタを内蔵して、シリア
ル出力を持つ構成のメモリに対して、本実施例を適用し
てもよいことも明らかである。 【0023】 【発明の効果】以上の説明から明らかなように、本発明
のよれば、複数の動作モードの中から、記憶部の所定の
ブロックの記憶位置を所定の論理レベルに設定する動作
モードを特定し該動作モードを設定すれば、外部からの
データの値によらず所定の値が設定可能となるため、記
憶部の所定のブロックの記憶位置のそれぞれのアドレス
に対して外部からの所定の論理レベルを設定するための
外部データの供給を不要とすることができる。すなわ
ち、記憶部の所定のブロックの記憶位置のそれぞれのア
ドレスへの所定の論理レベルの設定に際し、外部からの
データの供給が不要となることから、処理の高速化が図
れ、結果的にシステム全体の処理の高速化が図れる1チ
ップメモリデバイスを得ることができる。また、本発明
によれば、制御部が複数の端子から供給される複数ビッ
トの動作指示信号により特定された動作モードを保持す
る保持回路を備えているため、この保持回路に、動作に
先だってモードを保持記憶することができる。したがっ
て、実際の動作中においては、外部デバイスから動作指
示信号を供給する必要がないため、外部デバイスにとっ
て、極めて取扱性のよい1チップメモリデバイスを得る
ことができる。
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. 2. Description of the Related Art Graphic display devices have begun to require a large-capacity display information storage memory, that is, a frame buffer, as display resolution is improved. 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 a means for reducing the number of times of memory access, there is a method of executing arithmetic processing inside a graphic display frame buffer. 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 designation register of the arithmetic unit, 4 is a write mask circuit, and D15 to D0 are 16-bit data from a data processing device. , DO15 to DO0 are data read from the memory, FC3 to FC0 are operation function designation data for the arithmetic unit, M15 to M0 are write control signals for the memory, A23 to A1 are 23-bit address signals from the data processing device, and WE is data processing. A write control signal from the device, FS is a latch control signal for the arithmetic function designation register, and MS is a latch control signal for the write mask circuit. The reason why the number of memory accesses is reduced in the configuration shown in 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. Also,
Generally, when writing a point, an operation with write data is required, so that an operation with memory data and a write in bit units are required. Since a normal memory does not have these functions, the calculation is performed inside the data processing device that performs the graphic drawing process. The data at the memory address to be written is read, and after performing the bit operation, the data is written to the same address. Has been realized. Therefore, even when writing 1-bit data, two memory accesses are required. In the frame buffer of FIG. 2, the arithmetic unit 1 realizes the writing of the memory data and the operation of the data processing device, and the mask circuit 4 realizes the writing of data in units of bits. The processing device only needs to be done once. Access to memory 2 is required twice: read and write, but read / write is
Since there is an access mode called “modify / write” that realizes reading and writing in one operation, it can be realized in one operation. 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. For the frame buffer shown in FIG. 2, for example, Nikkei Electronics 1984.8.27, “1280 × 1024 pixel graphic display frame buffer 64KRA with nibble mode”
Design with M ”(P.227 to 245). SUMMARY OF THE INVENTION An object of the present invention is to minimize access between an external device and a memory device for setting the same logical level for a plurality of bits of a storage section of a one-chip memory device. Accordingly, it is an object of the present invention to provide a one-chip memory device that can speed up the processing of the entire system and that is easy to handle for an external device. [0006] In order to achieve the above object, the present invention provides a storage unit to which a plurality of storage locations are allocated and a storage unit for specifying any one of a plurality of operation modes. A plurality of terminals to which a multi-bit operation instruction signal as a control command is supplied, and a plurality of terminals connected to the storage unit and the plurality of terminals;
A control unit that sets a plurality of bits of the storage unit to a predetermined logic level other than data supplied from an external device, according to a predetermined operation mode specified by the operation instruction signal, wherein the control unit is A one-chip memory device includes a holding circuit for holding an operation mode specified by the multi-bit operation instruction signal supplied from a plurality of terminals. According to a preferred embodiment of the present invention, the storage unit is not accessed from the external device during a period in which the operation instruction signal of the plurality of bits is supplied from the plurality of terminals. The storage unit is accessed according to the operation mode held in the holding circuit. According to a preferred embodiment of the present invention, the plurality of terminals are external terminals to which an operation instruction signal is supplied by an external device. Further, according to a preferred embodiment of the present invention, the predetermined logic level is a value of a logic “0” level or a logic “1” level. With the above configuration, an operation mode for setting a storage position of a predetermined block of a storage unit to a predetermined logic level from a plurality of operation modes is specified, and the operation mode is set. For example, since a predetermined value can be set irrespective of the value of external data, an external device for setting a predetermined logical level from the outside to each address of the storage position of a predetermined block of the storage unit is used. Data supply can be eliminated. In other words, when setting a predetermined logical level to each address of the storage position of a predetermined block in the storage unit, it is not necessary to supply data from the outside, so that processing can be speeded up, and as a result, the entire system can be achieved. A one-chip memory device that can achieve high-speed processing can be obtained. Further, according to the present invention, the control unit includes the holding circuit for holding the operation mode specified by the operation instruction signal of a plurality of bits supplied from the plurality of terminals. Can be held and stored. Therefore, it is not necessary to supply an operation instruction signal from an external device during an actual operation, so that a one-chip memory device that is extremely easy to handle for the external device can be obtained. An embodiment of the present invention will be described below 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 IC (Integrated Memory), an arithmetic unit, an arithmetic function designation register, and a write mask circuit are integrated.
integrated circuit). 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 when using arithmetic operations, by adding a circuit that handles carry signals,
In principle, bit division is possible. Since the write mask circuit 4 is a circuit that performs write control in bit units, it is apparent that the write mask circuit 4 can be divided in bit units.
However, the arithmetic function designation register 3 has a bit length determined by the number of arithmetic functions of the arithmetic unit 1 and is not related to the bit length of the arithmetic data (here, 16). Can not. Therefore, the operation function specification register 3 must be provided for each divided unit. Thus, it is useless to have the same function for each divided unit, but the degree of integration of the IC increases every year, and the number of elements used as a peripheral circuit with respect to 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, having the arithmetic function designation register 3 for each division unit is not so problematic 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.
In the frame buffer of FIG. 2, both data use the data signals D <b> 15 to D <b> 0 from the processing device as input signals. Therefore, if the data is divided into bit units, it becomes a 1-bit signal. But,
The arithmetic function specification register 3 can only specify two types of arithmetic. 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 the calculation function specification is performed on a data bus, so that the calculation function depends on the data bit division. Thus, unlike the data bus, the specification using an address signal that does not depend on the bit division is performed. It is. Next, an embodiment of the present invention will be described. FIG.
Is the configuration of the frame buffer memory circuit of the embodiment. 1 is an arithmetic unit, 2 is a memory element, 3 is an arithmetic function designation register, 4 is a write mask circuit, and Dj is one of 16 bits of a data signal of the graphic processing data processor.
Bit signals, A23 to A1 are address signals of the data 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, and DOj is read data of the memory element 2. , DIj are the operation result data of the operation unit 1, W
j 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, and 42 is a gate for suppressing the write control signal WE. FIG. 4 shows a configuration example 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. The operation of the memory circuit according to the embodiment will be described below. In the embodiment, the memory circuit 5 has a capacity of 800000H to 8F.
It is assigned to address FFFFH. Here, H is an address indicating a hexadecimal number and in units of bytes. Decoding circuit 7 outputs set signal FS at addresses 900000H to 90001FH. The computing function of computing unit 1 is shown in FIG.
16 types. The data processing device 6 is, for example, 900
When F0FFH is written to the address 014H, the decode circuit 7 outputs the set signal FS, and the operation function designation register 3
, Address signals A4 to A1, that is, 0101B (B is bit data). As a result, the arithmetic unit 1
As shown in the calculation function table, OR is selected as the calculation function. Similarly, if arithmetic unit 1 sets 0010B in arithmetic function designation register 3, it outputs data of logic level "0" irrespective of data Dj and Doj, and if 1010B is set in arithmetic function designation register 3, , Data Dj and Doj, and outputs data of logic level "1". In the write mask circuit 4, one bit of the 16-bit data 0F00H from the data processing device 6 is set in the write mask data storage register 41. One bit to be set is the same position as the bit position of the memory element. As a result, F0FFH is set as the write mask register. Next, a case where the data processing device 6 writes F3FFH at the address 800000H will be described. 8000
It is assumed that 0512H is stored in the address 00H. 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. 0512H is read to the DO bus at the timing of read-modify-write, and F3FFH is input to the D bus. At the next modify timing, the arithmetic unit 1 calculates the data of the D bus and the DO bus, and outputs the calculation result to the DI bus. In this case, the value of the D bus is F3FFH, and the value of the DO bus is 0.
Since it is 512H, the data on 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 of the DI bus is written at the timing of the read-modify-write write.
As for the write mask data, F0FFH is set, and as shown in FIG. 3, the bit of the mask data of 0 turns on the gate 42 and the 1 bit of the mask data turns off the gate 42.
Since it is F, only the 4 bits D11 to D8 execute the actual write operation, and the write operation does not occur in the remaining 12 bits. As a result, the data at the address 800000H becomes 0712H. As described above, in this embodiment, since a part of the address signal is used as the control signal, a read-modify-write memory circuit capable of designating an arithmetic function regardless of the data division method is realized. can do. The only difference between the memory circuit of the embodiment and the ordinary memory IC is the set signal FS for setting the arithmetic function and the write mask data, and the number of pins of the IC is increased by only one pin. This does not pose a problem in forming an IC as it is. For example, a dynamic RAM having a 64K × 1 bit configuration does not use one pin, so that it is possible to use FS for this empty pin. It is apparent that this set signal may be realized in a timing sequence different from that of a normal memory access. For example, as shown in FIG.
It is possible to generate a set signal by the falling edge of the RAS signal and the WE signal, which cannot be obtained in the normal sequence of the RAM. 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, the data width for designating the function of the arithmetic unit is also 4
It is clear that other than bits may be used. It is also apparent that the present embodiment may be applied to a memory having a built-in shift register and having a serial output. As is apparent from the above description, according to the present invention, an operation mode for setting a storage position of a predetermined block of a storage unit to a predetermined logic level from among a plurality of operation modes. If the operation mode is specified and the operation mode is set, a predetermined value can be set regardless of the value of external data. It is not necessary to supply external data for setting the logical level of. In other words, when setting a predetermined logical level to each address of the storage position of a predetermined block in the storage unit, it is not necessary to supply data from the outside, so that processing can be speeded up, and as a result, the entire system can be achieved. A one-chip memory device that can achieve high-speed processing can be obtained. Further, according to the present invention, the control unit includes the holding circuit for holding the operation mode specified by the operation instruction signal of a plurality of bits supplied from the plurality of terminals. Can be held and stored. Therefore, it is not necessary to supply an operation instruction signal from an external device during an actual operation, so that a one-chip memory device that is extremely easy to handle for the external device can be obtained.

【図面の簡単な説明】 【図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 according to 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. 4 is a diagram illustrating a frame buffer configuration according to an embodiment; FIG. 5 is a block diagram illustrating a configuration example of a graphic display system. FIG. 6 is a diagram for explaining an arithmetic function. FIG. 7 is a timing chart showing a memory access timing. FIG. 8 is a timing chart showing set signal creation timing. [Description of Signs] 1 ... Calculator, 2 ... Memory element, 3 ... Operation function designation register, 4 ... Write mask circuit, D15 to D0 ... Input data, A23 to A1 ... Address signal, WE ... Write control signal, FS ... Set signal.

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

Claims (1)

(57)【特許請求の範囲】 1.複数の記憶位置が割り付けられた記憶部と、 複数の動作モードの任意の一つを特定するための制御命
令である複数ビットの動作指示信号が供給される複数の
端子と、 前記記憶部と前記複数の端子に接続され、前記動作指示
信号により特定された所定の動作モードに応じて、前記
記憶部の複数ビットを外部デバイスから供給されるデー
タ以外の所定の論理レベルに設定する制御部とを備え、 前記制御部は前記複数の端子から供給される前記複数ビ
ットの動作指示信号により特定された動作モードを保持
する保持回路を具備 することを特徴とする1チップメモ
リデバイス。2.前記複数の端子から前記複数ビットの動作指示信号
が供給される期間においては前記記憶部は前記外部デバ
イスからのアクセスが行われず、 前記期間の後、前記保持回路に保持された前記動作モー
ドに従って前記記憶部がアクセスされることを特徴とす
る特許請求の範囲第1項記載の1チップメモリデバイ
.前記複数の端子は、外部デバイスにより動作指示信
号が供給される外部端子であることを特徴とする特許請
求の範囲第1項記載の1チップメモリデバイス。 .前記所定の論理レベルは、ロジック“0”レベルか
ロジック“1”レベルの値であること特徴とする特許請
求の範囲第1項記載の1チップメモリデバイス。
(57) [Claims] A storage unit to which a plurality of storage locations are assigned; a plurality of terminals to which a multi-bit operation instruction signal that is a control instruction for specifying any one of a plurality of operation modes is supplied; A control unit that is connected to a plurality of terminals and sets a plurality of bits of the storage unit to a predetermined logic level other than data supplied from an external device in accordance with a predetermined operation mode specified by the operation instruction signal. The control unit is provided with the plurality of terminals supplied from the plurality of terminals.
Holds the operation mode specified by the operation instruction signal
A one-chip memory device , comprising: 2. An operation instruction signal of the plurality of bits from the plurality of terminals;
During the period in which the external device is supplied, the storage unit stores the external device.
No access from the chair is performed, and after the period, the operation mode held in the holding circuit is performed.
The storage unit is accessed according to the password.
The one-chip memory device according to claim 1,
Su . 3 . The plurality of terminals are external terminals to which an operation instruction signal is supplied by an external device .
2. The one-chip memory device according to claim 1, wherein: 4 . The predetermined logic level is a logic “0” level or a logic “1” level value .
2. The one-chip memory device according to claim 1, wherein:
JP7149987A 1995-06-16 1995-06-16 One-chip memory device Expired - Lifetime JP2605656B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7149987A JP2605656B2 (en) 1995-06-16 1995-06-16 One-chip memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7149987A JP2605656B2 (en) 1995-06-16 1995-06-16 One-chip memory device

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JPH08123402A JPH08123402A (en) 1996-05-17
JP2605656B2 true JP2605656B2 (en) 1997-04-30

Family

ID=15486996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7149987A Expired - Lifetime JP2605656B2 (en) 1995-06-16 1995-06-16 One-chip memory device

Country Status (1)

Country Link
JP (1) JP2605656B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3097843B2 (en) 1997-11-28 2000-10-10 日本電気株式会社 Display control circuit
JP4085983B2 (en) 2004-01-27 2008-05-14 セイコーエプソン株式会社 Information processing apparatus and memory access method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5671154A (en) * 1979-11-15 1981-06-13 Nec Corp Information processing device
JPS6011969A (en) * 1983-07-01 1985-01-22 Mitsubishi Electric Corp Memory device with logical arithmetic means

Also Published As

Publication number Publication date
JPH08123402A (en) 1996-05-17

Similar Documents

Publication Publication Date Title
JPS60200287A (en) Memory unit
US5122988A (en) Data stream smoothing using a FIFO memory
JP2735173B2 (en) One-chip memory device
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
JP2591514B2 (en) One-chip memory device
JP2605656B2 (en) One-chip memory device
US5265234A (en) Integrated memory circuit and function unit with selective storage of logic functions
JP2591515B2 (en) One-chip memory device
JP2811929B2 (en) Semiconductor storage device
JPH0697394B2 (en) Memory circuit
JPH08123716A (en) Memory system
US7395399B2 (en) Control circuit to enable high data rate access to a DRAM with a plurality of areas
JPH08152873A (en) Data processing system
JP3085299B2 (en) Information processing system
JPH0784860A (en) Information processing system
US6430647B1 (en) Data processing system for use in conjunction with a font card or the like
JP3179891B2 (en) Bus control method
JPH0450625B2 (en)
JP3075280B2 (en) Information processing system
JP3166323B2 (en) Image processing device
JP3039554B2 (en) Memory access circuit and output device
JP2954988B2 (en) Information processing device
JPH082756Y2 (en) Image processing device
JP3242474B2 (en) Data processing device
JPH05216741A (en) Storage circuit and its operating mode setting method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term