JPH08115594A - Data readout, transferring and refreshing method for dual port drams - Google Patents

Data readout, transferring and refreshing method for dual port drams

Info

Publication number
JPH08115594A
JPH08115594A JP6251994A JP25199494A JPH08115594A JP H08115594 A JPH08115594 A JP H08115594A JP 6251994 A JP6251994 A JP 6251994A JP 25199494 A JP25199494 A JP 25199494A JP H08115594 A JPH08115594 A JP H08115594A
Authority
JP
Japan
Prior art keywords
cycle
data
refresh
dual port
bank
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6251994A
Other languages
Japanese (ja)
Inventor
Kinya Akabame
欣也 赤羽目
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6251994A priority Critical patent/JPH08115594A/en
Publication of JPH08115594A publication Critical patent/JPH08115594A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE: To shorten the waiting time of a reading or a writing request from a CPU by dividing a frame buffer memory into plural banks for a data readout and transferring cycle and for a refreshing cycle and providing banks in the memory. CONSTITUTION: A prescribed number of dual port DRAMs constituting a frame buffer memory 32 storing displaying picture data are divided into two banks of #1 and #2. A data readout transferring cycle with respect to dual port DRAMs of the divided #1 bank and a refreshing cycle with respect to dual port DRAMs of the divided #2 bank are simultaneously performed. Thus, since the time for only the refreshing cycle conventionally executed in an independent time is unnecessitated and the reading or the writing request from the CPU is made not be waited for a long time, the working rate of the CPU is improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は表示用画像データを格納
するフレームバッファメモリを構成するデュアルポート
DRAM(Dual−Port Dynamic RA
M)のデータ読出転送とリフレッシュの方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual-port DRAM (Dual-Port Dynamic RA) which constitutes a frame buffer memory for storing display image data.
M) method of data read transfer and refresh.

【0002】[0002]

【従来の技術】図5は従来の画像表示用データ読出装置
の構成図である。図5において、1はCPU、2は制御
プログラムを格納するROM及びデータの一時記憶をす
るRAMを含むメモリ、3はCRT表示データ制御部で
あり、内部にフレームメモリ制御部31、フレームバッ
ファメモリ32、及びD/A変換器33を含む。4はC
RT表示器、5はアドレスバス及びデータバスを含む接
続バスである。フレームバッファメモリ32は、通常画
像データ表示用のデュアルポートDRAMにより構成さ
れ、CRT表示器4の表示画素(ピクセル)数、1画素
を表示するビット数(画素を白黒の濃淡で表示する場合
は、このビット数が白黒の段階を示す情報となる)、D
RAMの容量等に応じて、所要の個数のデュアルポート
DRAMが使用される。
2. Description of the Related Art FIG. 5 is a block diagram of a conventional image display data reading device. In FIG. 5, reference numeral 1 is a CPU, 2 is a memory including a ROM for storing a control program and a RAM for temporarily storing data, and 3 is a CRT display data control unit, which internally has a frame memory control unit 31, a frame buffer memory 32. , And a D / A converter 33. 4 is C
The RT display 5 is a connection bus including an address bus and a data bus. The frame buffer memory 32 is usually composed of a dual port DRAM for displaying image data, and the number of display pixels (pixels) of the CRT display 4 and the number of bits for displaying one pixel (in the case of displaying a pixel in black and white shading This bit number serves as information indicating the black and white stage), D
A required number of dual port DRAMs are used according to the capacity of the RAM and the like.

【0003】図6は一般的なデュアルポートDRAMの
構成例を示す図であり、AポートとBポートの2つの入
出力ポートを有している。図6のAポートはランダムア
クセスポートであり、CPUはこのAポートを介してD
RAM内のメモリセルにランダムにアクセスし、例えば
1ビット単位のデータ書込み、又は読出しが可能であ
る。図6のBポートはシリアルアクセスポートであり、
例えばDRAMから一括読出されたCRT表示データは
このBポートを介してシリアル転送される。このシリア
ルデータの読出しと転送は次の2つの工程により実施さ
れる。なお各DRAMはN行×M列のメモリセルにより
構成されているものとする。
FIG. 6 is a diagram showing a configuration example of a general dual-port DRAM, which has two input / output ports of A port and B port. The port A in FIG. 6 is a random access port, and the CPU can
It is possible to randomly access the memory cells in the RAM and write or read data in 1-bit units. Port B in FIG. 6 is a serial access port,
For example, the CRT display data collectively read from the DRAM is serially transferred through this B port. The reading and transfer of this serial data are performed by the following two steps. Each DRAM is assumed to be composed of N rows × M columns of memory cells.

【0004】最初の「データ読出転送」の工程では、D
RAMの行デコーダに入力された行データによりN行の
うち1つの行がデコードされ、該当行のM列のデータが
一括読出されてシリアルシフトレジスタに転送される。
次の「データシリアル転送」の工程では、前記シリアル
シフトレジスタに所望の周波数(例えばシリアル転送デ
ータを表示するCRT表示器の1水平走査時間を水平表
示画素数で分割した時間に対応する周波数)のクロック
信号を供給し、シリアルシフトレジスタに格納されたデ
ータをBポートから1ビットずつ外部にシリアル転送さ
せる。
In the first "data read transfer" step, D
One row of N rows is decoded by the row data input to the row decoder of the RAM, and the data in the M column of the corresponding row is collectively read and transferred to the serial shift register.
In the next "data serial transfer" step, a desired frequency (for example, a frequency corresponding to a time obtained by dividing one horizontal scanning time of the CRT display for displaying the serial transfer data by the number of horizontal display pixels) is stored in the serial shift register. A clock signal is supplied, and the data stored in the serial shift register is serially transferred bit by bit from the B port to the outside.

【0005】なお、図6のDRAMのシリアル転送デー
タは1ビットずつであるが、このDRAMをn個並列に
(図の奥行方向の#1,#2,…#nと示すように)設
けることによりnビットのシリアルデータが同時に得ら
れる。このように2つのポートを有するデュアルポート
DRAMの利点は、CRT表示用のシルアルデータの読
出しと転送を行う場合に、最初の「データ読出転送」の
工程が終了後は、次のBポートを使用する「データシリ
アル転送」の工程中であっても、CPUはAポートを使
用してDRAM内の任意のメモリセルにアクセスしてデ
ータの書込みや読出しが可能なことである。
Although the serial transfer data of the DRAM of FIG. 6 is 1 bit at a time, n DRAMs are provided in parallel (as indicated by # 1, # 2, ... #n in the depth direction of the drawing). As a result, n-bit serial data can be obtained at the same time. Thus, the advantage of the dual port DRAM having two ports is that when the serial data for CRT display is read out and transferred, the next B port is used after the first "data read transfer" step is completed. Even during the "data serial transfer" process, the CPU can write and read data by accessing an arbitrary memory cell in the DRAM using the A port.

【0006】いま、図5のフレームバッファメモリ32
内の各デュアルポートDRAMには、あらかじめCRT
表示器4へ表示する画像データが書込まれているものと
する。そしてCRT表示データの一括読出しである「デ
ータ読出転送」の工程が行われると、該当デュアルポー
トDRAMからは、通常CRT表示器4の1走査線分
(1ラスタ分)又はそれ以上のデータが前記DRAM内
のシリアルシフトレジスタへ読出転送される。そして次
の「データシリアル転送」の工程では、前記シリアルシ
フトレジスタにCRT表示器4の走査タイミングに合っ
た周波数のクロック信号が供給され、シリアルシフトレ
ジスタから前記クロック信号に同期したシリアルデータ
がD/A変換器33へ逐次転送される。
Now, the frame buffer memory 32 shown in FIG.
Each dual-port DRAM in the
It is assumed that the image data to be displayed on the display unit 4 has been written. When the "data read transfer" step, which is a batch read of the CRT display data, is performed, data of one scanning line (one raster) or more of the normal CRT display 4 is output from the corresponding dual port DRAM. It is read and transferred to the serial shift register in the DRAM. Then, in the next "data serial transfer" step, a clock signal having a frequency matching the scanning timing of the CRT display 4 is supplied to the serial shift register, and the serial data synchronized with the clock signal is transferred from the serial shift register to D / The data is sequentially transferred to the A converter 33.

【0007】D/A変換器33には、通常前記クロック
信号毎に1ピクセル分のデータ(複数ビットのデータ)
が供給され、D/A変換器33はこの入力データを順次
アナログ電圧信号に変換して、CRT表示器4へ画像表
示用のアナログ輝度信号として逐次供給する。このよう
にして1ラスタ分の「データ読出伝送」と「データシリ
アル転送」の工程が完了すると、通常は走査帰線期間だ
け休止して、再び次のラスタにおける上記2つの工程を
繰返して行う。
In the D / A converter 33, data for one pixel is usually provided for each clock signal (data of a plurality of bits).
The D / A converter 33 sequentially converts the input data into an analog voltage signal and sequentially supplies it to the CRT display 4 as an analog luminance signal for image display. When the steps of "data read transmission" and "data serial transfer" for one raster are completed in this way, usually the scanning blanking period is paused, and the above two steps for the next raster are repeated again.

【0008】またフレームバッファメモリ32内に使用
されている各デュアルポートDRAMは、前記CRT表
示用の「データ読出転送」及び「データシリアル転送」
を行うほか、規定時間内にリフレッシュを行わないと格
納データの破壊の恐れがある。なおセルフリフレッシュ
機能を有する場合には、行指定のアドレス信号を供給し
なくとも、規定時間内に決まった回数(例えば8mse
c以内に512回)のリフレッシュを行えばよい。従っ
てフレームバッファメモリ32を構成するデュアルポー
トDRAMは、次の3つの動作を行う必要があり、それ
らの要求が時間的に競合していた。 A、CRT表示用データを出力するため前記「データ読
出転送」を行い(なお、前記「データシリアル転送中」
には、別の動作によりDRAMにアクセスは可能であ
る。)、 B、規定時間内に自己の格納データの保存のためにリフ
レッシュを行い、 C、さらにCPU1からのリード又はライト要求による
処理を行う。
Each dual port DRAM used in the frame buffer memory 32 has a "data read transfer" and a "data serial transfer" for the CRT display.
Besides, the stored data may be destroyed unless refreshed within the specified time. In addition, in the case of having a self-refresh function, even if the address signal for designating a row is not supplied, a fixed number of times (for example, 8 mse
Refreshing may be performed 512 times within c. Therefore, the dual-port DRAM that constitutes the frame buffer memory 32 needs to perform the following three operations, and their requirements conflict with each other in terms of time. A, "Data read transfer" is performed to output CRT display data (note that "Data serial transfer is in progress")
Can access the DRAM by another operation. ), B, refreshing is performed to save the stored data within the specified time, and C, and further processing is performed according to a read or write request from the CPU 1.

【0009】このため従来は、一般に下記による優先順
位を設けて、競合する3つの要求を優先順位の順に処理
していた。 順位1:データ読出転送の要求(CRT表示器への表示
を欠かさないため)、 順位2:リフレッシュ要求(DRAMの格納データを保
持するため)、 順位3:CPUからのリード又はライト要求、
For this reason, conventionally, the following priorities have generally been set to process three competing requests in the order of the priorities. Priority 1: Request for data read transfer (in order not to miss display on CRT display), Priority 2: Refresh request (for holding data stored in DRAM), Priority 3: Read or write request from CPU,

【0010】[0010]

【発明が解決しようとする課題】しかしながら上記のデ
ュアルポートDRAMを使用するフレームバッファメモ
リについての優先順位による競合処理法では、CPUか
らのリード又はライト要求は、データ読出転送又はリフ
レッシュの要求があるときは、それらの要求が処理され
るまで待たされるので、CPUの稼動効率が大きく低下
するという問題があった。
However, in the contention processing method based on the priority order for the frame buffer memory using the dual port DRAM described above, when the read or write request from the CPU is a data read transfer or refresh request. Has a problem that the operating efficiency of the CPU is greatly reduced because the requests are kept waiting until they are processed.

【0011】[0011]

【課題を解決するための手段】本発明に係るデュアルポ
ートDRAMのデータ読出転送とリフレッシュ方法は、
表示用画像データを格納するフレームバッファメモリを
構成する所定数のデュアルポートDRAMを複数のバン
クに分割し、該分割した1つのバンクのデュアルポート
DRAMに対するデータ読出転送サイクルと、その他の
バンクのデュアルポートDRAMに対するリフレッシュ
サイクルとを同時に行うものである。
A data read transfer and refresh method for a dual-port DRAM according to the present invention comprises:
A predetermined number of dual-port DRAMs forming a frame buffer memory for storing display image data are divided into a plurality of banks, and a data read / transfer cycle for the divided one-port dual-port DRAMs and dual-ports of other banks The refresh cycle for the DRAM is simultaneously performed.

【0012】[0012]

【作用】本発明においては、表示用画像データを格納す
るフレームバッファメモリを構成する所定数のデュアル
ポートDRAMは複数のバンクに分割され、該分割され
た1つのバンクのデュアルポートDRAMに対するデー
タ読出転送サイクルを実行している時間に、同時にその
他のバンクのデュアルポートDRAMに対するリフレッ
シュサイクルも実行するようにしたので、従来独立の時
間に実行していたリフレッシュサイクルのみの時間が不
要となり、CPUからのリード又はライト要求が長時間
待たされることがなくなり、CPUの稼動効率が向上す
る。
According to the present invention, the predetermined number of dual port DRAMs forming the frame buffer memory for storing the image data for display are divided into a plurality of banks, and the data read / transfer for the divided one port dual port DRAMs. Since the refresh cycle for the dual-port DRAMs of other banks is executed at the same time as the cycle is being executed, the time only for the refresh cycle, which was conventionally executed at an independent time, is unnecessary, and the read from the CPU Alternatively, the write request is not kept waiting for a long time, and the operating efficiency of the CPU is improved.

【0013】[0013]

【実施例】図1は本発明に係るCRT表示データ制御部
の構成例を示す図であり、図2は図1の2つのバンクに
よるCRT画面の表示例を説明する図であり、図3は本
発明に係るフレームメモリ制御部のステートマシン遷移
図であり、図4は本発明に係るフレームメモリバッファ
に対する各制御信号のタイムチャートである。最初に本
発明の骨子を説明すると、本発明はまずフレームバッフ
ァメモリを構成する所定数のデュアルポートDRAM
を、複数のバンク(bank)に分割し、その1つのバ
ンクのデュアルポートDRAMに対する「データ読出転
送サイクル」と、その他のバンクのデュアルポートDR
AMに対する「リフレッシュサイクル」とを同時に(並
列的に)行うようにしたものである。
1 is a diagram showing a configuration example of a CRT display data control unit according to the present invention, FIG. 2 is a diagram explaining a display example of a CRT screen by two banks in FIG. 1, and FIG. FIG. 6 is a state machine transition diagram of the frame memory control unit according to the present invention, and FIG. 4 is a time chart of each control signal for the frame memory buffer according to the present invention. First of all, the gist of the present invention will be described.
Is divided into a plurality of banks, and the "data read transfer cycle" for the dual port DRAM of one bank and the dual port DR of the other banks.
The "refresh cycle" for the AM is performed simultaneously (in parallel).

【0014】図1〜図4を参照し、以下に本発明の詳細
な説明をする。CRT表示用の「データ読出転送サイク
ル」は、CRT表示器4の仕様(表示画素数、水平垂直
同期周波数等)とフレームバッファメモリ32の構成等
により、各装置に固有のある決まったタイミングに周期
的に必要となる。そこでフレームバッファメモリを複数
のバンクに分け、各バンク毎に個別に制御ができるよう
に、制御信号をバンク毎に接続しておく。図1の例で
は、フレームバッファメモリ32を#1バンクと#2バ
ンクの2つのバンクに分け、フレームメモリ制御部31
からそれぞれバンク毎に#1制御線と#2制御線が接続
されている。また図2においては、図1の2つのバンク
によるCRT画面の表示領域の例が示されおり、いまC
RT表示器の表示ラスタ数(水平走査線の本数)が10
24本の場合に、画面の上半分の512本のラスタには
#1バンクの出力データが表示され、画面の下半分の5
12本のラスタには#2バンクの出力データが表示され
ることを示している。
The present invention will be described in detail below with reference to FIGS. The "data read / transfer cycle" for CRT display is a cycle at a certain timing unique to each device, depending on the specifications of the CRT display 4 (the number of display pixels, horizontal and vertical sync frequencies, etc.) and the configuration of the frame buffer memory 32. Will be needed. Therefore, the frame buffer memory is divided into a plurality of banks, and a control signal is connected to each bank so that each bank can be individually controlled. In the example of FIG. 1, the frame buffer memory 32 is divided into two banks, # 1 bank and # 2 bank, and the frame memory control unit 31
Therefore, the # 1 control line and the # 2 control line are connected to each bank. In addition, FIG. 2 shows an example of the display area of the CRT screen by the two banks in FIG.
The number of display rasters (number of horizontal scanning lines) of the RT display is 10
In the case of 24 lines, the output data of the # 1 bank is displayed on the 512 rasters in the upper half of the screen, and the 5th raster in the lower half of the screen is displayed.
It is shown that the output data of the # 2 bank is displayed on the 12 raster lines.

【0015】そしてフレームバッファメモリ32のうち
の1つのバンク(例えば#1バンク)に「データ読出転
送サイクル」を行っている時間に、同時に他のバンク
(この例では#2バンク)にはDRAMの「リフレッシ
ュサイクル」を行わせるようにそれぞれの制御信号を制
御する。このようにして1つのバンクの「データ読出転
送」と他のバンクの「リフレッシュ」の2つの動作を同
時に行う。このフレームバッファメモリのバンク数nを
決める際に注意することは、各デュアルポートDRAM
には、リフレッシュの最大許容周期Tと回数xが決めら
れているので、このリフレッシュ周期T以内にリフレッ
シュ回数xを完了する必要がある。例えば下記の(1)
式を満足するようにバンク数nを決めればよい。
While the "data read transfer cycle" is being performed on one bank (for example, the # 1 bank) of the frame buffer memory 32, the DRAM of the other bank (the # 2 bank in this example) is simultaneously written to the other bank. Each control signal is controlled so that a "refresh cycle" is performed. In this way, two operations of "data read transfer" of one bank and "refresh" of another bank are simultaneously performed. When deciding the number of banks n of this frame buffer memory, be careful of each dual port DRAM.
Since the maximum allowable cycle T of refreshing and the number of times x are determined, it is necessary to complete the number of times of refreshing x within this refresh cycle T. For example, (1) below
The number of banks n may be determined so as to satisfy the formula.

【0016】[0016]

【数1】 [Equation 1]

【0017】(1)式における各記号の意味は、次の通
りである(図2の各時間を参照)。 Vp :CRTの垂直同期信号の周期(時間) Vdisp:CRTの垂直表示時間(非表示部の時間を除
く) n:メモリのバンク数 x:DRAMの規定周期内のリフレッシュ回数(上記例
では512回) T:DRAMのリフレッシュの周期(上記例では8m
s) R:CRTの表示垂直ラスタ数(表示部のみ、上記例で
は1024本) Rall :CRTの総垂直ラスタ数 つまり1つのバンクのデータ読出転送中に他のバンクで
行われるDRAMのリフレッシュは、そのDRAMに規
定された周期Tと回数xを満たす必要がある。
The meaning of each symbol in the equation (1) is as follows (see each time in FIG. 2). Vp: CRT vertical sync signal cycle (time) Vdisp: CRT vertical display time (excluding non-display time) n: Number of banks of memory x: Number of refreshes within a specified cycle of DRAM (512 times in the above example) ) T: DRAM refresh cycle (8 m in the above example)
s) R: Number of display vertical rasters of CRT (display section only, 1024 in the above example) Rall: Total number of vertical rasters of CRT That is, refresh of DRAM performed in another bank during data read transfer of one bank is: It is necessary to satisfy the cycle T and the number of times x specified in the DRAM.

【0018】図3のフレームメモリ制御部のステートマ
シン遷移図と図4の制御信号のタイムチャートにより、
上記「データ読出転送サイクル」と「リフレッシュサイ
クル」の詳細動作を説明する。図3の“idle”で
は、フレームメモリ制御部は休止状態で、データ読出転
送要求があると、直ちに“dtras0”に移る(図4
の(a)を参照)。“dtras0”ではデータ読出転
送の要求があったバンクのRAS(行アドレスストロー
ブ信号でロウアクティブ)をアサート(assert)
し、同時に他のバンクのCAS(列アドレススローブ信
号でロウアクティブ)をアサートする。図4の(c)と
(f)に#1バンクのRAS1がロウレベルとなり、同
時に#2バンクのCAS2がロウレベルに変化する状態
が示されている。次に“dtrasl”と遷移して、一
定時間“dtras1”の状態を保持する。
From the state machine transition diagram of the frame memory controller of FIG. 3 and the time chart of the control signal of FIG.
Detailed operations of the "data read transfer cycle" and the "refresh cycle" will be described. In "idle" of FIG. 3, the frame memory control unit is in the idle state, and when there is a data read transfer request, it immediately moves to "dtras0" (FIG. 4).
(See (a)). In "dtras0", assert RAS (row active by row address strobe signal) of the bank that has requested the data read transfer.
At the same time, CAS (row active by a column address strobe signal) of another bank is asserted. 4C and 4F show a state in which the RAS1 of the # 1 bank goes low and the CAS2 of the # 2 bank simultaneously changes to low level. Next, the state transits to "dtrasl" and the state of "dtras1" is held for a certain period of time.

【0019】次に“dtcas"に遷移して、データ読
出転送の要求があったバンクのCASをアサートし、同
時に他のバンクのRASをアサートする。図4の(e)
と(d)に#1バンクのCAS1がロウレベルとなり、
同時に#2バンクのRAS2がロウレベルに変化する状
態が示されている。次の“swaprow”に遷移し
て、データ読出転送の要求があったバンクのRAS,C
ASをネゲート(negate、打消す)し、同時に他
のバンクのRAS,CASもネゲートする。次に“dt
pch0”に遷移し、データ読出転送とリフレッシュに
関係するすべての制御信号(CPUアクセスを除く)を
ハイレベルにして、“idle”に戻る。
Then, the transition to "dtcas" is made, the CAS of the bank for which the data read transfer is requested is asserted, and at the same time, the RAS of the other bank is asserted. (E) of FIG.
And (d) CAS1 of # 1 bank becomes low level,
At the same time, the state in which the RAS2 of the # 2 bank changes to the low level is shown. Transition to the next "swaprow", and the RAS, C of the bank for which the data read transfer request has been made.
AS is negated, and at the same time, RAS and CAS of other banks are also negated. Then "dt
Pch0 ", all control signals related to data read transfer and refresh (except for CPU access) are set to high level, and the state returns to" idle ".

【0020】即ちフレーメモリ制御部のステートが“d
rtas0”,…,“dtpch0”と順次遷移し、C
RT表示データの要求があったバンクのデータ読出転送
を行うように制御信号を制御するのと同時に、その他の
全てのバンクは「CASビフォアRASリフレッシュ」
を行うように制御信号を制御する。
That is, the state of the frame memory control section is "d".
, rdt0 ”, ...,“ dtpch0 ”, and C
At the same time as controlling the control signal to perform the data read transfer of the bank which has requested the RT display data, all the other banks are "CAS before RAS refresh".
The control signal is controlled so that

【0021】ここで「CASビフォアRASリフレッシ
ュ」とは、DRAMのセルフリフレッシュの場合に適合
するリフレッシュ方法であり、図4でリフレッシュを行
う#2バンクの例では、同図の(f)及び(d)に示さ
れるように、CAS2がRAS2よりも早いタイミング
にロウレベル(イネーブル)になり、その後一定時間R
AS2がハイレベルの状態があると、このセルフリフレ
ッシュに入ります。そしてこのリフレッシュ法では、外
部アドレス入力を必要とせず、内部で発生されたリフレ
ッシュアドレスにより指定された行のリフレッシュがな
されます。従って本発明において、1つのバンクにはデ
ータ読出転送サイクルを行い、その他のバンクにはリフ
レッシュサイクルを行う場合に、好都合のリフレッシュ
法として、図4の例で「CASビフォアRASリフレッ
シュ」を使用した場合を示したものである。しかし本発
明のリフレッシュ法は、この方法のみに限定されるもの
ではなく、「CASビフォアRASリフレッシュ」以外
のリフレッシュの方式でも、本発明は実施可能である。
The "CAS before RAS refresh" is a refresh method suitable for the DRAM self-refresh, and in the example of the # 2 bank which is refreshed in FIG. 4, (f) and (d) in FIG. ), CAS2 becomes low level (enable) at a timing earlier than RAS2, and then R
If there is a high level state of AS2, this self refresh starts. With this refresh method, the external address input is not required, and the row specified by the internally generated refresh address is refreshed. Therefore, in the present invention, when the data read / transfer cycle is performed in one bank and the refresh cycle is performed in the other banks, the case where "CAS before RAS refresh" is used in the example of FIG. 4 as a convenient refresh method. Is shown. However, the refresh method of the present invention is not limited to this method, and the present invention can be implemented by a refresh method other than the “CAS before RAS refresh”.

【0022】この実施例におけるデュアルポートDRA
Mのリフレッシュは、周期は8ms以内に512回行う
ようにしている。そして「データ読出転送」の要求は、
CRT表示器の各ラスタ毎に行われ、この要求毎に1ラ
スタ分のデータをシリアルシフトレジスタに読出転送す
るものとする。また図2の例において、CRT画面は表
示部1024ラスタ、非表示部を含めて1054ラスタ
としている。図4のデータ読出転送サイクル及びリフレ
ッシュサイクル(図の“idle”から“dtpc0”
までの期間)は、1つのラスタに対する処理時間であ
り、このサイクルが終了し、次の“idle”ステート
に入るとCPUアクセス期間が可能となる。この期間に
CPUは、ランダムアクセスポート(Aポート)を介し
て、DRAMにアクセスしてデータ書込み及び読出しが
可能となる。そして再び次のラスタに対するデータ読出
転送の要求が発生する。
Dual port DRA in this embodiment
The refresh of M is performed 512 times within a period of 8 ms. And the request for "data read transfer" is
It is performed for each raster of the CRT display device, and data for one raster is read and transferred to the serial shift register for each request. In the example of FIG. 2, the CRT screen is 1054 raster including the display unit 1024 raster and the non-display unit. Data read transfer cycle and refresh cycle of FIG. 4 (from “idle” to “dtpc0” in the figure)
Is a processing time for one raster, and when this cycle ends and the next "idle" state is entered, the CPU access period becomes possible. During this period, the CPU can access the DRAM via the random access port (A port) to write and read data. Then, a request for data read transfer for the next raster is generated again.

【0023】上記動作を具体的に説明する。図2の#1
バンク及び#2バンク表示領域において、#1バンクの
第1ラスタのデータ読出転送と同時に、#2バンクの1
回目のリフレッシュが行われる。その後一定期間のCP
Uアクセス可能期間の後に、#1バンクの第2ラスタの
データ読出転送と同時に、#2バンクの2回目のリフレ
ッシュが行われる。その後再びCPUアクセス可能期間
に入る。以下同様の動作を繰返して、#1バンクの第5
12ラスタのデータ読出転送と#2バンクの512回目
のリフレッシュが行われる。そしてこの1回目のリフレ
ッシュから512回目のリフレッシュが完了するまでの
時間は8msec以下である。すると、今度は#2バン
クの第1ラスタのデータ読出転送と同時に、#1バンク
1の1回目のリフレッシュが行われ、その後CPUアク
セス可能期間に入る。この動作を繰返して、#2バンク
の第512ラスタのデータ読出転送と同時に、#1バン
クの512回目のリフレッシュが行われる。
The above operation will be specifically described. # 1 in FIG. 2
In the bank and # 2 bank display areas, at the same time as the first raster data read transfer of the # 1 bank,
The second refresh is performed. CP for a certain period after that
After the U accessible period, the second refresh of the # 2 bank is performed simultaneously with the data read transfer of the second raster of the # 1 bank. After that, the CPU accessible period starts again. The same operation is repeated thereafter and the fifth bank of the # 1 bank is
The data read transfer of 12 rasters and the 512th refresh of the # 2 bank are performed. The time from the first refresh to the completion of the 512th refresh is 8 msec or less. Then, this time, the first refresh of the # 1 bank 1 is performed at the same time as the first raster data read transfer of the # 2 bank, and then the CPU accessible period starts. By repeating this operation, the 512th refresh of the # 1 bank is performed at the same time as the 512th raster data read transfer of the # 2 bank.

【0024】この後、非表示部分(29ラスタ区間)で
は、データ読出転送は行われないので、リフレッシュも
行われない。なお、CRT表示器の水平走査が開始され
るタイミングよりも早目に該当走査線のデータ読出転送
を行った方が好ましい場合には、次の#1バンクの第1
ラスタのデータ読出転送のみを1回だけ非表示部分で行
うようにしてもよい。この後、再び#1バンクの第1ラ
スタのデータ読出転送と同時に、#2バンクの1回目の
リフレッシュが行われる。以後、同様に繰り返す。
After that, in the non-display portion (29 raster sections), the data read transfer is not performed, so the refresh is not performed. When it is preferable to perform the data read transfer of the corresponding scan line earlier than the timing when the horizontal scanning of the CRT display is started, the first bank of the next # 1 bank is selected.
Only the raster data read transfer may be performed once in the non-display portion. Thereafter, the first refresh of the # 2 bank is performed at the same time as the first raster data read transfer of the # 1 bank. After that, it repeats similarly.

【0025】このようにして本発明においては、フレー
ムバッファメモリを構成するデュアルポートDRAMを
複数のバンクに分割し、その1つのバンクに対してデー
タ読出転送サイクルを行っている時間に、その他のバン
クに対しては並列的にリフレッシュサイクルを行ってい
るので、従来のようにリフレッシュサイクルのみに要し
た時間は無くなった。そして各ラスタ毎のデータ読出転
送サイクルとリフレッシュサイクルの期間が終了する
と、必ず毎回CPUのアクセス可能期間がある。従って
CPUからのリード又はライト要求が長時間待たされる
ことが無くなり、CPUの稼動効率が向上する。
As described above, according to the present invention, the dual port DRAM which constitutes the frame buffer memory is divided into a plurality of banks, and the other banks are set at the time when the data read / transfer cycle is being performed for the one bank. However, since the refresh cycle is performed in parallel, the time required only for the refresh cycle as in the past has been eliminated. When the period of the data read transfer cycle and the refresh cycle for each raster ends, there is always a CPU accessible period. Therefore, the read or write request from the CPU is not kept waiting for a long time, and the operating efficiency of the CPU is improved.

【0026】なお前記実施例においては、複数のバンク
のうちの1つのバンクのデュアルポートDRAMに対す
るデータ読出転送によって、表示器の1ラスタ分のデー
タをシリアルシフトレジスタに読出転送する場合の例を
説明したが、本発明はこれに限定されるものではなく、
1ラスタ分以上、例えば2ラスタ分のデータの読出転送
をしてもよい。本発明においては、前記1つのバンクの
データ読出転送サイクルとその他のバンクのリフレッシ
ュサイクルの繰返回数は、デュアルポートDRAMに規
定されたリフレッシュの必要回数(実施例では512
回)と等しく、また前記各サイクルの繰返回数を完了す
るのに要する時間は、デュアルポートDRAMに規定さ
れたリフレッシュ周期(実施例では8ms)と等しいか
又はそれ以下となるように設定されていればよい。
In the above embodiment, an example in which data for one raster of the display is read and transferred to the serial shift register by data read and transfer to the dual port DRAM of one bank of the plurality of banks will be described. However, the present invention is not limited to this,
Data for one raster or more, for example, data for two rasters may be read and transferred. In the present invention, the number of repetitions of the data read / transfer cycle of the one bank and the refresh cycle of the other banks is the required number of refreshes defined in the dual port DRAM (512 in the embodiment).
And the time required to complete the number of repetitions of each cycle is set to be equal to or shorter than the refresh cycle (8 ms in the embodiment) specified for the dual port DRAM. Just do it.

【0027】[0027]

【発明の効果】以上のように本発明によれば、表示用画
像データを格納するフレームバッファメモリを構成する
所定数のデュアルポートDRAMを複数のバンクに分割
し、該分割した1つのバンクのデュアルポートDRAM
に対するデータ読出転送サイクルと、その他のバンクの
デュアルポートDRAMに対するリフレッシュサイクル
とを同時に行うようにしたので、従来のようにリフレッ
シュサイクルのみに要した時間は不要となり、CPUか
らのリード又はライト要求が長時間待たされることがな
くなり、CPUの稼動効率が大幅に向上した。
As described above, according to the present invention, a predetermined number of dual port DRAMs forming a frame buffer memory for storing display image data are divided into a plurality of banks, and the divided one bank is dual. Port DRAM
Since the data read / transfer cycle for the memory and the refresh cycle for the dual-port DRAMs of the other banks are performed at the same time, the time required only for the refresh cycle as in the conventional case is unnecessary, and the read or write request from the CPU is long. There is no need to wait for time, and the operating efficiency of the CPU is greatly improved.

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

【図1】本発明に係るCRT表示データ制御部の構成例
を示す図である。
FIG. 1 is a diagram showing a configuration example of a CRT display data control unit according to the present invention.

【図2】図1の2つのバンクによるCRT画面の表示例
を説明する図である。
FIG. 2 is a diagram illustrating a display example of a CRT screen by the two banks in FIG.

【図3】本発明に係るフレームメモリ制御部のステート
マシンの遷移図である。
FIG. 3 is a transition diagram of a state machine of a frame memory control unit according to the present invention.

【図4】本発明に係るフレームメモリバッファに対する
各制御信号のタイムチャートである。
FIG. 4 is a time chart of each control signal for the frame memory buffer according to the present invention.

【図5】従来の画像表示用データ読出装置の構成図であ
る。
FIG. 5 is a configuration diagram of a conventional image display data reading device.

【図6】一般的なデュアルポートDRAMの構成例を示
す図である。
FIG. 6 is a diagram showing a configuration example of a general dual port DRAM.

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

1 CPU 2 メモリ 3 CRT表示データ制御部 4 CRT表示器 5 接続バス 31 フレームメモリ制御部 32 フレームバッファメモリ 33 D/A変換器 1 CPU 2 memory 3 CRT display data control unit 4 CRT display unit 5 connection bus 31 frame memory control unit 32 frame buffer memory 33 D / A converter

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 表示用画像データを格納するフレームバ
ッファメモリを構成する所定数のデュアルポートDRA
Mを複数のバンクに分割し、該分割した1つのバンクの
デュアルポートDRAMに対するデータ読出転送サイク
ルと、その他のバンクのデュアルポートDRAMに対す
るリフレッシュサイクルとを同時に行うことを特徴とす
るデュアルポートDRAMのデータ読出転送とリフレッ
シュの方法。
1. A predetermined number of dual-port DRAs forming a frame buffer memory for storing display image data.
Data of a dual port DRAM, characterized in that M is divided into a plurality of banks, and a data read / transfer cycle for the dual port DRAM of one divided bank and a refresh cycle for the dual port DRAMs of other banks are simultaneously performed. Read transfer and refresh method.
【請求項2】 前記データ読出転送サイクルとリフレッ
シュサイクルが共に終了してから、次のデータ読出転送
サイクルとリフレッシュサイクルが開始されるまでの期
間を、CPUが任意のデュアルポートDRAMの任意の
メモリセルにアクセスしてデータの書込み又は読出しが
可能な期間とする請求項1記載のデュアルポートDRA
Mのデータ読出転送とリフレッシュの方法。
2. The CPU sets an arbitrary memory cell of a dual port DRAM for a period from the end of both the data read transfer cycle and the refresh cycle to the start of the next data read transfer cycle and the refresh cycle. 2. The dual-port DRA according to claim 1, wherein a period during which data can be written or read by accessing the dual port DRA is set.
M data read transfer and refresh method.
【請求項3】 前記1つのバンクのデュアルポートDR
AMに対するデータ読出転送サイクルにおいて、表示用
画像データの少くとも1ラスタ分の画像データを該当デ
ュアルポートDRAM内のシリアルシフトレジスタに読
出転送する請求項1または請求項2記載のデュアルポー
トDRAMのデータ読出転送とリフレッシュの方法。
3. The dual bank DR of the one bank
The data read of the dual port DRAM according to claim 1 or 2, wherein at least one raster of image data of display image data is read and transferred to a serial shift register in the corresponding dual port DRAM in a data read / transfer cycle for AM. Transfer and refresh method.
【請求項4】 前記データ読出転送サイクルとリフレッ
シュサイクルの繰返回数は、デュアルポートDRAMに
規定されたリフレッシュの必要回数と等しく、また前記
各サイクルの繰返回数を完了するのに要する時間は、デ
ュアルポートDRAMに規定されたリフレッシュ周期と
等しいか又はそれ以下となるように設定された請求項1
ないし請求項3のいずれかに記載されたデュアルポート
DRAMのデータ読出転送とリフレッシュの方法。
4. The number of repetitions of the data read transfer cycle and the refresh cycle is equal to the required number of refreshes specified in the dual port DRAM, and the time required to complete the number of repetitions of each cycle is 2. The refresh cycle is set to be equal to or shorter than the refresh cycle specified for the dual port DRAM.
A method of data read transfer and refresh of a dual port DRAM according to claim 3.
JP6251994A 1994-10-18 1994-10-18 Data readout, transferring and refreshing method for dual port drams Pending JPH08115594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6251994A JPH08115594A (en) 1994-10-18 1994-10-18 Data readout, transferring and refreshing method for dual port drams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6251994A JPH08115594A (en) 1994-10-18 1994-10-18 Data readout, transferring and refreshing method for dual port drams

Publications (1)

Publication Number Publication Date
JPH08115594A true JPH08115594A (en) 1996-05-07

Family

ID=17231072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6251994A Pending JPH08115594A (en) 1994-10-18 1994-10-18 Data readout, transferring and refreshing method for dual port drams

Country Status (1)

Country Link
JP (1) JPH08115594A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027781A1 (en) * 2002-09-19 2004-04-01 Infineon Technologies Ag Refreshing of multi-port memory in integrated circuits
KR100466689B1 (en) * 2000-08-28 2005-01-24 인터내셔널 비지네스 머신즈 코포레이션 Compact dual-port dram architecture system and method for making same
KR100689863B1 (en) * 2005-12-22 2007-03-08 삼성전자주식회사 Semiconductor memory device and method therefore
KR100800384B1 (en) * 2006-06-20 2008-02-01 삼성전자주식회사 Semiconductor memory device and method for self refresh therefore
EP1936630A1 (en) 2006-12-22 2008-06-25 Fujitsu Ltd. Memory device, memory controller and memory system
WO2020059156A1 (en) * 2018-09-18 2020-03-26 Nec Corporation Data processing system, method, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100466689B1 (en) * 2000-08-28 2005-01-24 인터내셔널 비지네스 머신즈 코포레이션 Compact dual-port dram architecture system and method for making same
WO2004027781A1 (en) * 2002-09-19 2004-04-01 Infineon Technologies Ag Refreshing of multi-port memory in integrated circuits
KR100689863B1 (en) * 2005-12-22 2007-03-08 삼성전자주식회사 Semiconductor memory device and method therefore
KR100800384B1 (en) * 2006-06-20 2008-02-01 삼성전자주식회사 Semiconductor memory device and method for self refresh therefore
EP1936630A1 (en) 2006-12-22 2008-06-25 Fujitsu Ltd. Memory device, memory controller and memory system
EP2061036A1 (en) 2006-12-22 2009-05-20 Fujitsu Limited Memory device, memory controller and memory system
US8004921B2 (en) 2006-12-22 2011-08-23 Fujitsu Semiconductor Limited Memory device, memory controller and memory system
US8077537B2 (en) 2006-12-22 2011-12-13 Fujitsu Semiconductor Limited Memory device, memory controller and memory system
WO2020059156A1 (en) * 2018-09-18 2020-03-26 Nec Corporation Data processing system, method, and program

Similar Documents

Publication Publication Date Title
EP0737956B1 (en) Frame memory device for graphics
US6753872B2 (en) Rendering processing apparatus requiring less storage capacity for memory and method therefor
JPH0141994B2 (en)
JP4337081B2 (en) Frame memory access method and circuit
JPH09212417A (en) Processing system, data processing system, display system, and method for interfacing controller with memory
US4737780A (en) Display control circuit for reading display data from a video RAM constituted by a dynamic RAM, thereby refreshing memory cells of the video RAM
JPH08115594A (en) Data readout, transferring and refreshing method for dual port drams
US6734863B1 (en) Display controller for display apparatus
US20070030535A1 (en) Data scan system and data scan method using ddr
JPS5939838B2 (en) Dynamic memory control method
JP2827361B2 (en) Semiconductor memory device
JP3288327B2 (en) Video memory circuit
JP3002951B2 (en) Image data storage controller
JPH0361199B2 (en)
JPH10333659A (en) Memory control method and device therefor
JP2623541B2 (en) Image processing device
JP3688977B2 (en) Memory access method and apparatus for implementing the same
KR100217277B1 (en) A sdram interface of pdp-tv
JPH0631927B2 (en) Display data transfer method and display system
JPS62217491A (en) 2-port dynamic ram controller
KR100217281B1 (en) Pdp-tv using sdram interface equipment
JPH10162131A (en) Image processor
JPH09102192A (en) Refresh control method
JP2003036070A (en) Method and apparatus for transforming image
JPH04352194A (en) Image data processor