JPH05176183A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPH05176183A
JPH05176183A JP3341123A JP34112391A JPH05176183A JP H05176183 A JPH05176183 A JP H05176183A JP 3341123 A JP3341123 A JP 3341123A JP 34112391 A JP34112391 A JP 34112391A JP H05176183 A JPH05176183 A JP H05176183A
Authority
JP
Japan
Prior art keywords
data
dram
memory
image data
read
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
JP3341123A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Ishizawa
良之 石沢
Minoru Suzuki
稔 鈴木
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3341123A priority Critical patent/JPH05176183A/en
Publication of JPH05176183A publication Critical patent/JPH05176183A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a memory control circuit keeping the same operating characteristic as that of an SRAM even when an inexpensive DRAM is used as a memory. CONSTITUTION:A recording/read speed of luminance signal data and color difference signal data to DRAMs 14, 14' is quickened more than a transmission speed of input/output data to a memory control section by using shift registers 42, 43 and shift registers 32, 33. Then a load address is increased periodically in the recording and read of the data to the DRAMs 14, 14', and address allocation is implemented to increase load addressing periodically and to repeat it, then no refreshing is required and all data are continuously processed. Thus, the same data processing by an SRAM is implemented regardless of the use of a DRAM.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ライン順あるいはブロ
ック順で入力する画像データを一時メモリに記憶し、ブ
ロック順あるいはライン順にデータ配列を変換してメモ
リから読み出すメモリ制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control circuit for storing image data input in line order or block order in a temporary memory, converting a data array in block order or line order, and reading it from the memory.

【0002】[0002]

【従来の技術】画像をディジタル化して何らかの記録媒
体に記録する場合、膨大な情報量を限られた容量の記録
媒体に納める技術が必要となる。その一つとして画像圧
縮技術があり、最近中心となっているものにDCT(離
散コサイン変換)圧縮方法がある。
2. Description of the Related Art When an image is digitized and recorded on a recording medium of some kind, a technique for storing a huge amount of information on a recording medium having a limited capacity is required. An image compression technique is one of them, and the DCT (Discrete Cosine Transform) compression method has become the main focus recently.

【0003】図6にDCT圧縮方式を用いた静止画ファ
イル装置の構成を示す。まず、画像を記録する場合の信
号処理方法を説明する。撮像部10では撮像した画像に
信号処理を施し、画像データとしてメモリ制御部60に
供給する。メモリ制御部60は画像データをライン順に
メモリ61に格納する。そして一画面分の画像データを
格納後、画像データを8×8画素のブロック毎に読出
し、DCT部15に供給する。DCT部15は供給され
た画像データをブロック毎に直交変換し、エンコーダ1
6に供給する。エンコーダ16ではデータに対し、符号
化及び圧縮処理を施し、記録媒体17に記録する。
FIG. 6 shows the configuration of a still image file device using the DCT compression method. First, a signal processing method for recording an image will be described. The image pickup unit 10 performs signal processing on the picked-up image and supplies it to the memory control unit 60 as image data. The memory control unit 60 stores the image data in the memory 61 in line order. Then, after storing the image data for one screen, the image data is read for each block of 8 × 8 pixels and supplied to the DCT unit 15. The DCT unit 15 orthogonally transforms the supplied image data block by block, and the encoder 1
Supply to 6. The encoder 16 encodes and compresses the data and records it on the recording medium 17.

【0004】画像を再生する場合、記録媒体17から取
り出した圧縮符号データをデコーダ18で伸張復号し、
DCT部15で逆直交変換することで画像データに変換
後、メモリ制御部60に供給する。メモリ制御部60は
ブロック毎の画像データを一画面分メモリ61に格納す
る。その後、メモリ61から画像データをライン順に読
出し、映像処理部11を介して受像部12で表示する。
When reproducing an image, the compressed code data extracted from the recording medium 17 is expanded and decoded by the decoder 18,
The DCT unit 15 performs inverse orthogonal transform to convert the image data into image data, which is then supplied to the memory control unit 60. The memory control unit 60 stores the image data for each block in the memory 61 for one screen. After that, the image data is read from the memory 61 in line order and displayed on the image receiving unit 12 via the video processing unit 11.

【0005】次に図7及び図8を参照してデータ転送及
び記録方法を説明する。図7にインターレース方式の画
像データを示す。インターレース方式は2フィールドで
1画面を構成する方式であり、第1フィールドは偶数ラ
インで構成し、第2フィールドは奇数ラインで構成して
いる。そして各フィールドとも244ラインで構成して
おり、1ラインは768データで構成している。これら
のデータは図8に示すようにメモリ61内部で画像の水
平方向がアドレスA0〜A9、垂直方向がA10〜A1
8に対応した形で記録する。なお、メモリ61に未使用
領域が発生するが本発明には関係ない。
Next, a data transfer and recording method will be described with reference to FIGS. 7 and 8. FIG. 7 shows interlaced image data. The interlace system is a system in which two fields form one screen, and the first field is composed of even lines and the second field is composed of odd lines. Each field is composed of 244 lines, and one line is composed of 768 data. As shown in FIG. 8, these data have addresses A0 to A9 in the horizontal direction of the image and A10 to A1 in the vertical direction of the image in the memory 61.
Record in a form corresponding to 8. Although an unused area is generated in the memory 61, it is not related to the present invention.

【0006】図9にデータの読出し順序を示す。この図
に示すように1D0 〜1D7 を読み出した後2D0 に続
き、最後に8D7 を読み出す。このように1画面を61
×96ブロックに分け、読みだしている。
FIG. 9 shows the order of reading data. As shown in this figure, 1D0 to 1D7 are read out, followed by 2D0, and finally 8D7. In this way, one screen
It is divided into × 96 blocks and read.

【0007】前述したようにメモリ制御部60の役割は
複雑である。しかも画像データ処理は高速で行わなけれ
ばならないため、メモリ61に何を採用するかが重要な
ポイントである。画像データ処理を高速に行うためには
メモリ61にSRAM(スタティックRAM)を用いる
のがもっとも簡単である。現在のSRAMは1Mビット
容量で70nsのリード・ライトアクセスが可能な物も
あり、画像メモリとしては容易に用いることができる。
しかしながらSRAMはDRAM(ダイナミックRA
M)と比べて容量当たりの価格が非常に高いという問題
がある。
As described above, the role of the memory controller 60 is complicated. Moreover, since the image data processing must be performed at high speed, what is adopted for the memory 61 is an important point. To perform image data processing at high speed, it is easiest to use SRAM (static RAM) as the memory 61. Some of the current SRAMs have a 1 Mbit capacity and can be read / written for 70 ns, and can be easily used as an image memory.
However, SRAM is a DRAM (dynamic RA
There is a problem that the price per capacity is much higher than that of M).

【0008】一方、DRAMは現在4Mビットが主流で
あり、価格も安い。一画面を768×488程度の画素
に分割し、輝度信号(Y)、色差信号(Cr ,Cb )の
精度は8ビットとし、輝度信号と色差信号との比率が
Y:Cr :Cb =4:2:2という仕様の場合、輝度信
号と色差信号とにそれぞれ512kバイト×8ビットで
構成する4MビットDRAMを使用することで容量的に
は十分対応可能である。したがって装置全体の価格や実
装個数を考慮した場合、4MビットDRAMを使用する
ことがもっとも望ましい。
On the other hand, DRAM is mainly 4 Mbit at present and the price is low. One screen is divided into about 768 × 488 pixels, the luminance signal (Y) and the color difference signals (Cr, Cb) have an accuracy of 8 bits, and the ratio of the luminance signal to the color difference signal is Y: Cr: Cb = 4 :. In the case of the specification of 2: 2, it is possible to sufficiently cope with the capacity by using a 4 Mbit DRAM configured by 512 kbytes × 8 bits for each of the luminance signal and the color difference signal. Therefore, considering the price of the entire device and the number of mounted devices, it is most desirable to use the 4M bit DRAM.

【0009】しかしDRAMをSRAMと比較した場
合、ランダムアクセスのサイクルタイムが遅い(約10
0ns)こととリフレッシュを必要とするという問題が
ある。通常のNTSC方式で768×488画素の場
合、画像データのサンプリング周波数は14.3MHz
前後であり、メモリのリード・ライトサイクルとしては
約70nsが必要である。このためDRAMの通常の使
用方法では無理であることから高速ページモードを用い
ることになる。普通DRAMのアドレス指定方法は行に
相当するローアドレスと列に相当するカラムアドレスと
をデータ毎に指定している。これに対し、高速ページモ
ードは最初にローアドレスを設定後、カラムアドレスだ
けを更新することで設定時間を短縮している。しかも画
像データの場合、ラインデータとラインデータとの間に
ブランキング期間があることを利用し、このブランキン
グ期間にローアドレスを設定し、データに同期してカラ
ムアドレスを更新することで1つのラインデータを連続
してリード・ライトすることが可能である。
However, when comparing DRAM with SRAM, the cycle time of random access is slow (about 10
0 ns) and refreshing are required. In the case of 768 × 488 pixels in the normal NTSC system, the sampling frequency of the image data is 14.3 MHz
This is before and after, and about 70 ns is required for the memory read / write cycle. For this reason, the fast page mode is used because it is not possible to use the DRAM normally. In the ordinary DRAM addressing method, a row address corresponding to a row and a column address corresponding to a column are specified for each data. On the other hand, in the fast page mode, the row address is first set and then only the column address is updated to shorten the setting time. Moreover, in the case of image data, the fact that there is a blanking period between line data is used, a row address is set in this blanking period, and the column address is updated in synchronization with the data It is possible to continuously read and write line data.

【0010】ところが512kバイト×8ビットで構成
する4MビットDRAMの場合、カラムアドレスは51
2までしかなく、1ライン分のデータ(768バイト)
に対して連続した高速ページモードを行うことができな
い。また、ブロック毎のアクセスはランダムアクセスに
近いため、転送レートが低く、データ転送中にリフレッ
シュ動作を必要とする。従って圧縮符号化処理に要する
時間が長くなり、連続した記録に要する記録時間や再生
時における高速画像再生といった、ファイリング装置と
して重要な要素における機能低下は避けられなかった。
However, in the case of a 4 Mbit DRAM composed of 512 kbytes × 8 bits, the column address is 51
There is only 2 and the data for one line (768 bytes)
Can not perform continuous fast page mode. Further, since access for each block is close to random access, the transfer rate is low, and a refresh operation is required during data transfer. Therefore, the time required for the compression encoding process becomes long, and the functional deterioration of important elements such as the recording time required for continuous recording and the high-speed image reproduction at the time of reproduction cannot be avoided.

【0011】[0011]

【発明が解決しようとする課題】画像データ処理を高速
に行うためにメモリとしてSRAMを用いた場合、DR
AMと比べて容量当たりの価格が非常に高い。また実装
個数を考慮した場合、4MビットDRAMを使用するこ
とがもっとも望ましい。しかしDRAMをSRAMと比
較した場合、ランダムアクセスのサイクルタイムが遅い
(約100ns)こととリフレッシュを必要とするとい
う問題がある。このためDRAMの通常の使用方法では
無理であることから高速ページモードを用いることにな
る。
When an SRAM is used as a memory for high-speed image data processing, the DR
The price per capacity is much higher than that of AM. Considering the number of mounted devices, it is most desirable to use a 4M bit DRAM. However, when comparing DRAM with SRAM, there are problems that the cycle time of random access is slow (about 100 ns) and refresh is necessary. For this reason, the fast page mode is used because it is not possible to use the DRAM normally.

【0012】ところが512kバイト×8ビットで構成
する4MビットDRAMの場合、カラムアドレスは51
2までしかなく、1ライン分のデータ(768バイト)
に対して連続した高速ページモードを行うことができな
い。また、ブロック毎のアクセスはランダムアクセスに
近いため、転送レートが低く、データ転送中にリフレッ
シュ動作を必要とする。従って圧縮符号化処理に要する
時間が長くなり、連続した記録に要する記録時間や再生
時における高速画像再生といった、ファイリング装置と
して重要な要素における機能低下は避けられなかった。
However, in the case of a 4 Mbit DRAM composed of 512 kbytes × 8 bits, the column address is 51
There is only 2 and the data for one line (768 bytes)
Can not perform continuous fast page mode. Further, since access for each block is close to random access, the transfer rate is low, and a refresh operation is required during data transfer. Therefore, the time required for the compression encoding process becomes long, and the functional deterioration of important elements such as the recording time required for continuous recording and the high-speed image reproduction at the time of reproduction cannot be avoided.

【0013】本発明は、メモリとして安価なDRAMを
用いてもSRAMと同等の動作性能を維持するメモリ制
御回路を提供することを目的とする。
It is an object of the present invention to provide a memory control circuit which maintains an operation performance equivalent to that of an SRAM even if an inexpensive DRAM is used as the memory.

【0014】[0014]

【課題を解決するための手段】本発明に係る手段は、ラ
イン順に供給される概メモリの画像データに記録し、N
×M(N,M:整数)画素で構成するブロックに変換し
読み出す、もしくはブロック毎の画像データをメモリに
記録し、ライン順に読み出すメモリ制御回路において、
Nワードの一時記憶を行う少なくとも2つの記憶手段を
備え、Nワード単位の高速アクセスモードで、かつ有効
である全ローアドレスを短期間で周期的に繰り返すリー
ド・ライトアクセスを行う。
The means according to the present invention records in the image data of the approximate memory supplied in line order, N
In a memory control circuit that converts into a block composed of × M (N, M: integer) pixels and reads out, or records image data of each block in a memory and reads out in line order,
At least two storage means for temporarily storing N words are provided, and read / write access is performed in a high-speed access mode in units of N words, and all valid row addresses are periodically repeated in a short period.

【0015】[0015]

【作用】上記手段により、メモリにDRAMを用いても
リフレッシュの必要がなく、かつ全てのデータが連続し
て高速に処理される。これによりDRAMでありながら
SRAMと同様のデータ処理が行える。
By the above means, even if a DRAM is used as a memory, there is no need to refresh and all data can be processed continuously at high speed. As a result, the same data processing as SRAM can be performed even though it is a DRAM.

【0016】[0016]

【実施例】まず、本発明に係るメモリ制御回路を説明す
る前にファイリング装置の全体構成を説明する。図5は
ファイリング装置の全体構成を示す図である。この図に
おいて撮像部10では撮像した画像に信号処理を施し、
画像データとしてメモリ制御部13に供給する。メモリ
制御部13は画像データをライン順にメモリであるDR
AM14に格納する。そして一画面分の画像データを格
納後、画像データを8×8画素のブロック毎に読出し、
DCT部15に供給する。DCT部15は供給された画
像データをブロック毎に直交変換し、エンコーダ16に
供給する。エンコーダ16ではデータに対し、符号化及
び圧縮処理を施し、記録媒体17に記録する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, before explaining a memory control circuit according to the present invention, an overall structure of a filing apparatus will be explained. FIG. 5 is a diagram showing the overall configuration of the filing device. In this figure, the imaging unit 10 performs signal processing on the captured image,
The image data is supplied to the memory controller 13. The memory control unit 13 stores the image data in a line order as a memory DR.
Store in AM14. Then, after storing the image data for one screen, the image data is read for each block of 8 × 8 pixels,
It is supplied to the DCT unit 15. The DCT unit 15 orthogonally transforms the supplied image data for each block and supplies the image data to the encoder 16. The encoder 16 encodes and compresses the data and records it on the recording medium 17.

【0017】画像を再生する場合、記録媒体17から取
り出した圧縮符号データをデコーダ18で伸張復号し、
DCT部15で逆直交変換することで画像データに変換
後、メモリ制御部13に供給する。メモリ制御部13は
ブロック毎の画像データを一画面分DRAM14に格納
する。その後、DRAM14から画像データをライン順
に読出し、映像処理部11を介して受像部12で表示す
る。
When reproducing an image, the decoder 18 decompresses the compressed code data extracted from the recording medium 17,
The DCT unit 15 performs inverse orthogonal transform to convert the image data into image data, which is then supplied to the memory control unit 13. The memory control unit 13 stores the image data for each block in the DRAM 14 for one screen. After that, the image data is read from the DRAM 14 in line order and displayed on the image receiving unit 12 via the video processing unit 11.

【0018】次に図面を参照して本発明に係る一実施例
の構成を説明する。図1は本発明に係るメモリ制御回路
の構成を示す図である。これは図5においてはメモリ制
御部13に相当する。撮像部10より供給される輝度信
号及び色差信号はそれぞれ端子20、21及びI/Oセ
ル22,23を介しYWバス25とCWバス27とに供
給する。
Next, the configuration of an embodiment according to the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration of a memory control circuit according to the present invention. This corresponds to the memory control unit 13 in FIG. The luminance signal and the color difference signal supplied from the image pickup unit 10 are supplied to the YW bus 25 and the CW bus 27 via the terminals 20 and 21 and the I / O cells 22 and 23, respectively.

【0019】以下、輝度信号について説明する。輝度信
号はセレクタ41を介してシフトレジスタ42,43で
交互に保持する。ここでシフトレジスタ42の動作クロ
ックはSFAであり、シフトレジスタ43の動作クロッ
クはSFBである。シフトレジスタ42,43の出力は
共にセレクタ44に入力しており、セレクタ44は制御
信号SLを基にどちらか一方を選択し、I/Oセル46
を介してDRAM14に供給する。
The brightness signal will be described below. The luminance signal is alternately held by the shift registers 42 and 43 via the selector 41. Here, the operation clock of the shift register 42 is SFA, and the operation clock of the shift register 43 is SFB. The outputs of the shift registers 42 and 43 are both input to the selector 44, and the selector 44 selects either one based on the control signal SL, and the I / O cell 46 is selected.
Is supplied to the DRAM 14 via.

【0020】ところでコントロール部50よりDRAM
14にはローアドレス、カラムアドレス設定用のクロッ
クであるCAS,RASを供給し、またアドレス発生部
51からはアドレス信号を供給する。DRAM14はこ
れらの信号を基に輝度信号データを記録する。
By the way, from the control section 50 to the DRAM
A row address and column address setting clocks CAS and RAS are supplied to 14, and an address signal is supplied from the address generator 51. The DRAM 14 records the luminance signal data based on these signals.

【0021】一方、DRAM14から8×8画素のデー
タを読み出すときはDRAM14の出力データをI/O
セル47を介しFF(フリップフロップ)48に供給す
る。そしてFF48で遅延したデータを、セレクタ41
を介してシフトレジスタ42,43で交互に保持する。
セレクタ44がシフトレジスタ42,43の出力のう
ち、一方を選択し、I/Oセル45を介してYRバス2
4に出力する。このデータはI/Oセル28を介し、端
子30より出力する。
On the other hand, when the data of 8 × 8 pixels is read from the DRAM 14, the output data of the DRAM 14 is I / O.
It is supplied to the FF (flip-flop) 48 via the cell 47. Then, the data delayed by the FF 48 is transferred to the selector 41
It is held alternately by the shift registers 42 and 43 via.
The selector 44 selects one of the outputs of the shift registers 42 and 43, and outputs the YR bus 2 via the I / O cell 45.
Output to 4. This data is output from the terminal 30 via the I / O cell 28.

【0022】また端子30より8×8画素のデータが供
給された場合、I/Oセル28からYWバス25にデー
タを供給する。そしてDRAM14に対する記録及び再
生方法は前述した通りである。DRAM14から読みだ
したデータはYRバス24及びI/Oセル22を介し、
端子20より出力する。
When data of 8 × 8 pixels is supplied from the terminal 30, the data is supplied from the I / O cell 28 to the YW bus 25. The recording / reproducing method for the DRAM 14 is as described above. The data read from the DRAM 14 is transferred via the YR bus 24 and the I / O cell 22.
Output from the terminal 20.

【0023】色差信号の処理系統は輝度信号と別ではあ
るが構成及び動作はまったく同様である。CWバス27
上の色差信号はセレクタ31を介してシフトレジスタ3
2,33で交互に保持し、それぞれの出力は共にセレク
タ34に入力し、どちらか一方を選択後、I/Oセル3
6を介してDRAM14′に供給し、記録する。
Although the processing system for the color difference signal is different from that for the luminance signal, the configuration and operation are exactly the same. CW bus 27
The upper color difference signal is sent to the shift register 3 via the selector 31.
2 and 33 are alternately held and both outputs are input to the selector 34. After selecting either one, the I / O cell 3
It is supplied to the DRAM 14 'via 6 and recorded.

【0024】一方、DRAM14′から8×8画素のデ
ータを読み出すときはDRAM14′の出力データをI
/Oセル37を介しFF38で遅延後、セレクタ31を
介してシフトレジスタ32,33に供給し、交互に保持
する。セレクタ34がシフトレジスタ32,33の出力
のうち、一方を選択し、I/Oセル35を介してCRバ
ス26に出力する。このデータはI/Oセル29を介
し、端子30より出力する。
On the other hand, when the data of 8 × 8 pixels is read from the DRAM 14 ', the output data of the DRAM 14' is I
After being delayed by the FF 38 via the / O cell 37, they are supplied to the shift registers 32 and 33 via the selector 31 and held alternately. The selector 34 selects one of the outputs of the shift registers 32 and 33 and outputs it to the CR bus 26 via the I / O cell 35. This data is output from the terminal 30 via the I / O cell 29.

【0025】また端子30より8×8画素の色差データ
が供給された場合、I/Oセル29からCWバス27に
データを供給する。そしてDRAM14′に対する記録
及び再生方法は前述した通りである。DRAM14′か
ら読みだしたデータはCRバス26及びI/Oセル23
を介し、端子21より出力する。
When color difference data of 8 × 8 pixels is supplied from the terminal 30, the data is supplied from the I / O cell 29 to the CW bus 27. The recording / reproducing method for the DRAM 14 'is as described above. The data read from the DRAM 14 'is the CR bus 26 and the I / O cell 23.
It is output from the terminal 21 via.

【0026】次に図面を参照して輝度信号処理動作を説
明する。なお、色差信号についても処理動作は同様であ
るので説明は省略する。図2は輝度信号の記録動作を説
明するためのタイミングチャートである。輝度信号
(Y)データは4Fs (14.3MHz)をデータクロ
ックとする連続データである。一方、シフトレジスタ4
2,43のシフトクロックSFA,SFBはそれぞれ4
Fs のパルスとその3/4周期のパルスとを8周期ずつ
交互に繰り返すものであり、かつSFAとSFBとは4
Fs のパルスとその3/4周期のパルスとの発生時期が
まったく逆である。これによりYデータはシフトクロッ
クが4Fs のパルスのとき、つまり8バイト単位で区切
られ、シフトレジスタ42,43に交互に保持する。ま
たシフトクロックが4Fs の3/4周期のパルスの場合
には保持したYデータを出力しており、セレクタ44は
SLが“HIGH”の時はシフトレジスタ43の出力を、逆
にSLが“LOW ”の時にはシフトレジスタ42の出力を
選択することでデータRWDをDRAM14に供給す
る。DRAM14はRASの立ち下がりでローアドレス
を、またCASの立ち下がりでカラムアドレスを設定
し、Yデータを記録する。
Next, the luminance signal processing operation will be described with reference to the drawings. Since the processing operation is the same for the color difference signal, description thereof will be omitted. FIG. 2 is a timing chart for explaining the recording operation of the luminance signal. The luminance signal (Y) data is continuous data using 4 Fs (14.3 MHz) as a data clock. On the other hand, the shift register 4
2 and 43 shift clocks SFA and SFB are each 4
The pulse of Fs and the pulse of the 3/4 cycle thereof are alternately repeated every 8 cycles, and SFA and SFB are 4
The generation times of the Fs pulse and its 3/4 cycle pulse are completely opposite. As a result, the Y data is divided into 8-byte units when the shift clock is a pulse of 4 Fs, and is alternately held in the shift registers 42 and 43. Further, when the shift clock is a pulse of 3/4 cycle of 4 Fs, the held Y data is output, and the selector 44 outputs the shift register 43 when SL is "HIGH", and conversely SL outputs "LOW". In the case of "", the data RWD is supplied to the DRAM 14 by selecting the output of the shift register 42. The DRAM 14 sets a row address at the fall of RAS and a column address at the fall of CAS, and records Y data.

【0027】図3はDRAMから輝度信号データを読み
出すための動作を説明するタイミングチャートである。
まず、RASとCASとの立ち下がりでDRAM14の
ローアドレスとカラムアドレスとを設定し、データRR
Dを出力する。このデータRRDをシフトレジスタ4
2,43で保持する。この場合、それぞれのシフトクロ
ックSFA,SFBが4Fs の3/4周期のパルスの時
にデータRRDを保持し、シフトクロックが4Fs の場
合にはデータを出力する。これにより連続したデータY
RDを生成している。
FIG. 3 is a timing chart for explaining the operation for reading the luminance signal data from the DRAM.
First, the row address and column address of the DRAM 14 are set at the fall of RAS and CAS, and the data RR is set.
Output D. This data RRD is stored in the shift register 4
Hold at 2,43. In this case, the data RRD is held when the respective shift clocks SFA and SFB are pulses of 3/4 cycle of 4Fs, and the data is output when the shift clock is 4Fs. This allows continuous data Y
Generating RD.

【0028】図4はDRAMにおけるメモリマップであ
る。この図においてローアドレス及びカラムアドレスは
本来2進数であるが、説明の関係上10進数で示す。初
めの第2ラインの8バイトデータ(2D0 〜2D7 )は
ローアドレスが“1”、カラムアドレスが“0〜7”の
アドレスに記録する。つまりローアドレスを固定してカ
ラムアドレスのみ変更する高速ページモードを行う。次
の8バイトデータ(2D8 〜2D15)はローアドレスが
“9”、カラムアドレスが“0〜7”のアドレスという
具合にローアドレスを8単位で更新していく。そして第
2ライン終了後、第4ラインの8バイトデータ(4D0
〜4D7 )をローアドレスが“3”、カラムアドレスが
“0〜7”のアドレスに記録する。
FIG. 4 is a memory map in DRAM. In this figure, the row address and the column address are originally binary numbers, but are shown as decimal numbers for the sake of explanation. The 8-byte data (2D0 to 2D7) of the first second line is recorded at the row address "1" and the column address "0 to 7". That is, the high-speed page mode in which the row address is fixed and only the column address is changed is performed. For the next 8-byte data (2D8 to 2D15), the row address is updated in units of 8 such that the row address is "9" and the column address is "0 to 7". After the end of the second line, the 8-byte data of the fourth line (4D0
.About.4D7) are recorded at the row address "3" and the column address "0 to 7".

【0029】第1フィールドが終了すると第2フィール
ドに移り、第1ラインの8バイトデータ(1D0 〜1D
7 )をローアドレスが“0”、カラムアドレスが“0〜
7”のアドレスに記録する。以後、同様に記録すること
で768×488バイトの1画面分データを記録する。
When the first field ends, the second field starts, and the 8-byte data (1D0 to 1D) of the first line
7) The row address is “0” and the column address is “0”.
It is recorded at the address of 7 ". Thereafter, the same recording is performed to record data of 768 × 488 bytes for one screen.

【0030】一方、記録したデータをDCT処理のため
に読みだす時にはカラムアドレスを“0〜7”とし、ロ
ーアドレスを“0〜7”,“8〜15”という具合に8
単位で1つのブロックとして出力する。そして96ブロ
ック目を出力後、カラムアドレスを“8〜15”に変更
し、97ブロック目に相当するローアドレス“0〜7”
に記録してあるデータを読み出す。以後同様の処理を行
い、1画面分(96×61ブロック)のデータを読み出
す。
On the other hand, when the recorded data is read out for the DCT processing, the column address is set to "0 to 7", the row address is set to "0 to 7", "8 to 15".
Output as one block in units. After outputting the 96th block, the column address is changed to "8 to 15", and the row address "0 to 7" corresponding to the 97th block is output.
Read the data recorded in. After that, similar processing is performed to read data for one screen (96 × 61 blocks).

【0031】このようにDRAM14に対するデータの
記録及び読みだしにおいては、ローアドレスを周期的に
増加させ、それが繰り返されるようにアドレス割当を行
うことで、リフレッシュの必要がなく、かつ全てのデー
タを連続して処理することができる。
As described above, in the recording and reading of data to and from the DRAM 14, the row address is periodically increased and the address is allocated so that the row address is repeated, so that refreshing is not necessary and all the data is read. It can be processed continuously.

【0032】以上記述したように、メモリ制御部13に
対する入出力データの伝送速度よりDRAM14に対す
る記録及び読みだし速度を速める。そしてDRAM14
に対するデータの記録及び読みだしにおいては、ローア
ドレスを周期的に増加させ、それが繰り返されるように
アドレス割当を行うことで、リフレッシュの必要がな
く、かつ全てのデータを連続して処理することができ
る。これによりDRAMでありながらSRAMと同様の
データ処理を行うことができる。
As described above, the recording / reading speed with respect to the DRAM 14 is made faster than the transmission / reception speed of the input / output data to / from the memory controller 13. And the DRAM 14
In the recording and reading of data to and from, the row address is increased periodically and the address is allocated so that it is repeated, so that refreshing is not necessary and all data can be processed continuously. it can. As a result, it is possible to perform the same data processing as SRAM even though it is DRAM.

【0033】なお、実施例では画素数を768×488
として記述したが、この画素数に限定されるものではな
い。またDRAMの容量も4Mビット以外でも構わな
い。そしてアドレスの供給においては1画面分の画像デ
ータ転送中にローアドレスが特定の周期でもって増加し
ていく形式ならば何でも良い。また、実施例においては
高速ページモードのデータバイト単位を8バイトとした
が、DCT処理におけるブロック単位にあわせて変更し
ても構わない。更に8バイトのデータ保持にシフトレジ
スタを用いたが、FIFO、ディアルポートRAM等の
ように交互にデータ保持とデータ出力とを行えるもので
あれば何でもよい。また画像信号の方式はインターレー
スでなくともよい。
In the embodiment, the number of pixels is 768 × 488.
However, the number of pixels is not limited to this. The capacity of the DRAM may be other than 4 Mbits. The address may be supplied in any form as long as the row address increases in a specific cycle during the transfer of image data for one screen. Further, in the embodiment, the data byte unit in the high speed page mode is 8 bytes, but it may be changed according to the block unit in the DCT processing. Further, the shift register is used to hold 8 bytes of data, but any device such as a FIFO or a dual port RAM that can alternately hold data and output data may be used. The image signal system does not have to be interlace.

【0034】[0034]

【発明の効果】本発明によれば、データ記録にDRAM
を用いてもリフレッシュの必要がなく、かつ全てのデー
タを連続して処理することができる。これによりDRA
MでありながらSRAMと同様のデータ処理を行うこと
ができる。
According to the present invention, DRAM is used for data recording.
Does not require refreshing and all data can be processed continuously. This makes DRA
Although it is M, the same data processing as SRAM can be performed.

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

【図1】本発明の構成を示す構成図FIG. 1 is a configuration diagram showing a configuration of the present invention.

【図2】データ記録動作を説明するタイミングチャートFIG. 2 is a timing chart explaining a data recording operation.

【図3】データ読みだし動作を説明するタイミングチャ
ート
FIG. 3 is a timing chart explaining a data reading operation.

【図4】DRAMにおけるアドレス配置を説明する説明
FIG. 4 is an explanatory diagram illustrating an address arrangement in a DRAM.

【図5】本発明の全体構成を示す構成図FIG. 5 is a configuration diagram showing an overall configuration of the present invention.

【図6】従来の構成を示す構成図FIG. 6 is a configuration diagram showing a conventional configuration.

【図7】インターレース方式の画像データを説明する説
明図
FIG. 7 is an explanatory diagram illustrating image data of an interlace system.

【図8】従来の画像データ記録方法を説明する説明図FIG. 8 is an explanatory diagram illustrating a conventional image data recording method.

【図9】DCT処理のためのデータ読出し順序を説明す
る説明図
FIG. 9 is an explanatory diagram illustrating a data reading order for DCT processing.

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

14,14′…DRAM、31,34,41,44…セ
レクタ、32,33,42,43…シフトレジスタ、3
8,48…FF、50…コントロール部、51…アドレ
ス発生部。
14, 14 '... DRAM, 31, 34, 41, 44 ... Selector, 32, 33, 42, 43 ... Shift register, 3
8, 48 ... FF, 50 ... Control section, 51 ... Address generating section.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ライン順に供給される概メモリの画像デ
ータに記録し、N×M(N,M:整数)画素で構成する
ブロックに変換し読み出す、もしくはブロック毎の画像
データをメモリに記録し、ライン順に読み出すメモリ制
御回路において、Nワードの一時記憶を行う少なくとも
2つの記憶手段を備え、Nワード単位の高速アクセスモ
ードにより前記メモリへのリード・ライトアクセスを行
うメモリ制御回路。
1. The image data is supplied in line order and is recorded in approximate memory image data, converted into a block composed of N × M (N, M: integer) pixels and read out, or image data for each block is recorded in the memory. , A memory control circuit for reading in line order, comprising at least two storage means for temporarily storing N words, and performing read / write access to the memory in a high-speed access mode in units of N words.
【請求項2】 前記リード・ライトアクセスは、有効な
全ローアドレスを短期間で周期的に繰り返すことを特徴
とする請求項1記載のメモリ制御回路。
2. The memory control circuit according to claim 1, wherein in the read / write access, all valid row addresses are periodically repeated in a short period.
JP3341123A 1991-12-24 1991-12-24 Memory control circuit Pending JPH05176183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3341123A JPH05176183A (en) 1991-12-24 1991-12-24 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3341123A JPH05176183A (en) 1991-12-24 1991-12-24 Memory control circuit

Publications (1)

Publication Number Publication Date
JPH05176183A true JPH05176183A (en) 1993-07-13

Family

ID=18343473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3341123A Pending JPH05176183A (en) 1991-12-24 1991-12-24 Memory control circuit

Country Status (1)

Country Link
JP (1) JPH05176183A (en)

Similar Documents

Publication Publication Date Title
EP0208325B1 (en) Image memory
EP0264726A2 (en) Picture transformation memory
KR960020471A (en) Memory Architecture for Reconstructing and Storing Display Data in Standard TV and HDTV Systems
US5793434A (en) Aspect ratio converter and method thereof
EP0467717B1 (en) Data shuffling apparatus
US7336302B2 (en) Frame memory device and method with subsampling and read-out of stored signals at lower resolution than that of received image signals
JPH07121430A (en) Memory system for digital video signal processing
US20010055477A1 (en) Signal processing apparatus and method
JP2501101B2 (en) Image memory
JPH05176183A (en) Memory control circuit
KR0166853B1 (en) Digital image signal manufacturing memory system
KR920009770B1 (en) Frame data addresing method for vtr
JP2615050B2 (en) Semiconductor memory
JP3992269B2 (en) Image processing apparatus and method
JPS6250791A (en) Dynamic type semiconductor memory
JP3291070B2 (en) Data transposition equipment
JP3274479B2 (en) Image storage method and image storage device
JP2000284771A (en) Video data processor
KR0157448B1 (en) Address generator
JP2961733B2 (en) Image memory device
JPH06124073A (en) Display device
JPH036595B2 (en)
JP3241065B2 (en) Line memory
JPS60162287A (en) Access processor for image memory
JPS59176773A (en) Image memory control system