JPH0748302B2 - Memory device - Google Patents

Memory device

Info

Publication number
JPH0748302B2
JPH0748302B2 JP62315511A JP31551187A JPH0748302B2 JP H0748302 B2 JPH0748302 B2 JP H0748302B2 JP 62315511 A JP62315511 A JP 62315511A JP 31551187 A JP31551187 A JP 31551187A JP H0748302 B2 JPH0748302 B2 JP H0748302B2
Authority
JP
Japan
Prior art keywords
signal
data
output
bit
mask
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
JP62315511A
Other languages
Japanese (ja)
Other versions
JPH01155592A (en
Inventor
孝寿 石井
Original Assignee
株式会社アスキー
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 株式会社アスキー filed Critical 株式会社アスキー
Priority to JP62315511A priority Critical patent/JPH0748302B2/en
Publication of JPH01155592A publication Critical patent/JPH01155592A/en
Publication of JPH0748302B2 publication Critical patent/JPH0748302B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、画像処理装置等における画像データやプロ
グラムデータを記憶する際に用いて好適なメモリ装置に
関する。
The present invention relates to a memory device suitable for use in storing image data or program data in an image processing device or the like.

「従来の技術」 ピクセル単位あるいはビット単位のデータ書き換えを高
速に行うことができるとともに、記憶エリアを画像デー
タエリアとプログラムエリアとに高速で使い分けること
ができるメモリ装置が開発されている(特願昭61−1959
04号)。
"Prior Art" A memory device has been developed in which data can be rewritten pixel by pixel or bit by bit at a high speed, and a storage area can be selectively used for an image data area and a program area at a high speed (Japanese Patent Application No. Sho-sho). 61-1959
No. 04).

このメモリ装置は、ノーマルモードとマスクモードとを
有し、ノーマルモードにおいては、通常のメモリと同様
のアクセスが可能となり、また、マスクモードにおいて
ビット単位のマスクや論理演算が可能となっている。
This memory device has a normal mode and a mask mode. In the normal mode, the same access as that of a normal memory is possible, and in the mask mode, bit-wise masking and logical operation are possible.

「発明が解決しようとする問題点」 ところで、16ビットデータバスの画像メモリを複数チッ
プで構成した場合、ノーマルモードで書込を行うときで
あっても、マスク処理が必要なことが生じる。以下にこ
の点について説明する。
[Problems to be Solved by the Invention] By the way, when the image memory of the 16-bit data bus is composed of a plurality of chips, a mask process may be necessary even when writing in the normal mode. This point will be described below.

第19図は、16ビットデータバスに1ワード8ビットのメ
モリを2個接続する際の一般的な接続関係を示す図であ
る。図において、BUSは16ビットデータバスの各ビット
位置を示し、ME2およびME3は各々1ワードが8ビットの
メモリを示している。メモリME2、3は各々シリアルレ
ジスタを有し、マルチポート構成となっている。
FIG. 19 is a diagram showing a general connection relationship when connecting two 8-bit memories per word to a 16-bit data bus. In the figure, BUS indicates each bit position of the 16-bit data bus, and ME2 and ME3 each indicate a memory in which one word has 8 bits. Each of the memories ME2 and ME3 has a serial register and has a multi-port configuration.

また、図示のように、メモリME2の第0〜第7ビットに
は各々データバスの偶数ビットが順次接続されており、
メモリME3の第0〜第7ビットにはデータバスの奇数ビ
ットが順次接続されている。このように、データバスの
偶数および奇数ビットをメモリME2、3に振り分けたの
は、画像の高速表示を容易にするためである。
Further, as shown in the drawing, even bits of the data bus are sequentially connected to the 0th to 7th bits of the memory ME2,
The odd bits of the data bus are sequentially connected to the 0th to 7th bits of the memory ME3. In this way, the even and odd bits of the data bus are distributed to the memories ME2 and ME3 in order to facilitate high-speed display of images.

すなわち、表示の際は、第20図に示すように、メモリME
2、3から該当するラインの画像データがシリアルレジ
スタSR1、SR2に各々転送され、このシリアルレジスタSR
1,SR2からドットクロックの1/2の周波数のクロックφ
によりシリアル変換されて出力される。これらのシリア
ルデータがセレクタSE4に供給され、セレクタSE4がドッ
トクロックφによってシリアルレジスタSR1,SR2の各
出力を交互に選択することによってドットクロックφ
に基づいたシリアルデータが出力される。そして、メモ
リME2、3にはデータバスの偶数ビットと奇数ビットと
が振り分けて記憶されているから、セレクタSE4によっ
て組み合わされるデータは、ビット番号が連続したデー
タとなる。
That is, at the time of display, as shown in FIG.
The image data of the corresponding line from 2 and 3 are transferred to the serial registers SR1 and SR2, respectively, and the serial register SR
1, SR2 to dot clock 1/2 clock frequency φ 1
Is serially converted by and output. These serial data are supplied to a selector SE4, dot clock phi 2 by the selector SE4 selects alternately the outputs of the serial register SR1, SR2 by the dot clock phi 2
The serial data based on is output. Further, since even bits and odd bits of the data bus are separately stored in the memories ME2 and ME3, the data combined by the selector SE4 is data having consecutive bit numbers.

このような構成をとることにより、シリアルレジスタSR
1,SR2へ供給するクロックをドットクロックの1/2とする
ことができ、高速表示が可能となる。
With this configuration, the serial register SR
The clock supplied to 1 and SR2 can be half of the dot clock, enabling high-speed display.

しかしながら、高速表示の都合上、メモリME2、3とデ
ータバスとを上述のように接続すると、メモリME2、3
をプログラム又はデータエリアとして使用している場合
において上位もしくは下位8ビットだけ書き変える必要
が生じた場合に、マスク処理が必要となってしまう。例
えば、下位8ビットだけを書き換えるときは、第19図に
斜線で示すようにメモリ2、3の該当するワードの各1/
2の部分に書込を行わなければならず、マスク処理が必
要となる。
However, for the sake of high-speed display, if the memories ME2, 3 and the data bus are connected as described above, the memories ME2, 3
When using as a program or data area, if it is necessary to rewrite only the upper or lower 8 bits, the mask processing becomes necessary. For example, when only the lower 8 bits are rewritten, as shown by the hatched lines in FIG.
It is necessary to write to the portion 2 and mask processing is required.

また、上述の場合に限らず、1つのメモリチップにビッ
ト番号が不連続に配置される場合は、ノーマルモードに
おいてマスク処理が必要となることがある。
In addition to the above case, when the bit numbers are discontinuously arranged in one memory chip, the mask processing may be necessary in the normal mode.

しかしながら、上述のメモリ装置においては、ノーマル
モードにおいてマスク機能がないため、1ワード以下の
データを書き換える場合などにおいて不便があった。す
なわち、マスクモードによればビット単位のマスクが行
えるから任意のビットの書き換えができるが、マスクモ
ードに切り換える必要があること、および、アクセスし
ないプレーン(面)について予めマスクを行う等の処理
の必要があり、これらの処理に時間を要してしまうから
である。
However, the memory device described above has no mask function in the normal mode, which is inconvenient when rewriting data of one word or less. That is, according to the mask mode, it is possible to rewrite any bit because masking can be performed in bit units, but it is necessary to switch to the mask mode, and it is necessary to perform processing such as masking in advance for planes that will not be accessed. This is because these processes take time.

この発明は、上述した事情に鑑みてなされたもので、ノ
ーマルモードにおいてもビット単位でアクセスを行うこ
とができるメモリ装置を提供することを目的としてい
る。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a memory device that can be accessed in bit units even in the normal mode.

「問題点を解決するための手段」 この発明は、上記問題点を解決するために、単純メモリ
素子としてアクセスを行う第1のモードとデータに対し
論理演算およびマスクが行なえる第2のモードとを有す
るとともに、前記第1、第2のモードを選択するセレク
ト手段を有するメモリ装置において、前記第1のモード
においてデータにマスクを行うマスク手段を有してい
る。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a first mode in which an access is performed as a simple memory element and a second mode in which logical operation and masking can be performed on data. In addition, the memory device having the selecting means for selecting the first and second modes has the masking means for masking the data in the first mode.

「作用」 単純メモリとしてのアクセスを行う第1のモードにおい
てマスク機能を働かせることができるので、メモリをプ
ログラムエリアとして使用している場合にマスク処理の
必要が生じても、第2のモードに切り換えることなく、
マスク処理が行える。
[Operation] Since the mask function can be activated in the first mode in which access is performed as the simple memory, even if the mask processing is necessary when the memory is used as the program area, the mode is switched to the second mode. Without
Mask processing can be performed.

「実施例」 以下、図面を参照してこの発明の実施例について説明す
る。
[Examples] Examples of the present invention will be described below with reference to the drawings.

実施例においては、16色表示を行う場合を例にとってお
り、カラーコードとして4ビット必要としている。した
がって、第18図に示すように4面分のフレームメモリFM
0〜FM3を必要とする。この場合、各フレームメモリFM0
〜FM3の同一ビット位置にある破線で囲んだデータ(こ
の破線の方向を、以下ピクセル方向という)が、表示面
上の1ドットに対応する。そして、画像表示を行う際
は、各フレームメモリFM0〜FM3のピクセル毎に、データ
を表示面のスキャンに従って順次読み出し、これによ
り、多数色表示を可能としている。また、実際には、フ
レームメモリFM0〜FM3として、デュアルポートメモリを
4面並列に設け、各チップのシリアルデータ出力端か
ら、ピクセルデータを同期して読み出す方法が一般に採
られている。なお、第18図に示す場合において、ワード
単位でアクセスを行う際のアクセス方向を、以下ワード
方向という(図では1点鎖線の矢印で示す)。
In the embodiment, the case of displaying 16 colors is taken as an example, and 4 bits are required as a color code. Therefore, as shown in FIG.
Requires 0 to FM3. In this case, each frame memory FM0
Data surrounded by a broken line at the same bit position of FM3 (the direction of this broken line is hereinafter referred to as pixel direction) corresponds to one dot on the display surface. Then, when displaying an image, data is sequentially read out for each pixel of each of the frame memories FM0 to FM3 in accordance with the scanning of the display surface, thereby enabling multicolor display. In practice, as the frame memories FM0 to FM3, a method in which dual port memories are provided in parallel on four sides and pixel data is synchronously read from the serial data output end of each chip is generally adopted. In the case shown in FIG. 18, the access direction when accessing in word units is hereinafter referred to as the word direction (indicated by a chain line arrow in the figure).

§実施例の全体構成 第1図は、この発明の一実施例の全体構成を示すブロッ
ク図である。この図において、M0〜M7は、各々1ビット
×64K(あるいは128K)のメモリであり、各々が並列接
続されて8ビット×64K(あるいは128K)のメモリブロ
ックMB0を構成している。BTI0〜BTI7は、各々メモリM0
〜M7とデータバスIO0〜IO7との間のデータの授受をビッ
ト毎に制御するビットインターフェイスであり、PXI−
0はデータバスIOp−0との間でピクセル方向のいずれ
か1ビットのデータ(以下、ピクセルデータという)の
授受を行うとともに、チップセレクトデータあるいは後
述するプレーンマスクデータの読み込みを行うピクセル
インターフェイス回路である。このピクセルインターフ
ェイス回路PXI−0は、ビットインターフェイスBTI0〜B
TI7のいずれかを介してメモリM0〜M7のいずれかとピク
セルデータの授受を行うようになっており、また、チッ
プセレクトデータおよびプレーンマスクデータに基づく
制御信号を、ビットインターフェイスBTI0〜BTI7および
タイミング・コマンド・コントロール回路TCCに供給す
るようになっている。
§ Overall configuration of the embodiment Fig. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. In the figure, M 0 to M 7 are 1-bit × 64K (or 128K) memories, respectively, which are connected in parallel to form 8-bit × 64K (or 128K) memory block MB0. BTI 0 to BTI 7 are memory M 0
A bit interface that controls for each bit to exchange data between the ~M 7 and the data bus IO 0 ~IO 7, PXI-
Reference numeral 0 is a pixel interface circuit that exchanges 1-bit data in the pixel direction (hereinafter referred to as pixel data) with the data bus IOp-0, and also reads chip select data or plane mask data described later. is there. This pixel interface circuit PXI-0 has bit interfaces BTI 0 to BTI.
Either through the TI 7 are adapted to perform either of the memory M 0 ~M 7 exchanging pixel data, and a control signal based on the chip select data and plane mask data bit interface BTI 0 ~BTI 7 and timing command control circuit TCC.

タイミング・コマンド・コントロール回路TCCは、外部
からアドレスバスA0〜A7を介して供給されるアドレスデ
ータ、アウトプットインネーブル信号(制御信号)OE、
ライトイネーブル信号WE、ロウアドレス・ストローブ信
号RAS、およびカラムアドレス・ストローブ信号CAS等に
基づいてメモリブロックMB0のアクセス制御および回路
各部のタイミングの制御を行う回路である。また、タイ
ミング・コマンド・コントロール回路TCCは、ビットイ
ンターフェイスBTI0〜BTI7から供給されるビットマスク
データ(後述)の値によって、メモリM0〜M7のライトイ
ネーブル信号を制御するようになっている。さらに、タ
イミング・コマンド・コントロール回路TCCは、アドレ
スバスA0〜A7から供給されるコマンドデータを解読し、
この解読結果に基づいて回路各部を適宜制御するように
なっている。
The timing command control circuit TCC includes address data supplied externally via the address buses A0 to A7, an output enable signal (control signal) OE,
This is a circuit for performing access control of the memory block MB0 and timing control of each part of the circuit based on the write enable signal WE, the row address / strobe signal RAS, the column address / strobe signal CAS, and the like. The timing command control circuit TCC controls the write enable signals of the memories M 0 to M 7 according to the value of bit mask data (described later) supplied from the bit interfaces BTI 0 to BTI 7 . . Further, the timing command control circuit TCC decodes the command data supplied from the address buses A0 to A7,
Each part of the circuit is appropriately controlled based on the result of this decoding.

上述した構成要素により、メモリ装置#0Mが構成されて
いる。そして、この実施例は、メモリ装置#0Mおよびこ
れと同一構成のメモリ装置#1M〜#3Mの合計4つの部分
から成っている。この場合、各メモリ装置#1M〜#3M内
のメモリブロックはMB1〜MB3と、ピクセルインターフェ
イスはPXI−1〜PXI−3と、また、各ピクセルインター
フェイスに接続されるデータバスはIOp−1〜IOp−3と
表して区別する。
The memory device # 0M is configured by the above-described components. Further, this embodiment comprises a total of four parts, that is, the memory device # 0M and the memory devices # 1M to # 3M having the same structure as the memory device # 0M. In this case, the memory blocks in each of the memory devices # 1M to # 3M are MB1 to MB3, the pixel interfaces are PXI-1 to PXI-3, and the data buses connected to the pixel interfaces are IOp-1 to IOp. It is expressed as -3 to distinguish.

第2図は、上記メモリ装置#0M〜#3Mの接続状態を示し
ており、この図に示すように各メモリ装置#0M〜#3Mの
データバスIO0〜IO7がビット毎に共通接続され、また、
各メモリ装置#0M〜#3MのデータバスIOp−0〜IOp−3
が、各々個別の配線となっている。
FIG. 2 shows a connection state of the memory devices # 0M to # 3M. As shown in FIG. 2, the data buses IO 0 to IO 7 of the memory devices # 0M to # 3M are commonly connected for each bit. ,Also,
Data bus IOp-0 to IOp-3 of each memory device # 0M to # 3M
However, each has individual wiring.

§実施例の各部の構成 以下、上述した回路各部の構成について、より詳細に説
明する。
§ Configuration of each part of the embodiment Hereinafter, the configuration of each part of the circuit described above will be described in more detail.

(I)構成理解のための動作モードの概略 始めに、回路各部の構成の理解を用意にするために、こ
の実施例における動作モードについて簡単に説明する。
(I) Outline of Operation Mode for Understanding Configuration First, in order to facilitate the understanding of the configuration of each part of the circuit, the operation mode in this embodiment will be briefly described.

(a)ノーマルモード このモードは、原則的にはメモリ装置#0M〜#3Mのいず
れか1つを選択し、この選択したメモリ装置について8
ビット単位のデータアクセスを行うモードである(な
お、後述のように任意の2以上のメモリ装置にアクセス
を行うことも可能である)。このモードにおけるデータ
は、データバスIO0〜IO7を介して入出力される。すなわ
ち、いずれかのメモリ装置#0M〜#3Mに対し、通常の8
ビットパラレルのアクセスが行なわれるモードであり、
メモリを単純メモリ素子として使用するモードである。
そして、データを書き込む際においては、任意のビット
に対してマスクを可能とすることができるようになって
いる。
(A) Normal mode In this mode, in principle, any one of the memory devices # 0M to # 3M is selected, and 8 is selected for the selected memory device.
This is a mode for performing data access in bit units (it is possible to access any two or more memory devices as described later). Data in this mode is input / output via the data buses IO 0 to IO 7 . That is, for any of the memory devices # 0M to # 3M, the normal 8
It is a mode in which bit parallel access is performed,
In this mode, the memory is used as a simple memory element.
Then, at the time of writing data, it is possible to enable masking for any bit.

(b)マスクモード このマスクモードは、入出力データのいずれか1または
2以上のビットがマスク可能となり、さらに、メモリ装
置#0M〜#3Mのいずれか1または2以上がマスク可能と
なるモードである。また、このモードはさらにワードア
クセスモードとピクセルアクセスモードとに分かれ、ワ
ードアクセスモードの場合は、データバスIO0〜IO7を介
してワード方向のデータの入出力が行なわれ、ピクセル
アクセスモードの場合はデータバスIOp−0〜IOp−3を
介してピクセル方向のデータの入出力が行なわれる。ま
た、マスクモードにおいては、いずれのビット、あるい
は、いずれのメモリ装置もマスクしないようにすること
も可能となっている。
(B) Mask mode This mask mode is a mode in which any one or more bits of input / output data can be masked and any one or more of the memory devices # 0M to # 3M can be masked. is there. In addition, this mode is further divided into a word access mode and a pixel access mode. In the word access mode, data is input / output in the word direction via the data buses IO 0 to IO 7 , and in the pixel access mode. Inputs / outputs data in the pixel direction via the data buses IOp-0 to IOp-3. In the mask mode, it is possible not to mask any bit or any memory device.

ワードアクセスモードは、第18図に示すメモリブロック
MB0〜MB3のワード方向のデータ(一点鎖線参照)をアク
セスするモードであり、ビットマスクを行う場合は、以
下のようにする。例えば、第18図に示すb5,b7ビットの
みをアクセスしたい場合には、メモリブロックMB0をワ
ード方向にアクセスしてwd0(8ビット)をアクセス
し、この8ビットデータのうち、b5,b7以外のビットを
マスクしてアクセスを禁止し、b5,b7をアクセスする。
The word access mode is the memory block shown in Figure 18.
In the mode to access the data in the word direction of MB0 to MB3 (see the alternate long and short dash line), when performing bit masking, do the following. For example, if you want to access only b 5, b 7 bits shown in FIG. 18, it accesses the wd 0 (8 bits) to access the memory block MB0 in the word direction, of the 8-bit data, b 5 , b 7 are masked to prohibit access, and b 5 and b 7 are accessed.

また、ピクセルアクセスモードは、例えば、第18図に示
すメモリブロックMB0〜MB3のビクセル方向のアクセス
(破線参照)を行うモードであり、ビットマスクを行う
場合は、以下のようにする。例えば、第18図に示すpb1,
pb2ビットのみをアクセスする場合は、ピクセルpc0をア
クセスするとともに、メモリブロックMB0,MB3をマスク
して、pb1,pb2ビットをアクセスする。
The pixel access mode is, for example, a mode in which the memory blocks MB0 to MB3 shown in FIG. 18 are accessed in the direction of the Vixel (see the broken line), and when the bit mask is performed, the following is performed. For example, pb 1 , shown in FIG.
When accessing only the pb 2 bits, the pixel pc 0 is accessed and the memory blocks MB0 and MB3 are masked to access the pb 1 and pb 2 bits.

以上が、この実施例における動作モードの概略である。The above is the outline of the operation mode in this embodiment.

(II)各部の構成 次に、第1図に示す回路各部の構成について説明する。
なお、メモリ装置#0M〜#3Mは、すべて同一構成である
から、以下の構成説明は、メモリ装置#0Mを例にとって
行う。
(II) Configuration of Each Part Next, the configuration of each part of the circuit shown in FIG. 1 will be described.
Since the memory devices # 0M to # 3M have the same configuration, the following description of the configuration will be given by taking the memory device # 0M as an example.

[タイミング・コマンド・コントロール回路TCC] このタイミング・コマンド・コントロール回路TCCは、
第1図に示すように、タイミング・コントロール回路TC
と、コマンド・コントロール回路CCとから構成されてお
り、第3図および第4図に各々の構成を示す。
[Timing command control circuit TCC] This timing command control circuit TCC is
As shown in FIG. 1, the timing control circuit TC
And a command / control circuit CC, each of which is shown in FIGS. 3 and 4.

第3図においてTa〜Teは、各々制御信号入力端子であ
り、端子Taにはロウアドレス・ストローブ信号RASが、
端子Tbにはメモリ装置#0Mを選択するか否かを指定する
チップセレクト信号CSWが、端子Tcにはカラムアドレス
・ストローブ信号CASが、端子Tdにはライト・イネーブ
ル信号WEが、端子Teにはアウトプット・イネーブル信号
OEが各々供給されるようになっている。DLは、ロウアド
レス・ストローブ信号RASを遅延させて信号RASDを作成
するディレイであり、OR1はロウアドレス・ストローブ
信号RASと信号RASDとを論理和をとってロウアドレス・
ストローブ信号RASのパルス幅を長くした信号RASWを作
成するオアゲートである。LFF1はチップセレクト信号CS
Wの値を信号RSAWの立ち上がり時に取り込むラッチタイ
プフリップフロップ(以下Lタイプフリップフロップと
いう)、AN1はノーマルモードが指定されたことを検出
してノーマルモードイネーブル信号NMEを出力するアン
ドゲート、AN2はマスクモードが指定されたことを検出
してマスクモードイネーブル信号MMEを出力するアンド
ゲート、AN3は後述するコマンド書込サイクルが指定さ
れたことを検出してコマンドイネーブル信号MCEを出力
するアンドゲートである。LFF2,LFF3,LFF4は、各々上記
イネーブル信号NME、MME、MCEの値を信号RASWの立ち上
がり時において取り込むLタイプフリップフロップであ
り、その出力端から信号NMA,MKA,MCCを出力する。ま
た、AN4〜AN9は、上記各信号および他の回路から供給さ
れる制御信号に基づいて、図示の信号を作成するアンド
ゲートである。
In FIG. 3, Ta to Te are control signal input terminals, and the row address strobe signal RAS is applied to the terminal Ta.
A chip select signal CSW that specifies whether to select the memory device # 0M is input to the terminal Tb, a column address strobe signal CAS is input to the terminal Tc, a write enable signal WE is input to the terminal Td, and a terminal Te is input to the terminal Te. Output enable signal
Each OE is supplied. DL is a delay that delays the row address strobe signal RAS to create a signal RASD, and OR1 ORs the row address strobe signal RAS and the signal RASD to obtain the row address
This is an OR gate that creates a signal RASW in which the pulse width of the strobe signal RAS is lengthened. LFF1 is the chip select signal CS
Latch type flip-flop (hereinafter referred to as L-type flip-flop) that captures the value of W at the rising edge of signal RSAW, AN1 is an AND gate that detects that normal mode is specified, and outputs normal mode enable signal NME, AN2 is a mask An AND gate that detects that a mode is designated and outputs a mask mode enable signal MME, and an AN3 that outputs a command enable signal MCE when a command write cycle to be described later is designated. LFF2, LFF3, LFF4 are L-type flip-flops that take in the values of the enable signals NME, MME, MCE at the rising edge of the signal RASW, and output signals NMA, MKA, MCC from their output ends. Further, AN4 to AN9 are AND gates that create the illustrated signals based on the above signals and control signals supplied from other circuits.

INV10は信号WPB(第4図参照)を反転するインバータで
あり、AN40はインバータINV10の出力信号と信号NMAとの
論理積をとるアンドゲートである。OR30〜OR37は、各々
アンドゲートAN40の出力信号と、ビットマスク信号BM0
〜BM7との論理和をとるオアゲートである。ビットマス
ク信号BM0〜BM7は、第6図に示すビットインターフェイ
スBTI0〜BTI7から出力される信号である。
INV10 is an inverter that inverts the signal WPB (see FIG. 4), and AN40 is an AND gate that takes the logical product of the output signal of the inverter INV10 and the signal NMA. OR30 to OR37 are the output signal of the AND gate AN40 and the bit mask signal BM 0, respectively.
It is an OR gate that takes the logical sum of ~ BM 7 . The bit mask signals BM 0 to BM 7 are signals output from the bit interfaces BTI 0 to BTI 7 shown in FIG.

AN10〜AN17は、各々オアゲートOR30〜RO37を介して供給
されるビットマスク信号BM0〜BM7とアンドゲートAN8か
ら供給される信号WEPとの論理積をとり、メモリM0〜M7
(第5図参照)のライトイネーブル信号WEP0〜WEP7を作
成するアンドゲートである。なお、上記構成におけるL
タイプフリップフロップLFF1〜LFF4は、各々負論理とな
っているラッチ端子Lに“1"レベルの信号が供給された
ときに、データをラッチするようになっている。
AN10~AN17 takes a logical product of the signal WEP supplied from the bit mask signal BM 0 to Bm 7 AND gate AN8 each supplied via the OR gate OR30~RO37, memory M 0 ~M 7
It is an AND gate for generating write enable signals WEP 0 to WEP 7 (see FIG. 5). In the above configuration, L
Each of the type flip-flops LFF1 to LFF4 latches data when a "1" level signal is supplied to the latch terminal L which has a negative logic.

次に、第4図を参照してコマンド・コントロール回路CC
について説明する。この図に示すTad0〜Tad7は、各々ア
ドレスデータ入力端子であり、このアドレスデータ入力
端子Tad0〜Tad7が各々コマンドレジスタ1の入力端に接
続されている。この実施例におけるコマンドは、8ビッ
トのコマンドコードによって指定されるとともに、この
コマンドコードがアドレスバスを介して供給されるよう
になっている。コマンドレジスタ1は、ロウアドレス・
ストローブ信号RASの立ち上がり時にコマンドコードを
ラッチし、コマンドデータMC0〜MC7として出力するよう
になっている。そして、コマンドレジスタ1は、コマン
ドデータのうち最下位ビットであるデータMC0をデコー
ド回路3のデータ端子DTおよびデコーダ2の入力端に、
データMC1〜MC3を各々デコード回路3の第0〜第2ビッ
ト入力端に、データMC4〜MC6を各々メインコマンドデコ
ーダの4の第0〜第2ビット入力端に供給する。この場
合、コマンドデータの上位4ビットはメインコマンドデ
ータとなり、下位4ビットはサブコーマンドデータとな
る。ただし、コマンドデータの最上位ビットMC7は、図
から判るようにドントケアビットになっている。ここ
で、コマンドデータMC0〜MC7の値(16進表示)と、コマ
ンド名との関係を次表に示す。
Next, referring to FIG. 4, the command / control circuit CC
Will be described. Tad0 to Tad7 shown in the figure are address data input terminals, and the address data input terminals Tad0 to Tad7 are connected to the input terminals of the command register 1, respectively. The command in this embodiment is specified by an 8-bit command code, and this command code is supplied via the address bus. Command register 1 is a row address
The command code is latched at the rising edge of the strobe signal RAS and output as command data MC0 to MC7. Then, the command register 1 transfers the data MC0, which is the least significant bit of the command data, to the data terminal DT of the decoding circuit 3 and the input end of the decoder 2,
The data MC1 to MC3 are supplied to the 0th to 2nd bit input terminals of the decoding circuit 3, and the data MC4 to MC6 are supplied to the 4th 0th to 2nd bit input terminals of the main command decoder. In this case, the upper 4 bits of the command data become the main command data and the lower 4 bits become the sub-command data. However, the most significant bit MC7 of the command data is a don't care bit as can be seen from the figure. The following table shows the relationship between command data MC0 to MC7 values (hexadecimal display) and command names.

なお、第1表には、この発明に係わりのあるコマンドの
みを記し、また記載したコマンドの機能については、後
述する。
It should be noted that in Table 1, only commands relevant to the present invention are described, and the functions of the described commands will be described later.

デコード回路3は、信号PAM,CME,PME,BCE,LSE,FSB,DBT
およびROEを各々出力するための第0〜7のDタイプフ
リップフロップを有しており、入力端に供給される3ビ
ットのデータによっていずれかのDタイプフリップフロ
ップが選択されるようになっている。すなわち、入力端
に供給される3ビットのアドレスデータに対応する番号
のDタイプフリップフロップが選択されるようになって
いる。そして、データ端子DTに供給されるデータが、そ
の時に選択されているいずれかのDタイプフリップフロ
ップの入力端に供給され、アンドゲートAN21の出力信号
MDSが立ち上がった時に当該Dタイプフリップフロップ
に取り込まれるようになっている。すなわち、コマンド
データMC1〜MC3の値によって信号PAM,CME,PME,BCE,LSE,
FSB,DBT,ROEのいずれかが選択され、選択された信号の
値がコマンドデータMC0の値(“1"/“0")に書き代えら
れる。また、デコード回路3のクリア端子CLには、パワ
ーオンリセット回路5からリセット信号が供給されるよ
うになっており、この結果、電源オン時には上記第0〜
第7のDタイプフリップフロップのすべてがクリアされ
るようになっている。
The decoding circuit 3 uses signals PAM, CME, PME, BCE, LSE, FSB, DBT
It has 0th to 7th D-type flip-flops for respectively outputting ROE and ROE, and one of the D-type flip-flops is selected by the 3-bit data supplied to the input terminal. . That is, the D-type flip-flop having the number corresponding to the 3-bit address data supplied to the input terminal is selected. Then, the data supplied to the data terminal DT is supplied to the input terminal of one of the D type flip-flops selected at that time, and the output signal of the AND gate AN21.
When the MDS rises, it is taken in by the D type flip-flop. That is, the signals PAM, CME, PME, BCE, LSE, depending on the value of the command data MC1 ~ MC3
One of FSB, DBT, and ROE is selected, and the value of the selected signal is rewritten with the value (“1” / “0”) of the command data MC0. Further, a reset signal is supplied from the power-on reset circuit 5 to the clear terminal CL of the decoding circuit 3, and as a result, when the power is turned on, the above-mentioned 0th
All of the seventh D-type flip-flops are designed to be cleared.

メインコマンドデコーダ4は、入力端に供給される3ビ
ットのデータに対応する番号の出力端から“1"信号を出
力するものである。このメインコマンドデコーダ4は、
8種の制御信号を出力するようになっているが、この図
においては、この発明に係わりのある信号RGAおよび信
号WPBのみを示す。また、メインコマンドデコーダ4
は、アンドゲートAN20から信号MCSTが供給されたときに
イネーブル状態となる。
The main command decoder 4 outputs a "1" signal from the output end having the number corresponding to the 3-bit data supplied to the input end. This main command decoder 4
Although eight kinds of control signals are output, only the signals RGA and WPB related to the present invention are shown in this figure. Also, the main command decoder 4
Is enabled when the signal MCST is supplied from the AND gate AN20.

デコーダ2は、タイミングコントロール回路TCから信号
WEWが供給され、かつ、メインコマンドデコーダ4から
信号RGAが供給されたときにイネーブル状態となり、デ
ータMC0が“0"であれば信号RPWを出力し、デタMC0が
“1"であれば信号WPWを出力する。
The decoder 2 outputs the signal from the timing control circuit TC.
When WEW is supplied and the signal RGA is supplied from the main command decoder 4, the signal is enabled, and if the data MC0 is "0", the signal RPW is output. If the data MC0 is "1", the signal WPW is output. Is output.

[メモリブロックMB0] 第5図はメモリブロックMB0の構成を示すブロック図で
あり、メモリブロックMB0内の各メモリM0〜M7は、ロウ
アドレス・ストローブRASの立ち上がり時にアドレスバ
スA0〜A7上に出力されているロウアドレスを取り込み、
カラムアドレス・ストローブCASの立ち上がり時にアド
レスバスA0〜A7上のカラムアドレスを取り込んでアクセ
スアドレスを確定する。そして、リードサイクル時に
は、アクセスアドレス確定後に信号OEW(アウトプット
イネーブル信号)が立ち上がると出力が行なわれ、ライ
トサイクル時には、アクセスアドレス確定時またはその
後に信号WEP0〜WEP7がハイレベルとなったメモリにデー
タ書込が行なわれるようになっている。
Memory blocks MB0] FIG. 5 is a block diagram showing the structure of a memory block MB0, each memory M 0 ~M 7 in the memory block MB0 is on the address bus A0~A7 at the rise of the row address strobe RAS Capture the output row address,
When the column address strobe CAS rises, the column address on the address buses A0 to A7 is fetched and the access address is determined. Then, in the read cycle, the output is performed when the signal OEW (output enable signal) rises after the access address is determined, and in the write cycle, the signals in which the signals WEP 0 to WEP 7 are at the high level when the access address is determined or thereafter. The data is written to.

[ビットインターフェイスBTIi] 第6図は、ビットインターフェイスBTIi(ただし、i=
0〜7であり、以下同様とする)の構成を示すブロック
図であり、図においてTIOi(i=0〜7)は、データ入
出力端子である。データ入出力端子TIOiから入力された
データは、バッファBFF1を介してセレクタ10の第0,第2,
第3ビット入力端およびLタイプフリップフロップLFF6
の入力端に供給されるようになっている。セレクタ10
は、信号PAMが“1"で信号NMAが“0"以外のときは第0,第
2,第3ビット入力端を選択して端子TIOiに供給されたデ
ータを出力し、信号PAMが“1"で信号NMAが“0"の場合に
のみ第1ビット入力端を選択してピクセルインターフェ
イスPXI−0(第7図参照)から供給される信号DIPを出
力する。セレクタ10の出力信号WDTiは、Dタイプフリッ
プフロップDFF7の入力端に供給され、Dタイプフリップ
フロップDFF7は、タイミング・コントロール回路TCから
供給される信号WEWが立ち上がった時に信号WDTiを取り
込む。このDタイプフリップフロップDFF7の出力信号SR
Ciは、バッファBFF3およびデータバスDTiを順次介し
て、対応するメモリMiに給されるようになっている(第
1図参照)。バッファBFF3は、タイミング・コントロー
ル回路TCから供給される信号WEPが“1"になっていると
きにイネーブル状態となる。
[Bit Interface BTIi] FIG. 6 shows the bit interface BTIi (where i =
It is 0-7, and the same shall apply hereinafter), and TIOi (i = 0 to 7) in the figure is a data input / output terminal. The data input from the data input / output terminal TIOi is transferred through the buffer BFF1 to the 0th, 2nd,
Third bit input terminal and L type flip-flop LFF6
It is designed to be supplied to the input terminal of. Selector 10
Is the 0th and the 0th when the signal PAM is "1" and the signal NMA is other than "0".
2, Select the 3rd bit input terminal and output the data supplied to the terminal TIOi. Select the 1st bit input terminal only when the signal PAM is "1" and the signal NMA is "0" to select the pixel interface. It outputs the signal DIP supplied from PXI-0 (see FIG. 7). The output signal WDTi of the selector 10 is supplied to the input terminal of the D type flip-flop DFF7, and the D type flip-flop DFF7 takes in the signal WDTi when the signal WEW supplied from the timing control circuit TC rises. Output signal SR of this D type flip-flop DFF7
Ci is supplied to the corresponding memory Mi via the buffer BFF3 and the data bus DTi sequentially (see FIG. 1). The buffer BFF3 is enabled when the signal WEP supplied from the timing control circuit TC is "1".

LタイプフリップフロップLFF6は、タイミング・コント
ロール回路TCから供給される信号RASWが立ち上がったと
きにデータを取り込むようになっており、その出力信号
FBMiがセレクタ11の第1ビット入力端に供給されるよう
になっている。セレクタ11は、第0ビット入力端にプル
アップ抵抗を介して正電圧が印加されており、また、コ
マンドコトロール回路CCから供給される信号BCEが“0"
のときは第0ビット入力端を選択し、信号BCEが“1"の
ときは第1ビット入力端を選択するようになっている。
セレクタ11の出力信号は、ビットマスクデータBMiとし
てタイミング・コントロール回路TCに供給される。
The L-type flip-flop LFF6 takes in data when the signal RASW supplied from the timing control circuit TC rises, and its output signal
FBMi is supplied to the first bit input terminal of the selector 11. In the selector 11, a positive voltage is applied to the 0th bit input terminal via a pull-up resistor, and the signal BCE supplied from the command control circuit CC is "0".
When it is, the 0th bit input terminal is selected, and when the signal BCE is "1", the 1st bit input terminal is selected.
The output signal of the selector 11 is supplied to the timing control circuit TC as the bit mask data BMi.

BFF2は、入力端がデータバスDTiに接続されているバッ
ファであり、その出力端はアウトプットデータバッファ
12のデータ入力端およびオープンドレイン出力のバッフ
ァBFF5の入力端に接続されている。アウトプットデータ
バッファ12は、アンドゲートAN25から供給される信号OE
iが“1"になっているときに、入力端に供給されている
データをデータ入出力端子TIOiに出力する。BFF6は入力
端が接地されているオープンドレインのバッファであ
り、このバッファBFF6とバッファBFF5とは、アンドゲー
トAN26から供給される信号OEPiが“1"になっているとき
にイネーブル状態となり、各々の出力信号DOi、−OEPi
をピクセルインターフェイスPXI−0に供給する。
BFF2 is a buffer whose input end is connected to the data bus DTi and whose output end is an output data buffer.
It is connected to 12 data input terminals and the input terminal of buffer BFF5 with open drain output. The output data buffer 12 receives the signal OE supplied from the AND gate AN25.
When i is "1", the data supplied to the input terminal is output to the data input / output terminal TIOi. BFF6 is an open-drain buffer whose input terminal is grounded. The buffers BFF6 and BFF5 are enabled when the signal OEPi supplied from the AND gate AN26 is "1", and each of them is in the enable state. Output signal DOi, -OEPi
To the pixel interface PXI-0.

アンドゲートAN27およびAN28は、各々信号MKA,BMi,RPM
P,PAMに基づいて信号RWXおよび信号RPXを作成するゲー
トであり、アンドゲートAN26は信号RPXと信号OEWの論理
積をとって信号OEPiを作成する。また、オアゲートOR10
は信号RWXと信号NCSの論理和をとるゲートであり、アン
ドゲートAN25はオアゲートOR10の出力と信号OEWの論理
積をとって信号OEiを作成する。
AND gates AN27 and AN28 have signals MKA, BMi, and RPM, respectively.
The AND gate AN26 is a gate that creates the signal RWX and the signal RPX based on P and PAM, and creates the signal OEPi by taking the logical product of the signal RPX and the signal OEW. Also, OR Gate OR10
Is a gate that takes the logical sum of the signal RWX and the signal NCS, and the AND gate AN25 takes the logical product of the output of the OR gate OR10 and the signal OEW to create the signal OEi.

[ピクセルインターフェイス] 第7図は、ピクセルインターフェイスPXI−0の構成を
示すブロック図である。この図において、TIOp−0はピ
クセルデータ入出力端子であり、このピクセルデータ入
出力端子TIOp−0から入力されたデータは、バッファBF
F10を介してデータDIPとなった後、Lタイプフリップフ
ロップLFF10、DタイプフリップフロップDFF11、DFF12
の各入力端に供給されるとともに、前述したビットイン
ターフェイスBTI0〜BTI7内の各セレクタ10(第6図参
照)に供給されるようになっている。Lタイプフリップ
フロップLFF10は、タイミング・コントロール回路TC
(第3図)から供給される信号RASWが立ち上がった時に
入力端に供給されているデータを取り込み、Dタイプフ
リップフロップDFF11およびDFF12は、各々コマンド・コ
ントロール回路CCから供給される信号WPW,RPWが立ち上
がったときに入力端に供給されているデータを取り込む
ようになっている。LタイプフリップフロップLFF10,D
タイプフリップフロップDFF11,12の各出力信号FCS,FWP,
FRPは、各々セレクタ15,16,17の各第1ビット入力端に
供給され、セレクタ15,16,17の第0ビット入力端には各
々プルアップ抵抗を介して正電圧が印加されている。セ
レクタ15は、コマンド・コントロール回路CCから供給さ
れる信号BCEが“0"のときに第0ビット入力端を選択
し、信号BCEが“1"のときに第1ビット入力端を選択す
る。また、セレクタ16,17は、各々コマンド・コントロ
ール回路CCから供給される信号PMEが“0"のときは第0
ビット入力端を選択し、信号PMEが“1"のときは第1ビ
ット入力端を選択する。この場合、実際にはセレクタ1
6,17は、1個のセレクタであるが、説明の都合上2個の
セレクタとして表示する。
[Pixel Interface] FIG. 7 is a block diagram showing the configuration of the pixel interface PXI-0. In this figure, TIOp-0 is a pixel data input / output terminal, and the data input from this pixel data input / output terminal TIOp-0 is stored in the buffer BF.
After becoming data DIP via F10, L-type flip-flop LFF10, D-type flip-flop DFF11, DFF12
Of the bit interfaces BTI 0 to BTI 7 (see FIG. 6). The L type flip-flop LFF10 is a timing control circuit TC
When the signal RASW supplied from (Fig. 3) rises, the data supplied to the input terminal is taken in, and the D type flip-flops DFF11 and DFF12 receive the signals WPW and RPW supplied from the command control circuit CC, respectively. It is designed to take in the data supplied to the input terminal when it starts up. L type flip-flop LFF10, D
Output signals FCS, FWP of type flip-flops DFF11, 12
The FRP is supplied to the first bit input ends of the selectors 15, 16 and 17, respectively, and the positive voltage is applied to the 0th bit input ends of the selectors 15, 16 and 17 via pull-up resistors. The selector 15 selects the 0th bit input end when the signal BCE supplied from the command control circuit CC is "0", and selects the 1st bit input end when the signal BCE is "1". Further, the selectors 16 and 17 are respectively the 0th when the signal PME supplied from the command / control circuit CC is "0".
The bit input terminal is selected, and when the signal PME is "1", the first bit input terminal is selected. In this case, it is actually selector 1
Although 6 and 17 are one selector, they are displayed as two selectors for convenience of explanation.

18は、ピクセル・アウトプット・データバッファであ
り、イネーブル端子Eに“1"信号が供給されると、デー
タ端子Dに供給されている信号をピクセルデータ入出力
端子TIOp−0に出力する。この場合、データ端子Dに
は、プルアップ抵抗を介して正電圧が印加されるととも
に、ビットインターフェイスBTI0〜BTI7からデータDO0
〜DO7が供給されるようになっている。また、ピクセル
・アウトプット・データバッファ18のイネーブル端子E
には、ビットインターフェイスBTI0〜BTI7から信号−OE
P6〜−OEP7がインバータINV5を介して供給されるように
なっており、インバータINV5の入力端には、プルアップ
抵抗を介して正電圧が印加されている。
A pixel output data buffer 18 outputs the signal supplied to the data terminal D to the pixel data input / output terminal TIOp-0 when a "1" signal is supplied to the enable terminal E. In this case, a positive voltage is applied to the data terminal D through the pull-up resistor, and the data DO 0 is transmitted from the bit interfaces BTI 0 to BTI 7.
~ DO 7 is now available. Further, the enable terminal E of the pixel output data buffer 18
Signal from bit interfaces BTI 0 to BTI 7 -OE
P 6 to -OEP 7 are supplied via the inverter INV5, and a positive voltage is applied to the input terminal of the inverter INV5 via a pull-up resistor.

以上が、この実施例における回路各部の構成である。The above is the configuration of each part of the circuit in this embodiment.

§実施例の動作 次に、上記構成によるこの実施例の動作について説明す
る。
§ Operation of the embodiment Next, the operation of this embodiment with the above configuration will be described.

この実施例には、前述したようにメモリーリード/ライ
トサイクルにおいて、ノーマルモードとマスクモードの
2種の動作モードがある。また、一方においては、上記
サイクルとは全く別にコマンドを書き込むためのコマン
ド書込サイクルがある。そこで、以下の説明において
は、リードサイクル、ライトサイクルの順に説明を行
い、また、各サイクル内においてノーマルモード、マス
クモードおよびコマンド書込サイクルについて適宜説明
を行う。
In this embodiment, as described above, in the memory read / write cycle, there are two operation modes, that is, the normal mode and the mask mode. On the other hand, on the other hand, there is a command write cycle for writing a command, which is completely different from the above cycle. Therefore, in the following description, the read cycle and the write cycle will be described in this order, and the normal mode, the mask mode, and the command write cycle will be properly described in each cycle.

(I)リードサイクル (a)ノーマルモード 第8図(イ)に示すように、時刻t1においてロウアドレ
ス・ストローブ信号RASが立ち上がった時に、カラムア
ドレス・ストローブ信号CASのレベルが“0"であり、か
つ、ライト・イネーブル信号WEおよびアウトプット・イ
ネーブル信号OEが同図P1、P2に示すように“0"レベルに
あると、ノーマルモードが選択される。すなわち、上述
した条件が成立していれば、第3図に示すアンドゲート
AN1の出力信号NMEが“1"になってノーマルモードが選択
される。そして、この信号NMEがロウアドレス・ストロ
ーブ信号RASの立ち上がり時、すなわち、信号RASWの立
ち上がり時にLタイプフリップフロップLF2に取り込ま
れ、以後LタイプフリップフロップLFF2の出力信号NMA
が“1"を維持し、これにより、ノーマルモードが確定さ
れる。
(I) Read cycle (a) Normal mode As shown in FIG. 8 (a), when the row address strobe signal RAS rises at time t 1 , the level of the column address strobe signal CAS is "0". Further, when the write enable signal WE and the output enable signal OE are at "0" level as shown in P 1 and P 2 in the same figure, the normal mode is selected. That is, if the above conditions are satisfied, the AND gate shown in FIG.
The output signal NME of AN1 becomes "1" and the normal mode is selected. Then, this signal NME is taken into the L type flip-flop LF2 at the rise of the row address strobe signal RAS, that is, at the rise of the signal RASW, and thereafter, the output signal NMA of the L type flip-flop LFF2.
Keeps "1", which establishes the normal mode.

次に、第8図に示す時期t2においてカラムアドレス・ス
トローブ信号CASが立ち上がり、この時点におけるライ
ト・イネーブル信号WEが“0"レベルであると、リードサ
イクルオペレーションが開始される。また、この時点に
おいてカラムアドレスが確定され、この結果、アクセス
すべきアドレスが確定される。したがって、各メモリ装
置#0M〜#3M内のメモリMB0〜MB3の同一アドレスが一斉
にアクセスされ、当該アドレス内のデータが読み出され
る。そして、読み出されたデータは、第6図に示すよう
に、データバスDTiおよびバッファBFF2を順次介してア
ウトプットデータバッファ12のデータ端子Dに供給さ
れ、このアウトプットデータバッファ12がイネーブル状
態となったタイミングにおいてデータバスIOiに出力さ
れる。
Then, a column address strobe signal CAS at time t 2 shown in FIG. 8 rises, the write enable signal WE at this time is "0" level, the read cycle operation is started. At this point, the column address is fixed, and as a result, the address to be accessed is fixed. Therefore, the same address of the memories MB0 to MB3 in each of the memory devices # 0M to # 3M is simultaneously accessed and the data in the address is read. Then, the read data is supplied to the data terminal D of the output data buffer 12 via the data bus DTi and the buffer BFF2 in sequence as shown in FIG. 6, and the output data buffer 12 is enabled. It is output to the data bus IOi at the timing.

アウトプットデータバッファ12がイネーブル状態となる
タイミングは、オアゲートOR10が“1"信号を出力してい
れば、信号OEWが“1"信号となるタイミングと同じであ
り、信号OEWが“1"となる条件は、第3図から判るよう
にカラムアドレス・ストローブ信号CASおよび信号RASW
が“1"となっている状態において、アウトプット・イネ
ーブル信号OEが“1"となることが必要である。すなわ
ち、第8図に示す例においては、時刻t3においてアウト
プット・イネーブル信号OEが“1"となった時に、上記条
件が揃いアンドゲートAN25の出力信号が“1"となってア
ウトプットデータバッファ12がイネーブル状態となり、
第8図(ヘ)に示すタイミングにおいてデータが出力さ
れる。
The timing at which the output data buffer 12 is enabled is the same as the timing at which the signal OEW becomes the "1" signal when the OR gate OR10 outputs the "1" signal, and the signal OEW becomes the "1" signal. The conditions are column address strobe signal CAS and signal RASW as can be seen from FIG.
It is necessary for the output enable signal OE to be "1" in the state where is "1". That is, in the example shown in FIG. 8, when the output enable signal OE becomes "1" at time t 3, the output data above conditions the output signal of matching the AND gate AN25 becomes "1" Buffer 12 is enabled,
Data is output at the timing shown in FIG.

次に、オアゲートOR10が“1"信号を出力する条件につい
て説明する。オアゲートOR10が“1"信号を出力するに
は、信号RWXあるいは信号NCSのいずれかが“1"となれば
よいが、このノーマルモードにおいては、第3付から判
るように、信号MME,MKAが“1"レベルにならないから、
アンドゲートAN27の出力信号である信号RWXが“1"とな
ることはない。したがって、オアゲートOR10の出力信号
は、信号NCSの値によって一義的に決定される。以下
に、信号NCSについて説明する。
Next, the conditions under which the OR gate OR10 outputs the "1" signal will be described. In order for the OR gate OR10 to output the "1" signal, either the signal RWX or the signal NCS should be "1", but in this normal mode, the signals MME and MKA are Because it does not reach the "1" level,
The signal RWX, which is the output signal of the AND gate AN27, never becomes "1". Therefore, the output signal of the OR gate OR10 is uniquely determined by the value of the signal NCS. The signal NCS will be described below.

第8図に示す時刻t1において、ロウアドレス・ストロー
ブ信号RASが立ち上がった時点は、チップセレクトデー
タの入力タイミングとなっており、4ビットのチップセ
レクトデータが入出力端子TIOp−0〜TIOp−3から供給
される。そして、この際に供給されたチップセレクトデ
ータがピクセルインターフェイスPXI−0〜PXI−3内の
LタイプフリップフロップLFF10(第7図参照)に、信
号RASWの立ち上がり時に取り込まれる。例えば、チップ
セレクトデータの第0ビットが、第7図に示す入出力端
子TIOp−0から供給されたとすると、この信号がバッフ
ァBFF10を介してLタイプフリップフロップLFF10、Dタ
イプフリップフロップDFF11、DFF12の各入力端に供給さ
れる。この場合、信号RASWは時刻t1において立ち上がる
が、信号RPW,WPWは後述するようにこの時点では出力さ
れておらず、このため、チップセレクトデータはLタイ
プフリップフロップLFF10のみに取り込まれ、Dタイプ
フリップフロップDFF11,12には取り込まれない。これに
より、信号FCSの値がチップセレクトデータに対応して
“1"もしくは“0"となり、セレクタ15の第1ビット入力
端には“1"もしくは“0"信号が供給される。そして、セ
レクタ15に供給される信号BCEの値が“0"であれば、セ
レクタ15の出力信号CSMPの値は、信号FCSの値(すなわ
ち、チップセレクトデータの値)によらず常に“1"とな
り、信号BCEの値が“1"であれば信号CSMPはチップセレ
クトデータの値と同じ値になる。この信号CSMPは、第3
図に示すアンドゲートAN5の一方の入力端に供給され、
ここで、すでに“1"信号となっている信号NMAと論理積
がとられる。この結果、アンドゲートAN5の出力信号NCS
の値は、信号CSMPの値によって決まり、したがって、仮
に信号BCEが“1"であるとすれば、信号NCSの値はチップ
セレクト信号の値によって一義的に決定される。そし
て、信号NCSは第6図に示すオアゲートRO10の一方の入
力端に供給され、同オアゲートOR10の出力信号値を決定
する。
At time t 1 shown in FIG. 8, the chip select data is input at the time when the row address strobe signal RAS rises, and the 4-bit chip select data is transferred to the input / output terminals TIOp-0 to TIOp-3. Supplied from Then, the chip select data supplied at this time is taken into the L type flip-flop LFF10 (see FIG. 7) in the pixel interfaces PXI-0 to PXI-3 at the rising edge of the signal RASW. For example, suppose that the 0th bit of the chip select data is supplied from the input / output terminal TIOp-0 shown in FIG. It is supplied to each input terminal. In this case, the signal RASW rises at time t 1 , but the signals RPW and WPW are not output at this time as described later, and therefore the chip select data is taken in only by the L type flip-flop LFF10 and the D type It is not taken into the flip-flops DFF11 and 12. As a result, the value of the signal FCS becomes "1" or "0" corresponding to the chip select data, and the "1" or "0" signal is supplied to the first bit input terminal of the selector 15. When the value of the signal BCE supplied to the selector 15 is "0", the value of the output signal CSMP of the selector 15 is always "1" regardless of the value of the signal FCS (that is, the value of the chip select data). If the value of the signal BCE is "1", the signal CSMP has the same value as the value of the chip select data. This signal CSMP is the third
It is supplied to one input terminal of AND gate AN5 shown in the figure,
Here, the logical product is taken with the signal NMA which has already become the "1" signal. As a result, the output signal NCS of AND gate AN5
The value of is determined by the value of the signal CSMP. Therefore, if the signal BCE is "1", the value of the signal NCS is uniquely determined by the value of the chip select signal. The signal NCS is supplied to one input end of the OR gate RO10 shown in FIG. 6 and determines the output signal value of the OR gate OR10.

上述したことから判るように、セレクタ15(第7図)に
供給されている信号BCEの値が“1"であれば、アウトプ
ットデータバッファ12はチップセレクトデータの値に従
い、同データが“1"のときにイネーブル状態となる。す
なわち、メモリ装置#0M〜#3Mのうちチップセレクトデ
ータが“1"となっているメモリ装置のみが読み出しデー
タを送出する。例えば、第9図に示すように、メモリ装
置#1Mに供給されたチップセレクトデータのみが“1"で
あった場合は、メモリ装置#1のみから8ビットのデー
タD0〜D7が出力される。
As can be seen from the above, if the value of the signal BCE supplied to the selector 15 (Fig. 7) is "1", the output data buffer 12 follows the value of the chip select data and the data is "1". "Is enabled. That is, of the memory devices # 0M to # 3M, only the memory device whose chip select data is “1” sends the read data. For example, as shown in FIG. 9, when only the chip select data supplied to the memory device # 1M is “1”, 8-bit data D 0 to D 7 are output only from the memory device # 1. It

この図において、「X」の符号は、ドントケアビットで
あることを示している。すなわち、データの出力を行わ
ないメモリ装置のアウトプットデータバッファ12の出力
端は、ハイ・インピーダンスとなることを示している。
また、2以上のメモリ装置に対するチップセレクトデー
タが“1"であれば、これらのメモリ装置から同時にデー
タが出力されて共通データバスIO0〜IO7上で競合状態と
なるが(第2図参照)、この場合は各ビット毎に“0"が
優先される。これは、各メモリ装置におけるアウトプッ
トデータバッファ12がオープンドレイン出力となってい
るからである(ただし、通常はいずれか1つのメモリ装
置からデータ読み出しを行う)。
In this figure, the symbol "X" indicates that it is a don't care bit. That is, the output terminal of the output data buffer 12 of the memory device that does not output data has a high impedance.
Also, if the chip select data for two or more memory devices is "1", data is simultaneously output from these memory devices and a race condition occurs on the common data buses IO 0 to IO 7 (see FIG. 2). ), In this case, "0" is given priority for each bit. This is because the output data buffer 12 in each memory device has an open drain output (however, data is usually read from any one memory device).

そして、第9図から判るように、このノーマルモードに
おける読み出しは、いずれかのメモリブロックを指定し
て、個々に8ビットパラレルの読み出しができるから、
メモリブロックMB0〜MB3内のエリアをプログラムエリア
として使用する場合などに適している。
Then, as can be seen from FIG. 9, in the reading in the normal mode, since it is possible to individually read 8-bit parallel by designating one of the memory blocks,
It is suitable when using the areas in memory blocks MB0 to MB3 as program areas.

一方、セレクタ15(第7図)に供給される信号BCEが
“0"のときは、チップセレクトの機能は作用しない。
On the other hand, when the signal BCE supplied to the selector 15 (FIG. 7) is "0", the chip select function does not work.

ここで、信号BCEについて説明する。この信号BCEの値
は、前述した第1表に示すコマンド「ビット/チップセ
レクトマスクイネーブル」が供給された時に“1"となる
信号であり、この場合のコマンドの書き込みは、以下の
ようにして行なわれる。
Here, the signal BCE will be described. The value of this signal BCE is a signal that becomes "1" when the command "bit / chip select mask enable" shown in Table 1 is supplied, and the command writing in this case is as follows. Done.

まず、第10図に示すように時刻t10において、ロウアド
レス・ストローブ信号RASが立ち上がり、この時点にお
いてカラムアドレス・ストローブ信号CASおよびライト
・イネーブル信号WEが“1"レベルであれば、コマンド書
き込みモードが選択される。すなわち、カラムアドレス
・ストローブ信号CASおよびライト・イネーブル信号WE
が共に“1"であると、第3図に示すアンドゲートAN3の
出力信号である信号MCEが“1"となり、この“1"信号が
ロウアドレス・ストローブ信号RASの立ち上がり時にお
いてLタイプフリップフロップLFF4に取り込まれる。し
たがって、時刻t10以降においては、Lタイプフリップ
フロップLFF4の出力信号MCCが“1"となり、コマンド書
き込みサイクルの動作に入る。また、アンドゲートAN9
の出力信号MCDがロウアドレス・ストローブ信号RASおよ
び信号RASDの双方が“1"となっている間において“1"と
なる。すなわち、信号MCDはロウアドレス・ストローブ
信号RASの立ち上がりタイミングよりやや遅れて立ち上
がる。
First, as shown in FIG. 10 , at time t 10 , the row address strobe signal RAS rises, and if the column address strobe signal CAS and the write enable signal WE are at “1” level at this time, the command write mode is set. Is selected. That is, the column address strobe signal CAS and the write enable signal WE
When both are "1", the signal MCE which is the output signal of the AND gate AN3 shown in FIG. 3 becomes "1", and this "1" signal is an L type flip-flop at the rising edge of the row address strobe signal RAS. Captured by LFF4. Thus, at time t 10 after the output signal of MCC L-type flip-flop LFF4 becomes "1", into the operation of the command write cycle. Also, AND Gate AN9
Output signal MCD becomes "1" while both row address strobe signal RAS and signal RASD are "1". That is, the signal MCD rises slightly later than the rising timing of the row address strobe signal RAS.

一方、第4図に示すコマンドレジスタ1にはアドレスバ
スA0〜A7を介して「ビット/チップセレクトマスクイネ
ーブル」のコマンドが供給され、このコマンドがロウア
ドレス・ストローブ信号RASの立ち上がり時に取り込ま
れる。コマンド「ビット/チップセレクトマスクイネー
ブル」は第1表に示すように、16進表示で(07)と表さ
れるコードであるから、コマンドレジスタ1の出力は、
MC0〜MC2が“1"信号、他の出力が“0"信号となり、デコ
ード回路3の第0、第1ビット入力端に“1"信号が供給
される。これにより、デコード回路3は、入力信号のデ
コード結果「3」に対応する信号BCEを“1"とし得る状
態となり、クロック端子に供給されている信号MDSが立
ち上がるタイミングにおいて信号BCEを“1"とする。そ
して、信号MDSは、ロウアドレス・ストローブ信号RASよ
りやや遅れて立ち上がるから、信号BCEは第10図に示す
時刻t10からやや遅れたタイミングにおいて“1"信号と
なる。上述のことから判るように、この実施例によるメ
モリ装置を通常のメモリとして使用するときは信号BCE
を“0"とし、ビット/チップセレクトマスクを有効にし
たいときは信号BCEを“1"とする。
On the other hand, the command "bit / chip select mask enable" command is supplied to the command register 1 shown in FIG. 4 through the address buses A0 to A7, and this command is taken in at the rising edge of the row address strobe signal RAS. Since the command "bit / chip select mask enable" is a code represented by (07) in hexadecimal notation as shown in Table 1, the output of the command register 1 is
MC0 to MC2 are "1" signals, the other outputs are "0" signals, and the "1" signal is supplied to the 0th and 1st bit input terminals of the decoding circuit 3. As a result, the decoding circuit 3 enters a state in which the signal BCE corresponding to the decoding result “3” of the input signal can be set to “1”, and the signal BCE is set to “1” at the timing when the signal MDS supplied to the clock terminal rises. To do. The signal MDS, since rises slightly later than the row address strobe signal RAS, signal BCE is "1" signal at the timing slightly delayed from the time t 10 shown in Figure 10. As can be seen from the above, when the memory device according to this embodiment is used as a normal memory, the signal BCE
Is set to "0" and the signal BCE is set to "1" to enable the bit / chip select mask.

以上が信号BCEが“1"となるまでの経緯である。そし
て、上述したコマンド「ビット/チップセレクトマスク
イネーブル」の書き込みは、通常はノーマルモードのア
クセスをする前に行い、ノーマルモード動作時には、メ
モリ装置#0M〜#3Mに対しチップセレクトデータが有効
となるように設定しておく。すなわち、ノーマルモード
アクセス時には、第8図(ヘ)に示す時刻t1のタイミン
グにおいて、入出力端子IOp−0〜IOp−3からチップセ
レクトデータを供給してメモリ装置#0M〜#3Mのいずれ
か1つ(もしくは2以上)を選択し、その後の時刻t4
データ読み出しにおいては、選択したメモリ装置以外の
データをマスクするようにする。また、同様にして、次
のアクセスタイミングt5においても、入出力端子IOp−
0〜IOp−3から所望のメモリ装置を選択するためのチ
ップセレクトデータを供給する。このようにすれば、メ
モリのリードサイクル内において、そのアクセルに先立
って所望のメモリ装置を選択することができ、事実上の
チップセレクトを極めて高速で行うことができる。
The above is the process until the signal BCE becomes “1”. The above-mentioned command "bit / chip select mask enable" is normally written before access in the normal mode, and the chip select data is valid for the memory devices # 0M to # 3M during the normal mode operation. To set. That is, in the normal mode access, at the timing of time t 1 shown in FIG. 8F, chip select data is supplied from the input / output terminals IOp-0 to IOp-3 and any of the memory devices # 0M to # 3M is supplied. One (or two or more) is selected, and in the subsequent data reading at time t 4 , data other than the selected memory device is masked. Similarly, also in the next access timing t 5, input-output terminal IOp-
It supplies chip select data for selecting a desired memory device from 0 to IOp-3. By doing so, a desired memory device can be selected prior to the accelerator in the memory read cycle, and the actual chip selection can be performed at extremely high speed.

以上がリードサイクルにおけるノーマルモード動作であ
る。
The above is the normal mode operation in the read cycle.

(b)マスクモード 次に、リードサイクルにおけるマスクモードの動作につ
いて説明する。
(B) Mask Mode Next, the operation of the mask mode in the read cycle will be described.

マスクモードを設定するための回路各部の信号の条件
は、ロウアドレス・ストローブ信号RASの立ち上がり時
においてライト・イネーブル信号WEが“1"レベルにある
ことを除いては、前述したノーマルモード設定のための
条件と同じである。すなわち、第8図に示す時刻t1にお
いてロウアドレス・ストローブ信号RASが立ち上がった
とすると、この時点においてカラムアドレス・ストロー
ブ信号CASおよびアウトプット・イネーブル信号OEが
“0"レベルにあり、かつ、同図(ニ)の点P3に示すよう
にライト・イネーブル信号WEが“1"レベルにあることが
条件となる。
The signal condition of each part of the circuit for setting the mask mode is the normal mode setting described above except that the write enable signal WE is at "1" level at the rise of the row address strobe signal RAS. It is the same as the condition of. That is, if the row address strobe signal RAS rises at time t 1 shown in FIG. 8, the column address strobe signal CAS and the output enable signal OE are at “0” level at this time, and write enable signal WE as shown in point P 3 of (d) is a condition that in the "1" level.

上述した条件が満たされると、第3図に示すアンドゲー
トAN2の出力信号MMEが“1"信号となり、かつ、この“1"
信号がロウアドレス・ストローブ信号RASの立ち上がり
時にLタイプフリップフロップLFF3に取り込まれ、以後
LタイプフリップフロップLFF3の出力信号MKAが“1"レ
ベルを維持し、マスクモードが確定される。次に、時刻
t2においてカラムアドレス・ストローブ信号CASが立ち
上がると、この時点でカラムアドレスが取り込まれ、ア
クセスすべきアドレスが確定する。そして、アクセスア
ドレスが確定してから所定時間が経過した時刻t4におい
ては、ライト・イネーブル信号WEが“0"、アウトプット
・イネーブル信号OEが“1"なる条件の下に、該当するア
ドレス内のデータが出力されるが、このデータはビット
毎およびメモリ装置毎に適宜マスクされる。ここで、マ
スク処理が行なわれた場合のデータ出力状態について説
明する。
When the above conditions are satisfied, the output signal MME of the AND gate AN2 shown in FIG. 3 becomes a "1" signal, and this "1"
The signal is taken into the L-type flip-flop LFF3 at the rise of the row address strobe signal RAS, and thereafter the output signal MKA of the L-type flip-flop LFF3 maintains the "1" level, and the mask mode is determined. Then the time
When the column address strobe signal CAS rises at t 2 , the column address is fetched at this point and the address to be accessed is determined. Then, at a time t 4 when a predetermined time has elapsed since the access address was fixed, the write enable signal WE is set to “0” and the output enable signal OE is set to “1”. Data is output, but this data is appropriately masked for each bit and each memory device. Here, the data output state when the mask processing is performed will be described.

第11図はワード方向の読み出しを行った場合のマスク状
態を示しており、図に示すBM0〜BM7およびRPMPは各々第
6図および第7図に示す信号の値を示している。この図
においては、メモリ装置#0M、#3M内の信号RPMPが
“0"、メモリ装置#1M、#2M内の信号RPMPが“1とな
り、信号BM7〜BM0が(00111100)の場合を示している。
なお、信号BM0〜BM7は、各メモリ装置#0M〜#3Mにおい
て同一の値となるが、これについては後述する。
FIG. 11 shows the mask state when reading in the word direction, and BM 0 to BM 7 and RPMP shown in the figure show the values of the signals shown in FIGS. 6 and 7, respectively. In this figure, a memory device # 0M, # signal RPMP in 3M is "0", the memory device # 1M, signal RPMP is "1 next to the # 2M, a case where the signal BM 7 to Bm 0 is (00111100) Shows.
The signals BM 0 to BM 7 have the same value in each of the memory devices # 0M to # 3M, which will be described later.

さて、信号BM0〜BM7および信号RPMPが第11図に示す値と
なると、共通のデータバスIO0〜IO7の第7、第6、第
1、第0ビットがハイ・インピーダンス状態(図では
「−」記号となり、第5、第4、第3、第2ビットが
(0100)の値となる。すなわち、信号RPMPが“1"となっ
ているメモリ装置のデータであって、信号BMiが“1"と
なっているビットのデータのみが出力許可状態となり、
さらに、出力されたデータが競合した場合は、“0"信号
が優先するようになっている。以上が、ワード方向の読
み出しを行った場合のマスク処理後のデータ出力であ
る。
Now, when the signals BM 0 to BM 7 and the signal RPMP have the values shown in FIG. 11, the 7th, 6th, 1st and 0th bits of the common data bus IO 0 to IO 7 are in the high impedance state (see FIG. Is a "-" symbol, and the fifth, fourth, third, and second bits have a value of (0100), that is, the data of the memory device in which the signal RPMP is "1" and the signal BMi Only the data of the bit for which "1" is set to the output enable state,
Further, when the output data conflict with each other, the "0" signal has priority. The above is the data output after the mask processing when reading in the word direction.

第12図は、ピクセル方向のデータ読み出しを行った場合
のマスク状態を示しており、図示の記号の意味は、第11
図において示したものと同様である。この場合において
は、信号RPMPが“1"となっているメモリ装置のデータで
あって、かつ、信号BMiが“1"となっているビットのみ
が出力許可状態となり、各メモリ装置内の該当するビッ
トが入力端子TIOp−0〜TIOp−3に各々出力される。こ
の際、同一メモリ装置内でデータが競合した場合には、
“0"信号が優先となって出力されるようになっている。
FIG. 12 shows the mask state when data is read out in the pixel direction, and the meaning of the symbols shown in FIG.
It is similar to that shown in the figure. In this case, only the bits of the memory device for which the signal RPMP is "1" and the signal BMi for which it is "1" are in the output enable state, and the corresponding bits in each memory device are applicable. Bits are output to the input terminals TIOp-0 to TIOp-3, respectively. At this time, if data conflict in the same memory device,
The "0" signal has priority and is output.

以下に、信号BMiの値および信号RPMPの値の設定、およ
び設定後のリード動作について説明する。
The setting of the value of the signal BMi and the value of the signal RPMP, and the read operation after the setting will be described below.

ビット単位のマスク設定 ビット単位のマスクは、第8図(ヘ)に示す時刻t1にお
いて、ビットマスクデータ(8ビット)として共通のデ
ータバスIO0〜IO7を介してメモリ装置#0M〜#3Mへ各々
供給される。このビットマスクデータは、マスクしよう
とするビットを“0"マスクしないビットを“1"としたデ
ータである。そして、ビットマスクデータ内の1ビット
が、第6図に示すデータバスIOi、バッファBFFIを介し
てLタイプフリップフロップLFF6の入力端に供給される
(各メモリ装置共通)。LタイプフリップフロップLFF6
は信号RASWの立ち上がり時(RASの立ち上がと同じタイ
ミング)に、入力端に供給されているマスクデータを取
り込み、信号FBMiとしてセレクタ11の第1ビットに供給
する。ここで、信号BCEが前述したコマンド書き込みに
よって“1"に設定されていれば、セレクタ11の出力信号
BMiは、マスクデータの値に一致して“0"または“1"の
値をとる。そして、この信号BMiはアンドゲートAN27お
よびAN28の各入力端に供給され、これにより、アウトプ
ットデータバッファ12およびバッファBFF5,BFF6のイネ
ーブル信号である信号OEi、OEPiのオン/オフに寄与す
る。なお、第3図から明らかなように信号NCSはマスク
モードにおいては、出力されない。
Mask mask setting bitwise at time t 1 shown in Figure 8 (f), the memory device # 0M~ via a common data bus IO 0 ~IO 7 as a bit mask data (8 bits) # Supplied to 3M respectively. This bit mask data is data in which the bit to be masked is "0" and the bit not to be masked is "1". Then, one bit in the bit mask data is supplied to the input end of the L type flip-flop LFF6 via the data bus IOi and the buffer BFFI shown in FIG. 6 (common to each memory device). L type flip-flop LFF6
Supplies the mask data supplied to the input terminal at the rising edge of the signal RASW (at the same timing as the rising edge of RAS) and supplies it as the signal FBMi to the first bit of the selector 11. Here, if the signal BCE is set to "1" by the command writing described above, the output signal of the selector 11
BMi takes a value of "0" or "1" in agreement with the value of the mask data. The signal BMi is supplied to the input terminals of the AND gates AN27 and AN28, thereby contributing to the on / off of the signals OEi and OEPi which are the enable signals of the output data buffer 12 and the buffers BFF5 and BFF6. As is clear from FIG. 3, the signal NCS is not output in the mask mode.

この場合、アウトプットデータバッファ12がイネーブル
状態になれば、メモリMi(第1図参照)から読み出され
たデータはバッファBFF2およびアウトプットデータバッ
ファ12を順次介して各メモリ装置に共通のデータバスIO
iに出力される。また、バッファBFF5,BFF6がイネーブル
状態になればメモリMiから読み出されたデータはバッフ
ァBFF2およびバッファBFF5を介して第7図に示すピクセ
ル・アウトプット・データバッファ18の入力端Dに供給
されるとともに、インバータINV5の出力信号が“1"とな
ってピクセル・アウトプット・データバッファ18がイネ
ーブル状態となるから、結局、メモリMiから読み出され
たデータは、ピクセル・アウトプット・データバッファ
18を介して入出力端子TIOp−0(あるいはTIOp−1〜TI
Op−3)に供給される。すなわち、信号OEiがワード方
向データ出力の許可/非許可を決定し、信号OEPiがピク
セル方向データ出力の許可/非許可を決定する。
In this case, when the output data buffer 12 is enabled, the data read from the memory Mi (see FIG. 1) is sequentially passed through the buffer BFF2 and the output data buffer 12 and is shared by the memory devices. IO
output to i. When the buffers BFF5 and BFF6 are enabled, the data read from the memory Mi is supplied to the input terminal D of the pixel output data buffer 18 shown in FIG. 7 via the buffers BFF2 and BFF5. At the same time, the output signal of the inverter INV5 becomes "1" and the pixel output data buffer 18 is enabled, so that the data read from the memory Mi is eventually the pixel output data buffer.
I / O pin TIOp-0 (or TIOp-1 to TI
Op-3) is supplied. That is, the signal OEi determines permission / non-permission of data output in the word direction, and the signal OEPi determines permission / non-permission of data output in the pixel direction.

メモリ装置単位のマスク設定 メモリ装置単位のマスクデータは、第1表に示すコマン
ド「リードプレーンマスク」の実行の際に入出力端子TI
Op−0〜TIOp−3から供給される。第13図は、コマンド
「リードプレーンマスク」を実行する際は、まず、第13
図(イ)に示すように、ロウアドレス・ストローブ信号
RASが立ち上がる時刻t30において、カラムアドレス・ス
トローブ信号CASおよびライト・イネーブル信号WEが
“1"であればコマンド書き込みサイクルが開始される。
ここまでの動作は、前述した第10図の場合と同様であ
る。ただし、時刻t30においてコマンドレジスタ1(第
4図)に書き込まれる値は、第1表に示すように16進表
示で(10)となる。この結果、コマンドレジスタ1の出
力のうち“1"信号となるのはMC4のみとなり、メインコ
マンド・デコーダ4の第0ビット入力端に“1"信号が供
給される。メインコマンド・デコーダ4はイネーブル端
子に供給されている信号MCSTが立ち上がると、入力信号
をデコードして信号RGAを“1"信号とする。この場合、
信号MCSTの値は、信号MCDと信号CSMPの論理積によって
決定される。そして、信号MCDはコマンド書き込みサイ
クルにおいては、信号RASD(第3図)の立ち上がり時に
“1"となり、以後“1"レベルを維持する信号であり、ま
た、信号CSMP(第7図参照)は前述した信号BCEが“0"
であれば常に“1"、信号BCEが“1"であればチップセレ
クトデータに応じた値となる信号である。したがって、
コマンド「リードプレーンマスク」の書き込みは、信号
BCEが“1"であってチップセレクトデータが“1"、ある
いは信号BCEが“0"という条件の下に、信号RASの立ち上
がり時に行なわれる。
Mask setting for each memory device The mask data for each memory device is used for input / output pin TI when the command "Read plane mask" shown in Table 1 is executed.
It is supplied from Op-0 to TIOp-3. FIG. 13 shows that when executing the command “lead plane mask”, first,
As shown in Figure (a), row address strobe signal
At time t 30 the RAS rises, the command write cycle is initiated if the column address strobe signal CAS and a write enable signal WE is "1".
The operation up to this point is the same as in the case of FIG. 10 described above. However, the value to be written to the command register 1 (FIG. 4) at time t 30 is (10) in the hexadecimal notation as shown in Table 1. As a result, only the MC4 of the output of the command register 1 becomes the "1" signal, and the "1" signal is supplied to the 0th bit input terminal of the main command decoder 4. When the signal MCST supplied to the enable terminal rises, the main command decoder 4 decodes the input signal and sets the signal RGA to "1" signal. in this case,
The value of the signal MCST is determined by the logical product of the signal MCD and the signal CSMP. The signal MCD is a signal which becomes "1" at the rising edge of the signal RASD (Fig. 3) in the command write cycle and maintains the "1" level thereafter, and the signal CSMP (see Fig. 7) is described above. Signal BCE is "0"
If the signal BCE is "1", the signal has a value corresponding to the chip select data. Therefore,
The command "Read plane mask" is written as a signal.
This is performed at the rising edge of the signal RAS under the condition that BCE is "1" and the chip select data is "1" or the signal BCE is "0".

上述のように、時刻t30においては、コマンドレジスタ
1に、コマンド「リードプレーンマスク」が書き込まれ
る。しかしながら、この時刻t30においては、第13図
(イ)に一点鎖線で示すように信号RASDが“0"信号であ
るため、信号MCDが“1"信号にならず(第3図参照)、
この結果、第4図に示す信号MCSTが“1"信号にならな
い。したがって、メインコマンド・デコーダ4はイネー
ブル状態とならない。次に、時刻t31になると、ロウア
ドレス・ストローブ信号RAS、信号RASD、カラムアドレ
ス・ストローブ信号CAS、信号WEがともに“1"信号とな
り、この結果、メインコマンド・デコーダ4がイネーブ
ル状態となって信号RGAを“1"とする。また、時刻t31
おいては、信号WEWが“1"となり(第3図参照)、この
結果、デコーダ2がイネーブル状態となる。この時、デ
コーダ2の入力端に供給されているコマンドデータMC0
は“0"信号であるから、デコーダ2はイネーブル状態と
なったタイミングにおいて信号RPWを“1"とする。この
信号RPWは第7図に示すDタイプフリップフロップDFF12
のクロック端子に供給されているから、この時点におい
て、DタイプフリップフロップDFF12は入力に供給され
ているデータを取り込む。一方、メモリ装置単位のマス
クデータ(以下リードプレーンマスクデータという)
は、第13図に示す時刻t31において入出力端子TIOp−0
〜TIOp−3から供給され、このプレーンリードマスクデ
ータが第7図に示すバッファBFF10を介してDタイプフ
リップフロップDFF12の入力端に供給される。この結
果、リードプレーンマスクデータは、時刻t31において
DタイプフリップフロップDFF12に取り込まれ、Dタイ
プフリップフロップDFF12の出力信号FRPの値が、リード
プレーンマスクデータの値に一致する。そして、信号FR
Pはセレクタ17の第1ビット入力端に供給されるから、
信号PMEが“1"であれば、信号RPMPの値はリードプレー
ンマスクデータの値に一致する。この信号RPMPは、第6
図に示すアンドゲートAN27,AN28,の入力端に供給され、
前述した信号OEPiおよび信号OEiのオン/オフに寄与す
る。
As described above, at time t 30 , the command “read plane mask” is written in the command register 1. However, at this time t 30 , since the signal RASD is the “0” signal as shown by the alternate long and short dash line in FIG. 13A, the signal MCD does not become the “1” signal (see FIG. 3),
As a result, the signal MCST shown in FIG. 4 does not become the "1" signal. Therefore, the main command decoder 4 is not enabled. Next, at time t 31 , the row address / strobe signal RAS, the signal RASD, the column address / strobe signal CAS, and the signal WE all become “1” signals, and as a result, the main command decoder 4 is enabled. Set the signal RGA to "1". Also, at time t 31 , the signal WEW becomes “1” (see FIG. 3), and as a result, the decoder 2 is enabled. At this time, the command data MC0 supplied to the input terminal of the decoder 2
Is a "0" signal, the decoder 2 sets the signal RPW to "1" at the timing when it is enabled. This signal RPW is the D type flip-flop DFF12 shown in FIG.
Since it is supplied to the clock terminal of, the D type flip-flop DFF12 takes in the data supplied to the input at this point. On the other hand, mask data for each memory device (hereinafter referred to as read plane mask data)
Is the input / output terminal TIOp-0 at time t 31 shown in FIG.
.About.TIOp-3, the plane read mask data is supplied to the input terminal of the D type flip-flop DFF12 via the buffer BFF10 shown in FIG. As a result, the read plane mask data is taken into the D type flip-flop DFF12 at time t 31 , and the value of the output signal FRP of the D type flip flop DFF12 matches the value of the read plane mask data. And the signal FR
Since P is supplied to the first bit input terminal of the selector 17,
If the signal PME is "1", the value of the signal RPMP matches the value of the read plane mask data. This signal RPMP is the sixth
It is supplied to the input terminals of the AND gates AN27, AN28, shown in the figure,
It contributes to ON / OFF of the signals OEPi and OEi described above.

信号PMEは、コマンド「プレーンマスクイネーブル」
(第1表参照)が実行されたときに、“1"となる信号で
ある。このコマンド「プレーンマスクイネーブル」の書
き込みは、前述したコマンド「ビット/チップセレクト
マスクイネーブル」の場合と同様に、第10図に示すタイ
ミングで行なわれる。この実施例におけるコマンドに
は、メモリ装置内の所定のフリップフロップにデータの
書き込みを行うものと、データの書き込みを伴わないも
のの2種があり、データ書き込みを伴うものは第13図に
示すタイミングにより、データ書き込みを伴わないもの
は第10図に示すタイミングにより、それぞれ書き込まれ
るようになっている。
The signal PME uses the command "plane mask enable".
This signal is "1" when (see Table 1) is executed. The writing of the command "plane mask enable" is performed at the timing shown in FIG. 10 as in the case of the command "bit / chip select mask enable" described above. There are two types of commands in this embodiment, one for writing data to a predetermined flip-flop in the memory device and the other for not writing data, and the one involving data writing depends on the timing shown in FIG. , Those without data writing are written at the timing shown in FIG.

信号BMiおよび信号RPMPの機能 以上のようにしてビット単位のマスクに寄与する信号BM
iと、メモリ装置単位のマスクに寄与する信号RPMPが設
定され、これらの信号がアンドゲートAN27,A28に供給さ
れる。このアンドゲートAN27,AN28の出力信号が信号OE
i,OEPiのオン/オフに寄与すること、および、信号OEi,
OEPiが各々ワード方向およびピクセル方向のデータ出力
イネーブルに寄与することはすでに述べたが、以下にこ
れらの信号の関係について詳細に説明する。
Functions of signal BMi and signal RPMP Signal BM that contributes to bit-wise masking as described above
i and the signal RPMP that contributes to the mask for each memory device are set, and these signals are supplied to the AND gates AN27 and A28. The output signal of the AND gates AN27 and AN28 is the signal OE.
i, OEPi on / off contribution and signal OEi,
Although it has already been described that OEPi contributes to the data output enable in the word direction and the pixel direction, respectively, the relationship between these signals will be described in detail below.

まず、第6図から判るようにアンドゲートAN27およびAN
28が“1"信号を出力する条件は、信号PAMについての条
件を除けば同じである。この信号PAMは、第10図に示す
タイミングにより、コマンド「ピクセルアクセスモー
ド」(第1表参照)が書き込まれると“1"となる信号で
あり、電源オン時およびコマンド「ワードアクセスモー
ド」が書き込まれるとクリアされる信号である。すなわ
ち、ピクセルアクセスモードとするためにコマンド「ピ
クセルアクセスモード」を実行した後は、信号PAMが
“1"となってアンドゲートAN28が“1"信号出力可能状態
となり、ワードアクセスモードが設定された場合は、信
号PAMが“0"となってアンドゲートAN27が“1"信号出力
可能状態となる。
First, as can be seen from FIG. 6, AND gates AN27 and AN
The conditions under which the 28 outputs a "1" signal are the same except for the conditions for the signal PAM. This signal PAM is a signal which becomes “1” when the command “pixel access mode” (see Table 1) is written at the timing shown in FIG. 10, and when the power is turned on and the command “word access mode” is written. It is a signal that is cleared when it is performed. That is, after executing the command "pixel access mode" to set the pixel access mode, the signal PAM becomes "1" and the AND gate AN28 becomes "1" signal output enable state, and the word access mode is set. In this case, the signal PAM becomes "0" and the AND gate AN27 becomes ready to output the "1" signal.

今、ワードアクセスモードが選択されているとすると、
アンドゲートAN27が“1"信号出力可能となるが、アンド
ゲートAN27に供給されている信号のうち信号MKA(第3
図参照)はマスクモードが設定された後は定常的に“1"
となる信号であるから、アンドゲートAN27の出力信号
は、結局、信号BMiと信号RPMPとの論理積によって決定
される。すなわち、信号BMiと信号RPMPの双方が“1"の
時に、アンドゲートAN27の出力信号が“1"となり、アン
ドゲートAN25の一方の入力端に供給されている信号OEW
が“1"となると、信号OEiが“1"となって、アウトプッ
トデータバッファ12がイネーブル状態となる。したがっ
て、第11図に例示したように、信号BMiと信号RPMPの双
方が“1"となっているビットのみがデータバスIO0〜IO7
に出力される。
Now assuming that word access mode is selected,
The AND gate AN27 can output the "1" signal, but among the signals supplied to the AND gate AN27, the signal MKA (3rd
(Refer to the figure) shows “1” after the mask mode is set.
Therefore, the output signal of the AND gate AN27 is ultimately determined by the logical product of the signal BMi and the signal RPMP. That is, when both the signal BMi and the signal RPMP are "1", the output signal of the AND gate AN27 becomes "1", and the signal OEW supplied to one input end of the AND gate AN25.
Becomes "1", the signal OEi becomes "1" and the output data buffer 12 is enabled. Therefore, as illustrated in FIG. 11, only the bits for which both the signal BMi and the signal RPMP are “1” are data buses IO 0 to IO 7.
Is output to.

また、ピクセルアクセスモードが選択されている場合
は、アンドゲートAN28が“1"信号出力可能となるが、ア
ンドゲートAN28の出力信号は、上記の場合と全く同様に
信号BMiと信号RPMPの論理積によって決定される。した
がって、第12図に示すように、信号BMiと信号RPMPの双
方が“1"となっているビットのデータのみが入出力端子
TIOp−0〜TIOp−3に出力される。
Also, when the pixel access mode is selected, the AND gate AN28 can output the "1" signal. However, the output signal of the AND gate AN28 is the logical product of the signal BMi and the signal RPMP just as in the above case. Determined by Therefore, as shown in Fig. 12, only the data of the bit for which both the signal BMi and the signal RPMP are "1" are input / output terminals.
It is output to TIOp-0 to TIOp-3.

以上がマスクモードにおけるリードサイクルの動作であ
り、リードサイクル内でそのアクセスに先立って、所望
のメモリ装置および所望のビットを適宜マスクすること
ができ、かつ、これらの設定や切換を極めて高速で行う
ことができる。
The above is the operation of the read cycle in the mask mode, and the desired memory device and the desired bit can be appropriately masked prior to the access in the read cycle, and these settings and switching can be performed at extremely high speed. be able to.

なお、第11図および第12図に示す状態を設定するための
条件をまとめると、第11図に示す場合にあっては、マス
クモード設定、信号PME、信号BCEが“1"、かつ、信号が
PAMが“0"となっていることが条件となり、第12図に示
す場合にあっては、マスクモード設定、信号PAM、信号P
MEおよび信号BCEが“1"となっていることが条件であ
る。また、第18図に示すように、1ドットに対応するピ
クセルデータ(4ビット)を読み出す際は、すべてのメ
モリ装置内の信号RPMPを“1"とするとともに(第12図参
照)、読み出したいドットに対応する位置の信号BMiを
“1"とすればよい。
The conditions for setting the states shown in FIGS. 11 and 12 are summarized. In the case shown in FIG. 11, the mask mode setting, the signal PME, the signal BCE are “1”, and the signal is But
The condition is that PAM is "0". In the case shown in FIG. 12, mask mode setting, signal PAM, signal P
The condition is that ME and signal BCE are "1". Further, as shown in FIG. 18, when reading pixel data (4 bits) corresponding to one dot, the signal RPMP in all the memory devices is set to “1” (see FIG. 12) and it is desired to read it. The signal BMi at the position corresponding to the dot may be set to "1".

(II)ライトサイクル 次に、ライトサイクルについて説明する。前述のリード
サイクルと同様にライトサイクルにおいても、ノーマル
モード、およびマスクモードがあり、さらに、これらの
サイクルとは別にコマンド書き込みサイクルがある。以
下にこれらについて説明する。
(II) Write Cycle Next, the write cycle will be described. Similar to the read cycle described above, the write cycle has a normal mode and a mask mode, and further, in addition to these cycles, there is a command write cycle. These will be described below.

(a)ノーマルモード このモードは、リードサイクルにおけるノーマルモード
と同様のモードであり、第9図に示すように、チップセ
レクトデータが“1"となっているメモリ装置に対しての
みデータの書き込みがワード方向に行なわれるモードで
ある。
(A) Normal mode This mode is similar to the normal mode in the read cycle, and as shown in FIG. 9, data can be written only to the memory device whose chip select data is "1". This is a mode performed in the word direction.

このモードの設定は、リードサイクル時と全く同様であ
り、第14図(イ)に示す時刻t40において、ロウアドレ
ス・ストローブ信号RASが立ち上がった時に、カラムア
ドレス・ストローブ信号CASが“0"、ライト・イネーブ
ル信号WEおよびアウトプット・イネーブル信号OEが“0"
レベルにあればノーマルモードが設定され、第3図に示
す信号NMEおよび信号NMAが順次“1"信号となり、ノーマ
ルモードが確定される。
Setting of this mode is exactly the same as that during the read cycle, at time t 40 shown in FIG. 14 (b), when the row address strobe signal RAS rises, the column address strobe signal CAS is "0", Write enable signal WE and output enable signal OE are “0”
If it is at the level, the normal mode is set, the signal NME and the signal NMA shown in FIG. 3 sequentially become "1" signals, and the normal mode is determined.

次に、第14図に示す時刻t41においてカラムアドレス・
ストローブ信号CASが立ち上がり、この時点におけるラ
イト・イネーブル信号WEが“1"であると、ライトサイク
ルの実行が開始される。また、この時点においてカラム
アドレスが確定され、この結果、書き込むべきアドレス
が確定される。したがって、各メモリ装置#0M〜#3M内
の同一アドレスが一斉にアクセスされ、当該アドレスに
共通データバスIO0〜IO7上のデータが同時に書き込まれ
る。この場合、前述したリードサイクルの時と同様に、
ロウアドレス・ストローブ信号RASが立ち上がる時刻t40
においてチップセレクトデータの書き込みが可能となっ
ており、このタイミングにおいてチップセレクトデータ
が供給され、かつ、信号BCEが“1"となっていれば、チ
ップセレクトデータが“1"となっているメモリ装置に対
してのみデータ書き込みが行なわれる。このチップセレ
クト動作について、以下に説明する。
Next, at time t 41 shown in FIG.
When the strobe signal CAS rises and the write enable signal WE is "1" at this point, the execution of the write cycle is started. At this point, the column address is fixed, and as a result, the address to be written is fixed. Thus, the same address of the memory device # 0M~ # within 3M is accessed simultaneously, data on the common data bus IO 0 ~IO 7 in the address are written at the same time. In this case, as in the read cycle described above,
Time t 40 the row address strobe signal RAS rises
In this case, if the chip select data is writable and the chip select data is supplied at this timing and the signal BCE is "1", the memory device in which the chip select data is "1" Data is written only to. This chip select operation will be described below.

まず、データ書き込みタイミングである時刻t41におい
ては、供給データバスIOi上のデータは、第6図に示す
バッファBFF1を介してセレクタ10の第0,第2,第3ビット
入力端に供給される。この場合、ノーマルモードにおい
ては、信号NMAが“1"信号であるから、セレクタ10は第
2あるいは第3ビット入力端を選択する。したがって、
セレクタ10の第2あるいは第3ビット入力端に供給され
たデータは、セレクタ10を通過し、さらに信号WEWの立
ち上がり時にDタイプフリップフロップDFF7に取り込ま
れ、信号SRCiとして出力される。この信号SRCiはバッフ
ァBFF3がイネーブル状態となった時にメモリMiに供給さ
れるが,バッファBFF3をイネーブル状態とする信号WEP
は、第3図に示すように信号NCSが“1"とならなければ
“1"信号になることはない。そして、信号NCSの値は、
信号NMAと信号CSMPの論理積によって決定されるため、
チップセレクトデータが“0"で信号CSMPが“0"となって
いる場合は、信号WEPは“1"とならず、信号SRCiはメモ
リMiに供給されない。また、信号WEPが出力されなけれ
ば、第3図に示す信号WEP0〜WEP7もすべて出力されない
から、メモリM0〜M7にライトイネーブル信号が供給され
ず(第5図参照)、書込動作は行なわれない。以上のよ
うにして、信号BCEが“1"の場合は、チップセレクトデ
ータが“1"となっているメモリ装置にのみデータ書込が
行なわれる。
First, at time t 41 , which is the data write timing, the data on the supply data bus IOi is supplied to the 0th, 2nd and 3rd bit input terminals of the selector 10 via the buffer BFF1 shown in FIG. . In this case, in the normal mode, since the signal NMA is the "1" signal, the selector 10 selects the second or third bit input terminal. Therefore,
The data supplied to the second or third bit input terminal of the selector 10 passes through the selector 10 and is further captured by the D type flip-flop DFF7 at the rising edge of the signal WEW and output as the signal SRCi. This signal SRCi is supplied to the memory Mi when the buffer BFF3 is enabled, but it is a signal WEP that enables the buffer BFF3.
Does not become a "1" signal unless the signal NCS becomes "1" as shown in FIG. And the value of the signal NCS is
Since it is determined by the logical product of the signal NMA and the signal CSMP,
When the chip select data is “0” and the signal CSMP is “0”, the signal WEP does not become “1” and the signal SRCi is not supplied to the memory Mi. If the signal WEP is not output, the signals WEP 0 to WEP 7 shown in FIG. 3 are not all output, so that the write enable signal is not supplied to the memories M 0 to M 7 (see FIG. 5). No action is taken. As described above, when the signal BCE is "1", data writing is performed only in the memory device whose chip select data is "1".

また、第3図に示すオアゲートOR30〜OR37により、アン
ドゲートAN40の出力信号が“1"であれば、ライトイネー
ブル信号WEP0〜WEP7は信号BM0〜BM7の影響を受けず“1"
となる。ノーマルモードにおいては、信号NMAが“1"信
号であるから、アンドゲートAN40の出力信号は、信号WP
Bの値によって決定される。したがって、ノーマルモー
ドにおいて信号WPBが“0"のときは、信号BM0〜BM7の値
によらず、各メモリM0〜M7に対して一斉に書き込みが行
われる。
Further, the OR gate OR30~OR37 shown in FIG. 3, if the output signal of the AND gate AN40 is "1", the write enable signal WEP 0 ~WEP 7 is not affected by the signal BM 0 to Bm 7 "1"
Becomes In the normal mode, since the signal NMA is the "1" signal, the output signal of the AND gate AN40 is the signal WP.
Determined by the value of B. Therefore, the signal WPB in normal mode when it is "0", regardless of the value of the signal BM 0 to Bm 7, writes all at once for each memory M 0 ~M 7 is performed.

一方、信号WPBが“1"となって、アンドゲートAN40の出
力信号が“1"になれば、ライトイネーブル信号WEP0〜WE
P7の値は、信号BM0〜BM7によって決まり、ライトイネー
ブル信号WEP0〜WEP7が“1"となったメモリについて書込
が行われる。すなわち、信号WPBが“1"になれば、ノー
マルモードにおいてビット毎のマスク機能が働き、マス
ク信号である信号BM0〜BM7が機能する。
On the other hand, if the signal WPB becomes "1" and the output signal of the AND gate AN40 becomes "1", the write enable signals WEP 0 to WE
The value of P 7 is determined by the signals BM 0 to BM 7 , and writing is performed on the memory for which the write enable signals WEP 0 to WEP 7 are “1”. That is, when the signal WPB becomes “1”, the mask function for each bit operates in the normal mode, and the signals BM 0 to BM 7 that are mask signals function.

ここで、信号BM0〜BM7の設定は、前述のマスクモードの
リードサイクルの場合と同様に行われる。また、信号WP
Bの設定は以下のようにして行われる。すなわち、第10
図に示すタイミングに従い、前述の「ビット/チップセ
レクトマスクイネーブル」のコマンド書込の場合と同様
にして、コマンド「ライトパービット」を書き込む。こ
のコマンドのメインコマンドコード(コマンドコードの
上位4ビット)は、前述の表に示したように(4)
ある。そして、メインコマンドコード(4)が、第4
図に示すメインコマンドデコーダ4に書き込まれると、
メインコマンドデコーダ4から出力される信号WPBが
“1"となり、ノーマルモードにおいてビット単位のマス
クが可能となる。ただし、前述のように信号BMi(i=
0〜7)は、第6図から判るように信号BCEが“0"であ
るとすべて“1"信号となってしまうから、信号BMiのマ
スク機能を有効とするには、信号BCEを“1"とする必要
がある。したがって、この場合には、予め「ビット/チ
ップセレクトマスクイネーブル」を実行しておくか、あ
るいは、コマンドコードとして(47)を書き込むよう
にする。また、信号BMiの値を決めるLタイプフリップ
フロップ6への書込は、前述のマスクモードのリードサ
イクルの場合と同様にして行えばよい。
Here, the signals BM 0 to BM 7 are set in the same manner as in the read cycle in the mask mode described above. Also the signal WP
The setting of B is performed as follows. That is, the tenth
According to the timing shown in the figure, the command "write per bit" is written in the same manner as in the case of the "bit / chip select mask enable" command writing described above. The main command code (upper 4 bits of the command code) of this command is (4) H as shown in the above table. And the main command code (4) H is the 4th
When written in the main command decoder 4 shown in the figure,
The signal WPB output from the main command decoder 4 becomes "1", enabling bit-wise masking in the normal mode. However, as described above, the signal BMi (i =
As can be seen from FIG. 6, all of 0 to 7) become "1" signals when the signal BCE is "0". Therefore, in order to enable the mask function of the signal BMi, the signal BCE must be "1". "It needs to be said. Therefore, in this case, "bit / chip select mask enable" is executed in advance, or (47) H is written as the command code. Writing to the L-type flip-flop 6 that determines the value of the signal BMi may be performed in the same manner as in the read cycle of the mask mode described above.

(b)マスクモード 第14図に示す状態であって、時刻t40においてライトイ
ネーブル信号WEが“1"レベルにあれば、マスクモードが
設定される。すなわち、第14図に示す状態でライトイネ
ーブル信号WEを“1"にすると、リードサイクル時と同様
に第3図に示す信号MME、信号MKAが順次“1"信号とな
り、マスクモードの実行が開始される。次に、時刻41
おいてカラムアドレス・ストローブ信号CASが立ち上が
ると、この時点でカラムアドレスが取り込まれ、アクセ
スすべきアドレスが確定する。そして、アクセスするア
ドレスが確定した時刻t41において、同図(ヘ)に示す
ように直ちに該当するアドレスにデータ書き込みが行な
われる。この場合、メモリに書き込まれるデータは、ビ
ット毎およびメモリ装置毎に適宜マスクされる。以下に
マスク処理が行なわれた際のデータ書き込み状態につい
て説明する。
(B) a state shown in a mask mode Figure 14, at time t 40 a write enable signal WE is if the "1" level, the mask mode is set. That is, when the write enable signal WE is set to "1" in the state shown in FIG. 14, the signal MME and the signal MKA shown in FIG. 3 sequentially become "1" signals as in the read cycle, and execution of the mask mode is started. To be done. Next, when the column address / strobe signal CAS rises at time 41 , the column address is fetched at this point and the address to be accessed is determined. Then, at time t 41 when the address to be accessed is determined, data writing is immediately performed to the corresponding address as shown in FIG. In this case, the data written in the memory is masked appropriately for each bit and each memory device. The data writing state when the mask processing is performed will be described below.

第15図は、ワード方向にデータ書き込みを行った場合の
マスク状態を示しており、図に示す信号WPMPは第7図に
示すセレクタ16の出力信号である。第15図においては、
メモリ装置#1M、#2M、#3M内の信号WPMPが“1"とな
り、信号BM7〜BM0が(00110011)の場合を示している。
信号BM0〜BM7は、各メモリ装置において同一の値となる
が、これは前述したリードモード時の場合と同じであ
る。
FIG. 15 shows the mask state when data is written in the word direction, and the signal WPMP shown in the figure is the output signal of the selector 16 shown in FIG. In Figure 15,
Memory device # 1M, # 2M, signal WPMP becomes "1" in # 3M, signal BM 7 to Bm 0 shows a case of (00110011).
The signals BM 0 to BM 7 have the same value in each memory device, which is the same as in the read mode described above.

さて、信号BM0〜BM7および信号WPMPが第15図に示す状態
となり、また、データD7〜D0として図のように(001011
10)が供給されると、信号WPMPが“1"となっているメモ
リ装置のメモリMiであって、信号BM0〜BM7が“1"となっ
ているビット位置に対応するもののみにデータの書き込
み行なわれる。この場合、書き込みが行なわれるメモリ
装置#1M〜#3Mにあっては、すべて同一のデータ書き込
みとなる。
Now, the signals BM 0 to BM 7 and the signal WPMP are in the state shown in FIG. 15, and the data D 7 to D 0 are as shown in the figure (001011
When 10) is supplied to a memory Mi of the memory device signals WPMP is "1", only the data which corresponds to the bit position signal BM 0 to Bm 7 is "1" Is written. In this case, the same data is written in the memory devices # 1M to # 3M in which the writing is performed.

第16図は、ピクセル方向のデータ書き込みを行った場合
のマスク状態を示しており、この図に示す状態では、信
号WPMPが“1"となっているメモリ装置のメモリMiであっ
て、かつ、信号BM0〜BM7が“1"となっているビット位置
に対応するメモリMiのみにデータ書き込みが行なわれ
る。この場合の書き込みは、各メモリ装置#0M〜#3M内
において書き込み可能となるビットには、各々入出力端
子TIOp−0〜TIOp−3から供給されるデータが共通に書
き込まれる。
FIG. 16 shows a mask state when data is written in the pixel direction. In the state shown in this figure, the memory Mi of the memory device in which the signal WPMP is “1”, and Data is written only to the memory Mi corresponding to the bit positions where the signals BM 0 to BM 7 are “1”. In writing in this case, data supplied from the input / output terminals TIOp-0 to TIOp-3 are commonly written to the writable bits in each of the memory devices # 0M to # 3M.

第15図、第16図に示す信号BM0〜BM7の値の設定は、前述
のリードサイクルのときと同様に行なわれ、また、信号
WPMPの値の設定は、以下のようにしておこなわれる。
The values of the signals BM 0 to BM 7 shown in FIGS. 15 and 16 are set in the same manner as in the read cycle described above.
The value of WPMP is set as follows.

まず、第1表に示すコマンド「ライトプレーンマスク」
を実行し、この実行の際に入出力端子TIOp−0〜TIOp−
3からマスクデータを供給する。このコマンド「ライト
プレーンマスク」は、第7図に示すDタイプフリップフ
ロップDFF11にデータ書込を行うコマンドであり、第13
図に示すタイミングでコマンド書き込みが行なわれる。
すなわち、第13図に示す時刻t31において、第4図に示
す信号WPWが立ち上がり、これにより、入出力端子TIOp
−0〜TIOp−3から供給されたマスクデータが、同時刻
t31において第7図に示すバッファBFF10を介してDタイ
プフリップフロップDFF11に取り込まれ、信号FWPとして
出力される。この結果、信号FWPの値は、マスクデータ
の値に一致する。信号FWPは、セレクタ16の第1ビット
入力端に供給されるから、信号PMEが“1"であれば、セ
レクタ16の出力信号WPMPは、マスクデータに一致した値
の信号となる。また、信号PMEは、前述したように、コ
マンド「プレーンマスクイネーブル」が実行されたとき
に“1"となる。
First, the command "light plane mask" shown in Table 1
And the I / O pins TIOp-0 to TIOp-
3 supplies mask data. This command "write plane mask" is a command for writing data in the D type flip-flop DFF11 shown in FIG.
Command writing is performed at the timing shown in the figure.
That is, at time t 31 shown in FIG. 13, the signal WPW shown in FIG. 4 rises, which causes the input / output terminal TIOp
The mask data supplied from −0 to TIOp-3 is the same time.
At t 31 , it is taken into the D type flip-flop DFF11 via the buffer BFF10 shown in FIG. 7 and output as the signal FWP. As a result, the value of the signal FWP matches the value of the mask data. Since the signal FWP is supplied to the first bit input terminal of the selector 16, if the signal PME is "1", the output signal WPMP of the selector 16 becomes a signal having a value that matches the mask data. Further, the signal PME becomes "1" when the command "plane mask enable" is executed, as described above.

次に、信号BMiと信号WPMPの作用について説明する。こ
れらの信号は、第3図に示すようにいずれもライトイネ
ーブル信号WEP0〜WEP7のオン/オフに寄与する。すなわ
ち、信号WPMPが“0"であれば、アンドゲートAN6の出力
信号MWPが“0"となり、この結果、オアゲートOR2の出力
信号が“0"となる(マスクモードでは信号NCSは常に
“0")。したがって、アンドゲートAN8の出力信号WEPが
“0"となって各メモリMiへのライトイネーブル信号WEP0
〜WEP7がすべて“0"となり、いずれのメモリにも書き込
こみが許可されない。
Next, the operation of the signal BMi and the signal WPMP will be described. All of these signals contribute to turning on / off the write enable signals WEP 0 to WEP 7 , as shown in FIG. That is, if the signal WPMP is "0", the output signal MWP of the AND gate AN6 becomes "0", and as a result, the output signal of the OR gate OR2 becomes "0" (the signal NCS is always "0" in the mask mode). ). Therefore, the output signal WEP of the AND gate AN8 becomes "0", and the write enable signal WEP 0 to each memory Mi is output.
~ WEP 7 is all "0", and writing to any memory is not permitted.

また、信号WPMPが“1"となって信号WEPが所定のタイミ
ングにおいて“1"となることがあったとしても、信号BM
0〜BM7のいずれかが“0"であれば、“0"となっているビ
ットのライトイネーブル信号WEPiは出力されない。すな
わち、書き込みが許可されるのは、信号WPMPと信号BM0
〜BM7の双方が“1"となっているビットのみとなる。そ
して、ワード方向のデータ書き込みは、共通データバス
IOi→バッファBFF1(第6図)→セレクタ10の第0,第2,
第3ビット入力端→DタイプフリップフロップDFF7→バ
ッファBFF3→メモリMiなる経路で書き込むべきデータが
転送され、ピクセル方向のデータ書き込みは、入出力端
子TIOp−i→バッファBFF10(第7図)→セレクタ10の
第1ビット入力端(第6図)→Dタイプフリップフロッ
プDFF7→バッファBFF3なる経路で書き込むべきデータが
転送される。
Even if the signal WPMP becomes "1" and the signal WEP becomes "1" at a predetermined timing, the signal BM
If any of 0 to BM 7 is “0”, the write enable signal WEPi of the bit set to “0” is not output. That is, writing is permitted only in the signal WPMP and the signal BM 0.
~ Only the bit for which both BM 7 are "1". Then, writing data in the word direction is performed using the common data bus.
IOi → buffer BFF1 (Fig. 6) → 0, 2
The third bit input terminal → D type flip-flop DFF7 → buffer BFF3 → memory Mi transfers the data to be written, and the data writing in the pixel direction is input / output terminal TIOp-i → buffer BFF10 (FIG. 7) → selector The data to be written is transferred through the path of the first bit input terminal 10 (FIG. 6) → D type flip-flop DFF7 → buffer BFF3.

以上がライトサイクルにおけるマスクモードの動作であ
り、ライトサイクル内でそのアクセスに先立って、所望
のメモリ装置および所望のビットを適宜マスクすること
ができ、かつ、これらの設定や切り換えを極めて高速で
行うことができる。
The above is the operation in the mask mode in the write cycle. The desired memory device and the desired bit can be appropriately masked prior to the access in the write cycle, and these settings and switching can be performed at extremely high speed. be able to.

なお、第15図および第16図に示す状態を設定するための
条件をまとめると、第15図に示す場合にあっては、マス
クモード設定、信号PME、信号BCEが“1"、かつ、信号PA
Mが“0"となっていることが条件となり、第16図に示す
場合にあっては、マスクモード設定、信号PAM、信号PME
および信号BCEが“1"となっていることが条件となる。
The conditions for setting the states shown in FIGS. 15 and 16 are summarized. In the case shown in FIG. 15, the mask mode setting, the signal PME, the signal BCE are “1”, and the signal is PA
The condition is that M is "0". In the case shown in FIG. 16, mask mode setting, signal PAM, signal PME
The condition is that the signal BCE is "1".

また、この実施例においては、第14図に示すライトサイ
クルとは別のタイミングのライトサイクルであるレイト
・ライトサイクルモードを有している。このライトサイ
クルは、第17図に示すように、カラムアドレスが取り込
まれた後、所定時間経過後(時刻t52)においてデータ
書き込みが行なわれるようになっている。
In addition, this embodiment has a late write cycle mode which is a write cycle at a timing different from the write cycle shown in FIG. In this write cycle, as shown in FIG. 17, data writing is performed after a lapse of a predetermined time (time t 52 ) after the column address is fetched.

以上が、この実施例の構成および動作である。The above is the configuration and operation of this embodiment.

なお、この実施例にさらにデータのシリアル入出力を行
うシリアルI/Oバッファを付加し、これにより、トリプ
ルポートメモリを構成してもよい。
A triple port memory may be constructed by adding a serial I / O buffer for serially inputting / outputting data to this embodiment.

また、上記実施例は、メモリ装置を4個並列に組み合わ
せて用いる実施例であったが、用途によっては、1個以
上任意の数のメモリ装置を用いてもよい。
Further, although the above embodiment is an embodiment in which four memory devices are combined in parallel and used, one or more arbitrary number of memory devices may be used depending on the application.

さらに、前述した実施例では、ノーマルモードのライト
サイクルにおいてマスク機能を有するようにしたが、ノ
ーマルモードのリードサイクルにおいてもマスク機能を
有するように構成することもできる。
Further, in the above-described embodiment, the mask function is provided in the normal mode write cycle, but the mask function may be provided in the normal mode read cycle.

また、ビットインターフェイスBTIi内にラスタオペレー
ション等の論理演算を行う回路を付加し、所定のコマン
ドによって当該演算を行わせるよう構成してもよい。こ
のような演算を行うメモリ装置としては、例えば、特開
昭61−195901号がある。
A circuit for performing a logical operation such as a raster operation may be added in the bit interface BTIi and the operation may be performed by a predetermined command. As a memory device for performing such calculation, there is, for example, Japanese Patent Laid-Open No. 61-195901.

「発明の効果」 以上説明したように、この発明によれば、単純メモリ素
子としてのアクセスを行う第1のモードとデータに対し
論理演算およびマスクが行える第2のモードとを有する
とともに、前記第1、第2のモードを選択するセレクト
手段を有するメモリ装置において、前記第1のモードに
おいてデータにマスクを行うマスク手段を有したので、
メモリをプログラムエリアとして使用している際にマス
ク処理の必要が生じても、第2のモードに切り換えるこ
となくマスク処理を行うことができる。したがって、処
理スピードを下げるとこなく、プログラムエリアにおい
てマスク処理を行うことができる。
[Advantages of the Invention] As described above, according to the present invention, in addition to having the first mode for performing access as a simple memory element and the second mode for performing logical operation and mask on data, In the memory device having the selecting means for selecting the first and second modes, the masking means for masking the data in the first mode is included.
Even if the mask processing is required when the memory is used as the program area, the mask processing can be performed without switching to the second mode. Therefore, the mask processing can be performed in the program area without lowering the processing speed.

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

第1図はこの発明の一実施例の全体構成を示すブロック
図、第2図はメモリ装置の接続状態を示すブロック図、
第3図はタイミング・コントロール回路TCの構成を示す
ブロック図、第4図はコマンド・コントロール回路CCの
構成を示すブロック図、第5図はメモリブロックの構成
を示すブロック図、第6図はビットインターフェイスの
構成を示すブロック図、第7図はピクセルインターフェ
イスの構成を示すブロック図、第8図は同実施例のリー
ドサイクルのタイミングチャート、第9図はノーマルモ
ード時の各メモリ装置のデータ入出力状態を示す図、第
10図、第13図は各々コマンド書き込みサイクルのタイミ
ングチャート、第11図、第12図は各々リードサイクル時
におけるマスク状態と出力データとの関係を示す図、第
14図はライトサイクルのタイミングチャート、第15図、
第16図は各々ライトサイクル時におけるマスク状態と書
込データとの関係を示す図、第17図はレイト・ライトサ
イクルのタイミングチャート、第18図はフレームバッフ
ァと表示面との関係を示す概念図、第19図はメモリとデ
ータバスとのビット番号が連続的に対応しない場合の回
路例を示すブロック図、第20図はシリアルポートを有す
る2個のメモリを用いて表示を行う際の回路例を示すブ
ロック図である。 4……メインコマンドデコーダ、AN40、AN10〜17……ア
ンドゲート、OR30〜OR37……オアゲート(以上はマスク
手段)、LFF6……Lタイプフリップフロップ(マスクデ
ータ記憶手段)。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing a connection state of a memory device,
3 is a block diagram showing the structure of the timing control circuit TC, FIG. 4 is a block diagram showing the structure of the command control circuit CC, FIG. 5 is a block diagram showing the structure of the memory block, and FIG. 6 is a bit diagram. FIG. 7 is a block diagram showing the structure of the interface, FIG. 7 is a block diagram showing the structure of the pixel interface, FIG. 8 is a timing chart of the read cycle of the same embodiment, and FIG. 9 is data input / output of each memory device in the normal mode. Figure showing state, No.
10 and 13 are timing charts of the command write cycle, and FIGS. 11 and 12 are diagrams showing the relationship between the mask state and the output data during the read cycle, respectively.
Figure 14 is the write cycle timing chart, Figure 15,
FIG. 16 is a diagram showing the relationship between the mask state and write data in each write cycle, FIG. 17 is a timing chart of the late write cycle, and FIG. 18 is a conceptual diagram showing the relationship between the frame buffer and the display surface. , FIG. 19 is a block diagram showing a circuit example when the bit numbers of the memory and the data bus do not continuously correspond, and FIG. 20 is a circuit example when performing display using two memories having serial ports. It is a block diagram showing. 4 ... Main command decoder, AN40, AN10 to 17 ... AND gate, OR30 to OR37 ... OR gate (mask means above), LFF6 ... L type flip-flop (mask data storage means).

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】単純メモリ素子としてアクセスを行う第1
のモードとデータに対し論理演算およびマスクが行なえ
る第2のモードとを有するとともに、前記第1、第2の
モードを選択するセレクト手段を有するメモリ装置にお
いて、前記第1のモードにおいてデータにマスクを行う
マスク手段を有したことを特徴とするメモリ装置。
1. A first access for a simple memory device
And a second mode in which a logical operation and a mask can be performed on the data, and a memory device having a selecting means for selecting the first and second modes, the data is masked in the first mode. A memory device having a masking means for performing.
【請求項2】前記マスク手段は、所定のコマンドが供給
されたときにマスク機能が許可され、かつ、ビット毎に
マスクの可否を設定するマスクデータ記憶手段を有して
いることを特徴とする特許請求の範囲第1項記載のメモ
リ装置。
2. The masking means is provided with masking data storage means for permitting a masking function when a predetermined command is supplied and for setting maskability for each bit. The memory device according to claim 1.
【請求項3】前記マスク手段は、単純メモリ素子として
のアクセスが行われる際のライトサイクルにおいて、ア
ドレスが確定するタイミングで、前記マスクデータ記憶
手段に対しマスクデータの書き込みが可能となることを
特徴とする特許請求の範囲第2項記載のメモリ装置。
3. The mask means is capable of writing mask data to the mask data storage means at a timing when an address is determined in a write cycle when an access as a simple memory element is performed. The memory device according to claim 2.
JP62315511A 1987-12-14 1987-12-14 Memory device Expired - Lifetime JPH0748302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62315511A JPH0748302B2 (en) 1987-12-14 1987-12-14 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62315511A JPH0748302B2 (en) 1987-12-14 1987-12-14 Memory device

Publications (2)

Publication Number Publication Date
JPH01155592A JPH01155592A (en) 1989-06-19
JPH0748302B2 true JPH0748302B2 (en) 1995-05-24

Family

ID=18066230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62315511A Expired - Lifetime JPH0748302B2 (en) 1987-12-14 1987-12-14 Memory device

Country Status (1)

Country Link
JP (1) JPH0748302B2 (en)

Also Published As

Publication number Publication date
JPH01155592A (en) 1989-06-19

Similar Documents

Publication Publication Date Title
US4967398A (en) Read/write random access memory with data prefetch
US4742474A (en) Variable access frame buffer memory
JPH0612863A (en) Dual port DRAM
GB2131578A (en) Byte-addressable memory system
US3972025A (en) Expanded memory paging for a programmable microprocessor
US4348720A (en) Microcomputer arranged for direct memory access
US4628448A (en) Operation mode setting apparatus on a single chip microprocessor
JPH01320564A (en) parallel processing device
KR920002831B1 (en) Data transmission control system
JPH0748302B2 (en) Memory device
US4888685A (en) Data conflict prevention for processor with input/output device
KR0176087B1 (en) Processor Data Processing Circuit of System Controller
JP3222647B2 (en) Automatic memory bank switching system
JPS6352245A (en) Memory device
JPS63113491A (en) Memory
JP2568443B2 (en) Data sizing circuit
JPS6352246A (en) Memory device
JPH05334234A (en) High speed dma transferring device
JPH0844613A (en) Pseudo initialization method for LSI built-in RAM
JPH01209581A (en) Memory device
JPH04299480A (en) Data latch with bit operation
JPS6215593A (en) Memory
JPS6352244A (en) Memory device
JPS63178320A (en) Multiwindow display device
JPS61224050A (en) Memory access circuit