JPH07105081A - Method for controlling access of synchronous dram and device therefor - Google Patents

Method for controlling access of synchronous dram and device therefor

Info

Publication number
JPH07105081A
JPH07105081A JP5273034A JP27303493A JPH07105081A JP H07105081 A JPH07105081 A JP H07105081A JP 5273034 A JP5273034 A JP 5273034A JP 27303493 A JP27303493 A JP 27303493A JP H07105081 A JPH07105081 A JP H07105081A
Authority
JP
Japan
Prior art keywords
image data
synchronous dram
address
written
access control
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
JP5273034A
Other languages
Japanese (ja)
Inventor
Shinko Yamada
眞弘 山田
Yoshitsugu Inoue
喜嗣 井上
Toru Noro
徹 野呂
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP5273034A priority Critical patent/JPH07105081A/en
Publication of JPH07105081A publication Critical patent/JPH07105081A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make an access efficiently suit the system performance of a peripheral equipment by make it possible to access synchronous DRAM in descending order at the time of using synchronous DRAM as a picture memory. CONSTITUTION:When an address inputted at first, synchronous DRAM being the picture memory 106 executes accessing in one of a sequential mode or an interleaving mode which are generated by synchronous DRAM during burst accessing. Then, picture data is written in the sequential mode so as to permit last picture data of whole picture data to be written in the max. address in the block of synchronous DRAM, picture data is read from the max. address in the block by the interleaving mode so that access is executed in descending order. That is, access is executed in an opposite direction (descending order) by using the characteristic of address generation in the interleaving mode.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,画像メモリとしてシン
クロナスDRAMを使用したプリンタ制御装置の画像メ
モリ制御方法およびスキャナ制御装置の画像メモリ制御
方法に関し,より詳細には,画像メモリとしてシンクロ
ナスDRAMを使用し,DMAあるいはシャドウDMA
にて画像データの書込み・読み出し制御を行うプリンタ
制御装置の画像メモリ制御方法およびスキャナ制御装置
の画像メモリ制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image memory control method of a printer controller and an image memory control method of a scanner controller using a synchronous DRAM as an image memory, and more specifically, to a synchronous DRAM as an image memory. Using DMA or shadow DMA
The present invention relates to an image memory control method for a printer control device and an image memory control method for a scanner control device for controlling writing / reading of image data.

【0002】[0002]

【従来の技術】従来の画像データの記憶装置は,大容
量,低コストを実現するため,高速ページ・モード,ス
タチック・コラム・モード,ニブル・モードのDRAM
を使用して構成するのが一般的ある。
2. Description of the Related Art A conventional image data storage device has a high-speed page mode, static column mode, and nibble mode DRAM in order to realize large capacity and low cost.
It is common to configure using.

【0003】高速ページ・モードのDRAMは,/RA
Sをアサートした状態において,/CASおよびコラム
・アドレスを入力することにより,同一行アドレスに対
し,高速にランダム・アクセスを行えるようにしたもの
である。
The fast page mode DRAM is / RA
By inputting / CAS and a column address while S is asserted, the same row address can be randomly accessed at high speed.

【0004】また,スタチック・コラム・モードのDR
AMは,/RASをアサートした状態において,コラム
・アドレスを変化させることで,高速ページ・モードと
同様に,同一行アドレスに対して高速にアクセスが行え
るものであり,さらに,/CASによってコラム・アド
レスをストローブする必要が無いので,一段と高速化が
可能である。
In addition, static column mode DR
The AM allows high-speed access to the same row address as in the high-speed page mode by changing the column address while / RAS is asserted. Since it is not necessary to strobe the address, the speed can be further increased.

【0005】また,ニブル・モードのDRAMは,通常
のアクセス終了後,/RASをアサートしたままの状態
において,/CASのトグル動作によって,下位の2ビ
ット分がインクリメントされたアドレスのデータがシー
ケンシャルにアクセスされる。なお,ニブル・モードは
4ワード分しかバースト・アクセスできないが,他のモ
ードに比べて高速であるという特徴がある。
Further, in the nibble mode DRAM, after the normal access, the data of the address whose lower 2 bits are incremented is sequentially due to the toggle operation of / CAS while / RAS is still asserted. Is accessed. Note that the nibble mode can perform burst access for only 4 words, but is characterized by being faster than other modes.

【0006】上記,各種モードのDRAMは,近傍空間
に対する連続アクセスの時にのみ,高速アクセス可能で
あり,特に高速動作を要求されるプリンタへの画像デー
タの送り出し時,および,スキャナにより読み取った画
像データの書き込み時には,シーケンシャル・アクセス
となることから,上記特徴を有効に生かすことができ
る。
The above-mentioned DRAMs of various modes can be accessed at high speed only when the adjacent space is continuously accessed. Especially when sending out image data to a printer which requires high-speed operation and image data read by a scanner. When writing, the above-mentioned characteristics can be effectively utilized because the sequential access is performed.

【0007】また,画像処理やシステム全体の制御を行
なうCPUのワーク用メモリやインストラクション用メ
モリを画像メモリと共用し,資源を有効に使用すること
が頻繁に行なわれている。このとき,インストラクショ
ンの読み出しは,シーケンシャルに行なわれることが多
いので,高速アクセスが可能となる。また,キャッシュ
・メモリのリフィル動作もブロック単位で行うように構
成することが多いので,この場合にも,高速アクセスが
可能となる。
Further, it is often practiced to share the work memory and instruction memory of the CPU that performs image processing and control of the entire system with the image memory to effectively use the resources. At this time, instruction reading is often performed sequentially, so high-speed access is possible. Further, since the refill operation of the cache memory is often configured to be performed in block units, high speed access is possible in this case as well.

【0008】ところが,高速にアクセスが実現できると
言ってもそのサイクル・タイムは40nsec(25M
Hz)程度であり,更に高速にアクセスを実現するため
には,SRAMを使用したり,バンク・インターリーブ
の手法を使用する必要があった。ところが,SRAMは
高価であるため,SRAMを使用するとコストアップを
招くという不都合があり,また,バンク・インターリー
ブでは,同時に先のアドレスもアクセスすることで,シ
ーケンシャル・アクセスを高速にすることができるもの
の,バンク分のバス幅が必要となることから,システム
の最低構成単位が大きくなり,やはり,コストアップを
招くという不都合があった。
However, even if high speed access can be realized, the cycle time is 40 nsec (25 M
However, in order to realize access at a higher speed, it is necessary to use SRAM or a bank interleave method. However, since the SRAM is expensive, there is a disadvantage that the use of the SRAM causes an increase in cost, and in the bank interleave, the sequential address can be accessed at the same time by accessing the previous address at the same time. However, since the bus width for the bank is required, the minimum configuration unit of the system becomes large, which again causes the cost increase.

【0009】このため,従来,上記不都合を解消するも
のとして,メモリとしてシンクロナスDRAMを使用
し,データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御方法およびその装置が提供されて
いる。シンクロナスDRAMは,DRAMを完全同期型
にしたものであり,最大100MHzでデータの入出力
を行なうことができる。同期型にしたため,クロックの
立上りエッジに合わせて,ロー・アドレスやコラム・ア
ドレスのエントリ,リフレッシュなどをコマンドとして
与えることにより,シンクロナスDRAMへのアクセス
を行なうことができる。
Therefore, conventionally, in order to solve the above-mentioned inconvenience, a synchronous DRAM is used as a memory to write / read data.
A RAM access control method and apparatus are provided. The synchronous DRAM is a fully synchronous type of DRAM, and can input / output data at a maximum of 100 MHz. Since it is a synchronous type, it is possible to access the synchronous DRAM by giving a row address, a column address entry, a refresh, etc. as a command in synchronization with the rising edge of the clock.

【0010】リードに関しては,最初のデータの読み出
しまでに要する時間は,一般的なDRAMと変わらない
が,その後のデータはクロックの周期に合わせて出力さ
れてくる。なお,この時のアクセスの順番は,モード設
定によって行なうので,コラム・アドレスをクロック毎
に入力する必要は無い。また,ライトに関しては,クロ
ックの周期に合わせて,最初のデータから書き込むこと
ができる。このように,クロックの周期に合わせてシン
クロナスDRAMへのアクセスを行なうが,このクロッ
クの周期が高速(100MHz)であるため,シンクロ
ナスDRAMへのアクセスは高速アクセスとなる。
Regarding reading, the time required for reading the first data is the same as that of a general DRAM, but subsequent data is output in synchronization with the clock cycle. Since the order of access at this time is set by mode setting, it is not necessary to input the column address for each clock. As for writing, it is possible to write from the first data in synchronization with the clock cycle. As described above, the synchronous DRAM is accessed in accordance with the clock cycle. However, since the clock cycle is high speed (100 MHz), the synchronous DRAM is accessed at high speed.

【0011】一方,バースト・アクセス時におけるアク
セスの順番としては,シーケンシャル・モードとインタ
ーリーブ・モードの2種類のモードが設定可能である。
ここで,シーケンシャル・モードは,スタート・アドレ
スからバースト長分をインクリメントしながらアクセス
していくものである。なお,ブロック内の最大アドレス
に達したら,ブロック内の最小アドレスに戻る。
On the other hand, in the burst access, it is possible to set two kinds of access modes, that is, a sequential mode and an interleave mode.
Here, in the sequential mode, access is performed while incrementing the burst length from the start address. When the maximum address in the block is reached, the minimum address in the block is returned to.

【0012】また,インターリーブ・モードは,バース
ト長をLとすると,0からL−1まで順番に,スタート
・アドレスとの排他的論理和演算を行ない,演算結果の
アドレスを用いて,演算順に,アクセスしていくもので
ある。
Further, in the interleave mode, when the burst length is L, an exclusive OR operation with the start address is performed in order from 0 to L-1, and the address of the operation result is used in the operation order. It is something you access.

【0013】なお,ブロックとは,バースト長ごとの区
切りを指すものである。従って,例えば,2M×8ビッ
ト構成の16MビットのシンクロナスDRAMでは,バ
ースト長を4とすると,1個当たり, 2×1024×1024÷4=512×1024個 のブロックがあることになる。
The block means a break for each burst length. Therefore, for example, in a 16M-bit synchronous DRAM having a 2M × 8 bit structure, assuming that the burst length is 4, there are 2 × 1024 × 1024 ÷ 4 = 512 × 1024 blocks per one.

【0014】上記のシンクロナスDRAMを使用するこ
とで,順方向のシーケンシャルなアクセスが極めて高速
に実現できる。また,CPUがキャッシュ・メモリをリ
フィルする時,インターリーブ,シーケンシャル,また
は1ワード・アクセスとして行なうものが多いが,シン
クロナスDRAMを使用した場合には,これらの全てに
対応できる。
By using the above-mentioned synchronous DRAM, forward sequential access can be realized at extremely high speed. Further, when the CPU refills the cache memory, it is often performed as an interleave, a sequential, or a 1-word access, but when a synchronous DRAM is used, all of these can be dealt with.

【0015】[0015]

【発明が解決しようとする課題】しかしながら,上記従
来のシンクロナスDRAMのアクセス制御方法およびそ
の装置によれば,シンクロナスDRAMを使用すること
で,大容量,かつ,高速の画像メモリを低コストで実現
することができるものの,シーケンシャル・モードでシ
ンクロナスDRAMにアクセスする場合に,アドレスの
小さい方向(すなわち,降順)にアクセスすることがで
きないため,シンクロナスDRAMを画像メモリとして
使用した場合には,必ずしもシステム性能に効率的に適
合させることができないという問題点があった。
However, according to the conventional synchronous DRAM access control method and apparatus described above, by using the synchronous DRAM, a large-capacity and high-speed image memory can be manufactured at low cost. Although it can be realized, when accessing the synchronous DRAM in the sequential mode, it is not possible to access in the direction of the smaller address (that is, in descending order). Therefore, when the synchronous DRAM is used as the image memory, There is a problem that it is not always possible to efficiently adapt to the system performance.

【0016】ここで,シンクロナスDRAMを画像メモ
リとして使用した場合の問題点を具体的に説明する。例
えば,プリンタでは,両面プリント時の裏面画像データ
等のように,画像メモリのデータを180度回転させた
形で送り出す必要を生じる場合がある。また,スキャナ
の読取データを,180度回転させた形で画像メモリに
記憶させたい場合もある。この場合,アドレスの小さい
方向(降順)にアクセスしていけば良いのであるが,シ
ーケンシャル・モードでは,アドレスの大きい方向(昇
順)へのアクセスであり,また,インターリーブ・モー
ドはキャッシュ・リフィルを簡単に行なう為のモードで
あるため,シンクロナスDRAMを使用して,降順にア
クセスを行なうことは困難であった。
Here, the problems when the synchronous DRAM is used as an image memory will be specifically described. For example, in a printer, it may be necessary to send data in the image memory in a form rotated by 180 degrees, such as back-side image data in double-sided printing. In some cases, the read data of the scanner may be stored in the image memory in a form rotated by 180 degrees. In this case, it suffices to access in the direction with the smaller address (descending order), but with the sequential mode, the access is in the direction with larger address (ascending order), and the cache refill is easy in the interleave mode. It is difficult to access in descending order by using the synchronous DRAM because it is the mode for performing.

【0017】本発明は上記に鑑みてなされたものであ
り,画像メモリとしてシンクロナスDRAMを使用した
場合に,シンクロナスDRAMを降順にアクセスできる
ようにして,シンクロナスDRAMのアクセスをスキャ
ナ,プリンタ等の周辺機器のシステム性能と効率的に適
合させることを目的とする。
The present invention has been made in view of the above, and when a synchronous DRAM is used as an image memory, the synchronous DRAM can be accessed in descending order so that the synchronous DRAM can be accessed by a scanner, a printer, or the like. The objective is to efficiently match the system performance of the peripheral equipment of.

【0018】[0018]

【課題を解決するための手段】本発明は上記の目的を達
成するために,画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最後の画像データがシ
ンクロナスDRAMのブロック内の最大アドレスに書き
込まれるように,シーケンシャル・モードで画像データ
を書き込み,インターリーブ・モードでシンクロナスD
RAMのブロック内の最大アドレスから画像データを読
み出すシンクロナスDRAMのアクセス制御方法を提供
するものである。
In order to achieve the above object, the present invention provides a synchronous DRAM as an image memory.
In the access control method of the synchronous DRAM which writes / reads the image data by DMA by using, the last image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. , Write image data in sequential mode, Synchronous D in interleave mode
The present invention provides an access control method for a synchronous DRAM that reads image data from the maximum address in a RAM block.

【0019】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最後の画像データがシ
ンクロナスDRAMのブロック内の最大アドレスに書き
込まれるように,シーケンシャル・モードで画像データ
を書き込み,インターリーブ・モードでシンクロナスD
RAMのブロック内の最大アドレスから画像データを読
み出すシンクロナスDRAMのアクセス制御方法を提供
するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM that writes / reads the image data by the shadow DMA, the sequential image is written so that the last image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. Image data is written in mode and synchronous D in interleaved mode
The present invention provides an access control method for a synchronous DRAM that reads image data from the maximum address in a RAM block.

【0020】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
DMAにて画像データの書き込み・読み出しを行うシン
クロナスDRAMのアクセス制御方法において,書込み
を行う全画像データの最初の画像データがシンクロナス
DRAMのブロック内の最大アドレスに書き込まれるよ
うに,インターリーブ・モードで画像データを書き込
み,シーケンシャル・モードでシンクロナスDRAMの
ブロック内の最大アドレスから画像データを読み出すシ
ンクロナスDRAMのアクセス制御方法を提供するもの
である。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by the DMA, the interleave mode is set so that the first image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. The present invention provides an access control method for a synchronous DRAM in which image data is written in and the image data is read out from the maximum address in a block of the synchronous DRAM in a sequential mode.

【0021】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最初の画像データがシ
ンクロナスDRAMのブロック内の最大アドレスに書き
込まれるように,インターリーブ・モードで画像データ
を書き込み,シーケンシャル・モードでシンクロナスD
RAMのブロック内の最大アドレスから画像データを読
み出すシンクロナスDRAMのアクセス制御方法を提供
するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by the shadow DMA, the interleaved so that the first image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. Image data is written in the mode and synchronous D in the sequential mode
The present invention provides an access control method for a synchronous DRAM that reads image data from the maximum address in a RAM block.

【0022】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
DMAにて画像データの書き込み・読み出しを行うシン
クロナスDRAMのアクセス制御方法において,書込み
を行う全画像データの最後の画像データがシンクロナス
DRAMのブロック内の(2n −1)番目(nは整数)
のアドレスに書き込まれるように,シーケンシャル・モ
ードで画像データを書き込み,インターリーブ・モード
でシンクロナスDRAMのブロック内の(2n−1)番
目のアドレスから画像データを読み出すシンクロナスD
RAMのアクセス制御方法を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM that writes / reads the image data by DMA, the last image data of all the image data to be written is the (2 n -1) th (n is an integer) in the block of the synchronous DRAM. )
Image data is written in the sequential mode so that the image data is written in the address of the synchronous D, and the image data is read from the (2 n -1) th address in the block of the synchronous DRAM in the interleave mode.
A RAM access control method is provided.

【0023】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最後の画像データがシ
ンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,シーケ
ンシャル・モードで画像データを書き込み,インターリ
ーブ・モードでシンクロナスDRAMのブロック内の
(2n −1)番目のアドレスから画像データを読み出す
シンクロナスDRAMのアクセス制御方法を提供するも
のである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by the shadow DMA, the last image data of all the image data to be written is the (2 n -1) th (n is the Access control of the synchronous DRAM for writing the image data in the sequential mode so as to be written to the address of (integer) and reading the image data from the (2 n -1) th address in the block of the synchronous DRAM in the interleave mode. It provides a method.

【0024】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
DMAにて画像データの書き込み・読み出しを行うシン
クロナスDRAMのアクセス制御方法において,書込み
を行う全画像データの最初の画像データがシンクロナス
DRAMのブロック内の(2n −1)番目(nは整数)
のアドレスに書き込まれるように,インターリーブ・モ
ードで画像データを書き込み,シーケンシャル・モード
で最後に書き込んだ画像データのアドレスから画像デー
タを読み出すシンクロナスDRAMのアクセス制御方法
を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by DMA, the first image data of all the image data to be written is the (2 n -1) th (n is an integer) in the block of the synchronous DRAM. )
The present invention provides an access control method for a synchronous DRAM in which image data is written in the interleaved mode so that the image data is written in the address, and the image data is read from the address of the last written image data in the sequential mode.

【0025】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最初の画像データがシ
ンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,インタ
ーリーブ・モードで画像データを書き込み,シーケンシ
ャル・モードで最後に書き込んだ画像データのアドレス
から画像データを読み出すシンクロナスDRAMのアク
セス制御方法を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the synchronous DRAM access control method for writing / reading image data by shadow DMA, the first image data of all image data to be written is the (2 n -1) th (n is The present invention provides an access control method for a synchronous DRAM in which image data is written in the interleave mode so that the image data is written to the address of (integer) and the image data is read from the address of the image data written last in the sequential mode.

【0026】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
DMAにて画像データの書き込み・読み出しを行うシン
クロナスDRAMのアクセス制御方法において,シーケ
ンシャル・モードで画像データを書き込み,画像データ
を読み出す際に,読み出しのスタートアドレスをシンク
ロナスDRAMのブロック内の(2n −1)番目(nは
整数)のアドレスに切り上げて,インターリーブ・モー
ドで前記(2n −1)番目のアドレスから画像データを
読み出すシンクロナスDRAMのアクセス制御方法を提
供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by DMA, when the image data is written in the sequential mode and the image data is read, the read start address is set in the block of the synchronous DRAM (2 The present invention provides an access control method for a synchronous DRAM that rounds up to the ( n- 1) th address (n is an integer) and reads image data from the ( 2n- 1) th address in the interleave mode.

【0027】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,シーケンシャル・モードで画像データを書き込み,
画像データを読み出す際に,読み出しのスタートアドレ
スをシンクロナスDRAMのブロック内の(2n −1)
番目(nは整数)のアドレスに切り上げて,インターリ
ーブ・モードで前記(2n −1)番目のアドレスから画
像データを読み出すシンクロナスDRAMのアクセス制
御方法を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM in which the image data is written / read by the shadow DMA, the image data is written in the sequential mode,
When reading the image data, the read start address is set to (2 n -1) in the block of the synchronous DRAM.
The present invention provides an access control method for a synchronous DRAM that rounds up to the (th) (n is an integer) address and reads image data from the (2 n -1) th address in the interleave mode.

【0028】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
DMAにて画像データの書き込み・読み出しを行うシン
クロナスDRAMのアクセス制御方法において,書込み
を行う全画像データの最初の画像データがシンクロナス
DRAMのブロック内の(2n −1)番目(nは整数)
のアドレスに書き込まれるように,インターリーブ・モ
ードで画像データを書き込み,シーケンシャル・モード
でシンクロナスDRAMのブロック内の先頭アドレスか
ら画像データを読み出すシンクロナスDRAMのアクセ
ス制御方法を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the access control method of the synchronous DRAM which writes / reads the image data by DMA, the first image data of all the image data to be written is the (2 n -1) th (n is an integer) in the block of the synchronous DRAM. )
To provide the access control method of the synchronous DRAM, the image data is written in the interleave mode so that the image data is written to the address of the synchronous DRAM, and the image data is read from the first address in the block of the synchronous DRAM in the sequential mode.

【0029】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
シャドウDMAにて画像データの書き込み・読み出しを
行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最初の画像データがシ
ンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,インタ
ーリーブ・モードで画像データを書き込み,シーケンシ
ャル・モードでシンクロナスDRAMのブロック内の先
頭アドレスから画像データを読み出すシンクロナスDR
AMのアクセス制御方法を提供するものである。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
In the synchronous DRAM access control method for writing / reading image data by shadow DMA, the first image data of all image data to be written is the (2 n -1) th (n is Synchronous DR for writing image data in the interleave mode and reading the image data from the first address in the block of the synchronous DRAM in the sequential mode so that the data is written to the address
An AM access control method is provided.

【0030】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,CPUから出力さ
れたアドレスビットの一部あるいは全部を反転させて,
シンクロナスDRAMをアクセスする反転アクセス手段
を備えたシンクロナスDRAMのアクセス制御装置を提
供するものである。なお,前記アドレスビットの一部と
は,少なくともシンクロナスDRAMのブロックサイズ
分以上のアドレスビットであるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the RAM access control device, some or all of the address bits output from the CPU are inverted,
An access control device for a synchronous DRAM provided with an inversion access means for accessing the synchronous DRAM. It should be noted that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0031】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,CPUから出力さ
れたアドレスビットの一部あるいは全部を反転させて,
シンクロナスDRAMをアクセスする第1のアクセス手
段と,CPUから出力されたアドレスビットを反転させ
ないで,シンクロナスDRAMをアクセスする第2のア
クセス手段とを備えたシンクロナスDRAMのアクセス
制御装置を提供するものである。なお,前記アドレスビ
ットの一部とは,少なくともシンクロナスDRAMのブ
ロックサイズ分以上のアドレスビットであるものとす
る。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the RAM access control device, some or all of the address bits output from the CPU are inverted,
Provided is an access control device for a synchronous DRAM, which includes a first access means for accessing the synchronous DRAM and a second access means for accessing the synchronous DRAM without inverting the address bit output from the CPU. It is a thing. It is assumed that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0032】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,シンクロナスDR
AMからプリンタへ画像データを読み出す際に,CPU
から出力されたアドレスビットの一部あるいは全部を反
転させて,インターリーブ・モードでシンクロナスDR
AMから画像データを読み出す第1のアクセス手段と,
CPUから出力されたアドレスビットを反転させない
で,インターリーブ・モードでシンクロナスDRAMか
ら画像データを読み出す第2のアクセス手段とを備えた
シンクロナスDRAMのアクセス制御装置を提供するも
のである。なお,前記アドレスビットの一部とは,少な
くともシンクロナスDRAMのブロックサイズ分以上の
アドレスビットであるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the access control device of RAM, synchronous DR
CPU to read image data from AM to printer
Invert all or part of the address bits output from the
A first access means for reading image data from the AM,
The present invention provides an access control device for a synchronous DRAM, which comprises a second access means for reading out image data from the synchronous DRAM in the interleave mode without inverting the address bit output from the CPU. It should be noted that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0033】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,スキャナからシン
クロナスDRAMへ画像データを書き込む際に,CPU
から出力されたアドレスビットの一部あるいは全部を反
転させて,シンクロナスDRAMに画像データを書き込
む第1のアクセス手段と,CPUから出力されたアドレ
スビットを反転させないで,シンクロナスDRAMに画
像データを書き込む第2のアクセス手段とを備えたシン
クロナスDRAMのアクセス制御装置を提供するもので
ある。なお,前記アドレスビットの一部とは,少なくと
もシンクロナスDRAMのブロックサイズ分以上のアド
レスビットであるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the RAM access control device, when writing image data from the scanner to the synchronous DRAM, the CPU
The first access means for inverting part or all of the address bits output from the CPU to write the image data in the synchronous DRAM, and the address bits output from the CPU without inverting the image data to the synchronous DRAM. The present invention provides an access control device for a synchronous DRAM including a second access means for writing. It is assumed that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0034】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,CPUから出力さ
れたアドレスビットの一部あるいは全部を反転させて,
シンクロナスDRAMをアクセスする第1のアクセス手
段と,CPUから出力されたアドレスビットを反転させ
ないで,シンクロナスDRAMをアクセスする第2のア
クセス手段と,アドレスビットの反転対象領域であるか
否かを判定し,前記第1のアクセス手段および第2のア
クセス手段の切り換え制御を行う領域判定・制御手段と
を備えたシンクロナスDRAMのアクセス制御装置を提
供するものである。なお,前記アドレスビットの一部と
は,少なくともシンクロナスDRAMのブロックサイズ
分以上のアドレスビットであるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the RAM access control device, some or all of the address bits output from the CPU are inverted,
The first access means for accessing the synchronous DRAM, the second access means for accessing the synchronous DRAM without inverting the address bit output from the CPU, and the address bit inversion target area The present invention provides an access control device for a synchronous DRAM, which is provided with an area judgment / control means for judging and controlling the switching between the first access means and the second access means. It is assumed that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0035】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,シンクロナスDR
AMからプリンタへ画像データを読み出す際に,CPU
から出力されたアドレスビットの一部あるいは全部を反
転させて,インターリーブ・モードでシンクロナスDR
AMから画像データを読み出す第1のアクセス手段と,
CPUから出力されたアドレスビットを反転させない
で,インターリーブ・モードでシンクロナスDRAMか
ら画像データを読み出す第2のアクセス手段と,アドレ
スビットの反転対象領域であるか否かを判定し,前記第
1のアクセス手段および第2のアクセス手段の切り換え
制御を行う領域判定・制御手段とを備えたシンクロナス
DRAMのアクセス制御装置を提供するものである。な
お,前記アドレスビットの一部とは,少なくともシンク
ロナスDRAMのブロックサイズ分以上のアドレスビッ
トであるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the access control device of RAM, synchronous DR
CPU to read image data from AM to printer
Invert all or part of the address bits output from the
A first access means for reading image data from the AM,
The second access means for reading the image data from the synchronous DRAM in the interleave mode without inverting the address bits output from the CPU, and determining whether or not the area is the address bit inversion target, An access control device for a synchronous DRAM provided with an area determination / control means for controlling switching between the access means and the second access means. It should be noted that a part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0036】また,本発明は上記の目的を達成するため
に,画像メモリとしてシンクロナスDRAMを使用し,
画像データの書き込み・読み出しを行うシンクロナスD
RAMのアクセス制御装置において,スキャナからシン
クロナスDRAMへ画像データを書き込む際に,CPU
から出力されたアドレスビットの一部あるいは全部を反
転させて,シンクロナスDRAMに画像データを書き込
む第1のアクセス手段と,CPUから出力されたアドレ
スビットを反転させないで,シンクロナスDRAMに画
像データを書き込む第2のアクセス手段と,アドレスビ
ットの反転対象領域であるか否かを判定し,前記第1の
アクセス手段および第2のアクセス手段の切り換え制御
を行う領域判定・制御手段とを備えたシンクロナスDR
AMのアクセス制御装置を提供するものである。なお,
前記アドレスビットの一部とは,少なくともシンクロナ
スDRAMのブロックサイズ分以上のアドレスビットで
あるものとする。
In order to achieve the above object, the present invention uses a synchronous DRAM as an image memory,
Synchronous D for writing / reading image data
In the RAM access control device, when writing image data from the scanner to the synchronous DRAM, the CPU
The first access means for inverting part or all of the address bits output from the CPU to write the image data in the synchronous DRAM, and the address bits output from the CPU without inverting the image data to the synchronous DRAM. A synchronization including a second access means for writing and an area determination / control means for determining whether or not the area is an address bit inversion target and for controlling switching between the first access means and the second access means. Eggplant DR
An access control device for AM is provided. In addition,
A part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.

【0037】[0037]

【作用】本発明のシンクロナスDRAMのアクセス制御
方法(請求項1および2)は,書込みを行う全画像デー
タの最後の画像データがシンクロナスDRAMのブロッ
ク内の最大アドレスに書き込まれるように,シーケンシ
ャル・モードで画像データを書き込み,インターリーブ
・モードでシンクロナスDRAMのブロック内の最大ア
ドレスから画像データを読み出すことにより,降順のア
クセスを行う。
According to the access control method of the synchronous DRAM of the present invention (claims 1 and 2), the sequential image data is written so that the last image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. • Descending access is performed by writing the image data in the mode and reading the image data from the maximum address in the block of the synchronous DRAM in the interleave mode.

【0038】また,本発明のシンクロナスDRAMのア
クセス制御方法(請求項3および4)は,書込みを行う
全画像データの最初の画像データがシンクロナスDRA
Mのブロック内の最大アドレスに書き込まれるように,
インターリーブ・モードで画像データを書き込み,シー
ケンシャル・モードでシンクロナスDRAMのブロック
内の最大アドレスから画像データを読み出すことによ
り,降順のアクセスを行う。
According to the access control method of the synchronous DRAM of the present invention (claims 3 and 4), the first image data of all the image data to be written is the synchronous DRA.
To be written to the maximum address in the block of M,
The image data is written in the interleave mode, and the image data is read from the maximum address in the block of the synchronous DRAM in the sequential mode, so that the access is performed in the descending order.

【0039】また,本発明のシンクロナスDRAMのア
クセス制御方法(請求項5および6)は,書込みを行う
全画像データの最後の画像データがシンクロナスDRA
Mのブロック内の(2n −1)番目(nは整数)のアド
レスに書き込まれるように,シーケンシャル・モードで
画像データを書き込み,インターリーブ・モードでシン
クロナスDRAMのブロック内の(2n −1)番目のア
ドレスから画像データを読み出すことにより,降順のア
クセスを行う。
Further, in the access control method for the synchronous DRAM of the present invention (claims 5 and 6), the last image data of all the image data to be written is the synchronous DRA.
M (2 n -1) th block of (n is an integer) to be written to the address of the write image data in sequential mode, in an interleaved mode in the block of synchronous DRAM (2 n -1 Access is made in descending order by reading the image data from the) th address.

【0040】また,本発明のシンクロナスDRAMのア
クセス制御方法(請求項7および8)は,書込みを行う
全画像データの最初の画像データがシンクロナスDRA
Mのブロック内の(2n −1)番目(nは整数)のアド
レスに書き込まれるように,インターリーブ・モードで
画像データを書き込み,シーケンシャル・モードで最後
に書き込んだ画像データのアドレスから画像データを読
み出すことにより,降順のアクセスを行う。
According to the access control method of the synchronous DRAM of the present invention (claims 7 and 8), the first image data of all the image data to be written is the synchronous DRA.
The image data is written in the interleave mode so that the image data is written in the (2 n -1) th address (n is an integer) in the M block, and the image data is written from the address of the last written image data in the sequential mode. By reading, access is performed in descending order.

【0041】また,本発明のシンクロナスDRAMのア
クセス制御方法(請求項9および10)は,シーケンシ
ャル・モードで画像データを書き込み,画像データを読
み出す際に,読み出しのスタートアドレスをシンクロナ
スDRAMのブロック内の(2n −1)番目(nは整
数)のアドレスに切り上げて,インターリーブ・モード
で(2n −1)番目のアドレスから画像データを読み出
すことにより,降順のアクセスを行う。
Further, according to the access control method of the synchronous DRAM of the present invention (claims 9 and 10), when the image data is written in the sequential mode and the image data is read, the read start address is set to the block of the synchronous DRAM. By rounding up to the (2 n -1) -th address (n is an integer) in the interleave mode and reading the image data from the (2 n -1) -th address in the interleave mode, access is performed in the descending order.

【0042】また,本発明のシンクロナスDRAMのア
クセス制御方法(請求項11および12)は,書込みを
行う全画像データの最初の画像データがシンクロナスD
RAMのブロック内の(2n −1)番目(nは整数)の
アドレスに書き込まれるように,インターリーブ・モー
ドで画像データを書き込み,シーケンシャル・モードで
シンクロナスDRAMのブロック内の先頭アドレスから
画像データを読み出すことにより,降順のアクセスを行
う。
According to the access control method of the synchronous DRAM of the present invention (claims 11 and 12), the first image data of all the image data to be written is the synchronous D.
The image data is written in the interleave mode so that it is written at the (2 n -1) th (n is an integer) address in the RAM block, and the image data is written from the start address in the synchronous DRAM block in the sequential mode. Access is performed in descending order by reading.

【0043】また,本発明のシンクロナスDRAMのア
クセス制御装置(請求項14〜16)は,CPUから出
力されたアドレスビットの一部あるいは全部を反転させ
て,シンクロナスDRAMをアクセスすることにより,
降順のアクセスを行う。
Further, the access control device for the synchronous DRAM of the present invention (claims 14 to 16) inverts some or all of the address bits output from the CPU to access the synchronous DRAM,
Access in descending order.

【0044】また,本発明のシンクロナスDRAMのア
クセス制御装置(請求項17〜19)は,アドレスビッ
トの反転対象領域であるか否かを判定し,第1のアクセ
ス手段および第2のアクセス手段の切り換え制御を行う
ことにより,効率的に降順のアクセスを行う。
Further, the access control device for the synchronous DRAM of the present invention (claims 17 to 19) determines whether or not the address bit inversion target area, and determines the first access means and the second access means. Access is efficiently performed in descending order by controlling the switching of.

【0045】[0045]

【実施例】以下,本発明のシンクロナスDRAMのアク
セス制御方法およびその装置を複写機の制御装置に適用
した場合を例として,〔実施例1〕,〔実施例2〕,
〔実施例3〕,〔実施例4〕の順に図面を参照して詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [Embodiment 1], [Embodiment 2], and Embodiments of the access control method for synchronous DRAM and the apparatus thereof according to the present invention applied to a control device of a copying machine will be described below.
[Third Embodiment] and [Fourth Embodiment] will be described in detail with reference to the drawings.

【0046】〔実施例1〕図1は,実施例1の複写機の
制御装置のブロック構成図を示す。図において,101
はCPUであり,全体のシステム制御および画像処理等
を行う。このCPU101はオンチップにキャッシュ・
メモリ101aを持っている。102はROMであり,
CPU101が実行する制御プログラムや,各種パラメ
ータ等が記憶されている。103はASIC(特定用途
向けIC)であり,CPU101の外部アクセスはAS
ICを経由して行われる。104はスキャナI/Fであ
り,スキャナ(図示せず)とのインタフェースを行う。
105はホストI/Fであり,パーソナルコンピュータ
等のホストとのインタフェースを行う。
[Embodiment 1] FIG. 1 is a block diagram of a control device for a copying machine according to the first embodiment. In the figure, 101
Is a CPU, which performs overall system control and image processing. This CPU 101 has on-chip cache
It has a memory 101a. 102 is a ROM,
A control program executed by the CPU 101, various parameters, and the like are stored. 103 is an ASIC (application-specific IC), and the external access of the CPU 101 is ASIC
It is done via IC. A scanner I / F 104 interfaces with a scanner (not shown).
A host I / F 105 interfaces with a host such as a personal computer.

【0047】107はプリンタI/Fであり,プリンタ
(図示せず)とのインタフェースを行う。画像メモリ1
06に記憶されている画像データは,プリンタI/F1
07を介してプリンタに出力される。
A printer I / F 107 interfaces with a printer (not shown). Image memory 1
The image data stored in 06 is the printer I / F1.
It is output to the printer via 07.

【0048】106はシンクロナスDRAM(以下,図
面中では省略してSDRAMと記載する場合もある)で
構成された画像メモリであり,スキャナI/F104を
介して受け取ったスキャナ・データや,ホストI/F1
05を介して受け取ったプリント・データ等に対してC
PU101が画像処理を施して作成した画像データ等を
記憶する。また,この画像メモリ106は,CPU10
1がワーキング用に使用したり,インストラクションを
ここにダウン・ロードして,ここでプログラムを実行す
る場合もある。
Reference numeral 106 denotes an image memory composed of a synchronous DRAM (hereinafter, it may be abbreviated as SDRAM in the drawings), and the scanner data received via the scanner I / F 104 and the host I. / F1
C for print data etc. received via 05
The PU 101 stores image data and the like created by performing image processing. Further, the image memory 106 is the CPU 10
1 may be used for working, or instructions may be downloaded here and the program executed there.

【0049】画像メモリ106はシンクロナスDRAM
から構成されている。従って,シンクロナスDRAMが
サポートしている,シーケンシャル・モードおよびイン
ターリーブ・モードの2つのアドレス・タイプでのアク
セスが可能である。シーケンシャル・モードは,図2
(a)に示すように,アダー201に転送ブロックのス
タート・アドレスと,バイナリ・カウンタの値を入力
し,バースト長分をインクリメントしながらシーケンシ
ャル・アドレスを生成し,シーケンシャル・アドレスに
従ってアクセスしていくものである。なお,ブロック内
の最大アドレスに達したら,ブロック内の最小アドレス
に戻る。
The image memory 106 is a synchronous DRAM.
It consists of Therefore, it is possible to access in two address types supported by the synchronous DRAM, that is, the sequential mode and the interleave mode. Figure 2 shows the sequential mode.
As shown in (a), the start address of the transfer block and the value of the binary counter are input to the adder 201, a sequential address is generated while incrementing the burst length, and access is performed according to the sequential address. It is a thing. When the maximum address in the block is reached, the minimum address in the block is returned to.

【0050】また,インターリーブ・モードは,バース
ト長をLとすると,図2(b)に示すように,0からL
−1まで順番にバイナリ・カウンタで生成し,EXOR
回路202でバイナリ・カウンタのカウント値と転送ブ
ロックのスタート・アドレスとの排他的論理和演算を行
ない,演算結果をインターリーブ・アドレスとして生成
し,インターリーブ・アドレスに従ってアクセスしてい
くものである。
Further, in the interleave mode, if the burst length is L, as shown in FIG.
-1 is sequentially generated by the binary counter and EXOR
The circuit 202 performs an exclusive OR operation between the count value of the binary counter and the start address of the transfer block, generates the operation result as an interleave address, and accesses according to the interleave address.

【0051】また,図3は,バンク・インターリーブ方
式を実現するために画像メモリ106内に組み込まれて
いる2バンク式セル・アレイ機構300を示し,図示の
如く,1チップ内に2つのバンク301(バンク0)お
よびバンク302(バンク1)のメモリ・セル・アレイ
を持つことで,1チップでのインターリーブ動作を可能
としている。バンク301およびバンク302を交互に
アクセスすることにより,一方のバンクのアクセス中に
他のバンクに対してコマンド入力を行うことができ,ロ
ウ・アドレスからのアクセス,プリチャージ,CASレ
イシテンシ等の時間の短縮を可能としている。これによ
り,間断なく画像データの書き込み・読み出しを行うこ
とができる。
Further, FIG. 3 shows a two-bank type cell array mechanism 300 incorporated in the image memory 106 to realize the bank interleave system. As shown in the drawing, two banks 301 are provided in one chip. By having the memory cell arrays of (bank 0) and bank 302 (bank 1), the interleave operation in one chip is possible. By alternately accessing the bank 301 and the bank 302, it is possible to input a command to another bank while one bank is being accessed, and to access from a row address, precharge, CAS latency, etc. It is possible to shorten. As a result, image data can be written and read without interruption.

【0052】図4は,ASIC103の内部ブロック図
を示し,401はCPUI/F&DMAコントロール部
を示し,CPU101とDMAの調整,アドレス生成等
を行う。また,ASIC103のモード設定のための各
種レジスタもここに含まれている。さらに,このCPU
I/F&DMAコントロール部401は,シャドウDM
Aにも対応できるものとする。
FIG. 4 shows an internal block diagram of the ASIC 103, and 401 denotes a CPU I / F & DMA control section, which performs DMA adjustment with the CPU 101, address generation and the like. Further, various registers for setting the mode of the ASIC 103 are also included here. Furthermore, this CPU
The I / F & DMA control unit 401 is a shadow DM
It is also possible to correspond to A.

【0053】402は,アドレス・デコード部であり,
アドレス・デコードの結果,対応するチップ・セレクト
(CS)信号のみをアクティブにする。図において,S
CSはシンクロナスDRAM(画像メモリ106)のC
S信号,ECSはそれ以外のCS信号である。
Reference numeral 402 denotes an address decoding unit,
As a result of the address decoding, only the corresponding chip select (CS) signal is activated. In the figure, S
CS is C of the synchronous DRAM (image memory 106)
The S signal and ECS are other CS signals.

【0054】また,403は,シンクロナスDRAMを
制御するためのSDRAMコントロール部であり,SR
AA(アドレス),RAS,CAS,WE等の制御信号
を生成する。
Reference numeral 403 denotes an SDRAM control unit for controlling the synchronous DRAM, which is SR
It generates control signals such as AA (address), RAS, CAS, and WE.

【0055】以上の構成において, 実施例1のシンクロナスDRAMのアクセス制御の原
理 第1の動作例 (DMAにて,画像メモリ106から画像データを18
0度回転させ,読み出す動作) 第2の動作例 (DMAにて,画像データを180度回転させて画像メ
モリ106へ,書き込む動作) 第3の動作例 (シャドウDMAにて,画像メモリ106から画像デー
タを180度回転させて読み出す動作) 第4の動作例 (シャドウDMAにて,画像データを180度回転させ
て画像メモリ106へ書き込む動作) 実施例1の効果 の順序で説明する。
In the above-mentioned configuration, the principle of access control of the synchronous DRAM of the first embodiment The first operation example (using DMA, image data from the image memory 106
Operation for rotating and reading 0 degree) Second operation example (Operation for rotating image data by 180 degrees in DMA and writing to image memory 106) Third operation example (Image for image from memory 106 by shadow DMA Operation of Rotating Data by 180 ° and Reading Out) Fourth Operation Example (Operation of Rotating Image Data by 180 ° and Writing to Image Memory 106 by Shadow DMA) The effects of the first embodiment will be described in order.

【0056】実施例1のシンクロナスDRAMのアク
セス制御の原理 画像メモリ106であるシンクロナスDRAMは,バー
スト・リード時に最初にアドレスを入力したら,そのバ
ースト・アクセス中は,シンクロナスDRAM内で生成
される2種類のアドレス生成方式(シーケンシャル・モ
ードおよびインターリーブ・モードの2つのアドレス・
タイプ)のどちらかにより,アクセスを行う。シーケン
シャル・モードは,図2(a)で示したように,スター
ト・アドレスからインクリメントして行き,バースト長
分をインクリメントしながらアクセスして行くものであ
る。なお,このときブロック内の最大アドレスに達した
ら,ブロック内の最小アドレスに戻る。
Principle of Access Control of Synchronous DRAM of Embodiment 1 The synchronous DRAM which is the image memory 106 is generated in the synchronous DRAM during the burst access if an address is first input during burst read. Two types of address generation methods (sequential mode and interleave mode
Access is performed by either type. In the sequential mode, as shown in FIG. 2A, the increment is made from the start address and the burst length is incremented for access. At this time, if the maximum address in the block is reached, the process returns to the minimum address in the block.

【0057】一方,インターリーブ・モードは,0から
インクリメントしていくバイナリ・カウンタとスタート
・アドレスとの排他的論理和演算を行った結果のアドレ
スで,ブロック長分アクセスする。図5は,バースト長
(以降,B.L.と記載する場合もある)を8とした
時,インターリーブ・モードで各スタート・アドレスか
ら開始した場合の,アクセス順を示したものである。図
中の501で示すように,スタート・アドレスがブロッ
ク内最大アドレスから開始された場合には,ブロック内
を降順にアクセスすることになるが,それ以外の場合
は,必ずしも降順のアクセスとならない。従って,イン
ターリーブ・モードにおいて,任意のアドレスからスタ
ートさせて,降順にアクセスしていくことはできない。
On the other hand, in the interleave mode, an address obtained as a result of an exclusive OR operation of a binary counter and a start address, which is incremented from 0, is accessed for the block length. FIG. 5 shows the access sequence when starting from each start address in the interleave mode when the burst length (hereinafter sometimes referred to as BL) is 8. As indicated by reference numeral 501 in the figure, when the start address starts from the maximum address in the block, the blocks are accessed in descending order, but in other cases, the accesses are not necessarily in descending order. Therefore, in the interleave mode, it is not possible to start from any address and access in descending order.

【0058】ところが,前述したようにインターリーブ
・モードでは,0から始まるカウンタとの排他的論理和
演算の結果により,インターリーブ・アドレスが決まる
ので,(2n −1)をスタート・アドレスとすれば,そ
こから,ブロック内の最小アドレスまでは,1毎にデク
リメントしながらアクセスされることになる。このこと
は,図5の網点部分で示すように明らかである。
However, as described above, in the interleave mode, the interleave address is determined by the result of the exclusive OR operation with the counter starting from 0. Therefore, if (2 n -1) is the start address, From there, the minimum address in the block is accessed while decrementing by one. This is clear as shown by the halftone dots in FIG.

【0059】本発明は,上記インターリーブ・モードで
のアドレス生成の特性を利用して,シンクロナスDRA
Mを逆方向(降順)にアクセスするものである。
The present invention utilizes the characteristics of the address generation in the interleave mode to utilize the synchronous DRA.
The M is accessed in the reverse direction (descending order).

【0060】第1の動作例 第1の動作例は,DMAにて,画像メモリ106から画
像データを180度回転させ,読み出す動作を示す。
First Operation Example The first operation example shows an operation of rotating the image data from the image memory 106 by 180 degrees and reading it by the DMA.

【0061】具体的には,シンクロナスDRAMに記憶
されている画像データを180度回転させたイメージで
プリンタI/F107に送り出す動作である。ただし,
この場合には,シンクロナスDRAMに記憶されている
画像データは,シーケンシャル・モードで昇順に書き込
まれたものとする。
Specifically, it is an operation of sending the image data stored in the synchronous DRAM to the printer I / F 107 as an image rotated by 180 degrees. However,
In this case, the image data stored in the synchronous DRAM is assumed to have been written in the ascending order in the sequential mode.

【0062】図6は,シンクロナスDRAMに記憶され
ている画像データの状態を示し,画像データD(n−
7)〜D(n−1)がシンクロナスDRAM内の物理ア
ドレスm〜m+6に昇順に記憶されている。この画像デ
ータを180度回転させて読み出すには,読み出し順番
で示すように物理アドレスm+6から降順に読み出せば
良い。
FIG. 6 shows the state of the image data stored in the synchronous DRAM, and the image data D (n-
7) to D (n-1) are stored in ascending order at physical addresses m to m + 6 in the synchronous DRAM. In order to read this image data by rotating it by 180 degrees, it is sufficient to read it from the physical address m + 6 in descending order as shown in the reading order.

【0063】図7は,図6の読み出し順番で読み出して
くる時のタイミング・チャートを示す。なお,実施例1
ではLatency=1に設定し,2バンク構成のシン
クロナスDRAMからインターリーブ・モードで読み出
す。
FIG. 7 shows a timing chart at the time of reading in the reading order of FIG. In addition, Example 1
Then, Latency = 1 is set, and the data is read in the interleave mode from the synchronous DRAM having a two-bank configuration.

【0064】また,図7において,/CS,/RAS,
/CASはシンクロナスDRAMへの制御信号,/WC
ENはプリンタI/F107に対するライト・クロック
・イネーブル信号で,プリンタI/F107がCLK
(クロック)の立上りエッジで,これを“L”としてサ
ンプリングした場合には,有効なデータがデータ・バス
上に存在することを示す。また,DATAはデータ・バ
ス上のデータ,Aはマルチプレックスされたアドレス,
BSはバンクセレクトを示す。
Further, in FIG. 7, / CS, / RAS,
/ CAS is a control signal to synchronous DRAM, / WC
EN is a write clock enable signal for the printer I / F 107, and the printer I / F 107 outputs CLK.
When this is sampled as "L" at the rising edge of (clock), it indicates that valid data is present on the data bus. DATA is the data on the data bus, A is the multiplexed address,
BS indicates bank select.

【0065】今,画像読み出しのスタート・アドレスが
m+6のアドレスで,ブロック内の3番目のアドレスで
ある。換言すれば,ブロック内の最大アドレスでもな
く,ブロック内の(2n −1)番目のアドレスでもな
い。そこで,図5で示したようにシンクロナスDRAM
を降順にアクセスするために,スタート・アドレスを
(2n −1)番目のアドレスに変更する必要がある。従
って,シンクロナスDRAMに対しては,m+7をスタ
ート・アドレスとしてアクセスをスタートさせる。
Now, the start address for image reading is the address m + 6, which is the third address in the block. In other words, it is neither the maximum address in the block nor the (2 n -1) th address in the block. Therefore, as shown in FIG.
In order to access in descending order, it is necessary to change the start address to the (2 n -1) th address. Therefore, access to the synchronous DRAM is started with m + 7 as the start address.

【0066】図7のタイミング・チャートでこの流れを
説明すると,先ず,2クロック目の立上りエッジで,m
+7のアドレスに対応するRow Addressを入
力する。3クロック目の立上りエッジで,m+7のアド
レスに対応するColumnAddressを入力す
る。ここで,Latency=1であるので,4クロッ
ク目の立上りエッジでは,m+7のアドレスのデータが
確定状態になっているが,このデータは空読みデータで
あるため,プリンタI/F107には送らない。すなわ
ち,4クロック目の立上りエッジで,/WCENを
“H”レベルとしてサンプリングさせないことで,プリ
ンタI/F107はこれを有効なデータでないと判断
し,受け入れない。
This flow will be described with reference to the timing chart of FIG. 7. First, at the rising edge of the second clock, m
Input the Row Address corresponding to the +7 address. At the rising edge of the third clock, the ColumnAddress corresponding to the m + 7 address is input. Since Latency = 1 here, the data at the address m + 7 is in the definite state at the rising edge of the fourth clock, but since this data is idle reading data, it is not sent to the printer I / F 107. . That is, at the rising edge of the fourth clock, / WCEN is set to "H" level and sampling is not performed, and the printer I / F 107 determines that this is not valid data and does not accept it.

【0067】有効なデータが出力される5クロック目の
立上りエッジから,11クロック目の立上りエッジまで
は,/WCENを“L”レベルとして,該当するデータ
をプリンタI/F107にサンプリングさせる。
From the 5th clock rising edge at which valid data is output to the 11th clock rising edge, / WCEN is set to the "L" level to cause the printer I / F 107 to sample the corresponding data.

【0068】一方,図6に示すように,D(n−4)か
らは違うブロックになるので,D(n−4)を読み出し
たい8クロック目の立上りエッジからLatency=
1クロック前の7クロック目の立上りエッジにm+3の
アドレスに対応するColumn Addressを入
力している。また,その1クロック前の6クロック目の
立上りエッジにm+3のアドレスに対応するRow A
ddressを入力している。なお,図3の2バンク式
セル・アレイ機構300で示したように,最初のブロッ
クのアドレスをバンク301に対応させ,後のブロック
のアドレスをバンク302に対応させることにより,間
断なく画像データの書き込み・読み出しを行うことがで
きる。
On the other hand, as shown in FIG. 6, since the block is different from D (n-4), Latency = from the rising edge of the eighth clock where D (n-4) is to be read.
The Column Address corresponding to the m + 3 address is input at the rising edge of the 7th clock, which is one clock before. In addition, at the rising edge of the 6th clock one clock before that, the Row A corresponding to the address of m + 3 is
You have entered the address. As shown in the 2-bank type cell array mechanism 300 of FIG. 3, the address of the first block is made to correspond to the bank 301 and the address of the latter block is made to correspond to the bank 302. It is possible to write and read.

【0069】上記の処理によって,180度回転したイ
メージの画像データをプリンタI/F107に送り出す
ことができる。
By the above processing, the image data of the image rotated 180 degrees can be sent to the printer I / F 107.

【0070】なお,第1の動作例では,シンクロナスD
RAMに記憶されている画像データの最後の画像データ
が,ブロック内の最大アドレスでもなく,ブロック内の
(2n −1)番目のアドレスでもない場合を示したが,
シンクロナスDRAMに画像データを書き込む際に,あ
らかじめ書込みを行う全画像データのデータ量に基づい
て,CPU101で最後の画像データがシンクロナスD
RAMのブロック内の最大アドレスあるいはブロック内
の(2n −1)番目のアドレスになるようにスタート・
アドレスを求め,該スタート・アドレスに基づいて,シ
ーケンシャル・モードで画像データを書き込み,インタ
ーリーブ・モードでシンクロナスDRAMのブロック内
の最大アドレスから画像データを読み出すことにより,
同様に180度回転したイメージの画像データをプリン
タI/F107に送り出すことができる。
In the first operation example, the synchronous D
Although the last image data of the image data stored in the RAM is neither the maximum address in the block nor the (2 n -1) th address in the block,
When writing the image data to the synchronous DRAM, the CPU 101 determines that the last image data is synchronous D based on the data amount of all the image data to be written in advance.
Start to be the maximum address in the RAM block or the (2 n -1) th address in the block
By obtaining the address, writing the image data in the sequential mode based on the start address, and reading the image data from the maximum address in the block of the synchronous DRAM in the interleave mode,
Similarly, image data of an image rotated 180 degrees can be sent to the printer I / F 107.

【0071】また,シンクロナスDRAMに記憶されて
いる画像データの最後の画像データが,ブロック内の最
大アドレスあるいはブロック内の(2n −1)番目のア
ドレスでない場合には,いずれかに達するまで,CPU
101の制御によってダミーデータ(空の画像データ)
を書き込み,読み出し時にプリンタI/F107側でダ
ミーデータを識別して,取り込まないように構成するこ
ともできる。
If the last image data of the image data stored in the synchronous DRAM is not the maximum address within the block or the (2 n -1) th address within the block, it is reached until either one is reached. , CPU
Dummy data (empty image data) under the control of 101
It is also possible to identify the dummy data on the printer I / F 107 side at the time of writing and reading, and not to take in the dummy data.

【0072】第2の動作例 第2の動作例は,DMAにて,画像データを180度回
転させて画像メモリ106へ,書き込む動作を示す。具
体的には,スキャナの読み取りデータを180度回転さ
せたイメージでシンクロナスDRAMに記憶させる動作
である。
Second Operation Example A second operation example shows an operation of rotating the image data by 180 degrees in the DMA and writing the image data in the image memory 106. Specifically, it is an operation of storing the read data of the scanner in the synchronous DRAM as an image rotated by 180 degrees.

【0073】図8は,シンクロナスDRAMに記憶する
際の画像データの書き込み順番を示す。図9は,図8の
書き込み順番で画像データを書き込む時のタイミング・
チャートを示す。
FIG. 8 shows the writing order of the image data when the image data is stored in the synchronous DRAM. FIG. 9 shows the timing of writing image data in the writing order of FIG.
A chart is shown.

【0074】図9において,/CS,/RAS,/CA
S,BS,/WE,DQMはシンクロナスDRAMへの
制御信号,Aはマルチプレックスされたアドレス,DA
TAはデータ・バス上のデータを示す。また,/RCE
Nは,スタート・アドレスへの制御信号で,スタート・
アドレスはクロックの立上りエッジで/RCENを
“L”レベルとしてサンプリングした時には,次に画素
の画像データをデータ・バス上に出力する。
In FIG. 9, / CS, / RAS, / CA
S, BS, / WE, DQM are control signals to the synchronous DRAM, A is a multiplexed address, DA
TA indicates the data on the data bus. Also, / RCE
N is a control signal to the start address.
When the address is sampled by setting / RCEN to "L" level at the rising edge of the clock, the image data of the pixel is next output onto the data bus.

【0075】今,画像書き込みのスタート・アドレスが
m+6のアドレスで,ブロック内の3番目のアドレスで
ある。換言すれば,ブロック内の最大アドレスでもな
く,ブロック内の(2n −1)番目のアドレスでもな
い。そこで,図5で示したようにシンクロナスDRAM
を降順にアクセスするために,スタート・アドレスを
(2n −1)番目のアドレスに変更する必要がある。従
って,シンクロナスDRAMに対しては,m+7をスタ
ート・アドレスとしてアクセスをスタートさせる。
Now, the start address of image writing is the address of m + 6, which is the third address in the block. In other words, it is neither the maximum address in the block nor the (2 n -1) th address in the block. Therefore, as shown in FIG.
In order to access in descending order, it is necessary to change the start address to the (2 n -1) th address. Therefore, access to the synchronous DRAM is started with m + 7 as the start address.

【0076】図9のタイミング・チャートでこの流れを
説明すると,先ず,2クロック目の立上りエッジで,m
+7のアドレスに対応するRow Addressを入
力する。3クロック目の立上りエッジで,m+7のアド
レスに対応するColumnAddressを入力す
る。ここで,4クロック目の立上りエッジでは,DQM
は“H”レベルとしてサンプリングされるようにしてい
るので,このクロックでのライトはマスクされ,m+7
のアドレスに対しては書き込みを行わない。
This flow will be described with reference to the timing chart of FIG. 9. First, at the rising edge of the second clock, m
Input the Row Address corresponding to the +7 address. At the rising edge of the third clock, the ColumnAddress corresponding to the m + 7 address is input. Here, at the rising edge of the fourth clock, DQM
Is sampled as "H" level, so the write at this clock is masked and m + 7
Writing is not performed for the address.

【0077】一方,有効なデータが出力される5クロッ
ク目の立上りエッジから,11クロック目の立上りエッ
ジまでは,該当するデータがシンクロナスDRAMに書
き込まれる。ただし,図8に示すように,D(n−4)
からは別のブロックへの書き込みとなるので,8クロッ
ク目の立上りエッジにm+3のアドレスに対応する対応
するColumn Addressを入力し,また,そ
の1クロック前の7クロック目の立上りエッジにm+3
のアドレスに対応するRow Addressを入力し
ている。
On the other hand, from the rising edge of the 5th clock at which valid data is output to the rising edge of the 11th clock, the corresponding data is written in the synchronous DRAM. However, as shown in FIG. 8, D (n-4)
Since it is a write to another block, the corresponding Column Address corresponding to the address of m + 3 is input to the rising edge of the 8th clock, and m + 3 is input to the rising edge of the 7th clock one clock before that.
Inputs the Row Address corresponding to the address.

【0078】上記の処理によって,スキャナの読み取り
データを180度回転させたイメージで画像データを画
像メモリ106に記憶させることができる。
By the above processing, the image data can be stored in the image memory 106 as an image obtained by rotating the read data of the scanner by 180 degrees.

【0079】なお,第2の動作例では,実際にシンクロ
ナスDRAMに書き込む際の最初の画像データが,ブロ
ック内の最大アドレスでもなく,ブロック内の(2n
1)番目のアドレスでもない場合を示したが,シンクロ
ナスDRAMに画像データを書き込む際に,CPU10
1においてあらかじめスタート・アドレスそのものをブ
ロック内の最大アドレスあるいはブロック内の(2n
1)番目のアドレスになるように変更するようにしても
良く,同様にスキャナの読み取りデータを180度回転
させたイメージで画像データを画像メモリ106に記憶
させることができる。
In the second operation example, the first image data when actually writing to the synchronous DRAM is not the maximum address in the block but (2 n
Although the case where it is not the 1) th address is shown, when the image data is written in the synchronous DRAM, the CPU 10
In 1, the start address itself is previously set to the maximum address in the block or (2 n
The address may be changed to the 1) th address, and similarly, the image data can be stored in the image memory 106 as an image obtained by rotating the read data of the scanner by 180 degrees.

【0080】第3の動作例 第3の動作例では,シャドウDMAにて,画像メモリ1
06から画像データを180度回転させて読み出す動作
を説明する。具体的には,シンクロナスDRAMに記憶
されている画像データを180度回転させたイメージで
プリンタI/F107に送り出す動作である。ただし,
この場合には,シンクロナスDRAMに記憶されている
画像データは,シーケンシャル・モードで昇順に書き込
まれたものとする。
Third Operation Example In the third operation example, the image memory 1
The operation of rotating the image data 180 degrees and reading the image data from 06 will be described. Specifically, it is an operation of sending the image data stored in the synchronous DRAM to the printer I / F 107 as an image rotated by 180 degrees. However,
In this case, the image data stored in the synchronous DRAM is assumed to have been written in the ascending order in the sequential mode.

【0081】図10は,シンクロナスDRAMに記憶さ
れている画像データの状態を示し,図11は,図10の
読み出し順番で読み出してくる時のタイミング・チャー
トを示す。
FIG. 10 shows a state of the image data stored in the synchronous DRAM, and FIG. 11 shows a timing chart when reading is performed in the reading order of FIG.

【0082】図11において,/RDはCPU101か
らの外部リード・リクエストを示す信号,Addres
sはCPU101の外部バス・サイクルの対象アドレス
を示す信号,/ACKはCPU101に外部バス・サイ
クルを終了しても良いことを示す信号,/ECS0は画
像メモリ空間以外の空間に対するチップ・セレクト信
号,/CS,/RAS,/CASはシンクロナスDRA
Mへの制御信号,Aはマルチプレックスされたアドレ
ス,BSはバンク・セレクト,DATAはデータ・バス
上のデータを示す。
In FIG. 11, / RD is a signal indicating an external read request from the CPU 101, Address
s is a signal indicating the target address of the external bus cycle of the CPU 101, / ACK is a signal indicating to the CPU 101 that the external bus cycle may be terminated, / ECS0 is a chip select signal for a space other than the image memory space, / CS, / RAS, / CAS are synchronous DRA
A control signal to M, A is a multiplexed address, BS is a bank select, and DATA is data on the data bus.

【0083】図11のタイミング・チャートの流れは,
基本的に図7に示す第1の動作例のタイミング・チャー
トと同様であるが,ここではDMAの代わりにシャドウ
DMAを使用しているので,通常の画像メモリ空間にオ
フセットを加えたアドレスとしてマッピングされている
シャドウ・アクセス空間へ,CPU101がリードを行
うことで,DMA動作が行われる。
The flow of the timing chart of FIG. 11 is as follows.
Basically, it is the same as the timing chart of the first operation example shown in FIG. 7, but since the shadow DMA is used instead of the DMA here, mapping is performed as an address with an offset added to the normal image memory space. The DMA operation is performed by the CPU 101 performing a read operation to the shadow access space that has been created.

【0084】この動作を図11で説明すると,0クロッ
ク目から画像メモリ106のシャドウ空間のアドレスを
出力しながら,/RDをアサートすることで,CPU1
01はシャドウ空間に対するリード動作を開始する。A
SIC103はこれを認識したらすぐに/ACKをアサ
ートし,CPU101を解放させる。CPU101は2
クロック目の立上りエッジで/ACKを認識し,データ
・バス上のデータを読み込んで次に処理に移る。ただ
し,ここで読み込んだデータは無効なデータであるた
め,CPU101内部では,このデータを使用しない。
この後,CPU101内部のキャッシュ・メモリ101
aのみを使用している場合には,外部バス・サイクルを
使用しないが,この例では,ECS0の空間へリードを
行いため,ECS0に対するリード・リクエストを出力
している。しかし,データ・バスが画像データのプリン
タI/F107への送り出しに使用されているので,こ
れが終了した後,12クロック目からECS0空間への
リードがスタートする。
This operation will be explained with reference to FIG. 11. By outputting / RD of the shadow space of the image memory 106 from the 0th clock and asserting / RD, the CPU 1
01 starts the read operation for the shadow space. A
Upon recognizing this, the SIC 103 immediately asserts / ACK and releases the CPU 101. CPU 101 is 2
At the rising edge of the clock edge, / ACK is recognized, the data on the data bus is read, and the process then proceeds. However, since the data read here is invalid data, this data is not used inside the CPU 101.
After this, the cache memory 101 inside the CPU 101
When only a is used, the external bus cycle is not used, but in this example, the read request is output to ECS0 in order to read the ECS0 space. However, since the data bus is used for sending the image data to the printer I / F 107, reading from the ECS0 space starts from the 12th clock after this is completed.

【0085】上記の処理によって,180度回転したイ
メージの画像データをプリンタI/F107に送り出す
ことができる。
By the above processing, the image data of the image rotated 180 degrees can be sent to the printer I / F 107.

【0086】なお,第3の動作例では,シンクロナスD
RAMに記憶されている画像データの最後の画像データ
が,ブロック内の最大アドレスでもなく,ブロック内の
(2n −1)番目のアドレスでもない場合を示したが,
シンクロナスDRAMに画像データを書き込む際に,あ
らかじめ書込みを行う全画像データのデータ量に基づい
て,CPU101で最後の画像データがシンクロナスD
RAMのブロック内の最大アドレスあるいはブロック内
の(2n −1)番目のアドレスになるようにスタート・
アドレスを求め,該スタート・アドレスに基づいて,シ
ーケンシャル・モードで画像データを書き込み,インタ
ーリーブ・モードでシンクロナスDRAMのブロック内
の最大アドレスから画像データを読み出すことにより,
同様に180度回転したイメージの画像データをプリン
タI/F107に送り出すことができる。
In the third operation example, the synchronous D
Although the last image data of the image data stored in the RAM is neither the maximum address in the block nor the (2 n -1) th address in the block,
When writing the image data to the synchronous DRAM, the CPU 101 determines that the last image data is synchronous D based on the data amount of all the image data to be written in advance.
Start to be the maximum address in the RAM block or the (2 n -1) th address in the block
By obtaining the address, writing the image data in the sequential mode based on the start address, and reading the image data from the maximum address in the block of the synchronous DRAM in the interleave mode,
Similarly, image data of an image rotated 180 degrees can be sent to the printer I / F 107.

【0087】また,シンクロナスDRAMに記憶されて
いる画像データの最後の画像データが,ブロック内の最
大アドレスあるいはブロック内の(2n −1)番目のア
ドレスでない場合には,いずれかに達するまで,CPU
101の制御によってダミーデータ(空の画像データ)
を書き込み,読み出し時にプリンタI/F107側でダ
ミーデータを識別して,取り込まないように構成するこ
ともできる。
If the last image data of the image data stored in the synchronous DRAM is not the maximum address in the block or the (2 n -1) th address in the block, until either of them is reached. , CPU
Dummy data (empty image data) under the control of 101
It is also possible to identify the dummy data on the printer I / F 107 side at the time of writing and reading, and not to take in the dummy data.

【0088】第4の動作例 第4の動作例は,シャドウDMAにて,画像データを1
80度回転させて画像メモリ106へ書き込む動作例で
ある。具体的には,スキャナの読み取りデータを180
度回転させたイメージでシンクロナスDRAMに記憶さ
せる動作である。
Fourth Operation Example In the fourth operation example, image data is set to 1 by shadow DMA.
This is an example of an operation of rotating the image by 80 degrees and writing the image memory 106. Specifically, the read data of the scanner is 180
This is an operation of storing the image in the synchronous DRAM in a rotated image.

【0089】図12は,シンクロナスDRAMに記憶す
る際の画像データの書き込み順番を示す。図13は,図
12の書き込み順番で画像データを書き込む時のタイミ
ング・チャートを示す。
FIG. 12 shows the order of writing image data when the image data is stored in the synchronous DRAM. FIG. 13 shows a timing chart when the image data is written in the writing order of FIG.

【0090】図13において,/WEはCPU101か
らの外部ライト・リクエストを示す信号,Addres
sはCPU101の外部バス・サイクルの対象アドレス
を示す信号,/ACKはCPU101に外部バス・サイ
クルを終了しても良いことを示す信号,/ECS0は画
像メモリ空間以外の空間に対するチップ・セレクト信
号,/CS,/RAS,/CAS,/WE,DQMはシ
ンクロナスDRAMへの制御信号,Aはマルチプレック
スされたアドレス,BSはバンク・セレクト,DATA
はデータ・バス上のデータを示す。
In FIG. 13, / WE is a signal indicating an external write request from the CPU 101, Address
s is a signal indicating the target address of the external bus cycle of the CPU 101, / ACK is a signal indicating to the CPU 101 that the external bus cycle may be terminated, / ECS0 is a chip select signal for a space other than the image memory space, / CS, / RAS, / CAS, / WE, DQM are control signals to the synchronous DRAM, A is a multiplexed address, BS is bank select, DATA
Indicates the data on the data bus.

【0091】図13のタイミング・チャートの流れは,
基本的に図9に示す第2の動作例のタイミング・チャー
トと同様であるが,ここではDMAの代わりにシャドウ
DMAを使用しているので,通常の画像メモリ空間にオ
フセットを加えたアドレスとしてマッピングされている
シャドウ・アクセス空間へ,CPU101がリードを行
うことで,DMA動作が行われる。
The flow of the timing chart of FIG. 13 is as follows.
This is basically the same as the timing chart of the second operation example shown in FIG. 9, but since the shadow DMA is used instead of the DMA here, mapping is performed as an address with an offset added to the normal image memory space. The DMA operation is performed by the CPU 101 performing a read operation to the shadow access space that has been created.

【0092】この動作を図13で説明すると,画像メモ
リ106のシャドウ空間のアドレスを出力しながら,/
WEをアサートすることで,CPU101はシャドウ空
間に対するライト動作を開始する。ASIC103はこ
れを認識したらすぐに/ACKをアサートし,CPU1
01を解放させる。CPU101は3クロック目の立上
りエッジで/ACKを認識し,この外部バス・サイクル
を終了して次に処理に移る。この後,CPU101内部
のキャッシュ・メモリ101aのみを使用している場合
には,外部バス・サイクルを使用しないが,この例で
は,ECS0の空間へライトを行いため,ECS0に対
するライト・リクエストを出力している。しかし,デー
タ・バスがスキャナ読み取りデータの画像データへの書
き込みに使用されているので,これが終了した後,12
クロック目からECS0空間へのライトがスタートす
る。
This operation will be described with reference to FIG. 13. While outputting the address of the shadow space of the image memory 106,
By asserting WE, the CPU 101 starts the write operation for the shadow space. As soon as the ASIC 103 recognizes this, it asserts / ACK and the CPU1
Release 01. The CPU 101 recognizes / ACK at the rising edge of the third clock, ends this external bus cycle, and shifts to the next processing. After that, when only the cache memory 101a inside the CPU 101 is used, the external bus cycle is not used. However, in this example, the write request to the ECS0 is output because the ECS0 space is written. ing. However, since the data bus is used to write the scanner read data to the image data, 12
Writing to the ECS0 space starts from the clock.

【0093】上記の処理によって,スキャナの読み取り
データを180度回転させたイメージで画像データを画
像メモリ106に記憶させることができる。
By the above processing, the image data can be stored in the image memory 106 as an image obtained by rotating the read data of the scanner by 180 degrees.

【0094】なお,第4の動作例では,実際にシンクロ
ナスDRAMに書き込む際の最初の画像データが,ブロ
ック内の最大アドレスでもなく,ブロック内の(2n
1)番目のアドレスでもない場合を示したが,シンクロ
ナスDRAMに画像データを書き込む際に,CPU10
1においてあらかじめスタート・アドレスそのものをブ
ロック内の最大アドレスあるいはブロック内の(2n
1)番目のアドレスになるように変更するようにしても
良く,同様にスキャナの読み取りデータを180度回転
させたイメージで画像データを画像メモリ106に記憶
させることができる。
In the fourth operation example, the first image data when actually writing in the synchronous DRAM is not the maximum address in the block but (2 n
Although the case where it is not the 1) th address is shown, when the image data is written in the synchronous DRAM, the CPU 10
In 1, the start address itself is previously set to the maximum address in the block or (2 n
The address may be changed to the 1) th address, and similarly, the image data can be stored in the image memory 106 as an image obtained by rotating the read data of the scanner by 180 degrees.

【0095】実施例1の効果 (効果1)前述したように実施例1では,DMAにて,
書込みを行う全画像データの最後の画像データをシンク
ロナスDRAMのブロック内の最大アドレスに記憶し,
インターリーブ・モードでシンクロナスDRAMのブロ
ック内の最大アドレスから画像データを読み出すことに
より,180度画像データを回転させたイメージとし
て,プリンタI/F107に送り出す時に,データの読
み飛ばしによる待ち時間が発生せず,高速に読み出しが
できる。また,常に単位長ごとの読み出しとなるので,
制御のハードウェアが複雑化しない。さらに,回転なし
で画像データを読み出す時には,シーケンシャル・モー
ドを使用できるので,この場合にも,データの読み飛ば
しによる待ち時間が発生しないので高速に読み出しがで
きる。
Effects of First Embodiment (Effect 1) As described above, in the first embodiment, DMA
The last image data of all the image data to be written is stored at the maximum address in the block of the synchronous DRAM,
By reading the image data from the maximum address in the block of the synchronous DRAM in the interleave mode, when the image data is sent to the printer I / F 107 as an image in which the image data is rotated 180 degrees, a waiting time due to the skip of the data is generated. No, it can read at high speed. Also, because the reading is always performed for each unit length,
Control hardware is not complicated. Furthermore, when the image data is read without rotation, the sequential mode can be used, and in this case as well, there is no waiting time due to the skip of reading the data, so that the reading can be performed at high speed.

【0096】(効果2)また,前述したように実施例1
では,DMAにて,インターリーブ・モードでスキャナ
読み取りデータの最初の画像データをシンクロナスDR
AMのブロック内の最大アドレスに記憶することによ
り,スキャナ読み取りデータを180度回転させたイメ
ージとして,シンクロナスDRAMに書き込む時にも,
書き込みアドレスに到達しないための待ち時間が発生せ
ず,高速に書き込みができる。また,常に単位長ごとの
書き込みとなるので,制御のハードウェアが複雑化しな
い。
(Effect 2) As described above, the first embodiment
Then, in the DMA, in the interleave mode, the first image data of the scanner read data is synchronized DR
By storing at the maximum address in the AM block, the scanner read data can be written as 180 ° rotated image in the synchronous DRAM.
High-speed writing is possible without waiting time for reaching the write address. Moreover, since the writing is always performed for each unit length, the control hardware does not become complicated.

【0097】(効果3)DMAにて,書込みを行う全画
像データの最後の画像データをシンクロナスDRAMの
ブロック内の(2n −1)番目(nは整数)のアドレス
に記憶し,インターリーブ・モードでシンクロナスDR
AMのブロック内の(2n −1)番目から画像データを
読み出すことにより,180度画像データを回転させた
イメージとして,プリンタI/F107に送り出す時
に,データの読み飛ばしによる待ち時間が発生せず,高
速に読み出しができる。また,常に単位長ごとの読み出
しとなるので,制御のハードウェアが複雑化しない。さ
らに,回転なしで画像データを読み出す時には,シーケ
ンシャル・モードを使用できるので,この場合にも,デ
ータの読み飛ばしによる待ち時間が発生しないので高速
に読み出しができる。
(Effect 3) In DMA, the last image data of all image data to be written is stored in the (2 n -1) th (n is an integer) address in the block of the synchronous DRAM, and the interleave Synchronous DR in mode
By reading the image data from the (2 n -1) th block in the AM block, when the image data is sent to the printer I / F 107 as an image obtained by rotating the image data by 180 degrees, there is no waiting time due to data skipping. , High speed reading is possible. Further, since the reading is always performed for each unit length, the control hardware does not become complicated. Furthermore, when the image data is read without rotation, the sequential mode can be used, and in this case as well, there is no waiting time due to the skip of reading the data, so that the reading can be performed at high speed.

【0098】(効果4)また,前述したように実施例1
では,DMAにて,インターリーブ・モードでスキャナ
読み取りデータの最初の画像データをシンクロナスDR
AMのブロック内の(2n −1)番目のアドレスに記憶
することにより,スキャナ読み取りデータを180度回
転させたイメージとして,シンクロナスDRAMに書き
込む時にも,書き込みアドレスに到達しないための待ち
時間が発生せず,高速に書き込みができる。また,常に
単位長ごとの書き込みとなるので,制御のハードウェア
が複雑化しない。
(Effect 4) As described above, the first embodiment
Then, in the DMA, in the interleave mode, the first image data of the scanner read data is synchronized DR
By storing at the (2 n -1) th address in the AM block, there is a waiting time for reaching the write address even when writing to the synchronous DRAM as an image obtained by rotating the scanner read data by 180 degrees. Writing does not occur and high speed writing is possible. Moreover, since the writing is always performed for each unit length, the control hardware does not become complicated.

【0099】(効果5)DMAにて,画像読み出しのス
タート・アドレスが(2n −1)番目のアドレスにない
時,(2n −1)番目のアドレスに切り上げて,そこか
らインターリーブ・モードで画像データを読み出すこと
により,180度画像データを回転させたイメージと,
回転させないイメージの両方で,プリンタI/F107
に送り出すことができる。さらに,スタート・アドレス
の制限がないため,メモリを無駄にすることがない。
[0099] In (effect 5) DMA, when the start address of the image reading is not in the (2 n -1) th address, and rounded up to (2 n -1) th address, in an interleaved mode from there An image obtained by rotating the image data 180 degrees by reading the image data,
Printer I / F 107 for both non-rotated images
Can be sent to. Further, since there is no limitation on the start address, the memory is not wasted.

【0100】(効果6)DMAにて,スキャナ読み取り
データを記憶する画像メモリ106の書き込みスタート
・アドレスがシンクロナスDRAMのブロック内の(2
n −1)番目のアドレスにない時,(2n −1)番目の
アドレスに切り上げて,そこからインターリーブ・モー
ドで画像データを書き込むことにより,スキャナ読み取
りデータを180度回転あるいは回転なしで,画像メモ
リ106に書き込むことができる。さらに,スタート・
アドレスの制限がないため,メモリを無駄にすることが
ない。
(Effect 6) In DMA, the write start address of the image memory 106 for storing the scanner read data is (2) within the block of the synchronous DRAM.
If it is not at the ( n- 1) th address, round up to the ( 2n- 1) th address and write the image data in the interleaved mode from there to rotate the scanner read data by 180 degrees or without rotating the image. It can be written to the memory 106. In addition, start
Memory is not wasted because there are no address restrictions.

【0101】(効果7)また,上記の効果に加えて,シ
ャドウDMAにてDMAを行う場合には,常にCPUを
バスのマスタとすることが可能で,バス・マスタ権の調
停のためのオーバー・ヘッドが発生しないという利点が
ある。
(Effect 7) In addition to the above effect, when the DMA is performed by the shadow DMA, the CPU can always be the master of the bus, and the over master for the arbitration of the bus master right. -There is an advantage that no head is generated.

【0102】〔実施例2〕図14は,本発明のシンクロ
ナスDRAMのアクセス制御方法およびその装置を適用
した実施例2の複写機の制御装置のブロック構成図を示
す。なお,実施例1と共通の符号は同一の構成を示すた
め,ここでは,異なる部分のみを説明する。
[Embodiment 2] FIG. 14 is a block diagram of a control apparatus for a copying machine according to a second embodiment to which the synchronous DRAM access control method and apparatus of the present invention are applied. Note that the same reference numerals as those in the first embodiment indicate the same configurations, and therefore only different portions will be described here.

【0103】図において,1401は,DRAMで構成
されるRAMを示し,1402は,ASIC(特定用途
向けIC)であり,CPU101の外部アクセスはAS
ICを経由して行われる。
In the figure, 1401 is a RAM composed of DRAM, 1402 is an ASIC (application specific IC), and external access of the CPU 101 is AS
It is done via IC.

【0104】図15は,ASIC1402の内部ブロッ
ク図を示し,1501はCPUI/F&DMAコントロ
ール部を示し,CPU101とDMAの調整,アドレス
生成等を行う。また,ASIC1402のモード設定の
ための各種レジスタもここに含まれている。
FIG. 15 shows an internal block diagram of the ASIC 1402. Reference numeral 1501 denotes a CPU I / F & DMA control section, which performs DMA adjustment with the CPU 101 and address generation. Also, various registers for setting the mode of the ASIC 1402 are included here.

【0105】1502は,アドレス・デコード部であ
り,アドレス・デコードの結果,対応するチップ・セレ
クト(CS)信号のみをアクティブにする。図におい
て,SCSはシンクロナスDRAM(画像メモリ10
6)のCS信号,RCSはDRAM(RAM1401)
のCS信号,ECSはそれ以外のCS信号である。
Reference numeral 1502 denotes an address decoding unit, which activates only the corresponding chip select (CS) signal as a result of the address decoding. In the figure, SCS is a synchronous DRAM (image memory 10
6) CS signal and RCS are DRAM (RAM1401)
The CS signals and ECS are other CS signals.

【0106】また,1503は,ビット反転部であり,
入力アドレスに対し,下位のビットを反転するもので,
実施例2では,下位の3ビット分を反転している。そし
て,CPUI/F&DMAコントロール部1501の制
御によってビット反転を行わないようにすることも可能
である。
Reference numeral 1503 is a bit inverting section,
Inverts the lower bits of the input address,
In the second embodiment, the lower 3 bits are inverted. It is also possible to prevent bit inversion under the control of the CPU I / F & DMA control unit 1501.

【0107】1504は,シンクロナスDRAMを制御
するためのSDRAMコントロール部であり,SRAA
(アドレス),RAS,CAS,WE等の制御信号を生
成する。
Reference numeral 1504 denotes an SDRAM control unit for controlling the synchronous DRAM,
(Address), RAS, CAS, WE and other control signals are generated.

【0108】図16は,ビット反転部1503の内部構
成を示し,EAD〔31:0〕はビット反転部1503
に入力される32ビットのアドレス信号,SELはビッ
ト反転をコントロールする信号で,“H”の場合にビッ
ト反転が行われる。IAD〔31:0〕はビット反転部
1503から出力される32ビットのアドレス信号であ
る。1601はバッファであり,論理の反転を行わな
い。また,1602〜1604は排他的論理和回路であ
り,SEL入力が“H”の時,入力を反転したもの,
“L”の時,反転しないものを出力する。
FIG. 16 shows the internal structure of the bit inversion unit 1503. EAD [31: 0] is the bit inversion unit 1503.
The 32-bit address signal SEL input to the signal SEL is a signal for controlling bit inversion, and bit inversion is performed when it is "H". IAD [31: 0] is a 32-bit address signal output from the bit inverting unit 1503. A buffer 1601 does not invert the logic. Further, 1602 to 1604 are exclusive OR circuits, which are inverted when the SEL input is "H",
When it is "L", the one that is not inverted is output.

【0109】以上の構成において, 実施例2のシンクロナスDRAMのアクセス制御の原
理 第1の動作例 (シンクロナスDRAMに与えるアドレスの下位3ビッ
トを反転した場合のアクセス制御例) 第2の動作例 (シンクロナスDRAM内のデータをプリンタに出力す
る場合のアクセス制御例) 第3の動作例 (ブロック単位でアドレスの大小関係を逆転している画
像データを画像の回転なしにプリンタに送り出すアクセ
ス制御例) 第4の動作例 (B.L.=8とした場合に,ブロック単位でアドレス
の大小関係を逆転させて,スキャナデータをシンクロナ
スDRAMに記憶するアクセス制御例) 実施例2の効果の順序で説明する。
In the above configuration, the principle of access control of the synchronous DRAM of the second embodiment The first operation example (the access control example when the lower 3 bits of the address given to the synchronous DRAM is inverted) The second operation example (Example of Access Control When Outputting Data in Synchronous DRAM to Printer) Third Operation Example (Example of Access Control that Sends Image Data Reversing the Size Relationship of Addresses in Block Units to the Printer Without Image Rotation 4) Fourth operation example (when BL = 8, access control example in which scanner data is stored in the synchronous DRAM by reversing the magnitude relationship of addresses in block units) Order of effects of the second embodiment Described in.

【0110】実施例2のシンクロナスDRAMのアク
セス制御の原理 画像メモリ106であるシンクロナスDRAMは,バー
スト・リード時に最初にアドレスを入力したら,そのバ
ースト・アクセス中は,シンクロナスDRAM内で生成
される2種類のアドレス生成方式(シーケンシャル・モ
ードおよびインターリーブ・モードの2つのアドレス・
タイプ)のどちらかにより,アクセスを行う。シーケン
シャル・モードは,図2(a)で示したように,スター
ト・アドレスからインクリメントして行き,バースト長
分をインクリメントしながらアクセスして行くものであ
る。なお,このときブロック内の最大アドレスに達した
ら,ブロック内の最小アドレスに戻る。
Principle of Access Control of Synchronous DRAM of Embodiment 2 The synchronous DRAM, which is the image memory 106, is generated in the synchronous DRAM during the burst access when an address is first input during burst read. Two types of address generation methods (sequential mode and interleave mode
Access is performed by either type. In the sequential mode, as shown in FIG. 2A, the increment is made from the start address and the burst length is incremented for access. At this time, if the maximum address in the block is reached, the process returns to the minimum address in the block.

【0111】一方,インターリーブ・モードは,0から
インクリメントしていくバイナリ・カウンタとスタート
・アドレスとの排他的論理和演算を行った結果のアドレ
スで,ブロック長分アクセスする。図17は,バースト
長(以降,B.L.と記載する場合もある)を8とした
時,インターリーブ・モードで各スタート・アドレスか
ら開始した場合の,アクセス順を示したものである。図
中の1701で示すように,スタート・アドレスがブロ
ック内最大アドレスから開始された場合には,ブロック
内を降順にアクセスすることになるが,それ以外の場合
は,必ずしも降順のアクセスとならない。従って,イン
ターリーブ・モードにおいて,任意のアドレスからスタ
ートさせて,降順にアクセスしていくことはできない。
On the other hand, in the interleave mode, an address obtained as a result of the exclusive OR operation of the binary counter and the start address, which is incremented from 0, is accessed for the block length. FIG. 17 shows an access sequence when starting from each start address in the interleave mode when the burst length (hereinafter sometimes referred to as BL) is 8. As indicated by reference numeral 1701 in the figure, when the start address starts from the maximum address in the block, the blocks are accessed in descending order, but in other cases, the accesses are not necessarily in descending order. Therefore, in the interleave mode, it is not possible to start from any address and access in descending order.

【0112】ここで,排他的論理和演算は,入力データ
の一方を反転させた場合,出力結果は反転するという特
性を持つ。このため,シンクロナスDRAMをインター
リーブ・モードでアクセスしている場合には,スタート
・アドレスを反転していても,その反転方法の規則を変
えなければ,外部からは,スタート・アドレスを反転し
ていないものとなんら変わらない。このとき,例えば,
アドレスの最下位ビットから,B.L.を示すビット分
(B.L.=8ワードなら3ビット分)を反転していれ
ば,シンクロナスDRAM内部では,ブロック単位ごと
にアドレスの大小関係が逆転した形でアクセスされるこ
とになる。このため,アドレスの反転を止めれば,ブロ
ックごとにアドレスの反転したデータとしてアクセスす
ることができる。このことより,降順のアクセスがシー
ケンシャル・モードにて可能となる。
Here, the exclusive OR operation has a characteristic that the output result is inverted when one of the input data is inverted. Therefore, when the synchronous DRAM is accessed in the interleave mode, even if the start address is inverted, the start address is externally inverted unless the rules of the inversion method are changed. It's no different from nothing. At this time, for example,
From the least significant bit of the address, B. L. If the bit indicating B.L. (3 bits if BL = 8 words) is inverted, the address relation is accessed in a block-by-block manner in the synchronous DRAM inside. Therefore, if the inversion of the address is stopped, it is possible to access each block as data in which the address is inverted. As a result, descending access is possible in the sequential mode.

【0113】本発明は,上記インターリーブ・モードで
のアドレス生成の特性を利用して,シンクロナスDRA
Mを逆方向(降順)にアクセスするものである。
The present invention utilizes the characteristics of the address generation in the interleave mode described above to make use of the synchronous DRA.
The M is accessed in the reverse direction (descending order).

【0114】第1の動作例 第1の動作例は,シンクロナスDRAMに与えるアドレ
スの下位3ビットを反転した場合のアクセス制御であ
る。
First Operation Example The first operation example is access control when the lower 3 bits of the address given to the synchronous DRAM are inverted.

【0115】図18は,シンクロナスDRAMに与える
アドレスの下位3ビットを反転した場合,シンクロナス
DRAMがCPU101からどのようなアドレスとして
アクセスされるかを示したものである。実施例2では,
CPU101のB.L.=4ワードであるが,8ワード
単位でシンクロナスDRAM内のアドレスの大小関係を
逆転させたいため,3ビット分のアドレス反転を行って
いるものである。シンクロナスDRAMはインターリー
ブ・モードで行うので,CPU101が1ワードのアク
セス,インターリーブ・モードのアクセス,ブロックの
最小アドレスから始まるシーケンシャルなアクセスを行
うものであっても,アドレスの不整合は発生しない。
FIG. 18 shows what kind of address is accessed from the CPU 101 when the lower 3 bits of the address given to the synchronous DRAM are inverted. In Example 2,
B. of CPU 101. L. = 4 words, but in order to reverse the magnitude relationship of the addresses in the synchronous DRAM in units of 8 words, the address inversion for 3 bits is performed. Since the synchronous DRAM operates in the interleave mode, the address mismatch does not occur even if the CPU 101 performs one word access, interleave mode access, or sequential access starting from the minimum address of the block.

【0116】図19は,図18のCPUアクセスによる
シンクロナスDRAMのタイミング・チャートである。
実施例2では,Latency=2に設定している。C
PU101は,1クロック目の立上りエッジからリード
・アドレスを出力し,2クロック目の立上りエッジで/
RDをアサートするとこで,シンクロナスDRAMのリ
ードをリクエストする。
FIG. 19 is a timing chart of the synchronous DRAM by the CPU access shown in FIG.
In the second embodiment, Latency = 2 is set. C
The PU 101 outputs the read address from the rising edge of the first clock, and
When RD is asserted, the synchronous DRAM read is requested.

【0117】ASIC1402は,/RDのアサートを
受けて,シンクロナスDRAMに4クロック目の立上り
エッジでRow Addressを入力し,6クロック
目の立上りエッジでColumn Addressを入
力する。
In response to the assertion of / RD, the ASIC 1402 inputs Row Address to the synchronous DRAM at the rising edge of the 4th clock, and inputs Column Address at the rising edge of the 6th clock.

【0118】シンクロナスDRAMは,8クロック目の
立上りエッジで最初のデータを受け取れるように出力
し,ASIC1402は,8〜11クロックの立上りエ
ッジでCPU101がデータを受け取るように,/AC
Kをアサートする。
The synchronous DRAM outputs so as to receive the first data at the rising edge of the eighth clock, and the ASIC 1402 outputs / AC so that the CPU 101 receives the data at the rising edge of the 8th to 11th clocks.
Assert K.

【0119】上記の処理によって,CPU101から出
力されたアドレスビットの一部あるいは全部を反転させ
て,シンクロナスDRAMをアクセスすることができる
ので,反転したビット数で決まるブロック単位でアドレ
スの大小関係が逆転した画像データをソフトウェアが意
識することなく,シンクロナスDRAM内に生成でき,
また,アドレスの大小関係が逆転していない画像データ
を生成することもできるので,180度回転した画像デ
ータあるいは回転していない画像データをシーケンシャ
ル・モードで読み出すことができる。どちらの場合に
も,シーケンシャル・モードで読み出し可能なため,任
意のアドレスから始まる場合にも,読み飛ばしなしに,
高速に読み出すことができる。
By the above processing, it is possible to invert some or all of the address bits output from the CPU 101 to access the synchronous DRAM, so that there is a relation of magnitude of address in block units determined by the number of inverted bits. Inverted image data can be generated in the synchronous DRAM without the software being aware of it.
Further, since it is possible to generate image data in which the magnitude relationship of the addresses is not reversed, it is possible to read the image data rotated 180 degrees or the image data not rotated in the sequential mode. In either case, since it is possible to read in the sequential mode, even when starting from an arbitrary address, without skipping,
It can be read at high speed.

【0120】第2の動作例 第2の動作例は,シンクロナスDRAM内のデータをプ
リンタに出力する場合のアクセス制御例である。
Second Operation Example The second operation example is an access control example when the data in the synchronous DRAM is output to the printer.

【0121】図20は,シンクロナスDRAM内のデー
タをプリンタに出力する時の,シンクロナスDRAM内
の物理アドレスと,読み出し順番を示したものである。
ここで,シンクロナスDRAMは,B.L.=8ワー
ド,シーケンシャル・モードに設定しており,画像デー
タのm−1のアドレスに最初のデータが記憶されてい
る。
FIG. 20 shows the physical address in the synchronous DRAM and the reading order when the data in the synchronous DRAM is output to the printer.
Here, the synchronous DRAM is B. L. = 8 words, the sequential mode is set, and the first data is stored at the address m-1 of the image data.

【0122】図21は,図20の画像データを読み出す
時のタイミング・チャートを示し,ここでは,Late
ncy=2に設定している。また,図3で示したよう
に,シンクロナスDRAMは,1チップ内に2バンク内
蔵されているタイプである。
FIG. 21 shows a timing chart when the image data shown in FIG. 20 is read out.
ncy = 2 is set. Further, as shown in FIG. 3, the synchronous DRAM is a type in which two banks are built in one chip.

【0123】また,第2の動作例では,アドレスの反転
は行わず,シーケンシャル・モードにてシンクロナスD
RAMへのアクセスを行っている(なお,インターリー
ブ・モードで行うことも可能である)。
Further, in the second operation example, the address is not inverted, and the synchronous D is performed in the sequential mode.
The RAM is being accessed (it is also possible to use the interleave mode).

【0124】シンクロナスDRAMは,1クロック目の
立上りエッジで,バンク1(302)に対するRow
Addressを入力し,2クロック目の立上りエッジ
でバンク0(301)に対するRow Address
を入力する。そして,3クロック目の立上りエッジでバ
ンク1(302)に対するColumn Addres
sを入力している。第2の動作例では,シーケンシャル
・モードを使用しているので,任意のアドレスからアク
セスをスタートさせることができる。また,第2の動作
例では,ここで,シンクロナスDRAMのm−1のアド
レスに対応するColumn Addressを入力し
ている。
At the rising edge of the first clock, the synchronous DRAM outputs a row for bank 1 (302).
Address is input, and Row Address for bank 0 (301) is input at the rising edge of the second clock.
Enter. Then, at the rising edge of the third clock, the Column Address for the bank 1 (302) is
Input s. In the second operation example, since the sequential mode is used, access can be started from any address. In the second operation example, the Column Address corresponding to the address m-1 of the synchronous DRAM is input here.

【0125】5クロック目の立上りエッジでバンク0
(301)に対するColumn Addressを入
力している。また,シンクロナスDRAMのm−8に対
応するColumn Addressを入力している。
ここから,Latency=2クロック後にこのアドレ
スに対応するデータが出力されるので,前のColum
n Addressに対応するデータは2ワード分のみ
が読み出される。
Bank 0 at the rising edge of the 5th clock
The Column Address for (301) is input. Further, the Column Address corresponding to m-8 of the synchronous DRAM is input.
Since the data corresponding to this address is output from here after Latency = 2 clocks, the previous Column
Only 2 words of data corresponding to n Address are read.

【0126】このようにして処理して行くことで,5ク
ロック目の立上りエッジからクロックごとに180度回
転した画像データを読み出すことができる。
By performing the processing in this way, it is possible to read the image data rotated 180 degrees for each clock from the rising edge of the fifth clock.

【0127】第3の動作例 第3の動作例は,ブロック単位でアドレスの大小関係を
逆転している画像データを画像の回転なしにプリンタに
送り出すアクセス制御例である。
Third Operation Example A third operation example is an access control example in which image data in which the magnitude relationship of addresses is reversed in block units is sent to the printer without image rotation.

【0128】図22は,ブロック単位で大小関係が逆転
している画像データを画像の回転なしにプリンタに送り
出す時に,3ビット分のアドレスを反転させてシンクロ
ナスDRAMをアクセスすることで,連続したアドレス
として見なせるようにした時の反転前のアドレスとシン
クロナスDRAM内のアドレスの関係を示したものであ
る。
In FIG. 22, when the image data of which the magnitude relationship is reversed in block units is sent to the printer without image rotation, the address for 3 bits is inverted to access the synchronous DRAM, and this is continuous. It shows the relationship between the address before inversion and the address in the synchronous DRAM when it can be regarded as an address.

【0129】図23は,図22の画像データを読み出す
時のタイミング・チャートを示し,ここでは,シンクロ
ナスDRAMは,インターリーブ・モードに設定されて
いる。
FIG. 23 shows a timing chart when the image data of FIG. 22 is read, in which the synchronous DRAM is set to the interleave mode.

【0130】シンクロナスDRAMは,1クロック目の
立上りエッジで,バンク1(302)に対するRow
Addressを入力し,2クロック目の立上りエッジ
でバンク0(301)に対するRow Address
を入力する。そして,3クロック目の立上りエッジでバ
ンク1(302)に対するColumn Addres
sを入力している。
At the rising edge of the first clock, the synchronous DRAM outputs the row for bank 1 (302).
Address is input, and Row Address for bank 0 (301) is input at the rising edge of the second clock.
Enter. Then, at the rising edge of the third clock, the Column Address for the bank 1 (302) is
Input s.

【0131】ここでは,スタート・アドレスが(2n
1)となっているので,そのまま,n+4に対応するC
olumn Addressを入力している。そして,
D(3)の次のクロックで,D(4)からのデータを読
み出せるように,7クロック目の立上りエッジにn+8
に対応するColumn Addressを入力してい
る。
Here, the start address is (2 n
Since it is 1), it is C corresponding to n + 4 as it is.
You have entered the column address. And
N + 8 at the rising edge of the 7th clock so that the data from D (4) can be read at the clock next to D (3).
The Column Address corresponding to is input.

【0132】このようにして処理して行くことで,5ク
ロック目の立上りエッジから順番に画像の回転なしの画
像データを読み出すことができる。
By performing the processing in this way, it is possible to sequentially read the image data without image rotation from the rising edge of the fifth clock.

【0133】第4の動作例 第4の動作例は,B.L.=8とした場合に,ブロック
単位でアドレスの大小関係を逆転させて,スキャナデー
タをシンクロナスDRAMに記憶するアクセス制御例で
ある。
Fourth Operation Example The fourth operation example is the B. L. This is an example of access control in which the size of the address is reversed in block units and the scanner data is stored in the synchronous DRAM when = 8.

【0134】図24は,B.L.=8とした場合に,ブ
ロック単位でアドレスの大小関係を逆転させて,スキャ
ナデータをシンクロナスDRAMに記憶する時の,シン
クロナスDRAMのアドレスとデータの関係,および書
き込み順番を示したものである。実施例2では,アドレ
スの3ビット分を反転させるビット反転部1503を使
用しているので,アドレスmをアクセスすることで,シ
ンクロナスDRAMには,m+7のアドレスとしてアク
セスされる。
FIG. L. = 8, the relationship between the address of the synchronous DRAM when storing the scanner data in the synchronous DRAM by reversing the magnitude relationship of the addresses in block units, and the writing order are shown. . In the second embodiment, since the bit inversion unit 1503 that inverts 3 bits of the address is used, by accessing the address m, the synchronous DRAM is accessed as the address of m + 7.

【0135】図25は,図24の画像データを書き込む
時のタイミング・チャートを示し,ここでは,シンクロ
ナスDRAMは,インターリーブ・モードに設定されて
いる。
FIG. 25 shows a timing chart when writing the image data of FIG. 24, in which the synchronous DRAM is set in the interleave mode.

【0136】シンクロナスDRAMは,1クロック目の
立上りエッジで,バンク1(302)に対するRow
Addressを入力し,3クロック目の立上りエッジ
でバンク1(302)に対するColumn Addr
essを入力している。
At the rising edge of the first clock, the synchronous DRAM outputs a row for bank 1 (302).
Address is input, and Column Addr for bank 1 (302) is input at the rising edge of the third clock.
Entering ess.

【0137】実施例2では,ビット反転部1503に渡
すスタート・アドレスがmであり,mが(2n −1)と
なっているので,そのまま,mに対応するColumn
Addressを入力している。そして,D(7)の
データを書き込んだ後,連続してD(8)からのデータ
を書き込むように,9クロック目の立上りエッジにバン
ク1(302)のRow Addressを入力し,1
1クロック目の立上りエッジにバンク1(302)のC
olumn Address(m+8に対応するCol
umn Address)を入力している。
In the second embodiment, since the start address passed to the bit inverting unit 1503 is m and m is (2 n -1), the Column corresponding to m is as it is.
Address is input. Then, after writing the data of D (7), the row address of the bank 1 (302) is input to the rising edge of the ninth clock so that the data from D (8) is continuously written, and 1
At the rising edge of the first clock, C of bank 1 (302)
column Address (Col corresponding to m + 8
umn Address) is input.

【0138】このようにして処理して行くことで,ブロ
ック単位でアドレスの大小関係を逆転させて,スキャナ
データをシンクロナスDRAMに記憶することができ
る。
By performing the processing in this manner, it is possible to reverse the magnitude relationship of the addresses in block units and store the scanner data in the synchronous DRAM.

【0139】実施例2の効果 (効果1)前述したように実施例2では,CPUから出
力されたアドレスビットの一部あるいは全部を反転させ
て,シンクロナスDRAMをアクセスする反転アクセス
手段(ビット反転部1503)を備えて,一部あるいは
全部を反転させたアドレスにて,CPU101から画像
メモリ106をアクセスできるので,反転したビット数
で決まるブロック単位でアドレスの大小関係が逆転した
画像データを,ソフトウェアを意識することなく,シン
クロナスDRAM内に生成でき,180度回転した画像
データをシーケンシャル・モードで読み出すことができ
る。このため,任意のアドレスから始まる場合にも,読
み飛ばしなしに高速に読み出すことができる。
Effect of Second Embodiment (Effect 1) As described above, in the second embodiment, a part or all of the address bits output from the CPU are inverted to access the synchronous DRAM (inverted access means (bit inversion). Part 1503), the image memory 106 can be accessed from the CPU 101 with a partially or wholly inverted address. Therefore, the image data in which the size relationship of the addresses is reversed in block units determined by the inverted number of bits can be processed by software. It is possible to generate the image data in the synchronous DRAM and read the image data rotated by 180 degrees in the sequential mode without paying attention to the above. Therefore, even when starting from an arbitrary address, it is possible to read at high speed without skipping.

【0140】(効果2)また,CPUから出力されたア
ドレスビットの一部あるいは全部を反転させて,シンク
ロナスDRAMをアクセスする反転アクセス手段(ビッ
ト反転部1503)を備えて,一部あるいは全部を反転
させたアドレスでCPU101から画像メモリ106を
アクセスする方法と,アドレスの反転なしでCPU10
1から画像メモリ106をアクセスする方法との両方を
選択可能であるので,反転したビット数で決まるブロッ
ク単位でアドレスの大小関係が逆転した画像データを,
ソフトウェアを意識することなくシンクロナスDRAM
内に生成でき,また,アドレスの大小関係の逆転してい
ない画像データを生成することができるので,180度
回転した画像データと回転していない画像データをシー
ケンシャル・モードで読み出すことができる。このた
め,任意のアドレスから始まる場合にも,読み飛ばしな
しに高速に読み出すことができる。
(Effect 2) Further, there is provided an inversion access means (bit inversion unit 1503) for inverting some or all of the address bits output from the CPU to access the synchronous DRAM, and partially or all of them. A method of accessing the image memory 106 from the CPU 101 with an inverted address and a method of accessing the image memory 106 without inversion of the CPU 10
Both the method of accessing the image memory 106 from 1 can be selected, so that the image data in which the magnitude relationship of the addresses is reversed in block units determined by the inverted number of bits is
Synchronous DRAM without being aware of software
Since it is possible to generate image data in which the image data is not inverted and the image data in which the magnitude relationship of the addresses is not reversed, it is possible to read the image data rotated by 180 degrees and the image data not rotated in the sequential mode. Therefore, even when starting from an arbitrary address, it is possible to read at high speed without skipping.

【0141】また,このときにシンクロナスDRAMの
ブロック・サイズ分以上のアドレスを反転させているの
で,CPU101がキャッシュ・メモリ101aを使用
し,キャッシュ・メモリ101aのミス・ヒット時のリ
フィルをインターリーブ・モードでアクセスするもので
あっても,シーケンシャルな順番でアクセスするもので
あっても,あるいは1ワード分ごとにアクセスして行く
ものであっも,アドレスの不整合を発生させることな
く,180度回転させた画像データあるいは回転させな
い画像データとしてCPU101が処理することができ
る。
At this time, since the addresses of the block size of the synchronous DRAM or more are inverted, the CPU 101 uses the cache memory 101a and interleaves the refill at the time of a miss hit of the cache memory 101a. Whether it is accessed in mode, in sequential order, or accessed word by word, it rotates 180 degrees without causing an address mismatch. The CPU 101 can process the generated image data or the image data that is not rotated.

【0142】(効果3)また,一部あるいは全部を反転
させたアドレスでCPU101から画像メモリ106を
アクセスする方法と,アドレスの反転なしでCPU10
1から画像メモリ106をアクセスする方法との両方を
選択可能であるので,反転したビット数で決まるブロッ
ク単位でアドレスの大小関係が逆転した画像データを,
ソフトウェアを意識することなくシンクロナスDRAM
内に生成でき,また,アドレスの大小関係の逆転してい
ない画像データを生成することができるので,スキャナ
読み取りデータを画像メモリ106にブロック単位でア
ドレスの大小関係を逆転させて記憶させることができ,
また,アドレスの大小関係の逆転なしで記憶させること
ができる。
(Effect 3) Further, a method of accessing the image memory 106 from the CPU 101 with an address which is partially or wholly inverted, and the CPU 10 without address inversion.
Both the method of accessing the image memory 106 from 1 can be selected, so that the image data in which the magnitude relationship of the addresses is reversed in block units determined by the inverted number of bits is
Synchronous DRAM without being aware of software
Since it is possible to generate image data in which the address magnitude relationship is not reversed, it is possible to store the scanner read data in the image memory 106 by reversing the address magnitude relationship in block units. ,
In addition, it can be stored without reversing the magnitude relationship of the addresses.

【0143】(効果4)また,一部あるいは全部を反転
させたアドレスでCPU101から画像メモリ106を
アクセスする方法と,アドレスの反転なしでCPU10
1から画像メモリ106をアクセスする方法との両方を
選択可能であるので,反転したビット数で決まるブロッ
ク単位でアドレスの大小関係が逆転した画像データを,
ソフトウェアを意識することなくシンクロナスDRAM
内に生成でき,また,アドレスの大小関係の逆転してい
ない画像データを生成することができるので,ブロック
単位でアドレスの大小関係を逆転させて記憶した画像デ
ータおよび大小関係の逆転なしで記憶した画像データに
対して,画像の180度回転ありと回転なしの両方で読
み出して,プリント・アウトすることができる。
(Effect 4) In addition, a method of accessing the image memory 106 from the CPU 101 with a partially or wholly inverted address, and the CPU 10 without address inversion.
Both the method of accessing the image memory 106 from 1 can be selected, so that the image data in which the magnitude relationship of the addresses is reversed in block units determined by the inverted number of bits is
Synchronous DRAM without being aware of software
Since it is possible to generate the image data in which the address size relationship is not reversed, it is possible to generate the image data in which the address size relationship is reversed in block units and the image data is stored without reversing the size relationship. Image data can be read out and printed out both with and without rotation of the image by 180 degrees.

【0144】〔実施例3〕図26は,本発明のシンクロ
ナスDRAMのアクセス制御方法およびその装置を適用
した実施例3の複写機の制御装置のブロック構成図を示
す。なお,実施例1と共通の符号は同一の構成を示すた
め,ここでは,異なる部分のみを説明する。
[Third Embodiment] FIG. 26 is a block diagram showing the control device of a copying machine according to the third embodiment to which the synchronous DRAM access control method and apparatus of the present invention are applied. Note that the same reference numerals as those in the first embodiment indicate the same configurations, and therefore only different portions will be described here.

【0145】図において,2601は,ASIC(特定
用途向けIC)であり,CPU101の外部アクセスは
ASICを経由して行われる。
In the figure, reference numeral 2601 denotes an ASIC (application-specific IC), and external access of the CPU 101 is performed via the ASIC.

【0146】図27は,ASIC2601の内部ブロッ
ク図を示し,2701はCPUI/F&DMAコントロ
ール部を示し,CPU101とDMAの調整,アドレス
生成等を行う。また,ASIC2601のモード設定の
ための各種レジスタもここに含まれている。
FIG. 27 shows an internal block diagram of the ASIC 2601. Reference numeral 2701 denotes a CPU I / F & DMA controller, which performs DMA adjustment with the CPU 101, address generation and the like. Also, various registers for setting the mode of the ASIC 2601 are included here.

【0147】2702は,アドレス・デコード部であ
り,アドレス・デコードの結果,対応するチップ・セレ
クト(CS)信号のみをアクティブにする。図におい
て,SCSはシンクロナスDRAM(画像メモリ10
6)のCS信号,ECSはそれ以外のCS信号である。
Reference numeral 2702 denotes an address decoding unit which activates only the corresponding chip select (CS) signal as a result of the address decoding. In the figure, SCS is a synchronous DRAM (image memory 10
The CS signal and ECS in 6) are other CS signals.

【0148】2703は,アドレス比較部であり,アド
レス・ビットの反転対象領域であるか否かを判定し,後
述するビット反転部2704における反転・非反転のの
切り換え制御を行う。
Reference numeral 2703 is an address comparison unit, which determines whether or not it is an address bit inversion target area, and controls switching between inversion and non-inversion in a bit inversion unit 2704 described later.

【0149】また,2704は,ビット反転部であり,
入力アドレスに対し,下位のビットを反転するもので,
実施例3では,下位の3ビット分を反転している。そし
て,前記アドレス比較部2703の制御によってビット
反転を行わないようにすることも可能である。
Reference numeral 2704 is a bit inversion unit,
Inverts the lower bits of the input address,
In the third embodiment, the lower 3 bits are inverted. It is also possible to prevent bit inversion under the control of the address comparison unit 2703.

【0150】2705は,シンクロナスDRAMを制御
するためのSDRAMコントロール部であり,SRAA
(アドレス),RAS,CAS,WE等の制御信号を生
成する。
Reference numeral 2705 denotes an SDRAM control unit for controlling the synchronous DRAM, which is SRAA.
(Address), RAS, CAS, WE and other control signals are generated.

【0151】図28は,アドレス比較部2703および
ビット反転部2704の内部構成を示し,EAD〔3
1:0〕はアドレス比較部2703およびビット反転部
2704に入力される32ビットのアドレス信号,IA
D〔31:0〕はビット反転部2704から出力される
32ビットのアドレス信号である。SELはビット反転
をコントロールする信号で,“H”の場合にビット反転
が行われる。
FIG. 28 shows the internal structure of the address comparison unit 2703 and the bit inversion unit 2704.
1: 0] is a 32-bit address signal input to the address comparison unit 2703 and the bit inversion unit 2704, IA.
D [31: 0] is a 32-bit address signal output from the bit inverting unit 2704. SEL is a signal for controlling bit inversion, and bit inversion is performed when it is "H".

【0152】アドレス比較部2703は,画像領域開始
アドレス設定レジスタ2801と,画像領域終了アドレ
ス設定レジスタ2802と,ビット反転を行うか否かを
指定するモードを設定するモード設定レジスタ2803
と,比較器2804および2805と,AND回路28
06とから構成される。
The address comparing unit 2703 sets an image area start address setting register 2801, an image area end address setting register 2802, and a mode setting register 2803 for setting a mode for specifying whether or not to perform bit inversion.
, Comparators 2804 and 2805, and AND circuit 28
And 06.

【0153】CPUI/F&DMAコントロール部27
01の制御によって,画像領域開始アドレス設定レジス
タ2801および画像領域終了アドレス設定レジスタ2
802に,ビット反転の対象となる画像領域が含まれる
ようにアドレスが設定される。なお,このアドレスは固
定アドレスとしてあらかじめ設定しておいても良い。ま
た,モード設定レジスタ2803に入力されるSELが
“H”の場合にビット反転のモードとなる。また,
“L”が入力された場合には,どのアドレス空間に対し
てもビット反転は行わない。
CPU I / F & DMA control unit 27
By controlling 01, the image area start address setting register 2801 and the image area end address setting register 2
An address is set so that 802 includes an image area to be bit-inverted. Note that this address may be preset as a fixed address. Further, when SEL input to the mode setting register 2803 is "H", the bit inversion mode is set. Also,
When "L" is input, bit inversion is not performed for any address space.

【0154】比較器2804および2805は,それぞ
れ画像領域開始アドレス設定レジスタ2801および画
像領域終了アドレス設定レジスタ2802に設定されて
いるアドレスと,EAD〔31:0〕とを比較し,EA
D〔31:0〕がビット反転の対象となるアドレス空間
内(領域内)であるか否かを判定する。対象領域内であ
る場合には,この2つの比較器2804および2805
はそれぞれ,“H”を出力するので,AND回路280
6により,対象領域内であり,かつ,モード設定レジス
タ2803に“H”が設定されている場合にのみ,次段
のビット反転部2704へ“H”が出力される。
The comparators 2804 and 2805 compare the addresses set in the image area start address setting register 2801 and the image area end address setting register 2802 with EAD [31: 0], respectively, and perform EA.
It is determined whether or not D [31: 0] is in the address space (area) that is the target of bit inversion. If it is within the target area, these two comparators 2804 and 2805
Respectively output "H", the AND circuit 280
6, "H" is output to the bit inverting unit 2704 at the next stage only when the area is in the target area and "H" is set in the mode setting register 2803.

【0155】ビット反転部2704は,バッファ280
7と,3つの排他的論理和回路2808,2809,2
810とから構成され,バッファ2807は論理の反転
を行わない。排他的論理和回路2808,2809,2
810は,アドレス比較部2703からの入力が“H”
の時に,EAD〔2:0〕のビットを反転し,IAD
〔2:0〕として出力し,“L”の時,反転しないもの
を出力する。
The bit inversion unit 2704 has the buffer 280.
7 and three exclusive OR circuits 2808, 2809, 2
810 and 810, the buffer 2807 does not invert the logic. Exclusive OR circuit 2808, 2809, 2
810 indicates that the input from the address comparison unit 2703 is “H”.
, The bit of EAD [2: 0] is inverted and IAD
It outputs as [2: 0], and when it is "L", the one that is not inverted is output.

【0156】以上の構成において,実施例3は,実施例
2で示した実施例2のシンクロナスDRAMのアクセ
ス制御の原理と同様の原理で,実施例2の第1の動作
例,第2の動作例,第3の動作例,および第4の
動作例と同様の動作を実行することができる。従って,
実施例2と同様の効果を奏することができる。
In the above-described structure, the third embodiment has the same principle as the access control principle of the synchronous DRAM of the second embodiment shown in the second embodiment, and the first operation example and the second operation example of the second embodiment are performed. Operations similar to the operation example, the third operation example, and the fourth operation example can be executed. Therefore,
The same effect as that of the second embodiment can be obtained.

【0157】ただし,実施例3では,アドレス比較部2
703において,ビット反転の対象領域であるか否かを
判定することができるので,実施例2の効果に加えて,
画像メモリ106に対するビット反転のモードを途中で
変えても,CPU101のワーク用の空間に影響を与え
ることがないという効果を奏する。
However, in the third embodiment, the address comparison unit 2
In 703, it is possible to determine whether or not it is the target region for bit inversion, so in addition to the effect of the second embodiment,
Even if the bit inversion mode for the image memory 106 is changed midway, the work space of the CPU 101 is not affected.

【0158】[0158]

【発明の効果】以上説明したように,本発明のシンクロ
ナスDRAMのアクセス制御方法は,画像メモリとして
シンクロナスDRAMを使用し,DMAにて画像データ
の書き込み・読み出しを行うシンクロナスDRAMのア
クセス制御方法において,書込みを行う全画像データの
最後の画像データがシンクロナスDRAMのブロック内
の最大アドレスに書き込まれるように,シーケンシャル
・モードで画像データを書き込み,インターリーブ・モ
ードでシンクロナスDRAMのブロック内の最大アドレ
スから画像データを読み出すため,画像メモリとしてシ
ンクロナスDRAMを使用した場合に,シンクロナスD
RAMを降順にアクセスできるようにして,シンクロナ
スDRAMのアクセスをスキャナ,プリンタ等の周辺機
器のシステム性能と効率的に適合させることができる。
As described above, the access control method of the synchronous DRAM according to the present invention uses the synchronous DRAM as the image memory and controls the access of the synchronous DRAM for writing / reading the image data by the DMA. In the method, the image data is written in the sequential mode so that the last image data of all the image data to be written is written at the maximum address in the block of the synchronous DRAM, and in the block of the synchronous DRAM in the interleave mode. Since the image data is read from the maximum address, if a synchronous DRAM is used as the image memory, the synchronous D
By making the RAM accessible in descending order, the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0159】本発明のシンクロナスDRAMのアクセス
制御方法は,画像メモリとしてシンクロナスDRAMを
使用し,シャドウDMAにて画像データの書き込み・読
み出しを行うシンクロナスDRAMのアクセス制御方法
において,書込みを行う全画像データの最後の画像デー
タがシンクロナスDRAMのブロック内の最大アドレス
に書き込まれるように,シーケンシャル・モードで画像
データを書き込み,インターリーブ・モードでシンクロ
ナスDRAMのブロック内の最大アドレスから画像デー
タを読み出すため,画像メモリとしてシンクロナスDR
AMを使用した場合に,シンクロナスDRAMを降順に
アクセスできるようにして,シンクロナスDRAMのア
クセスをスキャナ,プリンタ等の周辺機器のシステム性
能と効率的に適合させることができる。
The access control method of the synchronous DRAM according to the present invention uses the synchronous DRAM as an image memory, and in the access control method of the synchronous DRAM in which the image data is written / read by the shadow DMA, all the writing is performed. The image data is written in the sequential mode so that the last image data of the image data is written in the maximum address in the block of the synchronous DRAM, and the image data is read from the maximum address in the block of the synchronous DRAM in the interleave mode. Therefore, synchronous DR is used as an image memory.
When the AM is used, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0160】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,DMAにて画像データの書き込み・読み
出しを行うシンクロナスDRAMのアクセス制御方法に
おいて,書込みを行う全画像データの最初の画像データ
がシンクロナスDRAMのブロック内の最大アドレスに
書き込まれるように,インターリーブ・モードで画像デ
ータを書き込み,シーケンシャル・モードでシンクロナ
スDRAMのブロック内の最大アドレスから画像データ
を読み出すため,画像メモリとしてシンクロナスDRA
Mを使用した場合に,シンクロナスDRAMを降順にア
クセスできるようにして,シンクロナスDRAMのアク
セスをスキャナ,プリンタ等の周辺機器のシステム性能
と効率的に適合させることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the access control method of the synchronous DRAM in which the AM is used to write / read the image data by the DMA, the first image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. Further, since the image data is written in the interleave mode and the image data is read from the maximum address in the block of the synchronous DRAM in the sequential mode, the synchronous DRA is used as the image memory.
When M is used, the synchronous DRAMs can be accessed in descending order, and the access of the synchronous DRAMs can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0161】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,シャドウDMAにて画像データの書き込
み・読み出しを行うシンクロナスDRAMのアクセス制
御方法において,書込みを行う全画像データの最初の画
像データがシンクロナスDRAMのブロック内の最大ア
ドレスに書き込まれるように,インターリーブ・モード
で画像データを書き込み,シーケンシャル・モードでシ
ンクロナスDRAMのブロック内の最大アドレスから画
像データを読み出すため,画像メモリとしてシンクロナ
スDRAMを使用した場合に,シンクロナスDRAMを
降順にアクセスできるようにして,シンクロナスDRA
Mのアクセスをスキャナ,プリンタ等の周辺機器のシス
テム性能と効率的に適合させることができる。
The access control method for the synchronous DRAM according to the present invention uses the synchronous DR as the image memory.
In the access control method of the synchronous DRAM which uses the AM and writes / reads the image data by the shadow DMA, the first image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. As described above, the image data is written in the interleaved mode and the image data is read from the maximum address in the block of the synchronous DRAM in the sequential mode. Therefore, when the synchronous DRAM is used as the image memory, the synchronous DRAM is descended. Synchronous DRA with access
The access of M can be efficiently matched with the system performance of peripheral devices such as scanners and printers.

【0162】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,DMAにて画像データの書き込み・読み
出しを行うシンクロナスDRAMのアクセス制御方法に
おいて,書込みを行う全画像データの最後の画像データ
がシンクロナスDRAMのブロック内の(2n −1)番
目(nは整数)のアドレスに書き込まれるように,シー
ケンシャル・モードで画像データを書き込み,インター
リーブ・モードでシンクロナスDRAMのブロック内の
(2n −1)番目のアドレスから画像データを読み出す
ため,画像メモリとしてシンクロナスDRAMを使用し
た場合に,シンクロナスDRAMを降順にアクセスでき
るようにして,シンクロナスDRAMのアクセスをスキ
ャナ,プリンタ等の周辺機器のシステム性能と効率的に
適合させることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing / reading image data by DMA using AM, the last image data of all image data to be written is (2 n -1) in the block of the synchronous DRAM. The image data is written in the sequential mode so that the image data is written in the address (n is an integer), and the image data is read from the (2 n -1) th address in the block of the synchronous DRAM in the interleave mode. When the synchronous DRAM is used as the image memory, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0163】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,シャドウDMAにて画像データの書き込
み・読み出しを行うシンクロナスDRAMのアクセス制
御方法において,書込みを行う全画像データの最後の画
像データがシンクロナスDRAMのブロック内の(2n
−1)番目(nは整数)のアドレスに書き込まれるよう
に,シーケンシャル・モードで画像データを書き込み,
インターリーブ・モードでシンクロナスDRAMのブロ
ック内の(2n −1)番目のアドレスから画像データを
読み出すため,画像メモリとしてシンクロナスDRAM
を使用した場合に,シンクロナスDRAMを降順にアク
セスできるようにして,シンクロナスDRAMのアクセ
スをスキャナ,プリンタ等の周辺機器のシステム性能と
効率的に適合させることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing and reading image data by shadow DMA using AM, the last image data of all the image data to be written is (2 n in the block of the synchronous DRAM).
Image data is written in the sequential mode so that it is written in the -1) th (n is an integer) address,
Since the image data is read from the (2 n -1) th address in the block of the synchronous DRAM in the interleave mode, the synchronous DRAM is used as the image memory.
When the above is used, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0164】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,DMAにて画像データの書き込み・読み
出しを行うシンクロナスDRAMのアクセス制御方法に
おいて,書込みを行う全画像データの最初の画像データ
がシンクロナスDRAMのブロック内の(2n −1)番
目(nは整数)のアドレスに書き込まれるように,イン
ターリーブ・モードで画像データを書き込み,シーケン
シャル・モードで最後に書き込んだ画像データのアドレ
スから画像データを読み出すため,画像メモリとしてシ
ンクロナスDRAMを使用した場合に,シンクロナスD
RAMを降順にアクセスできるようにして,シンクロナ
スDRAMのアクセスをスキャナ,プリンタ等の周辺機
器のシステム性能と効率的に適合させることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing / reading image data by DMA using AM, the first image data of all image data to be written is (2 n -1) in the block of the synchronous DRAM. Synchronous DRAM is used as the image memory in order to write the image data in the interleaved mode so that it can be written to the address (n is an integer) and to read the image data from the address of the last written image data in the sequential mode. If you do, Synchronous D
By making the RAM accessible in descending order, the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0165】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,シャドウDMAにて画像データの書き込
み・読み出しを行うシンクロナスDRAMのアクセス制
御方法において,書込みを行う全画像データの最初の画
像データがシンクロナスDRAMのブロック内の(2n
−1)番目(nは整数)のアドレスに書き込まれるよう
に,インターリーブ・モードで画像データを書き込み,
シーケンシャル・モードで最後に書き込んだ画像データ
のアドレスから画像データを読み出すため,画像メモリ
としてシンクロナスDRAMを使用した場合に,シンク
ロナスDRAMを降順にアクセスできるようにして,シ
ンクロナスDRAMのアクセスをスキャナ,プリンタ等
の周辺機器のシステム性能と効率的に適合させることが
できる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing and reading image data by shadow DMA using AM, the first image data of all image data to be written is (2 n
-1) write image data in interleave mode so that it is written at the (n) integer address,
Since the image data is read from the address of the last written image data in the sequential mode, when the synchronous DRAM is used as the image memory, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM is performed by the scanner. , It can be efficiently matched with the system performance of peripheral devices such as printers.

【0166】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,DMAにて画像データの書き込み・読み
出しを行うシンクロナスDRAMのアクセス制御方法に
おいて,シーケンシャル・モードで画像データを書き込
み,画像データを読み出す際に,読み出しのスタートア
ドレスをシンクロナスDRAMのブロック内の(2n
1)番目(nは整数)のアドレスに切り上げて,インタ
ーリーブ・モードで前記(2n −1)番目のアドレスか
ら画像データを読み出すため,画像メモリとしてシンク
ロナスDRAMを使用した場合に,シンクロナスDRA
Mを降順にアクセスできるようにして,シンクロナスD
RAMのアクセスをスキャナ,プリンタ等の周辺機器の
システム性能と効率的に適合させることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control method for a synchronous DRAM that uses AM to write / read image data by DMA, when writing image data in sequential mode and reading the image data, the start address of reading is set to the start address of the synchronous DRAM. (2 n − in the block
1) Since the image data is read out from the (2 n -1) th address in the interleave mode by rounding up to the (n is an integer) address, the synchronous DRA is used when the synchronous DRAM is used as the image memory.
Synchronous D by making M accessible in descending order
RAM access can be efficiently matched with the system performance of peripherals such as scanners and printers.

【0167】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,シャドウDMAにて画像データの書き込
み・読み出しを行うシンクロナスDRAMのアクセス制
御方法において,シーケンシャル・モードで画像データ
を書き込み,画像データを読み出す際に,読み出しのス
タートアドレスをシンクロナスDRAMのブロック内の
(2n −1)番目(nは整数)のアドレスに切り上げ
て,インターリーブ・モードで前記(2n −1)番目の
アドレスから画像データを読み出すため,画像メモリと
してシンクロナスDRAMを使用した場合に,シンクロ
ナスDRAMを降順にアクセスできるようにして,シン
クロナスDRAMのアクセスをスキャナ,プリンタ等の
周辺機器のシステム性能と効率的に適合させることがで
きる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In a synchronous DRAM access control method that uses AM to write / read image data by shadow DMA, in the case of writing image data in sequential mode and reading the image data, the start address of reading is the synchronous DRAM. Rounding up to the (2 n -1) th (n is an integer) address in the block and reading the image data from the (2 n -1) th address in the interleave mode, a synchronous DRAM is used as the image memory. When used, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0168】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,DMAにて画像データの書き込み・読み
出しを行うシンクロナスDRAMのアクセス制御方法に
おいて,書込みを行う全画像データの最初の画像データ
がシンクロナスDRAMのブロック内の(2n −1)番
目(nは整数)のアドレスに書き込まれるように,イン
ターリーブ・モードで画像データを書き込み,シーケン
シャル・モードでシンクロナスDRAMのブロック内の
先頭アドレスから画像データを読み出すため,画像メモ
リとしてシンクロナスDRAMを使用した場合に,シン
クロナスDRAMを降順にアクセスできるようにして,
シンクロナスDRAMのアクセスをスキャナ,プリンタ
等の周辺機器のシステム性能と効率的に適合させること
ができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing / reading image data by DMA using AM, the first image data of all image data to be written is (2 n -1) in the block of the synchronous DRAM. The image data is written in the interleave mode so that the image data is written to the address (n is an integer), and the image data is read from the first address in the block of the synchronous DRAM in the sequential mode. When used, the synchronous DRAM can be accessed in descending order,
It is possible to efficiently adapt the access of the synchronous DRAM to the system performance of peripheral devices such as a scanner and a printer.

【0169】また,本発明のシンクロナスDRAMのア
クセス制御方法は,画像メモリとしてシンクロナスDR
AMを使用し,シャドウDMAにて画像データの書き込
み・読み出しを行うシンクロナスDRAMのアクセス制
御方法において,書込みを行う全画像データの最初の画
像データがシンクロナスDRAMのブロック内の(2n
−1)番目(nは整数)のアドレスに書き込まれるよう
に,インターリーブ・モードで画像データを書き込み,
シーケンシャル・モードでシンクロナスDRAMのブロ
ック内の先頭アドレスから画像データを読み出すため,
画像メモリとしてシンクロナスDRAMを使用した場合
に,シンクロナスDRAMを降順にアクセスできるよう
にして,シンクロナスDRAMのアクセスをスキャナ,
プリンタ等の周辺機器のシステム性能と効率的に適合さ
せることができる。
Further, the access control method of the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In the synchronous DRAM access control method of writing and reading image data by shadow DMA using AM, the first image data of all image data to be written is (2 n
-1) write image data in interleave mode so that it is written at the (n) integer address,
Since the image data is read from the start address in the block of the synchronous DRAM in the sequential mode,
When a synchronous DRAM is used as the image memory, the synchronous DRAM can be accessed in descending order, and the synchronous DRAM can be accessed by a scanner,
It is possible to efficiently match the system performance of peripheral devices such as printers.

【0170】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,C
PUから出力されたアドレスビットの一部あるいは全部
を反転させて,シンクロナスDRAMをアクセスする反
転アクセス手段を備えたため,画像メモリとしてシンク
ロナスDRAMを使用した場合に,シンクロナスDRA
Mを降順にアクセスできるようにして,シンクロナスD
RAMのアクセスをスキャナ,プリンタ等の周辺機器の
システム性能と効率的に適合させることができる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device of a synchronous DRAM that uses AM to write / read image data,
Since an inversion access means for inverting a part or all of the address bits output from the PU to access the synchronous DRAM is provided, when the synchronous DRAM is used as the image memory, the synchronous DRA is used.
Synchronous D by making M accessible in descending order
RAM access can be efficiently matched with the system performance of peripherals such as scanners and printers.

【0171】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,C
PUから出力されたアドレスビットの一部あるいは全部
を反転させて,シンクロナスDRAMをアクセスする第
1のアクセス手段と,CPUから出力されたアドレスビ
ットを反転させないで,シンクロナスDRAMをアクセ
スする第2のアクセス手段とを備えたため,画像メモリ
としてシンクロナスDRAMを使用した場合に,シンク
ロナスDRAMを降順にアクセスできるようにして,シ
ンクロナスDRAMのアクセスをスキャナ,プリンタ等
の周辺機器のシステム性能と効率的に適合させることが
できる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device of a synchronous DRAM that uses AM to write / read image data,
A first access means for inverting a part or all of the address bits output from the PU to access the synchronous DRAM, and a second access means for accessing the synchronous DRAM without inverting the address bits output from the CPU. When the synchronous DRAM is used as the image memory, the synchronous DRAM can be accessed in descending order, and the synchronous DRAM can be accessed in the system performance and efficiency of peripheral devices such as scanners and printers. Can be adapted to suit.

【0172】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,シ
ンクロナスDRAMからプリンタへ画像データを読み出
す際に,CPUから出力されたアドレスビットの一部あ
るいは全部を反転させて,インターリーブ・モードでシ
ンクロナスDRAMから画像データを読み出す第1のア
クセス手段と,CPUから出力されたアドレスビットを
反転させないで,インターリーブ・モードでシンクロナ
スDRAMから画像データを読み出す第2のアクセス手
段とを備えたため,画像メモリとしてシンクロナスDR
AMを使用した場合に,シンクロナスDRAMを降順に
アクセスできるようにして,シンクロナスDRAMのア
クセスをスキャナ,プリンタ等の周辺機器のシステム性
能と効率的に適合させることができる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device for a synchronous DRAM that uses AM to write and read image data, when reading image data from the synchronous DRAM to a printer, some or all of the address bits output from the CPU are inverted. A first access means for reading image data from the synchronous DRAM in the interleave mode and a second access means for reading image data from the synchronous DRAM in the interleave mode without inverting the address bit output from the CPU. Since it is equipped with
When the AM is used, the synchronous DRAM can be accessed in descending order, and the access of the synchronous DRAM can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0173】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,ス
キャナからシンクロナスDRAMへ画像データを書き込
む際に,CPUから出力されたアドレスビットの一部あ
るいは全部を反転させて,シンクロナスDRAMに画像
データを書き込む第1のアクセス手段と,CPUから出
力されたアドレスビットを反転させないで,シンクロナ
スDRAMに画像データを書き込む第2のアクセス手段
とを備えたため,画像メモリとしてシンクロナスDRA
Mを使用した場合に,シンクロナスDRAMを降順にア
クセスできるようにして,シンクロナスDRAMのアク
セスをスキャナ,プリンタ等の周辺機器のシステム性能
と効率的に適合させることができる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device for a synchronous DRAM that uses AM to write and read image data, when writing image data from the scanner to the synchronous DRAM, some or all of the address bits output from the CPU are inverted. As a result, since the first access means for writing the image data in the synchronous DRAM and the second access means for writing the image data in the synchronous DRAM without inverting the address bit output from the CPU are provided, the image memory is provided. Synchronous DRA
When M is used, the synchronous DRAMs can be accessed in descending order, and the access of the synchronous DRAMs can be efficiently matched with the system performance of peripheral devices such as a scanner and a printer.

【0174】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,C
PUから出力されたアドレスビットの一部あるいは全部
を反転させて,シンクロナスDRAMをアクセスする第
1のアクセス手段と,CPUから出力されたアドレスビ
ットを反転させないで,シンクロナスDRAMをアクセ
スする第2のアクセス手段と,アドレスビットの反転対
象領域であるか否かを判定し,前記第1のアクセス手段
および第2のアクセス手段の切り換え制御を行う領域判
定・制御手段とを備えたため,画像メモリとしてシンク
ロナスDRAMを使用した場合に,シンクロナスDRA
Mを降順にアクセスできるようにして,シンクロナスD
RAMのアクセスをスキャナ,プリンタ等の周辺機器の
システム性能と効率的に適合させることができる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device of a synchronous DRAM that uses AM to write / read image data,
A first access means for inverting a part or all of the address bits output from the PU to access the synchronous DRAM, and a second access means for accessing the synchronous DRAM without inverting the address bits output from the CPU. And the area determination / control means for determining whether the area is the address bit inversion target area and controlling the switching between the first access means and the second access means. Synchronous DRA when using synchronous DRAM
Synchronous D by making M accessible in descending order
RAM access can be efficiently matched with the system performance of peripherals such as scanners and printers.

【0175】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,シ
ンクロナスDRAMからプリンタへ画像データを読み出
す際に,CPUから出力されたアドレスビットの一部あ
るいは全部を反転させて,インターリーブ・モードでシ
ンクロナスDRAMから画像データを読み出す第1のア
クセス手段と,CPUから出力されたアドレスビットを
反転させないで,インターリーブ・モードでシンクロナ
スDRAMから画像データを読み出す第2のアクセス手
段と,アドレスビットの反転対象領域であるか否かを判
定し,前記第1のアクセス手段および第2のアクセス手
段の切り換え制御を行う領域判定・制御手段とを備えた
ため,画像メモリとしてシンクロナスDRAMを使用し
た場合に,シンクロナスDRAMを降順にアクセスでき
るようにして,シンクロナスDRAMのアクセスをスキ
ャナ,プリンタ等の周辺機器のシステム性能と効率的に
適合させることができる。
The access control device for the synchronous DRAM according to the present invention uses the synchronous DR as the image memory.
In an access control device for a synchronous DRAM that uses AM to write and read image data, when reading image data from the synchronous DRAM to a printer, some or all of the address bits output from the CPU are inverted. A first access means for reading image data from the synchronous DRAM in the interleave mode and a second access means for reading image data from the synchronous DRAM in the interleave mode without inverting the address bit output from the CPU. And area determination / control means for determining whether or not the address bit is to be inverted and switching control between the first access means and the second access means. Therefore, a synchronous DRAM as an image memory is provided. When you use Be accessible to DRAM is in descending order, it is possible to adapt the access synchronous DRAM scanner, the system performance and efficiency of peripherals such as a printer.

【0176】また,本発明のシンクロナスDRAMのア
クセス制御装置は,画像メモリとしてシンクロナスDR
AMを使用し,画像データの書き込み・読み出しを行う
シンクロナスDRAMのアクセス制御装置において,ス
キャナからシンクロナスDRAMへ画像データを書き込
む際に,CPUから出力されたアドレスビットの一部あ
るいは全部を反転させて,シンクロナスDRAMに画像
データを書き込む第1のアクセス手段と,CPUから出
力されたアドレスビットを反転させないで,シンクロナ
スDRAMに画像データを書き込む第2のアクセス手段
と,アドレスビットの反転対象領域であるか否かを判定
し,前記第1のアクセス手段および第2のアクセス手段
の切り換え制御を行う領域判定・制御手段とを備えたた
め,画像メモリとしてシンクロナスDRAMを使用した
場合に,シンクロナスDRAMを降順にアクセスできる
ようにして,シンクロナスDRAMのアクセスをスキャ
ナ,プリンタ等の周辺機器のシステム性能と効率的に適
合させることができる。
Further, the access control device for the synchronous DRAM of the present invention uses the synchronous DR as the image memory.
In an access control device for a synchronous DRAM that uses AM to write and read image data, when writing image data from the scanner to the synchronous DRAM, some or all of the address bits output from the CPU are inverted. The first access means for writing the image data in the synchronous DRAM, the second access means for writing the image data in the synchronous DRAM without inverting the address bits output from the CPU, and the address bit inversion target area. Area determination / control means for determining whether or not the first access means and the second access means are switched, and therefore, when a synchronous DRAM is used as the image memory, The DRAM can be accessed in descending order, Ronasu access DRAM scanner, it is possible to system performance and efficient adaptation of peripherals such as a printer.

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

【図1】実施例1のブロック構成図である。FIG. 1 is a block diagram of a first embodiment.

【図2】シンクロナスDRAMの2つのアドレス・タイ
プでのアクセスを示す説明図である。
FIG. 2 is an explanatory diagram showing access by two address types of a synchronous DRAM.

【図3】バンク・インターリーブ方式を実現するために
画像メモリ内に組み込まれている2バンク式セル・アレ
イ機構を示す説明図である。
FIG. 3 is an explanatory diagram showing a 2-bank type cell array mechanism incorporated in an image memory in order to realize a bank interleave method.

【図4】実施例1のASICの内部ブロック図である。FIG. 4 is an internal block diagram of the ASIC of the first embodiment.

【図5】バースト長を8とした時,インターリーブ・モ
ードで各スタート・アドレスから開始した場合の,アク
セス順を示した説明図である。
FIG. 5 is an explanatory diagram showing an access order when starting from each start address in the interleave mode when the burst length is 8.

【図6】実施例1の第1の動作例を示す説明図である。FIG. 6 is an explanatory diagram showing a first operation example of the first embodiment.

【図7】実施例1の第1の動作例のタイミング・チャー
トである。
FIG. 7 is a timing chart of a first operation example of the first embodiment.

【図8】実施例1の第2の動作例を示す説明図である。FIG. 8 is an explanatory diagram showing a second operation example of the first embodiment.

【図9】実施例1の第2の動作例のタイミング・チャー
トである。
FIG. 9 is a timing chart of a second operation example of the first embodiment.

【図10】実施例1の第3の動作例を示す説明図であ
る。
FIG. 10 is an explanatory diagram showing a third operation example of the first embodiment.

【図11】実施例1の第3の動作例のタイミング・チャ
ートである。
FIG. 11 is a timing chart of a third operation example of the first embodiment.

【図12】実施例1の第4の動作例を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing a fourth operation example of the first embodiment.

【図13】実施例1の第4の動作例のタイミング・チャ
ートである。
FIG. 13 is a timing chart of the fourth operation example of the first embodiment.

【図14】実施例2のブロック構成図である。FIG. 14 is a block diagram of a second embodiment.

【図15】実施例2のASICの内部ブロック図であ
る。
FIG. 15 is an internal block diagram of the ASIC of the second embodiment.

【図16】実施例2のビット反転部の内部構成図であ
る。
FIG. 16 is an internal configuration diagram of a bit inversion unit according to the second embodiment.

【図17】バースト長を8とした時,インターリーブ・
モードで各スタート・アドレスから開始した場合の,ア
クセス順を示した説明図である。
FIG. 17: Interleave when the burst length is 8
It is explanatory drawing which showed the access order at the time of starting from each start address in mode.

【図18】実施例2の第1の動作例を示す説明図であ
る。
FIG. 18 is an explanatory diagram illustrating a first operation example of the second embodiment.

【図19】実施例2の第1の動作例のタイミング・チャ
ートである。
FIG. 19 is a timing chart of the first operation example of the second embodiment.

【図20】実施例2の第2の動作例を示す説明図であ
る。
FIG. 20 is an explanatory diagram showing a second operation example of the second embodiment.

【図21】実施例2の第2の動作例のタイミング・チャ
ートである。
FIG. 21 is a timing chart of a second operation example of the second embodiment.

【図22】実施例2の第3の動作例を示す説明図であ
る。
FIG. 22 is an explanatory diagram showing a third operation example of the second embodiment.

【図23】実施例2の第3の動作例のタイミング・チャ
ートである。
FIG. 23 is a timing chart of the third operation example of the second embodiment.

【図24】実施例2の第4の動作例を示す説明図であ
る。
FIG. 24 is an explanatory diagram illustrating a fourth operation example of the second embodiment.

【図25】実施例2の第4の動作例のタイミング・チャ
ートである。
FIG. 25 is a timing chart of a fourth operation example of the second embodiment.

【図26】実施例3のブロック構成図である。FIG. 26 is a block diagram of a third embodiment.

【図27】実施例3のASICの内部ブロック図であ
る。
FIG. 27 is an internal block diagram of the ASIC of the third embodiment.

【図28】実施例3のアドレス比較部およびビット反転
部の内部構成図である。
FIG. 28 is an internal configuration diagram of an address comparison unit and a bit inversion unit according to the third embodiment.

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

101 CPU 101 キャッシュ・メモリ 102 ROM 103 ASIC(特定用途向けIC) 104 スキャナI/F 105 ホストI/F 106 画像メモリ 107 プリンタI/F 401 CPUI/F&DMAコントロール部 402 アドレス・デコード部 403 SDRAMコントロール部 1401 RAM(DRAM) 1402 ASIC 1501 CPUI/F&DMAコントロール部 1502 アドレス・デコード部 1503 ビット反転部 1504 SDRAMコントロール部 2601 ASIC 2701 CPUI/F&DMAコントロール部 2702 アドレス・デコード部 2703 アドレス比較部 2704 ビット反転部 2705 SDRAMコントロール部 101 CPU 101 Cache Memory 102 ROM 103 ASIC (Application Specific IC) 104 Scanner I / F 105 Host I / F 106 Image Memory 107 Printer I / F 401 CPU I / F & DMA Control Unit 402 Address Decoding Unit 403 SDRAM Control Unit 1401 RAM (DRAM) 1402 ASIC 1501 CPU I / F & DMA control unit 1502 Address decode unit 1503 Bit inversion unit 1504 SDRAM control unit 2601 ASIC 2701 CPU I / F & DMA control unit 2702 Address decode unit 2703 Address comparison unit 2704 Bit inversion unit 2705 SDRAM control unit

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最後の画像データがシ
ンクロナスDRAMのブロック内の最大アドレスに書き
込まれるように,シーケンシャル・モードで画像データ
を書き込み,インターリーブ・モードでシンクロナスD
RAMのブロック内の最大アドレスから画像データを読
み出すことを特徴とするシンクロナスDRAMのアクセ
ス制御方法。
1. A synchronous DRAM as an image memory
In the access control method of the synchronous DRAM which writes / reads the image data by DMA by using, the last image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. , Write image data in sequential mode, Synchronous D in interleave mode
An access control method for a synchronous DRAM, wherein image data is read from a maximum address in a block of RAM.
【請求項2】 画像メモリとしてシンクロナスDRAM
を使用し,シャドウDMAにて画像データの書き込み・
読み出しを行うシンクロナスDRAMのアクセス制御方
法において,書込みを行う全画像データの最後の画像デ
ータがシンクロナスDRAMのブロック内の最大アドレ
スに書き込まれるように,シーケンシャル・モードで画
像データを書き込み,インターリーブ・モードでシンク
ロナスDRAMのブロック内の最大アドレスから画像デ
ータを読み出すことを特徴とするシンクロナスDRAM
のアクセス制御方法。
2. A synchronous DRAM as an image memory
Write image data by shadow DMA using
In the access control method of the synchronous DRAM for reading, the image data is written and interleaved in the sequential mode so that the last image data of all the image data to be written is written at the maximum address in the block of the synchronous DRAM. The synchronous DRAM is characterized in that the image data is read from the maximum address in the block of the synchronous DRAM in the mode.
Access control method.
【請求項3】 画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最初の画像データがシ
ンクロナスDRAMのブロック内の最大アドレスに書き
込まれるように,インターリーブ・モードで画像データ
を書き込み,シーケンシャル・モードでシンクロナスD
RAMのブロック内の最大アドレスから画像データを読
み出すことを特徴とするシンクロナスDRAMのアクセ
ス制御方法。
3. A synchronous DRAM as an image memory
In the access control method of the synchronous DRAM for writing / reading the image data by DMA by using, the first image data of all the image data to be written is written to the maximum address in the block of the synchronous DRAM. , Write image data in interleaved mode and synchronous D in sequential mode
An access control method for a synchronous DRAM, wherein image data is read from a maximum address in a block of RAM.
【請求項4】 画像メモリとしてシンクロナスDRAM
を使用し,シャドウDMAにて画像データの書き込み・
読み出しを行うシンクロナスDRAMのアクセス制御方
法において,書込みを行う全画像データの最初の画像デ
ータがシンクロナスDRAMのブロック内の最大アドレ
スに書き込まれるように,インターリーブ・モードで画
像データを書き込み,シーケンシャル・モードでシンク
ロナスDRAMのブロック内の最大アドレスから画像デ
ータを読み出すことを特徴とするシンクロナスDRAM
のアクセス制御方法。
4. A synchronous DRAM as an image memory
Write image data by shadow DMA using
In the synchronous DRAM access control method for reading, the image data is written in the interleave mode so that the first image data of all the image data to be written is written at the maximum address in the block of the synchronous DRAM, and the sequential data is written. The synchronous DRAM is characterized in that the image data is read from the maximum address in the block of the synchronous DRAM in the mode.
Access control method.
【請求項5】 画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最後の画像データがシ
ンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,シーケ
ンシャル・モードで画像データを書き込み,インターリ
ーブ・モードでシンクロナスDRAMのブロック内の
(2n −1)番目のアドレスから画像データを読み出す
ことを特徴とするシンクロナスDRAMのアクセス制御
方法。
5. A synchronous DRAM as an image memory
In the access control method of the synchronous DRAM in which the image data is written / read by the DMA using, the last image data of all the image data to be written is the (2 n -1) th image in the block of the synchronous DRAM. The image data is written in the sequential mode so that it is written to the address (n is an integer), and the image data is read from the (2 n -1) th address in the block of the synchronous DRAM in the interleave mode. And a synchronous DRAM access control method.
【請求項6】 画像メモリとしてシンクロナスDRAM
を使用し,シャドウDMAにて画像データの書き込み・
読み出しを行うシンクロナスDRAMのアクセス制御方
法において,書込みを行う全画像データの最後の画像デ
ータがシンクロナスDRAMのブロック内の(2n
1)番目(nは整数)のアドレスに書き込まれるよう
に,シーケンシャル・モードで画像データを書き込み,
インターリーブ・モードでシンクロナスDRAMのブロ
ック内の(2n −1)番目のアドレスから画像データを
読み出すことを特徴とするシンクロナスDRAMのアク
セス制御方法。
6. A synchronous DRAM as an image memory
Write image data by shadow DMA using
In the access control method of the synchronous DRAM for reading, the last image data of all the image data to be written is (2 n −) in the block of the synchronous DRAM.
1) Write the image data in the sequential mode so that it is written in the (th) (n is an integer) address,
An access control method for a synchronous DRAM, wherein image data is read from a (2 n -1) th address in a block of the synchronous DRAM in the interleave mode.
【請求項7】 画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,書込みを行う全画像データの最初の画像データがシ
ンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,インタ
ーリーブ・モードで画像データを書き込み,シーケンシ
ャル・モードで最後に書き込んだ画像データのアドレス
から画像データを読み出すことを特徴とするシンクロナ
スDRAMのアクセス制御方法。
7. A synchronous DRAM as an image memory
In the access control method of the synchronous DRAM in which the image data is written / read by the DMA using, the first image data of all the image data to be written is the (2 n -1) th image in the block of the synchronous DRAM. Access control of a synchronous DRAM characterized in that image data is written in an interleave mode so that it is written to an address (n is an integer), and the image data is read from the address of the last written image data in a sequential mode. Method.
【請求項8】 画像メモリとしてシンクロナスDRAM
を使用し,シャドウDMAにて画像データの書き込み・
読み出しを行うシンクロナスDRAMのアクセス制御方
法において,書込みを行う全画像データの最初の画像デ
ータがシンクロナスDRAMのブロック内の(2n
1)番目(nは整数)のアドレスに書き込まれるよう
に,インターリーブ・モードで画像データを書き込み,
シーケンシャル・モードで最後に書き込んだ画像データ
のアドレスから画像データを読み出すことを特徴とする
シンクロナスDRAMのアクセス制御方法。
8. A synchronous DRAM as an image memory
Write image data by shadow DMA using
In the access control method of the synchronous DRAM for reading, the first image data of all the image data to be written is (2 n −) in the block of the synchronous DRAM.
1) Write the image data in the interleave mode so that it is written in the (th) (n is an integer) address,
An access control method for a synchronous DRAM, characterized in that the image data is read from the address of the last written image data in the sequential mode.
【請求項9】 画像メモリとしてシンクロナスDRAM
を使用し,DMAにて画像データの書き込み・読み出し
を行うシンクロナスDRAMのアクセス制御方法におい
て,シーケンシャル・モードで画像データを書き込み,
画像データを読み出す際に,読み出しのスタートアドレ
スをシンクロナスDRAMのブロック内の(2n −1)
番目(nは整数)のアドレスに切り上げて,インターリ
ーブ・モードで前記(2n −1)番目のアドレスから画
像データを読み出すことを特徴とするシンクロナスDR
AMのアクセス制御方法。
9. A synchronous DRAM as an image memory
In the access control method of the synchronous DRAM which writes and reads the image data by DMA using the, the image data is written in the sequential mode,
When reading the image data, the read start address is set to (2 n -1) in the block of the synchronous DRAM.
Synchronous DR characterized by rounding up to the (th) (n is an integer) address and reading the image data from the (2 n -1) th address in interleave mode
AM access control method.
【請求項10】 画像メモリとしてシンクロナスDRA
Mを使用し,シャドウDMAにて画像データの書き込み
・読み出しを行うシンクロナスDRAMのアクセス制御
方法において,シーケンシャル・モードで画像データを
書き込み,画像データを読み出す際に,読み出しのスタ
ートアドレスをシンクロナスDRAMのブロック内の
(2n −1)番目(nは整数)のアドレスに切り上げ
て,インターリーブ・モードで前記(2n −1)番目の
アドレスから画像データを読み出すことを特徴とするシ
ンクロナスDRAMのアクセス制御方法。
10. A synchronous DRA as an image memory
In the access control method of the synchronous DRAM which uses M to write / read the image data by the shadow DMA, when writing the image data in the sequential mode and reading the image data, the start address of the read is the synchronous DRAM. Of the synchronous DRAM, which rounds up to the (2 n -1) -th (n is an integer) address in the block and reads the image data from the (2 n -1) -th address in the interleave mode. Access control method.
【請求項11】 画像メモリとしてシンクロナスDRA
Mを使用し,DMAにて画像データの書き込み・読み出
しを行うシンクロナスDRAMのアクセス制御方法にお
いて,書込みを行う全画像データの最初の画像データが
シンクロナスDRAMのブロック内の(2n −1)番目
(nは整数)のアドレスに書き込まれるように,インタ
ーリーブ・モードで画像データを書き込み,シーケンシ
ャル・モードでシンクロナスDRAMのブロック内の先
頭アドレスから画像データを読み出すことを特徴とする
シンクロナスDRAMのアクセス制御方法。
11. Synchronous DRA as an image memory
In the access control method of the synchronous DRAM which uses M to write / read the image data by DMA, the first image data of all the image data to be written is (2 n -1) in the block of the synchronous DRAM. In the synchronous DRAM, the image data is written in the interleave mode and the image data is read from the first address in the block of the synchronous DRAM in the sequential mode so that the image data is written in the address (n is an integer). Access control method.
【請求項12】 画像メモリとしてシンクロナスDRA
Mを使用し,シャドウDMAにて画像データの書き込み
・読み出しを行うシンクロナスDRAMのアクセス制御
方法において,書込みを行う全画像データの最初の画像
データがシンクロナスDRAMのブロック内の(2n
1)番目(nは整数)のアドレスに書き込まれるよう
に,インターリーブ・モードで画像データを書き込み,
シーケンシャル・モードでシンクロナスDRAMのブロ
ック内の先頭アドレスから画像データを読み出すことを
特徴とするシンクロナスDRAMのアクセス制御方法。
12. A synchronous DRA as an image memory
In the access control method of the synchronous DRAM in which M is used to write / read the image data by the shadow DMA, the first image data of all the image data to be written is (2 n −) in the block of the synchronous DRAM.
1) Write the image data in the interleave mode so that it is written in the (th) (n is an integer) address,
An access control method for a synchronous DRAM, characterized in that image data is read from a start address in a block of the synchronous DRAM in a sequential mode.
【請求項13】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,CP
Uから出力されたアドレスビットの一部あるいは全部を
反転させて,シンクロナスDRAMをアクセスする反転
アクセス手段を備えたことを特徴とするシンクロナスD
RAMのアクセス制御装置。
13. A synchronous DRA as an image memory
In an access control device of a synchronous DRAM that uses M to write and read image data, a CP
Synchronous D characterized by comprising an inversion access means for inverting a part or all of the address bits output from U to access the synchronous DRAM.
RAM access control device.
【請求項14】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,CP
Uから出力されたアドレスビットの一部あるいは全部を
反転させて,シンクロナスDRAMをアクセスする第1
のアクセス手段と,CPUから出力されたアドレスビッ
トを反転させないで,シンクロナスDRAMをアクセス
する第2のアクセス手段とを備えたことを特徴とするシ
ンクロナスDRAMのアクセス制御装置。
14. A synchronous DRA as an image memory
In an access control device of a synchronous DRAM that uses M to write and read image data, a CP
First, a part or all of the address bits output from U are inverted to access the synchronous DRAM.
Access means for accessing the synchronous DRAM without inverting the address bit output from the CPU, and an access control device for the synchronous DRAM.
【請求項15】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,シン
クロナスDRAMからプリンタへ画像データを読み出す
際に,CPUから出力されたアドレスビットの一部ある
いは全部を反転させて,インターリーブ・モードでシン
クロナスDRAMから画像データを読み出す第1のアク
セス手段と,CPUから出力されたアドレスビットを反
転させないで,インターリーブ・モードでシンクロナス
DRAMから画像データを読み出す第2のアクセス手段
とを備えたことを特徴とするシンクロナスDRAMのア
クセス制御装置。
15. A synchronous DRA as an image memory
In an access control device for a synchronous DRAM that uses M to write / read image data, when reading image data from the synchronous DRAM to a printer, some or all of the address bits output from the CPU are inverted. A first access means for reading image data from the synchronous DRAM in the interleave mode and a second access means for reading image data from the synchronous DRAM in the interleave mode without inverting the address bit output from the CPU. An access control device for a synchronous DRAM, comprising:
【請求項16】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,スキ
ャナからシンクロナスDRAMへ画像データを書き込む
際に,CPUから出力されたアドレスビットの一部ある
いは全部を反転させて,シンクロナスDRAMに画像デ
ータを書き込む第1のアクセス手段と,CPUから出力
されたアドレスビットを反転させないで,シンクロナス
DRAMに画像データを書き込む第2のアクセス手段と
を備えたことを特徴とするシンクロナスDRAMのアク
セス制御装置。
16. A synchronous DRA as an image memory
In an access control device for a synchronous DRAM that uses M to write and read image data, when writing image data from the scanner to the synchronous DRAM, some or all of the address bits output from the CPU are inverted. And a second access means for writing the image data to the synchronous DRAM without inverting the address bit output from the CPU, and a second access means for writing the image data to the synchronous DRAM. Access control device for synchronous DRAM.
【請求項17】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,CP
Uから出力されたアドレスビットの一部あるいは全部を
反転させて,シンクロナスDRAMをアクセスする第1
のアクセス手段と,CPUから出力されたアドレスビッ
トを反転させないで,シンクロナスDRAMをアクセス
する第2のアクセス手段と,アドレスビットの反転対象
領域であるか否かを判定し,前記第1のアクセス手段お
よび第2のアクセス手段の切り換え制御を行う領域判定
・制御手段とを備えたことを特徴とするシンクロナスD
RAMのアクセス制御装置。
17. A synchronous DRA as an image memory
In an access control device of a synchronous DRAM that uses M to write and read image data, a CP
First, a part or all of the address bits output from U are inverted to access the synchronous DRAM.
Access means and second access means for accessing the synchronous DRAM without inverting the address bits output from the CPU, and it is determined whether or not the address bit inversion target area, and the first access Means and area determination / control means for performing switching control of the second access means and the synchronous D
RAM access control device.
【請求項18】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,シン
クロナスDRAMからプリンタへ画像データを読み出す
際に,CPUから出力されたアドレスビットの一部ある
いは全部を反転させて,インターリーブ・モードでシン
クロナスDRAMから画像データを読み出す第1のアク
セス手段と,CPUから出力されたアドレスビットを反
転させないで,インターリーブ・モードでシンクロナス
DRAMから画像データを読み出す第2のアクセス手段
と,アドレスビットの反転対象領域であるか否かを判定
し,前記第1のアクセス手段および第2のアクセス手段
の切り換え制御を行う領域判定・制御手段とを備えたこ
とを特徴とするシンクロナスDRAMのアクセス制御装
置。
18. Synchronous DRA as an image memory
In an access control device for a synchronous DRAM that uses M to write / read image data, when reading image data from the synchronous DRAM to a printer, some or all of the address bits output from the CPU are inverted. A first access means for reading image data from the synchronous DRAM in the interleave mode and a second access means for reading image data from the synchronous DRAM in the interleave mode without inverting the address bit output from the CPU. And an area judgment / control means for judging whether or not the area is an address bit inversion target and for controlling switching between the first access means and the second access means. Access control device for DRAM.
【請求項19】 画像メモリとしてシンクロナスDRA
Mを使用し,画像データの書き込み・読み出しを行うシ
ンクロナスDRAMのアクセス制御装置において,スキ
ャナからシンクロナスDRAMへ画像データを書き込む
際に,CPUから出力されたアドレスビットの一部ある
いは全部を反転させて,シンクロナスDRAMに画像デ
ータを書き込む第1のアクセス手段と,CPUから出力
されたアドレスビットを反転させないで,シンクロナス
DRAMに画像データを書き込む第2のアクセス手段
と,アドレスビットの反転対象領域であるか否かを判定
し,前記第1のアクセス手段および第2のアクセス手段
の切り換え制御を行う領域判定・制御手段とを備えたこ
とを特徴とするシンクロナスDRAMのアクセス制御装
置。
19. A synchronous DRA as an image memory
In an access control device for a synchronous DRAM that uses M to write and read image data, when writing image data from the scanner to the synchronous DRAM, some or all of the address bits output from the CPU are inverted. The first access means for writing the image data in the synchronous DRAM, the second access means for writing the image data in the synchronous DRAM without inverting the address bit output from the CPU, and the address bit inversion target area. Access control device for a synchronous DRAM, comprising: area determination / control means for determining whether or not the first access means and the second access means are controlled.
【請求項20】 前記アドレスビットの一部とは,少な
くともシンクロナスDRAMのブロックサイズ分以上の
アドレスビットであることを特徴とする請求項13,1
4,15,16,17,18または19記載のシンクロ
ナスDRAMのアクセス制御装置。
20. The part of the address bits is at least an address bit equal to or larger than the block size of the synchronous DRAM.
An access control device for a synchronous DRAM according to 4, 15, 16, 17, 18 or 19.
JP5273034A 1993-10-05 1993-10-05 Method for controlling access of synchronous dram and device therefor Pending JPH07105081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5273034A JPH07105081A (en) 1993-10-05 1993-10-05 Method for controlling access of synchronous dram and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5273034A JPH07105081A (en) 1993-10-05 1993-10-05 Method for controlling access of synchronous dram and device therefor

Publications (1)

Publication Number Publication Date
JPH07105081A true JPH07105081A (en) 1995-04-21

Family

ID=17522251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5273034A Pending JPH07105081A (en) 1993-10-05 1993-10-05 Method for controlling access of synchronous dram and device therefor

Country Status (1)

Country Link
JP (1) JPH07105081A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785833B2 (en) 1993-10-15 2004-08-31 Renesas Technology Corp. Data processing system and image processing system
JP2008041142A (en) * 2006-08-03 2008-02-21 Nikon Corp Memory access method
US7340583B2 (en) 2004-03-09 2008-03-04 Oki Electric Industry Co., Ltd. Method and apparatus of controlling memory device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785833B2 (en) 1993-10-15 2004-08-31 Renesas Technology Corp. Data processing system and image processing system
US6789210B2 (en) 1993-10-15 2004-09-07 Renesas Technology Corp. Data processing system having memory including mode register
US7254737B2 (en) 1993-10-15 2007-08-07 Renesas Technology Corp. Data processing system and image processing system
US7711976B2 (en) 1993-10-15 2010-05-04 Renesas Technology Corp. Data processing system and image processing system
US8332683B2 (en) 1993-10-15 2012-12-11 Renesas Electronics Corporation Data processing system and image processing system
US7340583B2 (en) 2004-03-09 2008-03-04 Oki Electric Industry Co., Ltd. Method and apparatus of controlling memory device
JP2008041142A (en) * 2006-08-03 2008-02-21 Nikon Corp Memory access method

Similar Documents

Publication Publication Date Title
JP3590413B2 (en) Memory controller
US6745309B2 (en) Pipelined memory controller
JP3532932B2 (en) Randomly accessible memory with time overlapping memory access
JP4656862B2 (en) Semiconductor device
US6205516B1 (en) Device and method for controlling data storage device in data processing system
JPH0642226B2 (en) Data processing system
US8392671B2 (en) Memory controller, system, and method for accessing semiconductor memory
JPH04229484A (en) Method and device for shortening memory-fetch time
WO2003007303A2 (en) Memory device having different burst order addressing for read and write operations
US20080034132A1 (en) Memory interface for controlling burst memory access, and method for controlling the same
US5511152A (en) Memory subsystem for bitmap printer data controller
JP2000315173A (en) Memory control device
JPH07105081A (en) Method for controlling access of synchronous dram and device therefor
JP3153078B2 (en) Data processing device
JP4606725B2 (en) High speed memory access controller
JP3644381B2 (en) Random access method for SDRAM
JP2007328910A (en) Main memory system with multiple data paths
JP2000242544A (en) Memory controller and direct memory access controller
JPH07230366A (en) Picture processor
JPH08101793A (en) Memory system
JP3563340B2 (en) Memory controller
JPH03163638A (en) Burst transfer system
JPH1097788A (en) Information processor
JP2002175215A (en) Memory controller, and system for processing information
JP2008112485A (en) Synchronous memory circuit