JP3179792B2 - Multi-port random access memory - Google Patents

Multi-port random access memory

Info

Publication number
JP3179792B2
JP3179792B2 JP06495291A JP6495291A JP3179792B2 JP 3179792 B2 JP3179792 B2 JP 3179792B2 JP 06495291 A JP06495291 A JP 06495291A JP 6495291 A JP6495291 A JP 6495291A JP 3179792 B2 JP3179792 B2 JP 3179792B2
Authority
JP
Japan
Prior art keywords
signal
data
port
flip
register
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 - Fee Related
Application number
JP06495291A
Other languages
Japanese (ja)
Other versions
JPH04212778A (en
Inventor
尚徳 浜野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP06495291A priority Critical patent/JP3179792B2/en
Priority to DE4122060A priority patent/DE4122060A1/en
Publication of JPH04212778A publication Critical patent/JPH04212778A/en
Application granted granted Critical
Publication of JP3179792B2 publication Critical patent/JP3179792B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1075Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers for multiport memories each having random access ports and serial ports, e.g. video RAM

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はマルチ・ポート・ラン
ダム・アクセス・メモリに関し、特に、グラフィック表
示用途に用いられるデュアル・ポートメモリの構成に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-port random access memory, and more particularly, to a dual-port memory used for graphic display.

【0002】[0002]

【従来の技術】情報処理分野においては、処理すべきま
たは処理された画像情報(グラフィック情報)をCRT
(陰極線管)ディスプレイに表示することが行なわれ
る。このとき、1フレームの画像情報を格納するフレー
ム・バッファと呼ばれるメモリが用いられる。このよう
なフレーム・バッファは通常ビデオRAM(VRAM)
と呼ばれる。このビデオRAMを用いた画像処理システ
ムの構成および動作について簡単に図8を参照して説明
する。
2. Description of the Related Art In the field of information processing, image information (graphic information) to be processed or processed is stored on a CRT.
Display on a (cathode ray tube) display is performed. At this time, a memory called a frame buffer for storing one frame of image information is used. Such a frame buffer is typically a video RAM (VRAM)
Called. The configuration and operation of the image processing system using the video RAM will be briefly described with reference to FIG.

【0003】図8において、ビデオ信号処理系は、CP
U(中央処理装置)100と、CRTディスプレイコン
トローラ102と、ビデオRAM104と、CRTディ
スプレイ106を含む。
In FIG. 8, a video signal processing system includes a CP
U (central processing unit) 100, a CRT display controller 102, a video RAM 104, and a CRT display 106.

【0004】CPU100は、ビデオRAM104へ所
望のデータの書込みまたは所望のデータの読出しを行な
う。CRTディスプレイコントローラ102は、CRT
ディスプレイ106の水平/垂直同期信号を発生すると
ともに、ビデオRAM104からデータを読出すための
アドレスを発生してビデオRAM104へ与える。
The CPU 100 writes desired data to the video RAM 104 or reads desired data. The CRT display controller 102 is a CRT
A horizontal / vertical synchronization signal for the display 106 is generated, and an address for reading data from the video RAM 104 is generated and applied to the video RAM 104.

【0005】ビデオRAM104は、処理されるべきま
たは処理された画像情報を格納しており、この格納され
た画像情報がCRTディスプレイコントローラ102の
制御の下に読出されてCRTディスプレイ106へ与え
られる。
[0005] The video RAM 104 stores image information to be processed or processed, and the stored image information is read out under the control of the CRT display controller 102 and provided to the CRT display 106.

【0006】CRTディスプレイ106は、ビデオRA
M104からのデータをその表示画面上に表示する。
[0006] The CRT display 106 has a video RA.
The data from M104 is displayed on the display screen.

【0007】ビデオRAM104に対しては、CPU1
00は、ランダムにアクセスしてリード(読出し)/ラ
イト(書込み)を行なうことができる。これにより、ビ
デオRAM104に格納された情報に所望の演算を行な
った後再びビデオRAM104へデータを書込むことが
できる。一方、CRTディスプレイ106へはビデオR
AM104からシリアルに読出されたデータが与えら
れ、この与えられたデータに従った画像がCRTディス
プレイ106の画面上に表示される。
For the video RAM 104, the CPU 1
No. 00 can be randomly accessed to perform read (read) / write (write). Thus, after performing a desired operation on the information stored in the video RAM 104, the data can be written into the video RAM 104 again. On the other hand, the video R
Data read serially from the AM 104 is provided, and an image according to the provided data is displayed on the screen of the CRT display 106.

【0008】通常のダイナミック・ランダム・アクセス
・メモリ(DRAM)をフレーム・バッファとして用い
た場合、CRTディスプレイ106の画面に表示するた
めのビデオ信号を作成するためには、DRAMからつね
に、表示期間中データを読出す必要がある。
When a normal dynamic random access memory (DRAM) is used as a frame buffer, in order to generate a video signal to be displayed on the screen of the CRT display 106, the DRAM always generates a video signal during a display period. Data must be read.

【0009】通常のDRAMは、1メモリサイクルはリ
ードサイクルかまたはライトサイクルのいずれかに規定
される。したがって、この表示期間中はCPU100は
DRAMへアクセスすることができず、CPU100の
ビデオRAM104へのアクセス期間は水平または垂直
の帰線期間中の表示期間外に限定される。この結果、C
PUの待ち時間が多くなり、プログラムの実行速度が遅
くなる。
In a normal DRAM, one memory cycle is defined as either a read cycle or a write cycle. Therefore, during this display period, CPU 100 cannot access the DRAM, and the access period of CPU 100 to video RAM 104 is limited to outside the display period during the horizontal or vertical blanking period. As a result, C
The waiting time of the PU increases, and the execution speed of the program decreases.

【0010】このような通常のDRAMをフレーム・バ
ッファとして用いた場合の欠点を克服するために、画像
メモリとしてマルチ・ポートRAM(デュアル・ポート
RAM)が広く用いられてきている。このマルチ・ポー
トRAMは、CPU100がランダムにアクセスするこ
とのできる入出力ポート(RAMポート)と、表示デー
タをCRTディスプレイ・コントローラ102の制御の
下にシリアルに読出してCRTディスプレイ106へ与
えるためのシリアル入出力ポート(SAMポート)とを
有している。
In order to overcome the drawbacks of using a normal DRAM as a frame buffer, a multi-port RAM (dual-port RAM) has been widely used as an image memory. The multi-port RAM has an input / output port (RAM port) that the CPU 100 can access at random, and a serial port for serially reading display data under the control of the CRT display controller 102 and supplying the display data to the CRT display 106. And an input / output port (SAM port).

【0011】このマルチ・ポートRAMにおいては、R
AMポートからSAMポートへ1行分(1水平走査線分
のデータに対応)のデータを転送すれば、表示期間中は
SAMポートから表示データが読出され、一方その間、
RAMポートへはCPU100がアクセスすることがで
きる。これにより、CPUの待ち時間が短縮され、プロ
グラムの実行速度が速くなる。
In this multi-port RAM, R
If data for one row (corresponding to data for one horizontal scanning line) is transferred from the AM port to the SAM port, display data is read from the SAM port during the display period, and during that time,
The CPU 100 can access the RAM port. Thereby, the waiting time of the CPU is reduced, and the execution speed of the program is increased.

【0012】図9は従来のマルチ・ポートRAMの全体
の構成の一例を概略的に示す図である。図9に示すマル
チ・ポートRAMは、1つのRAM入出力ポートと、1
つのSAM入出力ポートとを有し、通常、デュアル・ポ
ートRAMと呼ばれる。以下、このデュアル・ポートR
AMについて説明する。
FIG. 9 schematically shows an example of the entire configuration of a conventional multi-port RAM. The multi-port RAM shown in FIG. 9 has one RAM input / output port and one
And has two SAM input / output ports and is commonly referred to as a dual port RAM. Hereinafter, this dual port R
AM will be described.

【0013】図9において、従来のデュアル・ポートR
AMは、RAMポート部分と、SAMポート部分とに大
きく分割される。RAMポート部分は、行および列から
なる2次元アレイ状に配列された複数のメモリセルから
なるメモリセルアレイ1と、外部アドレスに対応して発
生される内部アドレス信号Addをデコードし、メモリ
セルアレイ1の対応の行を選択する行デコーダ2と、外
部アドレスに応答して発生される内部アドレス信号Ad
dを列アドレスとして受けてメモリセルアレイ1の対応
の列を選択するとともに、選択された列へのデータの入
出力を制御する列デコーダ/IO制御回路3とを含む。
Referring to FIG. 9, a conventional dual port R
AM is largely divided into a RAM port portion and a SAM port portion. The RAM port portion decodes a memory cell array 1 composed of a plurality of memory cells arranged in a two-dimensional array composed of rows and columns, and an internal address signal Add generated corresponding to an external address. A row decoder 2 for selecting a corresponding row, and an internal address signal Ad generated in response to an external address
d as a column address to select a corresponding column of the memory cell array 1 and a column decoder / IO control circuit 3 for controlling input / output of data to / from the selected column.

【0014】行デコーダ2は、内部ロー・アドレス・ス
トローブ信号RASに応答して、与えられた内部アドレ
ス信号Addを行アドレスとして取込んでデコードし、
メモリセルアレイ1の対応の行を選択する。
Row decoder 2 receives and decodes applied internal address signal Add as a row address in response to internal row address strobe signal RAS, and decodes the same.
The corresponding row of the memory cell array 1 is selected.

【0015】列デコーダ/IO制御回路3は、内部コラ
ム・アドレス・ストローブ信号CASに応答して、与え
られた内部アドレス信号Addを列アドレスとして取込
んでデコードし、メモリセルアレイ1の対応の列を選択
する。
In response to internal column address strobe signal CAS, column decoder / IO control circuit 3 receives and decodes applied internal address signal Add as a column address and decodes the corresponding column of memory cell array 1. select.

【0016】また、この列デコーダ/IO制御回路3
は、データの読出し/書込みを指定するリード/ライト
信号R/*Wに応答して、データの読出しおよび書込み
を制御する。すなわち、この列デコーダ/IO制御回路
3は、外部制御信号*CASと信号R/*Wの遅い方の
立下がりに応答して、書込まれるべきデータを選択され
たメモリセルへ転送する。この列デコーダ/IO制御回
路3は、データバスDQを介して入出力バッファ(図示
せず)に接続される。このRAM入出力バッファも列デ
コーダ/IO制御回路3のIO制御部分によりその動作
が制御される。
The column decoder / IO control circuit 3
Controls data read and write in response to a read / write signal R / * W designating data read / write. That is, column decoder / IO control circuit 3 transfers the data to be written to the selected memory cell in response to the later falling of external control signal * CAS and signal R / * W. The column decoder / IO control circuit 3 is connected to an input / output buffer (not shown) via a data bus DQ. The operation of this RAM input / output buffer is controlled by the IO control portion of the column decoder / IO control circuit 3.

【0017】ここで、内部ロー・アドレス・ストローブ
信号RASおよび内部コラム・アドレス・ストローブ信
号CASは、それぞれ、外部から与えられる外部ロー・
アドレス・ストローブ信号*RASおよび外部コラム・
アドレス・ストローブ*CASに応答して発生される内
部制御信号である。
Here, an internal row address strobe signal RAS and an internal column address strobe signal CAS are respectively applied to an external row address strobe signal CAS supplied from outside.
Address strobe signal * RAS and external column
Internal control signal generated in response to address strobe * CAS.

【0018】SAMポート部分は、メモリセルアレイ1
の1行のメモリセルと同時にデータの転送が可能な数の
レジスタ素子を備えるSAMレジスタ4と、クロック信
号SCをカウントするカウンタ6と、カウンタ6からの
カウント値をデコードし、SAMレジスタ4から対応の
レジスタ素子を選択し、内部シリアルデータバスSOへ
選択されたレジスタ素子を接続するSAMデコーダ5と
を含む。
The SAM port portion includes the memory cell array 1
SAM register 4 having a number of register elements capable of transferring data simultaneously with one row of memory cells, counter 6 for counting clock signal SC, and decoding the count value from counter 6 And a SAM decoder 5 for selecting the register element and connecting the selected register element to the internal serial data bus SO.

【0019】SAMレジスタ4は、転送指示信号*DT
に応答してメモリセルアレイ1の選択された行のデータ
を同時に受けるための転送ゲート手段を含む。このSA
Mレジスタ4から内部シリアルデータバスSO上へ伝達
されたデータは、図示しないSAM入出力バッファを介
して出力される。カウンタ6は、内部コラム・アドレス
・ストローブ信号CASに応答して内部アドレス信号A
ddを取込み、その初期カウント値を取込んだ内部アド
レス信号Addに設定する。このカウンタ6の初期設定
機能は、転送指示信号*DTにより活性化される。次に
動作について説明する。
The SAM register 4 stores a transfer instruction signal * DT
And transfer gate means for simultaneously receiving data of a selected row of memory cell array 1 in response to the data. This SA
Data transmitted from M register 4 onto internal serial data bus SO is output via a SAM input / output buffer (not shown). Counter 6 responds to internal column address strobe signal CAS by using internal address signal A.
dd is fetched and set to the internal address signal Add fetching the initial count value. The initial setting function of the counter 6 is activated by the transfer instruction signal * DT. Next, the operation will be described.

【0020】表示されるべき画像データはCPU等によ
り作成され、デュアル・ポートRAMのRAMポートへ
伝達される。RAMポート部分においては、制御信号R
ASおよびCASの制御の下にアドレス信号Addが行
デコーダ2および列デコーダ/IO制御回路3によりデ
コードされ、対応のメモリセルがメモリセルアレイ1か
ら選択される。
Image data to be displayed is created by a CPU or the like and transmitted to the RAM port of the dual port RAM. In the RAM port portion, the control signal R
Under the control of AS and CAS, address signal Add is decoded by row decoder 2 and column decoder / IO control circuit 3, and a corresponding memory cell is selected from memory cell array 1.

【0021】次いで、CPU等により作成されて伝達さ
れた表示されるべき画像データはデータバスDQおよび
列デコーダ/IO制御回路3を介して選択されたメモリ
セルへ伝達される。ここで、データ書込み時において
は、リード/ライト信号R/*Wは、データ書込みを示
す“L”レベルにある。
Next, the image data to be displayed created and transmitted by the CPU or the like is transmitted to the selected memory cell via the data bus DQ and the column decoder / IO control circuit 3. Here, at the time of data writing, read / write signal R / * W is at “L” level indicating data writing.

【0022】また、アドレス信号は行アドレス信号と列
アドレス信号とがそれぞれ時分割的に与えられており、
行アドレスおよび列アドレス信号の判別は、ロー・アド
レス・ストローブ信号RASおよびコラム・アドレス・
ストローブ信号CASにより行なわれる。このRAMポ
ートにおけるメモリアレイ1へのたとえばCPU等から
のデータの書込みは、通常のDRAMのそれと同様であ
る。
In the address signal, a row address signal and a column address signal are given in time division, respectively.
The row address and column address signals are determined by the row address strobe signal RAS and the column address signal.
This is performed by the strobe signal CAS. Writing of data from the CPU or the like to the memory array 1 at the RAM port is the same as that of a normal DRAM.

【0023】メモリセルアレイ1に格納された画像デー
タは、ラスタ・スキャン方式の表示装置であるCRT等
に高速に伝達するためにSAMポートを介して読出され
る。このSAMポートにおけるデータの読出し動作につ
いてその動作波形図である図10を参照して説明する。
The image data stored in the memory cell array 1 is read through a SAM port in order to transmit the image data to a CRT or the like which is a raster scan type display device at a high speed. The operation of reading data from the SAM port will be described with reference to an operation waveform diagram of FIG.

【0024】SAMポート部からのデータの読出しは、
アドレス信号Add、信号*RAS、*CASおよび*
DTの制御の下に、1行分のデータをメモリセルアレイ
1からSAMレジスタ4へ転送することにより行なわれ
る。このメモリセルアレイ1からSAMレジスタ4への
データの転送は、外部ロー・アドレス・ストローブ信号
*RASをアクティブ(“L”レベル)にするときに、
転送指示信号*DTを“L”、信号R/*Wを“H”に
設定することにより指示される。このとき、SAMポー
トのイネーブル/ディスエーブルを指定する制御信号*
SEは任意の状態である。
Reading of data from the SAM port section is as follows.
Address signal Add, signals * RAS, * CAS and *
This is performed by transferring data for one row from the memory cell array 1 to the SAM register 4 under the control of the DT. The data is transferred from the memory cell array 1 to the SAM register 4 when the external row address strobe signal * RAS is activated ("L" level).
It is instructed by setting the transfer instruction signal * DT to "L" and the signal R / * W to "H". At this time, a control signal * for specifying enable / disable of the SAM port *
SE is an arbitrary state.

【0025】この状態においては、外部ロー・アドレス
・ストローブ信号RASの立下がりによりアドレス信号
Addが行アドレス信号として行デコーダ2でデコード
され、メモリセルアレイ1における行の選択が行なわれ
る。このメモリセルアレイ1における選択された行に接
続されるメモリセルのデータがビット線(列)上に伝達
された後、このデータは、転送指示信号*DTの立上が
りに応答してSAMレジスタ4へ同時に転送される。
In this state, address signal Add is decoded by row decoder 2 as a row address signal at the fall of external row address strobe signal RAS, and a row in memory cell array 1 is selected. After the data of the memory cell connected to the selected row in memory cell array 1 is transmitted on the bit line (column), the data is simultaneously sent to SAM register 4 in response to the rise of transfer instruction signal * DT. Will be transferred.

【0026】一方、外部コラム・アドレス・ストローブ
信号*CASの立下がりに応答して、アドレス信号Ad
dがカウンタ6へロードされる。このカウンタ6にロー
ドされた列アドレス信号は、SAMレジスタ4において
最初に選択されるレジスタ素子を指定する。すなわち、
カウンタ6は、転送指示信号*DTの“L”状態により
ロード可能状態とされ、信号CASに応答して、与えら
れた列アドレス信号をロードする。
On the other hand, in response to the fall of external column address strobe signal * CAS, address signal Ad is output.
d is loaded into the counter 6. The column address signal loaded into the counter 6 specifies a register element selected first in the SAM register 4. That is,
The counter 6 is made loadable by the "L" state of the transfer instruction signal * DT, and loads a given column address signal in response to the signal CAS.

【0027】カウンタ6は、制御クロック信号SCをカ
ウントし、このカウント値をレジスタ素子指定信号とし
てSAMデコーダ5へ与える。SAMデコーダ5はこの
与えられたカウント値をデコードしSAMレジスタ4の
レジスタ素子を選択し、この選択したレジスタ素子を内
部シリアルデータバスSOへ接続する。
The counter 6 counts the control clock signal SC and supplies the count value to the SAM decoder 5 as a register element designation signal. The SAM decoder 5 decodes the given count value, selects a register element of the SAM register 4, and connects the selected register element to the internal serial data bus SO.

【0028】内部データバスSO上のデータSOはSA
M入出力バッファを介して出力される。すなわち、SA
Mレジスタ4からはクロック信号SCに応答して順次レ
ジスタ素子が選択され、この選択されたレジスタ素子の
データが内部データバスSOへ伝達される。
The data SO on the internal data bus SO is SA
Output via M input / output buffer. That is, SA
Register elements are sequentially selected from M register 4 in response to clock signal SC, and data of the selected register element is transmitted to internal data bus SO.

【0029】このSAMポートから読出されたシリアル
データSOは、クロック信号SCに応答して読出される
ため、通常のDRAMのように信号*RASおよび*C
ASによりメモリセルを指定する必要がなく、高速でデ
ータの読出しを行なうことができる。このSAMポート
から読出されたシリアルデータSOは表示装置へ伝達さ
れる。
Since serial data SO read from this SAM port is read in response to clock signal SC, signals * RAS and * C are applied as in a normal DRAM.
There is no need to specify a memory cell by AS, and data can be read at high speed. The serial data SO read from this SAM port is transmitted to the display device.

【0030】[0030]

【発明が解決しようとする課題】上述のように、従来の
デュアル・ポートRAMにおいては、通常の汎用メモリ
と同様にして、アドレス・ストローブ信号*RASおよ
び*CASに同期して与えられるアドレス信号によりメ
モリセルが選択され、この選択されたメモリセルに画像
データが書込まれる。
As described above, in the conventional dual port RAM, the address strobe signals * RAS and * CAS are used in synchronism with the address strobe signals * RAS and * CAS in the same manner as in a general-purpose memory. A memory cell is selected, and image data is written in the selected memory cell.

【0031】表示装置へ画像データを出力するために
は、転送指示信号*DTを“L”にして転送モードを選
択する。次いで、アドレス・ストローブ信号*RASに
同期して、メモリセルアレイ1における転送行を選択す
るためのアドレス信号が入力される。また、コラム・ア
ドレス・ストローブ信号*CASに同期して入力される
アドレス信号(列アドレス)Addは、SAMポートの
アドレスを指定するためのカウンタ6へ与えられ、SA
Mデータの読出しを開始するスタート・アドレスとな
る。
To output image data to the display device, the transfer mode is selected by setting the transfer instruction signal * DT to "L". Then, an address signal for selecting a transfer row in memory cell array 1 is input in synchronization with address strobe signal * RAS. An address signal (column address) Add input in synchronization with the column address strobe signal * CAS is applied to a counter 6 for specifying the address of the SAM port,
This is a start address to start reading M data.

【0032】以後、カウンタ6にクロック信号SCが入
力されるごとに、カウンタ6のカウント値がインクリメ
ントされて連続的にこのクロック信号に同期してSAM
ポートからデータが出力される。
Thereafter, every time the clock signal SC is input to the counter 6, the count value of the counter 6 is incremented and continuously synchronized with this clock signal to generate the SAM.
Data is output from the port.

【0033】図11は、メモリセルアレイのメモリセル
位置と表示装置の表示画面上の表示位置との対応関係を
示す図である。図11に示すように、メモリセルアレイ
1のメモリセル位置と表示画面CRT上の表示位置とは
1対1に対応している。すなわち、メモリセルアレイ1
の1行は表示画面CRT上の1水平走査線に対応してい
る。こで、図11においては、メモリセルアレイ1は1
行が256ビットのメモリセルを備え、表示画面CRT
の1水平走査線は256ドットで構成される場合が一例
として示される。また、図11においては各メモリセル
の位置は16進数で示されている。
FIG. 11 is a diagram showing the correspondence between the memory cell position of the memory cell array and the display position on the display screen of the display device. As shown in FIG. 11, the memory cell position of the memory cell array 1 and the display position on the display screen CRT have a one-to-one correspondence. That is, the memory cell array 1
1 row corresponds to one horizontal scanning line on the display screen CRT. Here, in FIG. 11, the memory cell array 1
A row includes 256-bit memory cells and a display screen CRT
The case where one horizontal scanning line is composed of 256 dots is shown as an example. In FIG. 11, the position of each memory cell is shown in hexadecimal.

【0034】SAMレジスタ4は、メモリセルアレイ1
の列の数と同一数のレジスタ素子を備えており、各レジ
スタ素子はメモリセルアレイ1の各ビット線対に対応し
て設けられる。データ転送時においては、メモリセルア
レイ1の1行のデータがそのままSAMレジスタ4へ転
送される。したがって、メモリセルアレイ1の列方向の
アドレス(列アドレス)とSAMの読出しアドレス(S
AMレジスタの選択アドレス)とは1対1に対応してい
る。
The SAM register 4 stores the memory cell array 1
The same number of register elements as the number of columns are provided, and each register element is provided corresponding to each bit line pair of the memory cell array 1. At the time of data transfer, data of one row of the memory cell array 1 is transferred to the SAM register 4 as it is. Therefore, the address (column address) in the column direction of the memory cell array 1 and the SAM read address (S
(The selected address of the AM register) has a one-to-one correspondence.

【0035】このようなメモリマッピングに従えば、ラ
スタスキャン方式の表示装置のスキャン順序に従って、
画像データを高速で処理することができる。すなわち、
この図11に示すようなメモリマッピングに従って画像
データを処理する場合、CPU等はRAMポートへ高速
アクセスモード(ページモード、スタティック・コラム
モード等)を用いて高速でアクセスしてデータを処理す
ることができる。
According to such a memory mapping, according to the scan order of the raster scan type display device,
Image data can be processed at high speed. That is,
When processing image data in accordance with the memory mapping shown in FIG. 11, the CPU or the like can access the RAM port at high speed using a high-speed access mode (page mode, static column mode, etc.) and process the data. it can.

【0036】しかしながら、この高速アクセスモードを
用いれば、列方向のアクセスは高速で行なうことができ
るものの、行方向のアクセス時には行アドレスを変更す
るために信号RASをトグルする必要がある。この信号
RASのトグルによる行アドレスの変更は、通常のDR
AMと同様に、信号RASおよびCASの制御を必要と
し、行アドレスおよび列アドレスを取込む必要があるた
め、列方向のアクセスに比べて行方向のアクセス速度が
低下する。
However, if this high-speed access mode is used, the access in the column direction can be performed at a high speed, but the signal RAS must be toggled to change the row address in the access in the row direction. The change of the row address due to the toggle of the signal RAS is performed in a normal DR.
Like AM, control of signals RAS and CAS is required, and it is necessary to take in a row address and a column address. Therefore, the access speed in the row direction is lower than that in the column direction.

【0037】また、その画像処理の応用用途において
は、表示画面CRTの複数行にわたるような(表示画面
垂直方向)画像データを処理することもある。このよう
な画像データの処理を行なう場合、図11のメモリマッ
ピングにおいては表示画面CRTの各行ごとにメモリセ
ルアレイ1の各行へアクセスする必要があり、頻繁に行
方向のアクセスを行なうことが必要とされ、したがっ
て、この場合、上述のようなRAMポートに一般に備え
られている高速アクセスモードを有効に利用することが
できないという問題が生じる。ここで、図12において
は、メモリセルアレイ1の1行が表示画面CRTの4行
に対応するメモリマッピングが一例として示される。
In the application of the image processing,
, Such as several lines of Table示画face CRT (display screen
(Vertical direction) Image data may be processed. When such image data processing is performed, in the memory mapping of FIG. 11, it is necessary to access each row of the memory cell array 1 for each row of the display screen CRT, and it is necessary to frequently access in the row direction. Therefore, in this case, there is a problem that the high-speed access mode generally provided in the RAM port as described above cannot be effectively used. Here, FIG. 12 shows an example of a memory mapping in which one row of the memory cell array 1 corresponds to four rows of the display screen CRT.

【0038】また、このようなメモリ・マッピングに従
ってRAMポートを介してメモリセルアレイ1のデータ
の処理を実行したとしても、SAMポートは表示画面C
RTの1行に対応したデータを順次出力する構成となる
ため、このSAMポートからデータをシリアルに読出し
てそのまま表示画面CRT上に表示することはできな
い。この場合、表示装置においてデータの並び換えを実
行するなどの処理が必要とされ、簡易な回路構成の画像
処理システムを得ることができない。
Further, even if the data processing of the memory cell array 1 is executed via the RAM port according to the memory mapping, the SAM port remains on the display screen C.
Since data corresponding to one row of RT is sequentially output, data cannot be read serially from the SAM port and displayed on the display screen CRT as it is. In this case, processing such as rearrangement of data is required in the display device, and an image processing system with a simple circuit configuration cannot be obtained.

【0039】また、たとえ外部装置を用いてSAMポー
トから読出されたデータを並べ換えることが可能であっ
たとしても、CPU等がRAMポートへアクセスする場
合には、表示画面上の1行ごとに行アドレスを設定する
必要があり、このため、行方向のアクセスが表示画面C
RT上の1行ごとに必要とされ、高速のデータ処理を実
行することができない。
Even if it is possible to rearrange the data read from the SAM port using an external device, if the CPU or the like accesses the RAM port, the data is read every line on the display screen. It is necessary to set a row address.
It is required for each row on the RT and cannot execute high-speed data processing.

【0040】この発明の目的は、上述の従来のマルチ・
ポートRAMの欠点を除去し、高速で2次元画像データ
を処理することのできるマルチ・ポートRAMを提供す
ることである。
It is an object of the present invention to provide the above-described conventional multi-multi
An object of the present invention is to provide a multi-port RAM capable of processing two-dimensional image data at high speed while eliminating the disadvantages of the port RAM.

【0041】この発明の他の目的は、メモリセルアレイ
の1行のメモリセルを表示画面上の複数行にわたってマ
ッピングさせることのできるマルチ・ポートRAMを提
供することである。
It is another object of the present invention to provide a multi-port RAM capable of mapping one row of memory cells of a memory cell array over a plurality of rows on a display screen.

【0042】[0042]

【課題を解決するための手段】この発明に係るマルチ・
ポートRAMは、2次元アレイ状に配置された複数のメ
モリセルからなるメモリセルアレイと、このメモリセル
アレイの1行のメモリセルと同時にデータの転送が可能
な数のレジスタ素子を備えるデータレジスタと、クロッ
ク信号をカウントするカウンタと、このカウンタのカウ
ント値をレジスタ素子指定信号としてデコードし、対応
のレジスタ素子をデータレジスタから選択して内部デー
タバスへ接続する選択回路手段とを備える。
[MEANS FOR SOLVING THE PROBLEMS] A multi-channel device according to the present invention is provided.
The port RAM includes a memory cell array including a plurality of memory cells arranged in a two-dimensional array, a data register including a number of register elements capable of transferring data simultaneously with one row of memory cells in the memory cell array, and a clock. A counter for counting signals; and a selection circuit for decoding a count value of the counter as a register element designation signal, selecting a corresponding register element from a data register, and connecting to the internal data bus.

【0043】このカウンタは、予め定められた値だけカ
ウント値をスキップさせてカウントする機能を備える。
このカウンタは、クロック信号をカウントするカウント
回路と、このカウント回路からのカウントアップ指示信
号をカウントするオフセットカウンタとを含む。これら
のカウント回路およびオフセットカウンタの出力カウン
トの組がカウンタ手段のカウント値として出力される。
好ましくは、カウント回路が、ロード指示信号の活性化
時、外部から与えられるアドレス信号の一部を初期アド
レスとして格納し、またオフセットカウンタは、ロード
指示信号の活性化時RAMポートのデータ入出力ノード
に与えられたデータを初期値として格納する機能を備え
る。 また、好ましくは、このカウント手段のカウント
作は、データレジスタの内容がすべて読出されるまで
返し行なわれる。
This counter has a function of counting by skipping the count value by a predetermined value.
This counter counts the clock signal
Circuit and a count-up instruction signal from this count circuit.
And an offset counter for counting signals. these
Count circuit and offset counter output count
Is output as the count value of the counter means.
Preferably, the count circuit activates the load instruction signal.
Time, part of the externally applied address signal is
And the offset counter is loaded
Data input / output node of RAM port when instruction signal is activated
Has a function to store the data given to the
You. Preferably, the counting operation of the counting means is repeated until all the contents of the data register are read.
Will be returned.

【0044】[0044]

【作用】カウンタ手段からのカウント値は予め定められ
た値だけスキップされてクロック信号に応答して出力さ
れる。選択回路手段はこのカウンタからのスキップされ
たカウント値をアドレス信号として用いて、データレジ
スタから対応のレジスタ素子を選択する。これにより、
メモリセルアレイの1行のデータを表示画面上の複数行
に対応させることが可能となる。
The count value from the counter is skipped by a predetermined value and output in response to a clock signal. The selector circuit selects a corresponding register element from the data register by using the skipped count value from the counter as an address signal. This allows
It is possible to make one row of data in the memory cell array correspond to a plurality of rows on the display screen.

【0045】[0045]

【発明の実施例】図1はこの発明の一実施例であるデュ
アル・ポートRAMの全体の構成を概略的に示す図であ
る。図1において図9に示す従来のデュアル・ポートR
AMの部分と対応する部分には同一の参照番号が付され
る。図1に示すデュアル・ポートRAMは、クロック信
号SCをカウントするカウンタ6に変えて、オフセット
機能を持つとともに予め定められたカウント値だけスキ
ップしてカウント動作を行なうカウンタ6′を備える。
カウンタ6′は、転送指示信号*DTに応答して活性化
され、信号CASに同期して与えられた内部アドレス信
号Addをロードするとともに、クロック信号をカウン
タするカウンタ回路60と、転送指示信号*DTに応答
して活性化され、信号CASに同期して、RAMポート
のデータ入出力部(RAM入出力回路)へ与えられたデ
ータDQをロードするオフセットレジスタ70とを備え
る。カウンタ回路60からのキャリー信号Cはオフセッ
トレジスタ70へ与えられる。オフセットレジスタ70
は、このカウンタ回路60からキャリー信号Cが与えら
れたとき、そのレジスタ内容を“1”だけインクリメン
トする。
FIG. 1 is a diagram schematically showing an entire configuration of a dual port RAM according to an embodiment of the present invention. In FIG. 1, the conventional dual port R shown in FIG.
Parts corresponding to the AM parts are denoted by the same reference numerals. The dual port RAM shown in FIG. 1 includes a counter 6 'having an offset function and performing a count operation by skipping a predetermined count value, instead of the counter 6 which counts the clock signal SC.
Counter 6 'is activated in response to transfer instruction signal * DT, loads internal address signal Add provided in synchronization with signal CAS, and counts clock signal and counter circuit 60, and transfer instruction signal *. An offset register 70 is activated in response to DT and loads data DQ applied to a data input / output unit (RAM input / output circuit) of a RAM port in synchronization with a signal CAS. Carry signal C from counter circuit 60 is applied to offset register 70. Offset register 70
When carry signal C is supplied from counter circuit 60, the register contents are incremented by "1".

【0046】カウンタ回路60およびオフセットレジス
タ70の出力がSAMレジスタ4のレジスタ素子指定信
号としてSAMデコーダ5へ与えられる。カウンタ回路
60は、読出しアドレス(レジスタ素子指定信号)の上
位ビットを与え、一方、オフセットレジスタ70はこの
読出しアドレスの下位ビットを与える。したがって、カ
ウンタ回路60はアドレスバッファに与えられる内部ア
ドレス信号Addのうち、オフセットレジスタ70が表
現するアドレス信号ビットを除くアドレス信号ビットを
そのスタート・アドレスとして取込む。
Outputs of the counter circuit 60 and the offset register 70 are supplied to the SAM decoder 5 as a register element designation signal of the SAM register 4. Counter circuit 60 gives the upper bits of the read address (register element designating signal), while offset register 70 gives the lower bits of the read address. Therefore, counter circuit 60 takes in address signal bits other than the address signal bits expressed by offset register 70 among the internal address signals Add applied to the address buffer as its start address.

【0047】アドレスバッファ40は、外部から与えら
れるアドレス信号A0〜Anを受け、外部ロー・アドレ
ス・ストローブ信号*RASおよび外部コラム・アドレ
ス・ストローブ信号*CASに応答して、与えられたア
ドレス信号を取込み内部行アドレス信号および内部列ア
ドレス信号を導出する。
Address buffer 40 receives externally applied address signals A0 to An, and responds to external row address strobe signal * RAS and external column address strobe signal * CAS to apply the applied address signal. The fetched internal row address signal and internal column address signal are derived.

【0048】制御部50は、外部から与えられる各種制
御信号*RAS、*CAS、R/*W、SC、*SEお
よび*DTを受け、内部制御信号RAS、CAS、R/
*W、SCおよび*DTを発生する。次に、その動作に
ついてその動作波形図である図2を参照して説明する。
Control unit 50 receives various control signals * RAS, * CAS, R / * W, SC, * SE and * DT provided from the outside, and receives internal control signals RAS, CAS, R /
Generates * W, SC and * DT. Next, the operation will be described with reference to FIG. 2 which is an operation waveform diagram.

【0049】まず従来と同様にして、信号*RASの立
下がり時点において転送指示信号*DTを“L”、リー
ド/ライト信号R/*Wを“H”に設定する。これによ
り、このデュアル・ポートRAMが転送モードに設定さ
れる。アドレスバッファ40は、この信号*RASの立
下がりに応答して外部アドレスA0〜Anを取込み内部
アドレス信号Addを発生する。行デコーダ2は、この
内部信号RASの立上がりに応答して与えられたアドレ
ス信号を行アドレス信号として取込んでデコードし、メ
モリセルアレイ1において対応する1行を選択する。
First, in the same manner as in the prior art, the transfer instruction signal * DT is set to "L" and the read / write signal R / * W is set to "H" at the fall of the signal * RAS. As a result, the dual port RAM is set to the transfer mode. Address buffer 40 takes in external addresses A0-An in response to the fall of signal * RAS and generates internal address signal Add. Row decoder 2 fetches and decodes an address signal applied in response to the rise of internal signal RAS as a row address signal, and selects a corresponding row in memory cell array 1.

【0050】次いで、信号*CASが立下がると、その
ときに与えられていた外部アドレス信号A0〜Anがア
ドレスバッファ40により取込まれ、内部列アドレス信
号Addとしてカウンタ6′および列デコーダ/IO制
御回路3へ与えられる。
Then, when signal * CAS falls, external address signals A0-An applied at that time are fetched by address buffer 40, and counter 6 'and column decoder / IO control are provided as internal column address signal Add. Provided to circuit 3.

【0051】カウンタ6′のオフセットレジスタ70
は、信号CASの立上がりに応答して、RAM入出力回
路へ与えられていたデータDQを取込みオフセット値と
して記憶する。また、カウンタ回路60は、与えられた
内部アドレス信号Addのうち所定のビットのアドレス
信号を信号CASに応答して取込み、スタート・アドレ
スとして記憶する。
Offset register 70 of counter 6 '
Responds to the rise of signal CAS, takes in data DQ supplied to the RAM input / output circuit and stores it as an offset value. Further, counter circuit 60 takes in an address signal of a predetermined bit in applied internal address signal Add in response to signal CAS, and stores it as a start address.

【0052】次いで、クロック信号SCがトグルされる
と、カウンタ回路60はそのカウント値をインクリメン
トする。SAMデコーダ5は、このカウンタ回路60お
よびオフセットレジスタ70からなるカウンタ6′から
の信号を読出しアドレスとしてデコードし、SAMレジ
スタ4から対応のレジスタ素子を選択して内部データバ
スSOへ接続し、シリアルデータSOを出力する。
Next, when the clock signal SC is toggled, the counter circuit 60 increments the count value. The SAM decoder 5 decodes a signal from the counter 6 'comprising the counter circuit 60 and the offset register 70 as a read address, selects a corresponding register element from the SAM register 4 and connects it to the internal data bus SO, and outputs the serial data. Outputs SO.

【0053】今、オフセットレジスタ70が2ビットの
レジスタであり、カウンタ回路60を6ビットカウン
タ、また、メモリセルアレイ1の1行は256ビット
(0〜255(10進):00〜FF(16進))とす
る。この場合、カウンタ回路60からの6ビットのカウ
ント値がSAMポート読出しアドレスの上位アドレス信
号ビットとして用いられ、オフセットレジスタ70の2
ビットのデータがSAMポートの下位読出しアドレス信
号ビットとして用いられる。今、内部信号CASの立上
がりに応答してオフセットレジスタ70に取込まれたデ
ータDQが“00”であったとする。
Now, the offset register 70 is a 2-bit register, the counter circuit 60 is a 6-bit counter, and one row of the memory cell array 1 has 256 bits (0 to 255 (decimal): 00 to FF (hexadecimal). )). In this case, the 6-bit count value from the counter circuit 60 is used as the upper address signal bit of the SAM port read address,
Bit data is used as a lower read address signal bit of the SAM port. It is assumed that data DQ taken into offset register 70 in response to the rise of internal signal CAS is "00".

【0054】行デコーダ2が、メモリセルアレイ1の第
0行を選択したとすると、転送指示信号*DTの“L”
から“H”への立上りに応答してメモリセルアレイ1の
第0行の256ビットのデータがSAMレジスタへ一括
して転送される。また、列アドレス信号(内部アドレス
信号Add)も第0列を指定しているものとする。この
場合、オフセットレジスタ70に設定されているオフセ
ット値は“00”であり、カウンタ回路60の初期設定
値はアドレス“00…00”であるため、クロック信号
SCに応答してSAMデコーダ5により選択されるSA
Mレジスタ4の番は、“00H”となる。
If row decoder 2 selects the 0th row of memory cell array 1, "L" of transfer instruction signal * DT
In response to the rise from "H" to "H", the 256-bit data in the 0th row of the memory cell array 1 is collectively transferred to the SAM register. It is also assumed that the column address signal (internal address signal Add) also specifies the 0th column. In this case, since the offset value set in the offset register 70 is “00” and the initial setting value of the counter circuit 60 is the address “00... 00”, the offset value is selected by the SAM decoder 5 in response to the clock signal SC. SA
Ban areas of the M register 4, the "00H".

【0055】次に、クロック信号SCが与えられるとカ
ウンタ回路60のカウント値が1インクリメントされ
る。このとき、オフセットレジスタ70の内容は“0
0”のままであるため、SAMデコーダ5により指定さ
れるSAMポートの番は04Hとなる。以下、クロッ
ク信号SCがトグルされるごとに、SAMレジスタ4か
らは番08H、0CH、10H、14H、18H、1
CHと、4ビットのオフセット値を持つ番が順次選択
され、対応のレジスタ素子のデータが順次SAM出力回
路(図示せず)を介して出力される。
Next, when the clock signal SC is supplied, the count value of the counter circuit 60 is incremented by one. At this time, the content of the offset register 70 is “0”.
0 "because while the is in, turn locations SAM port specified by the SAM decoder 5 becomes 04H. Hereinafter, each time the clock signal SC is toggled, turn locations 08H from SAM register 4, 0CH, 10H, 14H, 18H, 1
Turn land with a CH, an offset value of 4 bits are sequentially selected, data of the corresponding register element is output through the sequential SAM output circuit (not shown).

【0056】カウンタ回路60のカウント値がFCHに
達すると、表示装置上の1行分の画像データの表示が完
了する。
When the count value of the counter circuit 60 reaches FCH, display of one line of image data on the display device is completed.

【0057】カウンタ回路60のカウント値がFCHか
ら00Hに戻るとき、カウンタ回路60からはキャリー
信号Cが出力され、オフセットレジスタ70へ与えられ
る。オフセットレジスタ70は、このカウンタ回路60
からのキャリー信号Cに応答してその内容が1インクリ
メントされる。このとき、オフセットレジスタ70の記
憶内容は01Hとなる。続いてクロック信号SCが与え
られるごとに、カウンタ回路60はそのカウント値が1
インクリメントされるため、カウンタ6′が指定するS
AMポート読出しアドレスは、01H、05H、09
H、…となる。
When the count value of counter circuit 60 returns to 00H from FCH, carry signal C is output from counter circuit 60 and applied to offset register 70. The offset register 70 includes a counter circuit 60
The content is incremented by one in response to carry signal C from. At this time, the content stored in the offset register 70 is 01H. Subsequently, each time the clock signal SC is applied, the counter circuit 60 sets the count value to 1
Because the value is incremented, S
The AM port read address is 01H, 05H, 09
H, ...

【0058】以下、上述の動作を繰り返すことにより表
示装置の表示画面の1行の表示完了ごとにオフセットレ
ジスタ70の内容が1インクリメントされる。オフセッ
トレジスタ70の記憶内容が00Hに達すると、SAM
レジスタ4に記憶されたメモリセルアレイ1の1行分の
データがすべて出力される。この結果、SAMレジスタ
4からは表示画面の4行分の画像データが出力されたこ
とになる。
Thereafter, the contents of the offset register 70 are incremented by one every time the display of one line on the display screen of the display device is completed by repeating the above operation. When the stored content of the offset register 70 reaches 00H, the SAM
All data for one row of the memory cell array 1 stored in the register 4 is output. As a result, the SAM register 4 has output image data for four lines of the display screen.

【0059】このオフセットレジスタ70がカウンタ機
能を持つことにより、メモリセルアレイ1の1行分のメ
モリセルデータから、表示画面に対し2次元のデータ
(上述の実施例では4行分のデータ)を連続的に出力す
ることができる。
Since the offset register 70 has a counter function, two-dimensional data (four rows in the above-described embodiment) is continuously transmitted from the memory cell data for one row of the memory cell array 1 to the display screen. Can be output.

【0060】このとき、オフセットレジスタ70の機能
により、RAMポートの列アドレスに対してSAMポー
トの読出しアドレスを独立させることが可能となってい
るので、図12に示すメモリマッピングを外部装置を設
けることなく容易に実現することができる。
At this time, since the read address of the SAM port can be made independent of the column address of the RAM port by the function of the offset register 70, the memory mapping shown in FIG. And can be easily realized.

【0061】上述の構成のように、オフセットレジスタ
70にカウント機能を持たせることにより、表示画面上
において2次元表示されるべきデータがRAMポート上
においては1行分のデータとして表わされるため、高速
アクセスモードを用いてRAMポートへアクセスして画
像処理を行なうことができ、表示画像データのRAMポ
ートへの高速書込みが可能となり、画像データの処理を
効率的に実行することができる。
Since the offset register 70 has a counting function as described above, data to be displayed two-dimensionally on the display screen is represented as one line of data on the RAM port. Image processing can be performed by accessing the RAM port using the access mode, display image data can be written to the RAM port at high speed, and image data processing can be performed efficiently.

【0062】なお、ここでRAMポートへ与えられたデ
ータDQをオフセットレジスタ70へロードする場合、
このデータ数は2ビットとして説明しているが、これは
通常、デュアル・ポートRAMは複数ビット単位でのア
クセスが可能であり、RAMデータ入出力ピンは複数個
設けられているからである。この複数ビット単位でのア
クセスの場合、通常、メモリセルアレイは、各データビ
ットに対応してブロックに分割されており、各ブロック
に対応してSAMレジスタ4が設けられている。この場
合においても、通常各ブロックからは同一行が選択さ
れ、各ブロックから選択された1行のデータが表示装置
の表示画面上の1行に対応している。
Here, when loading the data DQ given to the RAM port into the offset register 70,
Although the number of data is described as 2 bits, this is because a dual-port RAM can normally be accessed in units of a plurality of bits, and a plurality of RAM data input / output pins are provided. In the case of access in units of a plurality of bits, the memory cell array is usually divided into blocks corresponding to each data bit, and a SAM register 4 is provided corresponding to each block. Also in this case, the same row is usually selected from each block, and one row of data selected from each block corresponds to one row on the display screen of the display device.

【0063】したがって、この複数ビット単位でのアク
セス構成の場合、図1に示すメモリセルアレイ1をメモ
リセルアレイブロックとして考え、このメモリセルアレ
イブロックが4個設けられていると考えればよい。ま
た、この複数ビット単位でのアクセスの場合、SAMレ
ジスタも各ブロックに対応して複数個設けられるが、通
常、この複数個のSAMレジスタからのデータが並列に
読出される。
Therefore, in the case of the access configuration in units of a plurality of bits, it is sufficient to consider the memory cell array 1 shown in FIG. 1 as a memory cell array block and to provide four memory cell array blocks. In the case of access in units of a plurality of bits, a plurality of SAM registers are provided corresponding to each block. Normally, data from the plurality of SAM registers is read in parallel.

【0064】次にカウンタ回路60およびオフセットレ
ジスタ70の具体的構成について説明する。
Next, specific configurations of the counter circuit 60 and the offset register 70 will be described.

【0065】図3は図1に示すカウンタの具体的構成の
一例を示す図である。図3において、オフセットレジス
タ70は、フリップ・フロップ71,72と、ANDゲ
ート73とを含む。フリップ・フロップ71は、オフセ
ットデータDQ0を受けるD入力端子と、カウンタ回路
60からのキャリー信号Cを受けるクロック入力端子C
Kと、ロード指示信号DT1を受けるL入力端子と、Q
出力端子とを備える。このフリップ・フロップ71のQ
出力端子から最下位読出アドレス信号ビットA0が出力
される。
FIG. 3 is a diagram showing an example of a specific configuration of the counter shown in FIG. 3, the offset register 70 includes flip-flops 71 and 72 and an AND gate 73. Flip-flop 71 has a D input terminal receiving offset data DQ0 and a clock input terminal C receiving carry signal C from counter circuit 60.
K, an L input terminal for receiving the load instruction signal DT1, and Q
An output terminal. Q of this flip flop 71
The lowermost read address signal bit A0 is output from the output terminal.

【0066】ANDゲート73は、カウンタ回路60か
らのキャリー信号Cとフリップ・フロップ71のQ出力
端子からの出力信号A0とを受ける。
AND gate 73 receives carry signal C from counter circuit 60 and output signal A0 from the Q output terminal of flip-flop 71.

【0067】フリップ・フロップ72は、オフセットデ
ータDQ1を受けるD入力端子と、ANDゲート73の
出力を受けるCK入力端子と、ロード指示信号DT1を
受けるL入力端子と、Q出力端子とを備える。フリップ
・フロップ72のQ出力端子から読出しアドレス信号ビ
ットA1が出力される。
Flip-flop 72 has a D input terminal for receiving offset data DQ1, a CK input terminal for receiving the output of AND gate 73, an L input terminal for receiving load instruction signal DT1, and a Q output terminal. A read address signal bit A1 is output from the Q output terminal of flip-flop 72.

【0068】ロード指示信号DT1は、転送指示信号*
DTをその偽入力に受け、内部信号CASをその真入力
に受けるANDゲート74により発生される。このフリ
ップ・フロップ71,72はそのクロック信号入力端子
CKへ与えられる信号の立下がりに応答してそのQ出力
端子の信号状態を反転する。またフリップ・フロップ7
1,72は、また、そのL入力端子へ与えられるデータ
ロード指示信号DT1の立上がりに応答して、そのD入
力端子へ与えられたデータをラッチしてそのQ出力端子
へ伝達する。
The load instruction signal DT1 is a transfer instruction signal *
DT is received at its false input and is generated by an AND gate 74 which receives the internal signal CAS at its true input. The flip-flops 71 and 72 invert the signal state of the Q output terminal in response to the fall of the signal applied to the clock signal input terminal CK. Also flip flop 7
Responding to the rise of data load instruction signal DT1 applied to its L input terminal, 1, 72 latches the data applied to its D input terminal and transmits it to its Q output terminal.

【0069】カウンタ回路60は、フリップ・フロップ
61,62,…63と、ANDゲート64,65とを含
む。フリップ・フロップ61〜63はそれぞれオフセッ
トレジスタ70に含まれるフリップ・フロップ71,7
2と同一構成を有している。フリップ・フロップ61
は、そのD入力端子に内部アドレス信号ビットAdd2
を受けるとともに、そのクロック信号入力端子CKにク
ロック信号SCを受ける。フリップ・フロップ61のQ
出力端子から読出しアドレス信号ビットA2が出力され
る。
The counter circuit 60 includes flip-flops 61, 62,... 63 and AND gates 64, 65. The flip-flops 61 to 63 are flip-flops 71 and 7 included in the offset register 70, respectively.
2 has the same configuration. Flip flop 61
Has an internal address signal bit Add2 at its D input terminal.
And receives the clock signal SC at its clock signal input terminal CK. Q of flip flop 61
A read address signal bit A2 is output from the output terminal.

【0070】フリップ・フロップ62はそのD入力端子
に内部アドレス信号ビットAdd3を受け、そのクロッ
ク信号入力端子CKにANDゲート64の出力を受け
る。フリップ・フロップ62のQ出力端子から読出しア
ドレス信号ビットA3が出力される。ANDゲート64
は、フリップ・フロップ61のQ出力端子からの出力信
号A2とクロック信号SCとを受ける。
Flip flop 62 receives internal address signal bit Add3 at its D input terminal, and receives the output of AND gate 64 at its clock signal input terminal CK. A read address signal bit A3 is output from the Q output terminal of flip-flop 62. AND gate 64
Receives the output signal A2 from the Q output terminal of the flip-flop 61 and the clock signal SC.

【0071】フリップ・フロップ63は、そのD入力端
子に内部アドレス信号ビットAddnを受け、そのクロ
ック入力端子CKにANDゲート65の出力を受ける。
フリップ・フロップ63のQ出力端子からキャリー信号
Cが出力されてオフセットレジスタ70へ伝達されると
ともに、最上位読出しアドレス信号ビットAnが出力さ
れる。
Flip-flop 63 receives an internal address signal bit Addn at its D input terminal, and receives the output of AND gate 65 at its clock input terminal CK.
Carry signal C is output from the Q output terminal of flip flop 63 and transmitted to offset register 70, and the most significant read address signal bit An is output.

【0072】ANDゲート65は、全段のフリップ・フ
ロップのQ出力端子からの出力すなわち読出しアドレス
信号ビットA2〜An−1と、クロック信号SCとを受
ける。
AND gate 65 receives outputs from Q output terminals of flip-flops of all stages, that is, read address signal bits A2 to An-1, and clock signal SC.

【0073】すなわち、このカウンタ回路60における
第2段目以降のフリップ・フロップに対してはANDゲ
ートが設けられており、このANDゲートの出力が対応
のフリップ・フロップクロック信号入力端子CKへ伝達
される。各ANDゲートは、その前段の全てのフリップ
・フロップのQ出力端子からの出力信号とクロック信号
SCとを受ける。
That is, an AND gate is provided for the flip-flops of the second and subsequent stages in the counter circuit 60, and the output of the AND gate is transmitted to the corresponding flip-flop clock signal input terminal CK. You. Each AND gate receives an output signal from the Q output terminal of all the flip-flops in the preceding stage and a clock signal SC.

【0074】ロード指示信号DT2は、その偽入力にデ
ータ転送指示信号*DTを受け、真入力に内部信号CA
Sを受けるANDゲート66により発生される。このロ
ード指示信号DT2は、フリップ・フロップ61〜63
のロード入力端子Lへ共通に伝達される。次に、この図
3に示すカウンタの動作を、その動作波形図である図4
および図5を参照して説明する。
Load instruction signal DT2 receives data transfer instruction signal * DT at its false input and internal signal CA at its true input.
S is generated by an AND gate 66 receiving S. This load instruction signal DT2 is supplied to flip-flops 61-63.
To the load input terminal L. Next, the operation of the counter shown in FIG.
This will be described with reference to FIG.

【0075】まず、図4を参照して、オフセット・レジ
スタ70の動作について説明する。データ転送指示信号
*DTが“L”へ立下がると、ANDゲート74はその
真入力へ与えられた内部信号CASを通過させる。した
がって、内部信号CASが“H”へ立上がると、フリッ
プ・フロップ71,72はそのD入力端子へ与えられた
データDQ0、DQ1をそれぞれラッチしかつそのQ出
力から出力する。このとき、RAMデータ入出力ピンへ
は外部信号*CASと同期してオフセットデータが与え
られており、したがって、図2に示すように、制御信号
*CASの立下がりに同期してこのオフセットレジスタ
70にはそのオフセット値が設定される。
First, the operation of the offset register 70 will be described with reference to FIG. When data transfer instruction signal * DT falls to "L", AND gate 74 passes internal signal CAS applied to its true input. Therefore, when internal signal CAS rises to "H", flip-flops 71 and 72 latch data DQ0 and DQ1 applied to their D input terminals, respectively, and output from their Q outputs. At this time, the offset data is given to the RAM data input / output pin in synchronization with the external signal * CAS. Therefore, as shown in FIG. 2, the offset register 70 is synchronized with the fall of the control signal * CAS. Is set to the offset value.

【0076】この状態においては、読出しアドレス信号
ビットA0,A1はRAMポートから与えられたオフセ
ットデータDQ0,DQ1にそれぞれ等しい。次に、ク
ロック信号SCが発生され、カウンタ回路60のカウン
ト動作が実行され、カウンタ回路60のカウント値が最
大値から初期値へ戻るときにキャリー信号Cが発生され
る。このキャリー信号Cはフリップ・フロップ71のク
ロック入力端子CKへ与えられる。フリップ・フロップ
71は、そのクロック入力端子CKへ与えられた信号の
立下がりに応答してそのQ出力端子からの出力信号A0
の状態を反転させる。したがって、カウンタ回路60が
その最大カウント値までカウントし、初期値に復帰した
ときオフセットレジスタ70の出力A1,A0はそれぞ
れ0,1となる。ANDゲート73は、その両入力に
“H”の信号が与えられたときのみ“H”の信号を出力
するため、ANDゲート73の出力は“L”のままであ
る。したがって、フリップ・フロップ72のQ出力端子
からの信号A1は初期状態の0を保持する。
In this state, read address signal bits A0 and A1 are equal to offset data DQ0 and DQ1 provided from the RAM port, respectively. Next, a clock signal SC is generated, a count operation of the counter circuit 60 is performed, and a carry signal C is generated when the count value of the counter circuit 60 returns from the maximum value to the initial value. Carry signal C is applied to clock input terminal CK of flip-flop 71. Flip-flop 71 responds to the fall of the signal applied to clock input terminal CK to output signal A0 from its Q output terminal.
Is inverted. Therefore, when the counter circuit 60 counts up to the maximum count value and returns to the initial value, the outputs A1 and A0 of the offset register 70 become 0 and 1, respectively. The AND gate 73 outputs an “H” signal only when an “H” signal is applied to both inputs thereof, so that the output of the AND gate 73 remains “L”. Therefore, the signal A1 from the Q output terminal of the flip-flop 72 holds 0 in the initial state.

【0077】再びカウンタ回路60がカウント動作を実
行し、その最大カウント値から初期値に復帰するときに
キャリー信号Cを出力する。このキャリー信号Cは最上
位読出しアドレス信号ビットAnと同一信号であり、最
大カウント値から初期値に復帰するときに“H”から
“L”へ立下がる。この状態をキャリー信号Cが発生さ
れた状態としている。キャリー信号Cが発生される直前
は、キャリー信号Cおよび信号A0がともに“H”のた
め、ANDゲート73は“H”の信号を出力する。この
キャリー信号Cが発生され、ANDゲート73の出力が
“H”から“L”へ立下がると、フリップ・フロップは
そのQ出力端子からの信号A1の状態を反転させる。す
なわち、信号A1が“L”から“H”となる。
The counter circuit 60 executes the counting operation again, and outputs the carry signal C when returning from the maximum count value to the initial value. The carry signal C is the same signal as the most significant read address signal bit An, and falls from "H" to "L" when returning from the maximum count value to the initial value. This state is a state where the carry signal C is generated. Immediately before the carry signal C is generated, the carry signal C and the signal A0 are both at "H", so that the AND gate 73 outputs a signal of "H". When carry signal C is generated and the output of AND gate 73 falls from "H" to "L", the flip-flop inverts the state of signal A1 from its Q output terminal. That is, the signal A1 changes from “L” to “H”.

【0078】フリップ・フロップ71はこのキャリー信
号Cの立下がりに応答してそのQ出力端子からの信号A
0の状態を反転させ“L”とする。この状態においては
オフセットレジスタ70の記憶内容A1,A0は1,0
となる。以下、この動作を繰り返すことにより、オフセ
ットレジスタ70からの出力信号A1,A0の組(A
1,A0)は(0,0)、(0,1)、(1,0)、
(1,1)、(0,0)を繰り返す。但し、ここで論理
値“0”は電位レベル“L”、論理値“1”は電位レベ
ル“H”に対応する。
In response to the falling of carry signal C, flip-flop 71 provides signal A from its Q output terminal.
The state of 0 is inverted to “L”. In this state, the contents A1, A0 stored in the offset register 70 are 1, 0.
Becomes Hereinafter, by repeating this operation, a set (A) of the output signals A1 and A0 from the offset register 70 is set.
(1, A0) is (0,0), (0,1), (1,0),
(1,1) and (0,0) are repeated. Here, the logical value “0” corresponds to the potential level “L”, and the logical value “1” corresponds to the potential level “H”.

【0079】次にカウンタ回路60の動作について図5
を参照して説明する。このカウンタ回路60において
も、内部信号CASが立上がることによりANDゲート
60からのロード指示信号DT2が“H”に立上がりフ
リップ・フロップ61〜63はそのD入力端子へ与えら
れたアドレス信号ビットAdd2〜Addnを初期設定
値として取込み、そのQ出力端子からSAM読出しアド
レスの初期値として出力する。
Next, the operation of the counter circuit 60 will be described with reference to FIG.
This will be described with reference to FIG. In this counter circuit 60 as well, load signal DT2 from AND gate 60 rises to "H" when internal signal CAS rises, and flip-flops 61-63 receive address signal bits Add2-- applied to their D input terminals. Addn is fetched as an initial setting value, and is output from the Q output terminal as an initial value of a SAM read address.

【0080】続いて、クロック信号SCが“H”へ立上
がるごとに、SAMデコーダ5により読出しアドレスA
0〜Anがデコードされ、SAMレジスタ4の内容が順
次読出される。クロック信号SCが立下がるごとに、ま
ず、フリップ・フロップ61のQ出力端子からの信号A
2の状態が反転する。1回目のクロック信号SCの立下
がりに応答して信号A2が“H”となっても、そのとき
クロック信号SCはすでに“L”に立下がっているた
め、ANDゲート64の出力は“L”レベルにある。し
たがって、このフリップ・フロップ62より上位の全て
のフリップ・フロップQ出力端子の信号A3〜Anは前
の状態を保持する。
Subsequently, each time the clock signal SC rises to "H", the read address A is read by the SAM decoder 5.
0 to An are decoded, and the contents of the SAM register 4 are sequentially read. Each time the clock signal SC falls, first, the signal A from the Q output terminal of the flip-flop 61
The state of 2 is reversed. Even if the signal A2 becomes "H" in response to the first falling of the clock signal SC, the output of the AND gate 64 becomes "L" since the clock signal SC has already fallen to "L" at that time. On the level. Therefore, the signals A3 to An of all the flip-flop Q output terminals higher than the flip-flop 62 maintain the previous state.

【0081】クロック信号SCが2回目に立下がると、
フリップ・フロップ61からの信号A2が“L”に立下
がる。クロック信号SCの2回目の立上がり期間におい
ては、ANDゲート64の出力は“H”であり、信号A
2の立下がりに応答してこのANDゲート64の出力が
立下がる。これにより、フリップ・フロップ62のQ出
力端子からの信号A3の状態が反転し“H”となる。フ
リップ・フロップ62から上位のフリップ・フロップに
対してはそれぞれANDゲートが設けられており、この
ANDゲートの出力がクロック入力端子CKへ与えられ
る。ANDゲート64は前段のすべてのフリップ・フロ
ップからのQ出力端子の信号を受けている。クロック信
号SCが2n-2 回立下がると、読出しアドレス信号ビッ
トAnが“H”に立上がり、クロック信号SCが2n-1
回立下がると、最上位読出しアドレス信号Anが“H”
から“L”へ立下がり、このカウンタ回路60は初期状
態に復帰する。このときにキャリー信号Cが発生され
る。
When the clock signal SC falls for the second time,
Signal A2 from flip flop 61 falls to "L". In the second rising period of clock signal SC, the output of AND gate 64 is at "H", and signal A
In response to the fall of 2, the output of AND gate 64 falls. As a result, the state of the signal A3 from the Q output terminal of the flip-flop 62 is inverted to “H”. An AND gate is provided for each of the flip-flops 62 to the upper flip-flop, and the output of the AND gate is supplied to the clock input terminal CK. The AND gate 64 receives the signal of the Q output terminal from all the flip-flops in the preceding stage. When clock signal SC falls 2n-2 times, read address signal bit An rises to "H", and clock signal SC rises to 2n-1.
When falling, the highest read address signal An becomes "H".
To "L", and the counter circuit 60 returns to the initial state. At this time, carry signal C is generated.

【0082】上述の構成により読出しアドレスの最下位
2ビットからなるオフセットがカウンタ回路60の最高
カウント値に達するごとに1インクリメントされるた
め、各カウントサイクルごとに初期値がオフセットされ
かつそのカウント動作が4ビットずつスキップするオフ
セット/スキップ機能を備えたカウンタを得ることがで
きる。
With the above structure, the offset consisting of the two least significant bits of the read address is incremented by one each time the counter circuit 60 reaches the maximum count value. Therefore, the initial value is offset every count cycle and the count operation is performed. A counter having an offset / skip function of skipping every four bits can be obtained.

【0083】すなわち、図3に示すように、内部アドレ
ス信号ビットAdd2〜Addnを初期設定値として用
い、かつRAM入出力データバスへ与えられたデータD
Q0,DQ1をオフセット指定データとして用い、この
オフセットレジスタ70の出力を下位2ビットの読出し
アドレス信号、カウンタ回路60からの出力信号を上位
読出しアドレス信号A2〜Anとして用いてSAMデコ
ーダ5へ与える構成により、4ビットずつ飛び越したカ
ウント値をクロック信号ごとに出力するとともに、カウ
ントサイクルごとに、その初期値が1ビットずつインク
リメントされるオフセット機能を備えるカウンタを得る
ことができる。
That is, as shown in FIG. 3, internal address signal bits Add2 to Adddn are used as initial setting values, and data D supplied to RAM input / output data bus
Q0 and DQ1 are used as offset designation data, and the output of the offset register 70 is supplied to the SAM decoder 5 using the lower 2 bits as a read address signal and the output signal from the counter circuit 60 as upper read address signals A2 to An. A counter having an offset function in which a count value skipped by four bits is output for each clock signal and the initial value is incremented by one bit for each count cycle can be obtained.

【0084】なお、このオフセット機能を備えたカウン
タ回路の構成は図3に示す構成に限定されず、プリセッ
ト可能な2進カウンタを用い、それぞれオフセットレジ
スタおよびカウンタ回路60に独立して用い、かつカウ
ンタ回路60からのキャリーまたはボロー信号に応答し
てこのオフセットレジスタがカウントを行なう構成であ
ればいずれの回路構成であっても上記実施例と同様の効
果を得ることができる。
The configuration of the counter circuit having the offset function is not limited to the configuration shown in FIG. 3, but a presettable binary counter is used, each of which is used independently of the offset register and the counter circuit 60. The same effect as in the above embodiment can be obtained with any circuit configuration as long as the offset register counts in response to a carry or borrow signal from the circuit 60.

【0085】また、この図3に示すカウンタ回路は、ク
ロック信号SCに応答してカウント値をインクリメント
し、かつオフセットレジスタ70はカウンタ回路60か
らのキャリー信号Cをクロック信号としてカウント動作
を実行している。しかしながら、これに変えて、カウン
タ回路60はクロック信号SCに応答してその内容をデ
クリメントし、最小カウント値に達したときにボロー信
号を導出してオフセット・レジスタ70へ与え、オフセ
ット・レジスタ70もカウントダウンするようなカウン
タの構成であっても上記実施例と同様の効果を得ること
ができる。
The counter circuit shown in FIG. 3 increments the count value in response to clock signal SC, and offset register 70 performs a count operation using carry signal C from counter circuit 60 as a clock signal. I have. However, instead, the counter circuit 60 decrements its contents in response to the clock signal SC, derives a borrow signal when the minimum count value is reached, and supplies it to the offset register 70, and the offset register 70 Even with a counter configuration that counts down, the same effect as in the above embodiment can be obtained.

【0086】なお、上述の構成によれば、メモリセルア
レイ1の1行分のメモリセルが表示画面上で4行にわた
って分布させられている。したがって、1つのメモリア
レイの1行のデータは、表示画面上の1/4水平走査線
にしか対応しないことになる。この場合、図6に示すよ
うに同一構成のデュアル・ポートRAMを4個用い、そ
れぞれを表示画面上の1/4の領域に対応させる構成と
する。すなわち、図6に示すように、同一構成のデュア
ル・ポートメモリM1,M2,M3およびM4を並列に
設け、この4つのメモリM1〜M4に対してCPU10
0が順次または並列にアクセスし、かつこのメモリM1
〜M4からの出力データを順次読出してCRT106へ
伝達する構成が取られる。デュアル・ポートRAMの個
数は増加するものの、それぞれのデュアル・ポートRA
Mの記憶容量は従来の1/4ですむため、その全体の記
憶容量は従来のものと同程度である。
According to the above configuration, memory cells for one row of the memory cell array 1 are distributed over four rows on the display screen. Therefore, one row of data in one memory array corresponds to only 1/4 horizontal scanning line on the display screen. In this case, as shown in FIG. 6, four dual-port RAMs having the same configuration are used, each of which corresponds to a quarter area on the display screen. That is, as shown in FIG. 6, dual port memories M1, M2, M3 and M4 having the same configuration are provided in parallel, and the CPU 10 is connected to these four memories M1 to M4.
0 accesses sequentially or in parallel , and the memory M1
To M4 are sequentially read and transmitted to CRT 106. Although the number of dual port RAMs increases, each dual port RA
Since the storage capacity of M is only 1/4 that of the conventional one, the overall storage capacity is almost the same as that of the conventional one.

【0087】この図6に示すメモリ構成の場合、CPU
100は、図12に示すようなメモリマッピングに従っ
てデータおよびアドレスを出力する。そのため、メモリ
M1〜M4が順次アクセスされるか、同時にアクセスさ
れるかは、このメモリシステムの構成により異なる。C
PUデータバス幅がメモリM1〜M4のそれぞれのRA
Mデータの入出力ビットの4倍あれば並列に同時にアク
セスするこどかできる。このいずれの場合においても、
デュアル・ポートRAMM1〜M4の各々において同一
行に対して4行分のデータが書込まれるため、RAMポ
ートが備える高速アクセスモードを用いて高速にデータ
を書込むことができる。
In the case of the memory configuration shown in FIG.
100 outputs data and addresses according to the memory mapping as shown in FIG. Therefore, whether the memories M1 to M4 are accessed sequentially or simultaneously depends on the configuration of the memory system. C
PU data bus width is equal to RA of each of memories M1 to M4.
If the input and output bits of the M data are four times as large, simultaneous access can be made in parallel. In either case,
In each of the dual-port RAMs M1 to M4, four rows of data are written for the same row, so that data can be written at high speed using the high-speed access mode of the RAM port.

【0088】デュアル・ポートRAMM1〜M4からC
RT106へのデータの転送は、各デュアル・ポートR
AMから順次読出す構成としてもよく、またこのデュア
ル・ポートRAMM1〜M4から同時にデータを読出し
てたとえばシフトレジスタに格納した後所定の順序に従
って順次読出す構成としてもよい。
The dual port RAMs M1 to M4 to C
The transfer of data to the RT 106 is performed at each dual port R
The configuration may be such that data is sequentially read from AM, or data is simultaneously read from dual port RAMs M1 to M4 and stored in a shift register, for example, and then sequentially read in a predetermined order.

【0089】この図6に示すメモリシステムのメモリM
1〜M4とディスプレイ表示画面との対応関係を図7に
示す。このように、デュアル・ポートRAM(メモリ)
M1〜M4の各々がディスプレイ表示画面CRTの4分
割された領域#1〜#2の各々に対応する。なお、図6
においては、4つのデュアル・ポートRAMが並列に設
けられている構成を示したが、これに変えて、4つのメ
モリセルアレイおよびSAMレジスタを1つの半導体チ
ップ上に集積化し、1つのメモリ領域ごとに1つのSA
Mレジスタを設けそれぞれ独立に動作させて4分割領域
各々のデータを処理し、この4分割データを順次並列ま
たはシリアルに読出してもよい。また、このとき、SA
Mレジスタをこのメモリ領域ごとに順次活性化してシリ
アルにデータを読出す構成とすれば高速でデータの読出
しが行なえる。
The memory M of the memory system shown in FIG.
FIG. 7 shows the correspondence between 1 to M4 and the display screen. Thus, a dual port RAM (memory)
Each of M1 to M4 corresponds to each of the four divided areas # 1 to # 2 of the display screen CRT. FIG.
Has shown a configuration in which four dual-port RAMs are provided in parallel, but instead, four memory cell arrays and SAM registers are integrated on one semiconductor chip, and One SA
M registers may be provided and operated independently to process the data in each of the four divided areas, and the four divided data may be sequentially read out in parallel or serially. At this time, SA
If data is read out serially by sequentially activating the M register for each memory area, data can be read at high speed.

【0090】このようなワンチップ構成の場合であって
も、CPU100は各メモリ領域の各行へアクセスする
ことにより4行分のデータを書込むことを行なうことが
できるため、高速で画像データの処理を行なうことがで
きる。
Even in the case of such a one-chip configuration, the CPU 100 can write four rows of data by accessing each row of each memory area. Can be performed.

【0091】なお、上記実施例においては、オフセット
レジスタが2ビット、カウンタ回路が6ビットの場合を
一例として具体的に説明したが、これらのビット数は任
意に設定することができる。本発明の構成に従えば、オ
フセットレジスタによりスキップされる読出しアドレス
のビット値はオフセットレジスタのビット数をnとすれ
ば、2n ビットとなる。
In the above embodiment, the case where the offset register has 2 bits and the counter circuit has 6 bits has been specifically described as an example. However, the number of these bits can be set arbitrarily. According to the configuration of the present invention, the bit value of the read address skipped by the offset register is 2 n bits, where n is the number of bits in the offset register.

【0092】また、図2に示す動作波形図においては、
内部信号CASの立上がりに応答してRAMポートへ与
えられたデータDQをオフセットレジスタへロードして
いる。しかしながら、内部信号CASの立上がりに同期
して与えられるアドレス信号Add0,Add1をオフ
セットデータとして用いてもよく、また内部信号RAS
が立上がるときにRAMポートのデータ入出力端子へ与
えられるデータDQを取込む構成としてもよい。この場
合、図3に示す回路構成においてANDゲート74の真
入力へ内部信号CASの代わりに内部信号RASが与え
られる。
Further, in the operation waveform diagram shown in FIG.
Data DQ applied to the RAM port in response to the rise of internal signal CAS is loaded into the offset register. However, address signals Add0 and Add1 provided in synchronization with the rise of internal signal CAS may be used as offset data, and internal signal RAS may be used.
When data rises, data DQ applied to the data input / output terminal of the RAM port may be taken. In this case, in the circuit configuration shown in FIG. 3, internal signal RAS is applied to the true input of AND gate 74 instead of internal signal CAS.

【0093】また、オフセットレジスタへ与えられるオ
フセットデータとしては、RAMデータ入出力端子から
のデータを用いており、これにより余分のピンを設ける
ことを防止している。しかしながら、このデュアル・ポ
ートRAMにおいてパッケージ実装時において未使用の
ピン端子がある場合には、そのピン端子をオフセットデ
ータ入力用ピンとして用いてもよい。
Further, as the offset data applied to the offset register, data from the RAM data input / output terminal is used, thereby preventing the provision of extra pins. However, when there is an unused pin terminal at the time of package mounting in the dual port RAM, the pin terminal may be used as an offset data input pin.

【0094】また、上記実施例においては、デュアル・
ポートRAMを一例として説明したが、これは一般にR
AMデータ入出力ポートおよびSAMデータ入出力ポー
トが複数個設けられているマルチ・ポートRAMであっ
ても上記実施例と同様の効果を得ることができる。
In the above embodiment, the dual
Although port RAM has been described as an example, this generally means that R
Even in a multi-port RAM provided with a plurality of AM data input / output ports and a plurality of SAM data input / output ports, the same effect as in the above embodiment can be obtained.

【0095】[0095]

【発明の効果】以上のように、この発明によれば、マル
チ・ポートRAMのSAMポートの読出アドレスを一定
のアドレスだけスキップさせてデータを読出すように
ているため、RAMポートの列アドレスとSAMポート
の読出アドレスとを独立させることが可能となり、RA
Mポートの1行を表示装置の表示画面上の複数行に対応
させることが可能となり、RAMポートにおける高速ア
クセスモードを用いて画像データの2次元処理を実行す
ることが可能となる。また、RAMポートの1行のデー
タを処理することにより表示装置の表示画面の複数行の
データの処理を行なうことが可能となり、2次元画像デ
ータを効率的に高速で処理することが可能となる。
た、このSAMポートの読出アドレスのスキップ機能
を、クロック信号をカウントするカウント回路と、この
カウント回路のカウントアップ指示信号をカウントする
オフセットカウンタとを用いて実現しているため、簡易
な回路構成で容易にSAMポートの読出アドレスをスキ
ップする構成を実現することができる。
As in the above, according to the present invention, according to the present invention, so as to read the data and the read address of the SAM port of multi-port RAM to skip by a certain address
Therefore, the column address of the RAM port and the read address of the SAM port can be made independent, and RA
One row of the M port can correspond to a plurality of rows on the display screen of the display device, and two-dimensional processing of image data can be performed using the high-speed access mode in the RAM port. Further, by processing one row of data in the RAM port, it is possible to process a plurality of rows of data on the display screen of the display device, and it is possible to efficiently process two-dimensional image data at high speed. . Ma
Also, this SAM port read address skip function
And a counting circuit that counts clock signals,
Counts the count-up instruction signal of the count circuit
Because it is realized using an offset counter,
The SAM port read address can be easily scanned with a simple circuit configuration.
This configuration can realize a configuration that allows for

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

【図1】この発明の一実施例であるデュアル・ポートR
AMの全体の構成の一例を示す図である。
FIG. 1 shows a dual port R according to an embodiment of the present invention.
It is a figure showing an example of the whole composition of AM.

【図2】この発明によるデュアル・ポートRAMの動作
を示す信号波形図である。
FIG. 2 is a signal waveform diagram showing an operation of the dual port RAM according to the present invention.

【図3】図1に示すカウンタの具体的構成の一例を示す
図である。
FIG. 3 is a diagram illustrating an example of a specific configuration of a counter illustrated in FIG. 1;

【図4】図3に示すオフセットレジスタの動作を示す信
号波形図である。
FIG. 4 is a signal waveform diagram representing an operation of the offset register shown in FIG.

【図5】図3に示すカウンタ回路の動作を示す信号波形
図である。
FIG. 5 is a signal waveform diagram representing an operation of the counter circuit shown in FIG. 3;

【図6】この発明によるデュアル・ポートRAMを用い
たメモリシステムの構成例を示す図である。
FIG. 6 is a diagram showing a configuration example of a memory system using a dual port RAM according to the present invention.

【図7】この発明によるデュアル・ポートRAMのメモ
リ領域と表示装置の表示画面との対応関係を示す図であ
る。
FIG. 7 is a diagram showing a correspondence relationship between a memory area of a dual port RAM and a display screen of a display device according to the present invention.

【図8】従来の映像信号処理システムにおいて用いられ
るシステムの構成例を示す図である。
FIG. 8 is a diagram showing a configuration example of a system used in a conventional video signal processing system.

【図9】従来のデュアル・ポートRAMの全体の構成を
概略的に示す図である。
FIG. 9 is a diagram schematically showing an entire configuration of a conventional dual port RAM.

【図10】従来のデュアル・ポートRAMのSAMポー
トのデータ読出し動作を示す信号波形図である。
FIG. 10 is a signal waveform diagram showing a data read operation of a SAM port of a conventional dual port RAM.

【図11】従来のデュアル・ポートRAMにおけるメモ
リセルアレイと表示装置の表示画面との対応関係を示す
図である。
FIG. 11 is a diagram showing a correspondence relationship between a memory cell array in a conventional dual port RAM and a display screen of a display device.

【図12】従来のデュアル・ポートRAMの問題点を説
明するための図である。
FIG. 12 is a diagram for explaining a problem of a conventional dual port RAM.

【符号の説明】[Explanation of symbols]

1:メモリセルアレイ 2:行デコーダ 3:列デコーダ/IO制御回路 4:SAMレジスタ 5:SAMデコーダ 6,6′:カウンタ 60:カウンタ回路 70:オフセットレジスタ 1: memory cell array 2: row decoder 3: column decoder / IO control circuit 4: SAM register 5: SAM decoder 6, 6 ': counter 60: counter circuit 70: offset register

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ランダムにアクセス可能なRAMポート
と、シリアルにアクセス可能なSAMポートとを有する
マルチ・ポート・ランダム・アクセス・メモリであっ
て、前記SAMポートはメモリ外部とシリアルにデータ
を入出力するための内部データバスを備えており、 行および列からなる2次元アレイ状に配置された複数の
メモリセルを有するメモリセルアレイ、 前記メモリセルアレイの1行の一部またはすべてのメモ
リセルと同時にデータの授受が可能な、複数のレジスタ
素子を含むデータレジスタ手段、および クロック信号を
カウントするカウント回路を備え、前記カウント回路は
前記クロック信号の印加ごとに該カウント値を逐次更新
し、さらに 前記カウント回路からのカウントアップ指示
信号をカウントするオフセットカウンタ、および 前記カ
ウント回路からのカウント値および前記オフセットカウ
ンタからのカウント値をレジスタ素子指定信号として受
け、前記データレジスタ手段のレジスタ素子を順次選択
して前記内部データバスへ接続する選択手段を備える、
マルチ・ポート・ランダム・アクセス・メモリ。
1. A multi-port random access memory having a randomly accessible RAM port and a serially accessible SAM port, wherein the SAM port inputs / outputs data serially with the outside of the memory. A memory cell array having a plurality of memory cells arranged in a two-dimensional array consisting of rows and columns; a memory cell array having a plurality of memory cells arranged in rows and columns; Data register means including a plurality of register elements, and a clock signal.
A counting circuit for counting, wherein the counting circuit
The count value is sequentially updated each time the clock signal is applied
And a count-up instruction from the counting circuit.
Offset counter, and the mosquito counts the signal
Count value from the counter circuit and the offset cowl.
Receiving a count value from the data register as a register element designation signal, sequentially selecting the register elements of the data register means and connecting to the internal data bus,
Multi-port random access memory.
【請求項2】 前記カウント回路は、各々がクロック入力を有し、該クロック入力にクロッキ
ング信号が与えられるとその出力信号の論理状態が反転
する複数のフリップフロップ回路と、 前記複数のフリップフロップ回路のうちの初段のフリッ
プフロップ回路を除くフリップフロップ回路に対応して
設けられ、前記クロック信号と前段のフリップフロップ
回路すべての出力信号とに従って対応のフリップフロッ
プ回路のクロック入力へクロッキング信号を出力する複
数のバッファ回路とを備え、前記初段のフリップフロッ
プ回路のクロック入力へ前記クロック信号がクロッキン
グ信号として与えられ、かつ最終段のフリップフロップ
回路の出力信号が前記カウントアップ指示信号として前
記オフセットカウンタへ与えられる、 請求項1記載のマ
ルチ・ポート・ランダム・アクセス・メモリ。
2. The counting circuit according to claim 1 , wherein each of the counting circuits has a clock input, and the clock input is connected to the clock input.
The logic state of the output signal
A plurality of flip-flop circuits, and a first stage flip-flop of the plurality of flip-flop circuits.
Compatible with flip-flop circuits excluding flip-flop circuits
A clock signal and a preceding flip-flop
Circuit corresponding to all output signals and flip-flops
Output clocking signal to clock input of clock circuit
The first stage flip-flop, comprising:
The clock signal is clocked to the clock input of the
Flip-flop provided as a final signal
The output signal of the circuit is
2. The multi-port random access memory of claim 1, wherein said memory is provided to said offset counter .
【請求項3】 前記カウント回路は、内部アドレス信号3. The count circuit according to claim 1, wherein the count circuit includes an internal address signal.
により初期値が設定Initial value is set by され、前記オフセットカウンタは、And the offset counter is
前記RAMポートからのデータにより初期値が設定されThe initial value is set by the data from the RAM port.
る、請求項1または2記載のマルチ・ポート・ランダムThe multi-port random according to claim 1 or 2,
・アクセス・メモリ。Access memory.
JP06495291A 1990-07-04 1991-03-28 Multi-port random access memory Expired - Fee Related JP3179792B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP06495291A JP3179792B2 (en) 1990-07-04 1991-03-28 Multi-port random access memory
DE4122060A DE4122060A1 (en) 1990-07-04 1991-07-03 Multiport memory with RAM and SAM ports - has inner data bus and memory cell field with line and column matrix of memory cells

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2-178290 1990-07-04
JP17829090 1990-07-04
JP06495291A JP3179792B2 (en) 1990-07-04 1991-03-28 Multi-port random access memory

Publications (2)

Publication Number Publication Date
JPH04212778A JPH04212778A (en) 1992-08-04
JP3179792B2 true JP3179792B2 (en) 2001-06-25

Family

ID=26406100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06495291A Expired - Fee Related JP3179792B2 (en) 1990-07-04 1991-03-28 Multi-port random access memory

Country Status (2)

Country Link
JP (1) JP3179792B2 (en)
DE (1) DE4122060A1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6072020A (en) * 1983-09-29 1985-04-24 Nec Corp Dual port memory circuit

Also Published As

Publication number Publication date
JPH04212778A (en) 1992-08-04
DE4122060A1 (en) 1992-01-16
DE4122060C2 (en) 1993-08-05

Similar Documents

Publication Publication Date Title
US4807189A (en) Read/write memory having a multiple column select mode
US5590083A (en) Process of writing data from a data processor to a memory device register that is separate from the array
US5001672A (en) Video ram with external select of active serial access register
US4961171A (en) Read/write memory having an on-chip input data register
JP3046075B2 (en) Dual bank memory and system using the same
US4646270A (en) Video graphic dynamic RAM
US5808958A (en) Random access memory with latency arranged for operating synchronously with a micro processor and a system including a data processor, a synchronous DRAM, a peripheral device, and a system clock
US5282177A (en) Multiple register block write method and circuit for video DRAMs
US5726947A (en) Synchronous semiconductor memory device suitable for graphic data processing
JP2645529B2 (en) Semiconductor storage device with flash write function
US4106109A (en) Random access memory system providing high-speed digital data output
US5148524A (en) Dynamic video RAM incorporating on chip vector/image mode line modification
JPH059872B2 (en)
US5065368A (en) Video ram double buffer select control
KR940006362B1 (en) Semiconductor memory device
JPH04243085A (en) Semiconductor storage device
US5146430A (en) Self-refresh system for use in a field memory device
JPH04228172A (en) Semiconductor memory
US4811305A (en) Semiconductor memory having high-speed serial access scheme
JP2593060B2 (en) Dynamic random access memory, dynamic random access memory access method and system
US4891795A (en) Dual-port memory having pipelined serial output
JPS61288240A (en) Semiconductor storage device
JP3179792B2 (en) Multi-port random access memory
KR950004743B1 (en) Multi-port random access memory and access method
JPS6151792B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010403

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees