JPH04328386A - Clearing method for graphic memory - Google Patents

Clearing method for graphic memory

Info

Publication number
JPH04328386A
JPH04328386A JP3124473A JP12447391A JPH04328386A JP H04328386 A JPH04328386 A JP H04328386A JP 3124473 A JP3124473 A JP 3124473A JP 12447391 A JP12447391 A JP 12447391A JP H04328386 A JPH04328386 A JP H04328386A
Authority
JP
Japan
Prior art keywords
access memory
clear
circuit
data
port
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
JP3124473A
Other languages
Japanese (ja)
Inventor
Kenji Urata
健司 浦田
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP3124473A priority Critical patent/JPH04328386A/en
Publication of JPH04328386A publication Critical patent/JPH04328386A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To clear the contents of a graphic memory in a short time. CONSTITUTION:A clearing data of by one row is inputted to a SAM port 11 by a clearing circuit (buffer) 7. Thereafter, a write transferring cycle is executed by a clear mode controller 8, by writing the clearing data to a RAM port 12, the data of the RAM port 12 is possible to clear by a row unit and the time required to clear is shortened.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、シリアルアクセスメ
モリ(以下、SAMポートともいう)とランダムアクセ
スメモリ(以下、RAMポートともいう)とを組み合わ
せた、いわゆるマルチポートのグラフィックメモリ(マ
ルチポートメモリともいう)のクリア方法に関する。
[Industrial Application Field] This invention is a so-called multi-port graphic memory (also called multi-port memory) that combines serial access memory (hereinafter also called SAM port) and random access memory (hereinafter also called RAM port). Regarding the clearing method of

【0002】0002

【従来の技術】図6にマルチポートメモリを用いたグラ
フィックシステムの概要を示す。同図において、1はS
AMポート11およびRAMポート12からなるマルチ
ポートメモリ、2は同期信号合成回路、3はタイミング
信号発生回路、4はモニタテレビ、5は処理装置(CP
U)、6はSAMポート11の入出力部である。マルチ
ポートメモリ1はロー(行)アドレスストローブRAS
、カラム(列)アドレスストローブCAS、ライトパー
ビット/ライトイネーブルWB/WE、データ転送/出
力イネーブルDT/OE等の各信号の状態によって、そ
の動作モードが決定される。なお、これらの信号はその
立ち下がりで意味を持つ信号とする。また、ADDRE
SSはアドレス信号線、WiOはデータ線を示す。
2. Description of the Related Art FIG. 6 shows an outline of a graphic system using a multi-port memory. In the same figure, 1 is S
A multiport memory consisting of an AM port 11 and a RAM port 12, 2 a synchronization signal synthesis circuit, 3 a timing signal generation circuit, 4 a monitor TV, and 5 a processing unit (CP
U), 6 is an input/output section of the SAM port 11. Multiport memory 1 has a row address strobe RAS
, column address strobe CAS, write per bit/write enable WB/WE, data transfer/output enable DT/OE, etc., determines its operation mode. Note that these signals have a meaning at the falling edge. Also, ADDRE
SS indicates an address signal line, and WiO indicates a data line.

【0003】CPU5からマルチポートメモリ1のRA
Mポート12へのデータライト動作を、図7に示す。ま
ず、時刻t1において、タイミング信号発生回路3は同
図(イ)の如くCPU5からの指示によりRAS信号を
発生すると同時に、ライトすべきRAMポート12のロ
ーアドレスを同図(ハ)の如く発生する。また、次の時
刻t2では同図(ロ)の如きCAS信号を発生するとと
もに、ライトしたいRAMポート12のカラムアドレス
とデータを同図(ハ),(ニ)の如く発生する。これに
より、RAMポート12の1ドット分(1画素分)のデ
ータが書き換えられることになる。
[0003] RA from CPU 5 to multiport memory 1
A data write operation to the M port 12 is shown in FIG. First, at time t1, the timing signal generation circuit 3 generates the RAS signal according to the instruction from the CPU 5 as shown in FIG. . Further, at the next time t2, a CAS signal as shown in FIG. 12B is generated, and the column address and data of the RAM port 12 to be written are generated as shown in FIGS. As a result, one dot (one pixel) of data in the RAM port 12 is rewritten.

【0004】図8にSAMポートの動作を示す。時刻t
1において、RAMポート12の或る1行のデータをS
AMポート11へ転送し(リード転送サイクル(ハ))
、次いで同図(ロ)に示すシリアルクロックSCをSA
Mポート11へ入力することにより、SAMポート11
から1画素ずつのシリアルデータSiOが同期信号合成
回路2へと出力されるので、同期信号合成回路2ではこ
のデータSiOとタイミング信号発生回路3からの、同
図(イ)に示す如き同期信号CSYNCとを合成し、ビ
デオ信号としてモニタテレビ4へと出力する。 なお、RAMポート12とSAMポート11間のデータ
転送サイクル時以外は、RAMポート12とSAMポー
ト11とは互いに独立して非同期な動作が可能である。
FIG. 8 shows the operation of the SAM port. Time t
1, one row of data in RAM port 12 is
Transfer to AM port 11 (read transfer cycle (c))
Then, the serial clock SC shown in the same figure (b) is set to SA.
By inputting to M port 11, SAM port 11
Since the serial data SiO for each pixel is output to the synchronization signal synthesis circuit 2, the synchronization signal synthesis circuit 2 combines this data SiO and the synchronization signal CSYNC from the timing signal generation circuit 3 as shown in FIG. and is output to the monitor television 4 as a video signal. Note that, except during the data transfer cycle between the RAM port 12 and the SAM port 11, the RAM port 12 and the SAM port 11 can operate independently and asynchronously.

【0005】[0005]

【発明が解決しようとする課題】ところで、このような
グラフィックシステムにおいて、グラフィック画面全体
または或る矩形領域のみをクリアしようとするときは、
図6に示すCPU5からRAMポート12へのデータラ
イト動作を、クリアしたい画素数回分行なわなければな
らず、例えば画素数が512(行)×512(列)≒2
5万画素の画面全体をクリアしたいときは、約25万回
だけ、RAMポート12へのデータライト動作を繰り返
さなければ、グラフィック画面全体をクリアすることが
できず、その結果、クリアするのに時間が掛かるという
問題がある。したがって、この発明の課題は短時間にグ
ラフィック画面をクリア可能にすることにある。
[Problem to be Solved by the Invention] By the way, in such a graphic system, when trying to clear the entire graphic screen or only a certain rectangular area,
The data write operation from the CPU 5 to the RAM port 12 shown in FIG. 6 must be performed for the number of pixels to be cleared. For example, if the number of pixels is 512 (rows) x 512 (columns) ≒ 2
When you want to clear the entire 50,000-pixel screen, you have to repeat the data write operation to RAM port 12 about 250,000 times to clear the entire graphic screen, and as a result, it takes a long time to clear it. There is a problem that it takes. Therefore, an object of the present invention is to make it possible to clear a graphic screen in a short time.

【0006】[0006]

【課題を解決するための手段】このような課題を解決す
るため、この発明では、シリアルアクセスメモリとラン
ダムアクセスメモリとを組み合わせたマルチポートメモ
リの、前記シリアルアクセスメモリの入出力部にクリア
回路を設けるとともに、前記シリアルアクセスメモリと
ランダムアクセスメモリとの間のデータ転送を制御する
ためのコントロール回路を設け、前記クリア回路により
シリアルアクセスメモリの1行分の内容をオール0にし
たのち、前記コントロール回路の制御のもとにシリアル
アクセスメモリからオール0のデータをランダムアクセ
スメモリに転送することにより、その内容を行単位でク
リア可能にしたことを特徴としている。また、上記に加
えて領域設定回路を設けることにより、画面の特定領域
のみをクリアすることも可能である。
[Means for Solving the Problems] In order to solve these problems, the present invention provides a multi-port memory that combines a serial access memory and a random access memory, by providing a clear circuit in the input/output section of the serial access memory. In addition, a control circuit is provided for controlling data transfer between the serial access memory and the random access memory, and after the contents of one row of the serial access memory are set to all 0s by the clear circuit, the control circuit It is characterized in that by transferring all 0 data from the serial access memory to the random access memory under the control of the serial access memory, the contents can be cleared line by line. Further, by providing an area setting circuit in addition to the above, it is also possible to clear only a specific area of the screen.

【0007】[0007]

【作用】クリア回路によりSAMポートに1行分のクリ
アデータを入力し、その後コントロール回路によりライ
ト転送サイクルを実行して、SAMポートからRAMポ
ートへ1行分のクリアデータをライトすることにより、
RAMポートのデータを行単位でクリアできるようにし
、クリアのための時間を短縮する。また、領域設定回路
を設けることにより、RAMポートの特定領域のみのデ
ータをクリアすることができる。
[Operation] The clear circuit inputs one line of clear data to the SAM port, and then the control circuit executes a write transfer cycle to write one line of clear data from the SAM port to the RAM port.
To shorten the time for clearing by making it possible to clear data in a RAM port line by line. Further, by providing an area setting circuit, it is possible to clear data only in a specific area of the RAM port.

【0008】[0008]

【実施例】図1はこの発明の実施例を示すブロック図で
ある。同図に示すように、図6に示すものに対し、バッ
ファ(クリア回路)7およびクリアモードコントロール
回路8を付加した点が特徴である。以下、図2を参照し
てその動作を説明する。ここでは、例えば図3の如きグ
ラフィック画面20の全体(ロー数b,カラム数a)を
クリアする場合について、説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention. As shown in the figure, the circuit shown in FIG. 6 is characterized in that a buffer (clear circuit) 7 and a clear mode control circuit 8 are added. The operation will be explained below with reference to FIG. Here, a case will be described in which the entire graphic screen 20 (number of rows b, number of columns a) as shown in FIG. 3 is cleared, for example.

【0009】まず、同図(イ)の如くCPU5から与え
られるクリアモードパルスCLRが時刻t1で“ロー”
レベルになると、バッファ7が開いてSiOデータは“
0”になる。次に、クリアモードコントロール回路8は
同図(ニ)に示す如き時刻t2で擬似ライト転送サイク
ルを実行する。これは、SAMポート11をリード(出
力)モードからライト(入力)モードにするためである
。次いで、時刻t3〜t4間に同図(ロ)の如く、シリ
アルクロックSCを水平方向画素数分(図4の0列〜a
列分)入力し、SAMポート11の内容をクリアする(
オール0にする)。その後、時刻t5〜t6間に0行〜
b行のローアドレスに対してそれぞれ(ハ)の如きライ
ト転送サイクルを実行することにより、グラフィック画
面全体をクリアすることができる。なお、或る行だけを
クリアするときは、それと対応するローアドレスを図7
の場合と同様に、ローアドレスストローブRAS信号と
ともに送出することにより行なうことができる。
First, as shown in the same figure (a), the clear mode pulse CLR given from the CPU 5 becomes "low" at time t1.
When the level is reached, buffer 7 is opened and the SiO data is “
0". Next, the clear mode control circuit 8 executes a pseudo write transfer cycle at time t2 as shown in FIG. Next, between times t3 and t4, as shown in FIG.
column) and clear the contents of SAM port 11 (
Set all to 0). After that, between time t5 and t6, line 0~
By executing a write transfer cycle as shown in (c) for each row address of row b, the entire graphic screen can be cleared. Note that when clearing only a certain row, the corresponding row address is shown in Figure 7.
This can be done by sending it together with the row address strobe RAS signal, as in the case of .

【0010】図4はこの発明の他の実施例を示すブロッ
ク図である。この実施例の特徴は、図1に示すものに対
しクリア領域を設定するためのクリア領域コントロール
回路9を設けた点にある。その他は図1と同様である。 図5にそのタイムチャートを示す。ここでは、図3の領
域21のデータをクリアする場合について説明する。ま
ず、図5(イ)の如くCPU5から与えられるクリアモ
ードパルスCLRが時刻t1で“ロー”レベルになると
、バッファ7が開いてSiOデータは“0”になる。 次に、CPU5からのAREA信号により示される、ク
リアしたい領域21を含むローアドレスcを選択して、
リード転送サイクルを時刻t2で同図(ハ)の如く実行
する。この点が特定領域をクリアする場合の特徴で、こ
れはRAMポート12のデータを一旦SAMポート11
へ転送する動作を示している。次いで、時刻t3でカラ
ムアドレスをクリアしたい矩形領域21のスタートアド
レス(d)に設定し、擬似ライト転送サイクルを同図(
ニ)の如く実行する。その後、シリアルクロックSCを
クリアしたい矩形領域9の水平方向画素数分(e−d)
だけ時刻t4〜t5の間に同図(ロ)の如く入力し、カ
ラムアドレスをグラフィック画面の左端(0)に初期化
したのち、ローアドレスをcにして同図(ホ)の如く時
刻t6でライト転送サイクルを実行する。以上でローc
のd〜eカラムのデータがクリアされることになるので
、このような動作をc+1〜f行について繰り返し行な
うことにより、図3に示す特定領域21をクリアするこ
とが可能となる。
FIG. 4 is a block diagram showing another embodiment of the invention. The feature of this embodiment is that a clear area control circuit 9 for setting a clear area is provided in contrast to the one shown in FIG. Others are the same as in FIG. FIG. 5 shows the time chart. Here, a case will be described in which the data in area 21 in FIG. 3 is cleared. First, as shown in FIG. 5(A), when the clear mode pulse CLR given from the CPU 5 becomes a "low" level at time t1, the buffer 7 is opened and the SiO data becomes "0". Next, select the row address c that includes the area 21 you want to clear, which is indicated by the AREA signal from the CPU 5, and
A read transfer cycle is executed at time t2 as shown in FIG. This point is a feature when clearing a specific area, and this is done by first transferring data from RAM port 12 to SAM port 11.
This shows the operation of transferring to. Next, at time t3, the column address is set to the start address (d) of the rectangular area 21 to be cleared, and the pseudo write transfer cycle is started as shown in the same figure (
Execute as in d). After that, the number of pixels in the horizontal direction of the rectangular area 9 for which you want to clear the serial clock SC (e-d)
, as shown in the figure (b) between times t4 and t5, and after initializing the column address to the left end (0) of the graphic screen, change the row address to c and at time t6 as shown in the figure (e). Execute a write transfer cycle. Above is low c
Since the data in columns d to e will be cleared, by repeating this operation for rows c+1 to f, it becomes possible to clear the specific area 21 shown in FIG.

【0011】[0011]

【発明の効果】この発明によれば、SAMポートから1
行分のクリアデータを入力し、そのデータをRAMポー
トへ1度に転送するようにしたので、行単位でグラフィ
ック画面全体またはその中の特定領域をクリアすること
ができる。その結果、従来の如き画素単位でのクリア方
式に比べて、クリアを高速になし得るという利点がもた
らされる。
[Effect of the invention] According to this invention, from the SAM port
Since clear data for a line is input and the data is transferred to the RAM port at once, the entire graphic screen or a specific area within it can be cleared line by line. As a result, compared to the conventional clearing method for each pixel, there is an advantage that clearing can be performed at high speed.

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

【図1】この発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the invention.

【図2】図1の動作を説明するためのタイムチャートで
ある。
FIG. 2 is a time chart for explaining the operation of FIG. 1;

【図3】グラフィック画面を説明するための説明図であ
る。
FIG. 3 is an explanatory diagram for explaining a graphic screen.

【図4】この発明の他の実施例を示すブロック図である
FIG. 4 is a block diagram showing another embodiment of the invention.

【図5】図4の動作を説明するためのタイムチャートで
ある。
FIG. 5 is a time chart for explaining the operation of FIG. 4;

【図6】グラフィック表示システムの従来例を示すブロ
ック図である。
FIG. 6 is a block diagram showing a conventional example of a graphic display system.

【図7】図6におけるデータライト動作を説明するため
のタイムチャートである。
FIG. 7 is a time chart for explaining the data write operation in FIG. 6;

【図8】図6におけるSAMポートの動作を説明するた
めのタイムチャートである。
FIG. 8 is a time chart for explaining the operation of the SAM port in FIG. 6;

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

1  マルチポートメモリ 2  同期信号合成回路 3  タイミング信号発生回路 4  モニタテレビ 5  処理装置(CPU) 6  入出力部 7  バッファ 8  クリアモードコントロール回路 9  クリア領域コントロール回路 11  SAMポート 12  RAMポート 20  グラフィック画面 21  特定領域 1 Multi-port memory 2 Synchronous signal synthesis circuit 3 Timing signal generation circuit 4 Monitor TV 5 Processing unit (CPU) 6 Input/output section 7 Buffer 8 Clear mode control circuit 9 Clear area control circuit 11 SAM port 12 RAM port 20 Graphic screen 21 Specific area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  シリアルアクセスメモリとランダムア
クセスメモリとを組み合わせたマルチポートメモリの、
前記シリアルアクセスメモリの入出力部にクリア回路を
設けるとともに、前記シリアルアクセスメモリとランダ
ムアクセスメモリとの間のデータ転送を制御するための
コントロール回路を設け、前記クリア回路によりシリア
ルアクセスメモリの1行分の内容をオール0にしたのち
、前記コントロール回路の制御のもとにシリアルアクセ
スメモリからオール0のデータをランダムアクセスメモ
リに転送することにより、その内容を行単位でクリア可
能にしたことを特徴とするグラフィックメモリのクリア
方法。
[Claim 1] A multiport memory that combines serial access memory and random access memory,
A clear circuit is provided in the input/output section of the serial access memory, and a control circuit for controlling data transfer between the serial access memory and the random access memory is provided, and the clear circuit clears data for one row of the serial access memory. After setting the contents to all 0's, the data of all 0's is transferred from the serial access memory to the random access memory under the control of the control circuit, thereby making it possible to clear the contents line by line. How to clear graphics memory.
【請求項2】  シリアルアクセスメモリとランダムア
クセスメモリとを組み合わせたマルチポートメモリの、
前記シリアルアクセスメモリの入出力部にクリア回路を
設けるとともに、前記シリアルアクセスメモリとランダ
ムアクセスメモリとの間のデータ転送を制御するための
コントロール回路、およびクリアすべき領域を設定する
設定回路を設け、前記クリア回路および設定回路により
シリアルアクセスメモリの1行分の前記設定された領域
と対応する或るカラムから或るカラムまでの内容をオー
ル0にしたのち、前記コントロール回路の制御のもとに
シリアルアクセスメモリからデータをランダムアクセス
メモリに転送する動作を繰り返し行なうことにより、特
定領域のクリアを可能にしてなることを特徴とするグラ
フィックメモリのクリア方法。
[Claim 2] A multiport memory that combines serial access memory and random access memory,
A clear circuit is provided in the input/output section of the serial access memory, and a control circuit for controlling data transfer between the serial access memory and the random access memory, and a setting circuit for setting an area to be cleared, After the contents from a certain column to a certain column corresponding to the set area for one row of the serial access memory are set to all 0 by the clearing circuit and the setting circuit, the serial access memory is set to zero under the control of the control circuit. A method for clearing a graphic memory, characterized in that a specific area can be cleared by repeatedly transferring data from an access memory to a random access memory.
JP3124473A 1991-04-30 1991-04-30 Clearing method for graphic memory Pending JPH04328386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3124473A JPH04328386A (en) 1991-04-30 1991-04-30 Clearing method for graphic memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3124473A JPH04328386A (en) 1991-04-30 1991-04-30 Clearing method for graphic memory

Publications (1)

Publication Number Publication Date
JPH04328386A true JPH04328386A (en) 1992-11-17

Family

ID=14886393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3124473A Pending JPH04328386A (en) 1991-04-30 1991-04-30 Clearing method for graphic memory

Country Status (1)

Country Link
JP (1) JPH04328386A (en)

Similar Documents

Publication Publication Date Title
EP0197413B1 (en) Frame buffer memory
JPH0636311B2 (en) Dual port VRAM memory
JPS6072020A (en) Dual port memory circuit
EP0525986B1 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
JPH0876713A (en) Display controller
US5438376A (en) Image processing apparatus and image reception apparatus using the same
WO1987005428A1 (en) Image display device
JPH067304B2 (en) Graphic processing device
US5134582A (en) Memory system for ANDing data bits along columns of an inverted memory array
EP0680651B1 (en) Pipeline read write operations in a high speed frame buffer system
JPH06103374A (en) Picture scaling device
JPH04328386A (en) Clearing method for graphic memory
TWI426499B (en) System and method for storing and accessing pixel data in a graphics display device
JPS61190387A (en) Controller for frame buffer memory
KR950009076B1 (en) Dual port memory and control method
KR19990007860A (en) Circuit, system and method for modifying data stored in memory using logical operations
JPH03109654A (en) Picture memory
JPS63292494A (en) Semiconductor memory
JP2002132577A (en) Data processing system
JPH05165445A (en) Display control circuit
JPH0443594B2 (en)
JPH1027130A (en) Picture processor and its processing method
JPS62113193A (en) Memory circuit
JP2002006831A (en) Image processor
JPH06202601A (en) Memory integrated circuit for video display