JPS63171496A - Dual port memory controller - Google Patents
Dual port memory controllerInfo
- Publication number
- JPS63171496A JPS63171496A JP62002293A JP229387A JPS63171496A JP S63171496 A JPS63171496 A JP S63171496A JP 62002293 A JP62002293 A JP 62002293A JP 229387 A JP229387 A JP 229387A JP S63171496 A JPS63171496 A JP S63171496A
- Authority
- JP
- Japan
- Prior art keywords
- data
- dual port
- port memory
- memory
- display
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデュアルポートメモリをフレームメモリに用い
て表示データをCRTディスプレイ装置に表示するため
のデュアルポートメモリ制御装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dual port memory control device for displaying display data on a CRT display device using a dual port memory as a frame memory.
従来のデュアルポートメモリ制御装置は、デュアルポー
トメモリを用いたCRTディスプレイ装置に対し、ディ
スプレイの水平帰線期間中に、1水平走査線分のデータ
をまとめてデュアルボートメモリ内部のデータレジスタ
に転送し、そのデータを表示期間中に出力させていた。A conventional dual-port memory control device transfers one horizontal scanning line worth of data to a data register inside the dual-port memory during the horizontal retrace period of the display for a CRT display device using dual-port memory. , the data was output during the display period.
従来のデュアルポートメモリ制御装置は以上のような動
作を行なうので、水平表示幅分のデータを一度に内部の
データレジスタに転送し保持できるような構成のデュア
ルポートメモリとしなければならず、デュアルポートメ
モリの構成に制限が生じるという問題があった。Conventional dual-port memory control devices operate as described above, so a dual-port memory must be configured that can transfer and hold data for the horizontal display width at one time to an internal data register. There was a problem in that there was a limit to the memory configuration.
また、水平表示幅分のデータと上記データレジスタに転
送するデータの量が合わない場合が起こるため、デュア
ルポートメモリの所々に表示されない部分ができる。例
えば、第4図に示すように、4個のメモリセルlの任意
の行の内容をメモリセル1の1行分の容量を持つデータ
レジスタ2へ転送する場合、転送する画素データ量(例
えば640画素)3は4個のデータレジスタ2の容量(
例えば1024画素)よりも少ないため、残量4(斜線
部分)が生じる。このため、他の入力装置からメモリセ
ルl中へDMA転送などを行なう場合、メモリをデータ
レジスタの容量と合わせる必要があり、このため残量が
生じ、第5図のメモリマツプに示すように表示データの
メモリ領域が連続しなくなるので、水平表示幅単位で転
送させなければならず、転送時間がかかるという問題が
あった。Further, since the amount of data for the horizontal display width and the amount of data transferred to the data register may not match, some portions of the dual port memory are not displayed. For example, as shown in FIG. 4, when transferring the contents of any row of four memory cells 1 to data register 2, which has the capacity of one row of memory cell 1, the amount of pixel data to be transferred (for example, 640 pixel) 3 is the capacity of the four data registers 2 (
For example, since the remaining amount is less than 1024 pixels (for example, 1024 pixels), there is a remaining amount of 4 (shaded area). For this reason, when performing DMA transfer from another input device into a memory cell, etc., it is necessary to match the capacity of the memory with the capacity of the data register, resulting in a remaining amount of memory, and the display data as shown in the memory map in Figure 5. Since the memory areas of the data are no longer continuous, the data must be transferred in units of horizontal display width, which poses a problem in that it takes a long time to transfer.
第5図において、5a、6a、7aは1ライン目、2ラ
イン目、3ライン目の表示データ、5b。In FIG. 5, 5a, 6a, and 7a are display data for the first line, second line, and third line, and 5b is display data.
6b、7bは残量である。6b and 7b are the remaining amounts.
さらに、従来のシングルポートメモリから移行しようと
する場合に、表示データのメモリ領域が連続していない
ため、表示メモリマツプの互換性がなくなってしまうと
いう問題があった。Furthermore, when attempting to migrate from a conventional single-port memory, there is a problem in that display memory maps become incompatible because the memory areas for display data are not contiguous.
本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、デュアルポートメモリが構成上
の制限を受けず、転送時間がかからず、またシングルポ
ートメモリとの互換性があるデュアルポートメモリ制御
装置を得ることにある。The present invention has been made in view of these points, and its purpose is to make dual-port memory free from configuration limitations, short on transfer time, and compatible with single-port memory. There is a dual port memory controller to obtain.
複数のメモリセルに直接つながるランダムアクセスポー
トと、メモリセルの任意の行の内容をメモリセルの1行
分の容量を持つデータレジスタへ転送し外部からのクロ
ックに同期させてシリアルにデータを入出力するシリア
ルアクセスポートとの2つのポートを持つデュアルポー
トメモリをフレームメモリに用いて表示データをラスタ
表示方式のディスプレイ装置に表示するためのデュアル
ポートメモリ制御装置において、デュアルポートメモリ
内部のデータ転送タイミングをデュアルポートメモリ内
部に有するカウンタが所定の値に達することで検出する
表示データ残量カウンタと、この表示データ残量カウン
タから出力されるデータ転送タイミング信号をデコード
し前記デュアルポートメモリに対してデータ転送サイク
ルを行なわせるアクセスタイミング回路とを設けるよう
にしたものである。A random access port that connects directly to multiple memory cells and the contents of any row of memory cells are transferred to a data register with the capacity of one row of memory cells, and data is serially input/output in synchronization with an external clock. In a dual-port memory control device for displaying display data on a raster display system display device using a dual-port memory with two ports, including a serial access port and a serial access port, the data transfer timing inside the dual-port memory is controlled. A display data remaining amount counter that is detected when a counter inside the dual port memory reaches a predetermined value, and a data transfer timing signal output from this display data remaining amount counter is decoded and data is transferred to the dual port memory. An access timing circuit for performing cycles is provided.
本発明においては、表示期間中においても表示データの
転送が行なわれる。In the present invention, display data is transferred even during the display period.
まず、デュアルポートメモリ制御装置を構成するデュア
ルポートメモリの概要について説明する。First, an overview of the dual port memory that constitutes the dual port memory control device will be explained.
デュアルポートメモリは画像用のメモリで、通常のラン
ダムアクセスポートの他にシリアルにデータを入出力で
きるシリアルアクセスポートを持つメモリである。ラン
ダムアクセスポートには通常のメモリセルがつながり、
シリアルアクセスポートにはメモリセルの1行分の容量
を持つデータレジスタがつながる。メモリセル中の任意
の行をデータレジスタに転送し、シリアルアクセスポー
トに出力することができる。上記2つのポートは、デー
タレジスタ・メモリセル間の転送制御を除いては非同期
に動作することができる。このため、従来のシングルポ
ートメモリに比べ、デュアルポートメモリを用いたとき
は、表示期間中でもランダムアクセスポートからCPU
をアクセスできるので、描画効率は約2倍に向上する。Dual port memory is a memory for images that has a serial access port that can serially input and output data in addition to a normal random access port. A normal memory cell is connected to the random access port,
A data register with a capacity for one row of memory cells is connected to the serial access port. Any row in the memory cells can be transferred to the data register and output to the serial access port. The above two ports can operate asynchronously except for transfer control between the data register and memory cell. For this reason, compared to conventional single-port memory, when dual-port memory is used, the CPU can be accessed from the random access port even during the display period.
can be accessed, rendering efficiency is approximately doubled.
第2図は上記デュアルポートメモリの動作タイミング図
である。ランダムアクセスポートは“RA百(第2図(
a))とCAS (第2図(ト)))とAO−A7 (
第2図(C))とにより制御される。シリアルアクセス
ポートはyδ下(第2図(d))とSC(第2図(e)
)により制御され、SCの立上り時にSol〜SO4(
第2図(r))にデータが出力される。SCは内部のデ
ータレジスタのビットセレクト用カウンタのクロックと
して用いられている。また、DT/σ百(第2図(gl
)は、内部のメモリセルからデータレジスタへの転送制
御用の信号である。FIG. 2 is an operation timing chart of the dual port memory. The random access port is “RA 100” (Figure 2 (
a)), CAS (Fig. 2 (g))) and AO-A7 (
FIG. 2(C)). The serial access ports are located under yδ (Figure 2(d)) and SC (Figure 2(e)).
), and Sol~SO4(
The data is output in FIG. 2(r)). SC is used as a clock for a bit select counter of an internal data register. Also, DT/σ100 (Fig. 2 (gl
) is a signal for controlling transfer from an internal memory cell to a data register.
この信号がRASの立上り時にロウレベルとなっていれ
ば、このメモリサイクルはデータ転送サイクルとみなさ
れる。If this signal is at a low level at the rise of RAS, this memory cycle is regarded as a data transfer cycle.
本発明に係わるデュアルポートメモリ制御装置の一実施
例を第1図に示す。第1図において、11はディスプレ
イ同期信号C9表示アドレスデータa、bを発生するC
RTコントローラ、12はデュアルポートメモリ、13
はデュアルポートメモリ12のアクセスをコントロール
するアクセスタイミング回路、14は表示データ残量カ
ウンタ、15はロウ(行)アドレスデータaとカラム(
列)アドレスデータbの切換え用のマルチプレクサ、1
6はロウアドレスバス、17はカラムアドレスバスであ
る。また、dはメモリアクセスタイミング信号、eはロ
ウ/カラムアドレス切換え信号、fはデータ転送タイミ
ング信号、gは表示データ残量カウンタ14へのデータ
ロード信号、hは表示データ残量カウンタ14のコント
ロール信号である。An embodiment of a dual port memory control device according to the present invention is shown in FIG. In FIG. 1, reference numeral 11 indicates a display synchronization signal C9 and a C which generates display address data a and b.
RT controller, 12 is dual port memory, 13
14 is an access timing circuit that controls access to the dual port memory 12, 14 is a display data remaining amount counter, and 15 is a row address data a and a column (
column) multiplexer for switching address data b, 1
6 is a row address bus, and 17 is a column address bus. Further, d is a memory access timing signal, e is a row/column address switching signal, f is a data transfer timing signal, g is a data load signal to the display data remaining amount counter 14, and h is a control signal for the display data remaining amount counter 14. It is.
本装置は、デュアルポートメモリ12の制御回路として
表示データ残量カウンタ14を用いてデュアルポートメ
モリ12内部のデータレジスタの表示データ残量のチェ
ックを行ない、表示期間中でもデータ転送のタイミング
を発生できるようにしたものである。This device uses a display data remaining amount counter 14 as a control circuit for the dual port memory 12 to check the amount of display data remaining in the data register inside the dual port memory 12, so that timing for data transfer can be generated even during the display period. This is what I did.
本装置における表示データ残量カウンタ14は、デュア
ルポートメモリ12のカラムアドレスデータ5分のビッ
ト幅を持ち、データ転送サイクルが発生したら、カラム
アドレスデータbを内部にラッチする。カウントアツプ
用のクロックはデュアルポートメモリ12のシリアルア
クセスポート出力用のシリアルクロックSC(第2図(
e))を使い、イネーブル信号は同じくデュアルポート
メモリ12のシリアルイネーブル信号SOE (第2図
(d))を使う。このため、この表示データ残量カウン
タ14は、デュアルポートメモリ12内部のデータレジ
スタのビットセレクト用カウンタと同じ内容となる。そ
してカウンタのすべてのビットが立った時にデータ転送
のタイミングが発生する。The display data remaining amount counter 14 in this device has a bit width equivalent to five column address data of the dual port memory 12, and latches the column address data b internally when a data transfer cycle occurs. The count-up clock is the serial clock SC for the serial access port output of the dual port memory 12 (see Figure 2).
e)), and the serial enable signal SOE (FIG. 2(d)) of the dual port memory 12 is also used as the enable signal. Therefore, the display data remaining amount counter 14 has the same contents as the bit selection counter of the data register inside the dual port memory 12. Data transfer timing occurs when all bits of the counter rise.
第1図において、アクセスタイミング信号dはRAS、
正AS、丁〒/■百、SOE、SCの各信号から成り、
コントロール信号りはSOE、 SCの各信号から成
る。マルチプレクサ15のQ出力はアドレスデータAO
〜A7である。In FIG. 1, the access timing signal d is RAS,
Consists of positive AS, digit/■100, SOE, and SC signals,
The control signal consists of SOE and SC signals. Q output of multiplexer 15 is address data AO
~A7.
次に本装置の動作について説明する。CRTコントロー
ラllは、内部のモードレジスタの内容に従い、表示ア
ドレスデータa、b、ディスプレイ同期信号Cを出力す
る。ディスプレイ同期信号Cはアドレスタイミング回路
13に入力され、表示データ残量カウンタ14により発
生されるデータ転送タイミング信号fをデコードし、メ
モリアクセスタイミング信号dを発生する。これをデュ
アルポートメモリ12に入力すれば、データ転送サイク
ルが行なわれる。また表示アドレスデータa、bはロウ
アドレスデータaとカラムアドレスデータbとに分けて
マルチプレクサ15に入力され、マルチプレクサ15で
は、アクセスタイミング回路13からのロウ/カラム切
換え信号eにより、ロウアドレスデータaとカラムアド
レスデータbをデュアルポートメモリ12に送る。Next, the operation of this device will be explained. CRT controller 11 outputs display address data a, b and display synchronization signal C according to the contents of an internal mode register. The display synchronization signal C is input to the address timing circuit 13, which decodes the data transfer timing signal f generated by the display data remaining amount counter 14 and generates the memory access timing signal d. When this is input to the dual port memory 12, a data transfer cycle is performed. The display address data a and b are divided into row address data a and column address data b and input to the multiplexer 15. In the multiplexer 15, the row address data a and the column address data b are Send column address data b to dual port memory 12.
表示データ残量カウンタ14は、デュアルポートメモリ
12のシリアルイネーブル信号「δ百。The display data remaining amount counter 14 receives the serial enable signal “δ100” of the dual port memory 12.
シリアルクロック信号SCを用いてイネーブルとクロッ
クをコントロールする。またデータロード信号gはデー
タ転送サイクル時にアクティブとなり、その時のロード
データはデータ転送に用いるカラムアドレスデータbで
ある。このため、表示データ残量カウンタ14は、デュ
アルポートメモリ12内部のデータレジスタのビットセ
レクト用のカウンタと同じ値を取り、データ転送のタイ
ミングが分かる。A serial clock signal SC is used to control enable and clock. Further, the data load signal g becomes active during a data transfer cycle, and the load data at that time is column address data b used for data transfer. Therefore, the display data remaining amount counter 14 takes the same value as the bit selection counter of the data register inside the dual port memory 12, and the timing of data transfer can be determined.
このように、本装置においては、表示データ残量カウン
タ14が、デュアルポートメモリ12内部のデータレジ
スタのビットセレクト用のカウンタと同じ値をとること
により、データ転送のタイミングを検出することができ
るので、CRTディスプレイ装置の表示期間中でも表示
データをディスプレイ装置へ転送することができる。こ
れにより、データレジスタには残量が生じることもなく
、またデュアルポートメモリ12内のメモリセルもデー
タレジスタに合わせる必要もないので、第3図に示すよ
うに残量のないメモリマツプとなり、DMA転送時間も
短縮される。第3図において、5.6.7はlライン目
、2ライン目、3ライン目の表示データである。In this way, in this device, the display data remaining amount counter 14 takes the same value as the bit select counter of the data register inside the dual port memory 12, so that the timing of data transfer can be detected. , display data can be transferred to the display device even during the display period of the CRT display device. As a result, there is no remaining capacity in the data register, and there is no need to match the memory cells in the dual port memory 12 to the data register, resulting in a memory map with no remaining capacity as shown in FIG. Time is also reduced. In FIG. 3, 5.6.7 is the display data of the 1st line, the 2nd line, and the 3rd line.
なお、上記実施例では、制御対象としてディスプレイ装
置を示したが、デュアルポートメモリを用いた他の装置
にも適用でき、また上記とは逆にデュアルポートメモリ
にイメージセンサ等から入力を行なう場合にも適用でき
る。In the above embodiment, a display device is shown as a control target, but it can also be applied to other devices using dual port memory, and contrary to the above, when inputting to dual port memory from an image sensor etc. can also be applied.
以上説明したように本発明は、データ転送タイミングを
検出することにより、ディスプレイ装置の表示期間中で
も表示データを転送することができ、データレジスタに
合わせるために表示データのメモリ領域を不連続にする
必要がなくなるので、構成上の制限を受けることもなく
、またシングルアクセスポートメモリとの互換性を得る
ことができ、さらにDMAによる転送の場合でも高速に
転送できる効果がある。As explained above, the present invention enables display data to be transferred even during the display period of the display device by detecting the data transfer timing, and it is not necessary to make the display data memory area discontinuous in order to match the data register. Since there are no configuration limitations, compatibility with single access port memory can be obtained, and even in the case of DMA transfer, there is an effect that the transfer can be performed at high speed.
第1図は本発明に係わるデュアルポートメモリ制御装置
の一実施例を示す系統図、第2図はデュアルポートメモ
リ内部の信号を示すタイミング図、第3図は本装置によ
る制御におけるデュアルポートメモリのメモリマツプを
示すデータ状態図、第4図は従来のデュアルポートメモ
リ制御装置におけるデュアルポートメモリのデータ状態
を示す説明図、第5図は従来のデュアルポートメモリ制
御装置による制御におけるデュアルポートメモリのメモ
リマツプを示すデータ状態図である。
11・・・CRTコントローラ、12・・・デュアルポ
ートメモリ、13・・・アクセスタイミング回路、14
・・・表示データ残量カウンタ、15・・・マルチプレ
クサ、16・・・ロウアドレスバス、17・・・カラム
アドレスバス。Fig. 1 is a system diagram showing an embodiment of the dual port memory control device according to the present invention, Fig. 2 is a timing diagram showing internal signals of the dual port memory, and Fig. 3 is a system diagram showing an embodiment of the dual port memory control device according to the present invention. A data state diagram showing a memory map. FIG. 4 is an explanatory diagram showing the data state of a dual port memory in a conventional dual port memory control device. FIG. 5 is a memory map of a dual port memory under control by a conventional dual port memory control device. It is a data state diagram shown. 11... CRT controller, 12... Dual port memory, 13... Access timing circuit, 14
. . . Display data remaining amount counter, 15 . . . Multiplexer, 16 . . . Row address bus, 17 . . . Column address bus.
Claims (2)
スポートと、前記メモリセルの任意の行の内容を前記メ
モリセルの1行分の容量を持つデータレジスタへ転送し
外部からのクロックに同期させてシリアルにデータを入
出力するシリアルアクセスポートとの2つのポートを持
つデュアルポートメモリをフレームメモリに用いて表示
データをラスタ表示方式のディスプレイ装置に表示する
ためのデュアルポートメモリ制御装置において、前記デ
ュアルポートメモリ内部のデータ転送タイミングをデュ
アルポートメモリ内部に有するカウンタが所定の値に達
することで検出する表示データ残量カウンタと、この表
示データ残量カウンタから出力されるデータ転送タイミ
ング信号をデコードし前記デュアルポートメモリに対し
てデータ転送サイクルを行なわせるアクセスタイミング
回路とを備えたことを特徴とするデュアルポートメモリ
制御装置。(1) A random access port that directly connects to multiple memory cells, and the contents of any row of the memory cells are transferred to a data register with the capacity of one row of the memory cells, synchronized with an external clock, and serialized. In a dual port memory control device for displaying display data on a raster display system display device using a dual port memory having two ports, a serial access port and a serial access port for inputting and outputting data, as a frame memory, the dual port memory A display data remaining amount counter detects the internal data transfer timing when a counter inside the dual port memory reaches a predetermined value, and a data transfer timing signal output from this display data remaining amount counter is decoded and the dual port A dual-port memory control device comprising: an access timing circuit that causes a memory to perform a data transfer cycle.
リのカラムアドレスデータ幅と同じビット数を持ち、転
送サイクルが発生すると、カラムアドレスバス上のカラ
ムアドレスデータをラッチし、このカラムアドレスデー
タを次のデータ転送のタイミング検出に用いることを特
徴とする特許請求の範囲第1項記載のデュアルポートメ
モリ制御装置。(2) The display data remaining amount counter has the same number of bits as the column address data width of the dual port memory, and when a transfer cycle occurs, it latches the column address data on the column address bus and transfers this column address data to the next column address data. The dual port memory control device according to claim 1, wherein the dual port memory control device is used for detecting timing of data transfer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62002293A JPS63171496A (en) | 1987-01-07 | 1987-01-07 | Dual port memory controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62002293A JPS63171496A (en) | 1987-01-07 | 1987-01-07 | Dual port memory controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63171496A true JPS63171496A (en) | 1988-07-15 |
Family
ID=11525322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62002293A Pending JPS63171496A (en) | 1987-01-07 | 1987-01-07 | Dual port memory controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63171496A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6072020A (en) * | 1983-09-29 | 1985-04-24 | Nec Corp | Dual port memory circuit |
-
1987
- 1987-01-07 JP JP62002293A patent/JPS63171496A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6072020A (en) * | 1983-09-29 | 1985-04-24 | Nec Corp | Dual port memory circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4644502A (en) | Semiconductor memory device typically used as a video ram | |
JPH01201785A (en) | Graphic system | |
EP0369993A2 (en) | Video display system | |
US20140085321A1 (en) | Display driver integrated circuit, a display system having the same, and a display data processing method thereof | |
JPH035990A (en) | Method of bringing dual-port-memory and semiconductor memory to state of series access | |
GB2202978A (en) | Video apparatus employing vrams | |
JPH11103407A (en) | Ccd data pixel interpolating circuit and digital still camera provided with the same | |
WO1981003234A1 (en) | Apparatus for the display and storage of television picture information by using a memory accessible from a computer | |
JPH07287978A (en) | Dynamic random access memory, method and system for accessing dynamic random access memory | |
US5201037A (en) | Multi-port memory as a frame buffer | |
JPH0695271B2 (en) | Improved semiconductor memory device for sequential scan applications | |
EP0148578A2 (en) | Programmable video display generator | |
JPS63171496A (en) | Dual port memory controller | |
KR100472478B1 (en) | Method and apparatus for controlling memory access | |
JPS60217387A (en) | Crt display unit | |
US7366823B2 (en) | Method and system for memory access | |
JPH07122905B2 (en) | Polygon fill control device | |
KR100240866B1 (en) | Graphics controller of supporting high resolution | |
JPS63292494A (en) | semiconductor memory | |
JPH01118885A (en) | Video interface conversion system | |
JPH06102840A (en) | Picture display control device | |
KR100206265B1 (en) | Address decoding method for crt display interface | |
JPS62252590A (en) | Memory device | |
JPH039392A (en) | Led display device | |
JPS62272321A (en) | Display system |