JPH10312455A - Access method to memory - Google Patents

Access method to memory

Info

Publication number
JPH10312455A
JPH10312455A JP9124003A JP12400397A JPH10312455A JP H10312455 A JPH10312455 A JP H10312455A JP 9124003 A JP9124003 A JP 9124003A JP 12400397 A JP12400397 A JP 12400397A JP H10312455 A JPH10312455 A JP H10312455A
Authority
JP
Japan
Prior art keywords
line
screen
data
memory
address
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
JP9124003A
Other languages
Japanese (ja)
Inventor
Hidemori Zen
英守 全
Hiroyuki Hashizume
裕行 橋詰
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.)
NIPPON SAMUSUN KK
Original Assignee
NIPPON SAMUSUN KK
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 NIPPON SAMUSUN KK filed Critical NIPPON SAMUSUN KK
Priority to JP9124003A priority Critical patent/JPH10312455A/en
Publication of JPH10312455A publication Critical patent/JPH10312455A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Dram (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an access method to memory for outputting interlace only with one memory. SOLUTION: If the memory is DRAM, data of the next screen is successively written in an address of a read line by performing a read modify written in interlace reading of data of a written one screen. The initial data is written by successive address in an order of lines A to H and read out in the order of the lines 1→3→5→7→2→4→6→8 in the interlace reading of A→C→E→G→B→D→F→H. In this case, the data of the next screen is inputted in the order of 1=A→2=C→3=E→4=G→5=B→6=D→7=F→8=H in the read modify writing and the interlace reading is performed in the order of A→E→B→F→C→G→D→H. Then, the data of one screen after the next screen is inputted in the order of 1=A→2=E→3=B→4=F→5=C→6=G→7=D→8=H and the interlace reading is performed in the order of A→B→C→D→E→F→G→H.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、DRAMなどを使
用した画像データ記憶用のメモリに関する。
The present invention relates to a memory for storing image data using a DRAM or the like.

【0002】プログレッシブCCDを使用した撮像装置
では、その1画面分(1ページ分)のCCDデータをメ
モリへ一旦書込み、そして、その書込んだ1画面データ
を1ライン飛ばしで読出すインタレース読出を行うよう
にしてある。この場合、リアルタイム処理のためには書
込と読出を同時に行う必要があり、そのためにCCDデ
ータ2画面分のメモリを設けてその片方を書込に、他方
を読出に交互に切り換え使用するようにしている。又
は、2ポートメモリの片方のポートを書込専用に、他方
のポートを読出専用にした専用メモリを使用するものも
ある。
2. Description of the Related Art In an image pickup apparatus using a progressive CCD, CCD data for one screen (one page) is once written into a memory, and interlaced reading for reading out the written one screen data by one line is performed. I do it. In this case, writing and reading must be performed simultaneously for real-time processing. For this purpose, a memory for two screens of CCD data is provided and one of them is alternately used for writing and the other is alternately used for reading. ing. Alternatively, a dedicated memory in which one port of a two-port memory is dedicated to writing and the other port is dedicated to reading is used.

【0003】[0003]

【発明が解決しようとする課題】上記のようなメモリと
して、.2画面分のメモリをもつシステムではDRA
Mが代表的に使用され、.専用メモリとしてはビデオ
メモリがある。しかし、の場合ではDRAMを2つ設
けなければならず、またの場合ではビデオメモリとい
う専用メモリを設けなければならないから、コストや消
費電力の点で不利である。そこで本発明では、メモリを
標準のDRAM1つで済ませられるような、インタレー
ス出力用のメモリアクセス方法を提供する。
As a memory as described above,. DRA in a system with two screens of memory
M are typically used; As the dedicated memory, there is a video memory. However, in this case, two DRAMs must be provided, and in the other case, a dedicated memory called a video memory must be provided, which is disadvantageous in terms of cost and power consumption. Therefore, the present invention provides a memory access method for interlaced output, in which only one standard DRAM is required.

【0004】[0004]

【課題を解決するための手段】この目的のために本発明
は、例えばDRAMのリード・モディファイ・ライト機
能のような、同じアドレスに対する読出直後の書込が可
能となったメモリのアクセス方法において、書込んだ1
画面データのインタレース読出に際し、読出したライン
のアドレスへ次画面のデータを順次に書込んでいくこと
を特徴とする。即ち、DRAMであれば、書込んだ1画
面データのインタレース読出に際してリード・モディフ
ァイ・ライトを行うことにより、読出したラインのアド
レスへ次画面のデータを順次に書込んでいくことを特徴
としたアクセス方法とする。これは、インタレース読出
時の行アドレス指定順を工夫することで実行されるもの
である。
SUMMARY OF THE INVENTION For this purpose, the present invention relates to a method of accessing a memory which enables writing immediately after reading to the same address, such as a read-modify-write function of a DRAM. 1 I wrote
In interlaced reading of screen data, data of the next screen is sequentially written to the read line address. That is, in the case of a DRAM, read-modify-write is performed at the time of interlaced reading of written one-screen data, so that data of the next screen is sequentially written to the read line address. Access method. This is executed by devising the order of specifying row addresses at the time of interlace reading.

【0005】つまり、プログレッシブCCDから1画面
分の画像データがメモリへ入ると、該1画面データは、
最初であれば、第1ライン→第3ライン→第5ライン…
…第2ライン→第4ライン→第6ライン……の順にイン
タレース読出されていく。本発明ではこのときに、例え
ばDRAMであればそのリード・モディファイ・ライト
機能を利用して、CCDから送られてくる次画面の画像
データを、読出したラインへ逐次書込んでいくようにす
る。即ち、読出しと同時にそのアドレスへ次データを書
込んでいくものである。従って、次画面の1画面データ
が全部メモリへ書込まれたときには、前記前画面の第1
ラインのアドレスへ次画面の第1ラインが入り、前記前
画面の第3ラインのアドレスへ次画面の第2ラインが入
り、前記前画面の第5ラインのアドレスへ次画面の第3
ラインが入り……の順になっている。そこで、この次画
面データをインタレース読出する際には、前記前画面の
第1ラインのアドレス→前記前画面の第5ラインのアド
レス……前記前画面の第3ラインのアドレス→前記前画
面の第7ラインのアドレス……の順に読出していく。次
画面に続く次々画面以降のデータも同様の手順を踏んで
いけばよい。この場合、ライン数として2n を仮定する
と、物理アドレスの操作はn回の画面処理の後に元に戻
ることになる。例えば、n=9(512ライン)であれ
ば、9回の画面処理ごとに最初の通常のアドレシング順
に戻る。
In other words, when image data for one screen from the progressive CCD enters the memory, the one-screen data is
If it is the first time, first line → third line → fifth line ...
... Interlaced reading is performed in the order of the second line → the fourth line → the sixth line. At this time, in the present invention, for example, in the case of a DRAM, the read-modify-write function is used to sequentially write the image data of the next screen sent from the CCD to the read line. That is, the next data is written to the address at the same time as the reading. Therefore, when one screen data of the next screen is completely written into the memory, the first screen data of the previous screen is written.
The first line of the next screen enters the address of the line, the second line of the next screen enters the address of the third line of the previous screen, and the third line of the next screen enters the address of the fifth line of the previous screen.
Lines are entered in this order. Therefore, when the next screen data is interlaced, the address of the first line of the previous screen → the address of the fifth line of the previous screen... The address of the third line of the previous screen → the address of the previous screen The data is read out in the order of the address of the seventh line. The same procedure may be followed for data subsequent to the next screen. In this case, assuming 2 n as the number of lines, the operation of the physical address returns to the original state after n times of screen processing. For example, if n = 9 (512 lines), the process returns to the first normal addressing order every nine screen processes.

【0006】[0006]

【発明の実施の形態】図1に、画像データ用メモリとし
て使用するDRAMのリード・モディファイ・ライトに
ついてタイミングの一例を示している。RAS信号及び
CAS信号はページモードのタイミングで、CAS信号
の1サイクル中に出力制御信号バーOEと書込制御信号
バーWEが共に活性化される。即ち、先に出力制御信号
バーOEの活性化でデータが読出され、該読出終了に続
いて書込制御信号バーWEが活性化されて同じアドレス
へデータが書込まれる。これを利用した画像データの書
込とそのインタレース読出について図2に、模式的に1
画面8ラインの場合を想定して示してある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of timing for a read-modify-write operation of a DRAM used as a memory for image data. For the RAS signal and the CAS signal, both the output control signal OE and the write control signal WE are activated during one cycle of the CAS signal at the timing of the page mode. That is, data is first read by activating output control signal OE, and following the end of the reading, write control signal WE is activated to write data to the same address. The writing of image data and the interlaced reading thereof using this are schematically shown in FIG.
It is shown assuming the case of 8 lines on the screen.

【0007】まず最初の1画面データは、図2(a)に
示すように、A行〜H行の順に連続アドレスで書込まれ
る。そして、これにインタレース読出をかけると、A行
→C行→E行→G行→B行→D行→F行→H行の順にア
ドレスが指定され、これに従って、第1ライン→第3ラ
イン→第5ライン→第7ライン→第2ライン→第4ライ
ン→第6ライン→第8ラインの順でデータが読出されて
いく。このインタレース読出時に図1のようなリード・
モディファイ・ライトを実行し、CCDから送られてく
る次画面のデータを順次に書込んでいく。すると、図2
(b)に示すように次画面のデータは、第1ライン=A
行→第2ライン=C行→第3ライン=E行→第4ライン
=G行→第5ライン=B行→第6ライン=D行→第7ラ
イン=F行→第8ライン=H行の順に入ることになる。
First, as shown in FIG. 2A, the first one-screen data is written in a continuous address in the order of rows A to H. Then, when interlaced reading is performed, addresses are specified in the order of A row → C row → E row → G row → B row → D row → F row → H row, and accordingly, the first line → third line Data is read in the order of line → fifth line → seventh line → second line → fourth line → sixth line → eighth line. At the time of this interlaced reading, the read / write as shown in FIG.
A modify write is executed, and data of the next screen sent from the CCD is sequentially written. Then, Figure 2
As shown in (b), the data of the next screen is the first line = A
Line → 2nd line = C line → 3rd line = E line → 4th line = G line → 5th line = B line → 6th line = D line → 7th line = F line → 8th line = H line It will be in the order of.

【0008】続いて、この図2(b)の次画面データの
インタレース読出を行う場合には、A行→E行→B行→
F行→C行→G行→D行→H行の順にアドレス指定する
ことで、前画面と同じくインタレース読出を実行でき
る。この次画面のインタレース読出時にリード・モディ
ファイ・ライトを行うと今度は、図2(c)に示すよう
に次々画面のデータが、第1ライン=A行→第2ライン
=E行→第3ライン=B行→第4ライン=F行→第5ラ
イン=C行→第6ライン=G行→第7ライン=D行→第
8ライン=H行の順に入ることになる。
Subsequently, when interlaced reading of the next screen data shown in FIG. 2B is performed, row A → row E → row B →
By specifying addresses in the order of F line → C line → G line → D line → H line, interlaced reading can be executed as in the previous screen. When the read-modify-write operation is performed at the time of interlaced reading of the next screen, the data of the next screen is changed from the first line = A line to the second line = E line to the third line as shown in FIG. Line = B line → 4th line = F line → 5th line = C line → 6th line = G line → 7th line = D line → 8th line = H line.

【0009】更に、この図2(c)の次々画面データの
インタレース読出を行うときには、A行→B行→C行→
D行→E行→F行→G行→H行の順にアドレスを指定す
ることになる結果、図2(a)の連続アドレス状態に戻
る。以降、図2(a)(b)(c)の3パターンの書込
形態が繰り返されていく。
Further, when performing interlaced reading of the screen data successively in FIG. 2 (c), row A → row B → row C →
The addresses are specified in the order of D row → E row → F row → G row → H row, and as a result, the state returns to the continuous address state of FIG. Thereafter, the writing patterns of the three patterns of FIGS. 2A, 2B, and 2C are repeated.

【0010】このように8ライン(=23 )の場合、各
ラインの書込アドレスは、1画面目は連続、2画面目は
1行おき、3画面目は3行おき、次いで連続に戻るの繰
り返しになり、全部で3パターンの書込形態の反復であ
る。つまり、2n のライン数をもつ画面データであれ
ば、全部でnパターンの書込アドレスの形態を繰り返せ
ばよい。また、リード・モディファイ・ライト機能の無
いメモリであっても、リードとライトを同一アドレスに
対して発生することで同等の効果を得ることができる。
As described above, in the case of 8 lines (= 2 3 ), the write address of each line is continuous for the first screen, every other row for the second screen, every third row for the third screen, and then returns to the continuous state. , Which is a repetition of three writing patterns in all. In other words, if the screen data has 2 n lines, the write address form of n patterns may be repeated in all. Even in a memory without a read-modify-write function, the same effect can be obtained by performing read and write to the same address.

【0011】[0011]

【発明の効果】本発明によれば、読出と書込を同時に行
う処理性能を維持しながらメモリを1つで済ませること
が可能であり、コストダウンや装置の低電力化に貢献す
る。
According to the present invention, it is possible to use only one memory while maintaining the processing performance of simultaneous reading and writing, which contributes to cost reduction and lower power consumption of the apparatus.

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

【図1】DRAMのリード・モディファイ・ライトを行
う制御信号のタイミングを示した信号波形図。
FIG. 1 is a signal waveform diagram showing the timing of a control signal for performing read-modify-write of a DRAM.

【図2】本発明によるメモリのアクセス方法を説明する
DRAMの模式図。
FIG. 2 is a schematic diagram of a DRAM for explaining a memory access method according to the present invention.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 同じアドレスに対する読出直後の書込が
可能であるメモリのアクセス方法において、書込んだ1
画面データのインタレース読出に際し、読出したライン
のアドレスへ次画面のデータを順次に書込んでいくよう
にしたことを特徴とするアクセス方法。
In a memory access method in which writing to the same address can be performed immediately after reading, the written address is
An access method characterized by sequentially writing data of a next screen to an address of a read line at the time of interlaced reading of screen data.
【請求項2】 DRAMのアクセス方法において、書込
んだ1画面データのインタレース読出に際してリード・
モディファイ・ライトを行うことにより、読出したライ
ンのアドレスへ次画面のデータを順次に書込んでいくよ
うにしたことを特徴とするアクセス方法。
2. A method for accessing a DRAM, comprising the steps of:
An access method characterized by sequentially writing data of the next screen to an address of a read line by performing a modify write.
JP9124003A 1997-05-14 1997-05-14 Access method to memory Pending JPH10312455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9124003A JPH10312455A (en) 1997-05-14 1997-05-14 Access method to memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9124003A JPH10312455A (en) 1997-05-14 1997-05-14 Access method to memory

Publications (1)

Publication Number Publication Date
JPH10312455A true JPH10312455A (en) 1998-11-24

Family

ID=14874638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9124003A Pending JPH10312455A (en) 1997-05-14 1997-05-14 Access method to memory

Country Status (1)

Country Link
JP (1) JPH10312455A (en)

Similar Documents

Publication Publication Date Title
JP2743268B2 (en) DRAM with self-test function
US4916541A (en) Picture processor
JPH07121430A (en) Memory system for digital video signal processing
KR100610519B1 (en) Image processing apparatus, special effect apparatus, and image processing method
JPH10312455A (en) Access method to memory
JPH11250660A (en) Memory device and its addressing method
JP3288327B2 (en) Video memory circuit
KR950009076B1 (en) Dual port memory and control method
JPH06325566A (en) Addressing method for frame data in memory
US6486885B2 (en) Memory device and method
JPS63292494A (en) Semiconductor memory
JPH05101650A (en) Refreshing method for dynamic memory
JPH05282858A (en) Semiconductor memory device
JP4821410B2 (en) MEMORY CONTROL METHOD, MEMORY CONTROL DEVICE, IMAGE PROCESSING DEVICE, AND PROGRAM
JPH0333952A (en) Image memory writer
JP2710926B2 (en) Semiconductor memory
JPH11212532A (en) Semiconductor memory device
JPS63256991A (en) Editing memory
JPH05128847A (en) Dynamic ram access method
JPH04153984A (en) Method for controlling dynamic memory
KR19990003965A (en) SDRAM Interface on PDP-TV
JPH0574166A (en) Memory device and time base collector circuit
JPS6326183A (en) Animation memory device
JPH02105388A (en) Picture memory
JPH01305769A (en) Picture reducing device