JPH07230366A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH07230366A JPH07230366A JP4338794A JP4338794A JPH07230366A JP H07230366 A JPH07230366 A JP H07230366A JP 4338794 A JP4338794 A JP 4338794A JP 4338794 A JP4338794 A JP 4338794A JP H07230366 A JPH07230366 A JP H07230366A
- Authority
- JP
- Japan
- Prior art keywords
- data
- holding means
- read
- data holding
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【目的】画像メモリとしてシンクロナスDRAMを使用
し、より処理速度を向上させる。
【構成】アクセス要求元であるCPU1とSDRAM3
との間に中間バッファ4を設ける。CPU1からの要求
デ−タとその先のデ−タをSDRAM3から読み出し、
先読みしているデ−タを中間バッファ4のデ−タ保持手
段45に保持し、SDRAM3からリ−ドすることなし
にリ−ド要求デ−タを供給する。
(57) [Abstract] [Purpose] A synchronous DRAM is used as an image memory to further improve the processing speed. [Structure] CPU 1 and SDRAM 3 which are access request sources
An intermediate buffer 4 is provided between and. The request data from the CPU 1 and the subsequent data are read from the SDRAM 3,
The prefetched data is held in the data holding means 45 of the intermediate buffer 4, and the read request data is supplied without being read from the SDRAM 3.
Description
【0001】[0001]
【産業上の利用分野】この発明は、例えばプリンタ,ス
キャナ等の画像処理装置、特に記憶装置としてシンクロ
ナスDRAMを使用した画像処理装置の処理速度の向上
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in the processing speed of an image processing apparatus such as a printer or a scanner, especially an image processing apparatus using a synchronous DRAM as a storage device.
【0002】[0002]
【従来の技術】従来、画像処理装置に使用している半導
体記憶装置としては、大容量,低価格を実現するため
に、高速ペ−ジ・モ−ド,スタチック・コラム・モ−ド
あるいはニブル・モ−ドのDRAMで構成していた。2. Description of the Related Art Conventionally, as a semiconductor memory device used in an image processing device, in order to realize a large capacity and a low price, a high speed page mode, a static column mode or a nibble mode is used.・ It consisted of mode DRAM.
【0003】高速ペ−ジ・モ−ドのDRAMは行アドレ
ス・ストロ−ブ(RAS*、ここで*印は負論理を示
す)をアサ−トした状態で、列アドレス・ストロ−ブ
(CAS*)およびコラム・アドレスを入力することに
より、同一行アドレスに対して高速にランダムアクセス
を行えるものである。スタチック・コラム・モ−ドのD
RAMはRAS*をアサ−トした状態にて、コラム・ア
ドレスを変化させることにより、高速ペ−ジ・モ−ドの
場合と同様に同一行アドレスに対して高速にアクセスを
行えるものである。さらに、CAS*によってコラム・
アドレスをストロ−ブする必要がないので高速化が可能
である。また、ニブル・モ−ドのDRAMは通常のアク
セス終了後、RAS*をアサ−トした状態のままでCA
S*のトグル動作により、下位の2ビット分がインクリ
メントされたアドレスのデ−タがシ−ケンシャルにアク
セスされる。このニブル・モ−ドのDRAMは4ワ−ド
分しかバ−スト・アクセスできないが、他のモ−ドに比
べて高速である点に特色がある。A high speed page mode DRAM has a column address strobe (CAS) with a row address strobe (RAS *, where * indicates negative logic) being asserted. By inputting *) and column address, high speed random access to the same row address can be performed. Static column mode D
The RAM can access the same row address at high speed by changing the column address while RAS * is asserted, as in the case of the high speed page mode. In addition, a column by CAS *
Since it is not necessary to strobe the address, the speed can be increased. In addition, the nibble mode DRAM is CA with RAS * asserted after the normal access is completed.
By the toggle operation of S *, the data of the address whose lower 2 bits are incremented is sequentially accessed. This nibble mode DRAM can be burst-accessed only for 4 words, but it has a feature that it is faster than other modes.
【0004】上記各種モ−ドのDRAMは近傍空間に対
する連続アクセスのときに高速アクセスが可能であり、
特に高速動作を要求されるプリンタへの画像デ−タ送り
出し時及びスキャナの読取画像デ−タの書き込み時には
シ−ケンシャル・アクセスになるため、この特徴を有効
に活かすことができる。The above-mentioned DRAMs of various modes are capable of high-speed access during continuous access to the nearby space.
Particularly, when the image data is sent to the printer which requires high-speed operation and the read image data is written by the scanner, the sequential access is performed, so that this feature can be effectively utilized.
【0005】また、CPUの内部にキャッシュメモリを
有し、キャッシュメモリのミスヒット時のリフィル動作
を複数ワ−ドのブロック単位で行うように構成されてい
るものもある。この場合にもシ−ケンシャルなアクセス
あるいはシ−ケンシャルなアクセスに変換できるものが
多いので高速アクセス可能となるものが多い。There is also a CPU having a cache memory inside and configured to perform a refill operation at the time of a cache memory miss hit in a unit of a plurality of word blocks. Even in this case, since many of them can be converted into sequential access or sequential access, many of them can be accessed at high speed.
【0006】しかしながら、各モ−ドのDRAMを使用
した場合、高速にアクセスが実現できるとはいえ、その
サイクルタイムは40nsec(25MHz)程度である。この
ため、さらに高速アクセスを実現するには高価なSRA
Mを使用したり、バンク・インタリ−ブの手法を使用す
る必要があった。バンク・インタリ−ブでは同時に先の
アドレスもアクセスすることでシ−ケンシャル・アクセ
スを高速化するものであるが、バンク分のバス幅が必要
になり、さらに最低構成単位が大きくなってしまうとい
う短所がある。However, when the DRAM of each mode is used, although the access can be realized at high speed, the cycle time is about 40 nsec (25 MHz). For this reason, an expensive SRA is required to realize even faster access.
It was necessary to use M or the bank interleave technique. Bank interleaving speeds up sequential access by accessing the previous address at the same time, but the bus width for banks is required, and the minimum configuration unit becomes larger. There is.
【0007】このような短所を解消する方法としてシン
クロナスDRAMの使用が挙げられる。シンクロナスD
RAMは通常のDRAMと異なり完全同期型である。し
たがってロ−・アドレスやコラム・アドレスのエント
リ,リフレッシュなどをクロックの立上りエッジに対し
てコマンドとして与える。リ−ドの場合は、最初のデ−
タまでのアクセス時間は通常のDRAMと変わらない
が、その後のデ−タはクロック毎に出力される。このと
きアクセスの順番はモ−ド設定にて行うので、コラム・
アドレスをクロック毎に入力する必要はない。ライトの
場合は、最初のデ−タからクロック毎に入力できる。そ
して、このクロックの周期が100MHzと高速のため、
高速アクセスを可能にしている。またバ−スト・アクセ
ス時の順番はシ−ケンシャル・モ−ドとインタリ−ブ・
モ−ドの2種類のモ−ドが設定できる。シ−ケンシャル
・モ−ドはスタ−ト・アドレスからバ−スト長分をイン
クリメントしながらアクセスしていくものである。この
とき、ブロック内の最大アドレスに達したらブロック内
の最小アドレスに戻る。インタリ−ブ・モ−ドはバ−ス
ト長をLとすると、スタ−ト・アドレスに対し零から
(L−1)まで順番に排他的論理和演算を行ったのと同
じアドレスの順番でアクセスを行っていく。ここでブロ
ックとはバ−スト長毎の区切りを示すものとする。した
がって例えば2M×8ビット構成の16Mのシンクロナス
DRAMでは、バ−スト長を4とすると、1個あたり
(2×1024×1024÷4)=(512×1024)のブロックがあ
ることになる。The use of a synchronous DRAM can be cited as a method for solving such a drawback. Synchronous D
RAM is a completely synchronous type, unlike ordinary DRAM. Therefore, a low address, column address entry, refresh, etc. are given as a command to the rising edge of the clock. In case of a lead, the first data
The access time to the data is the same as that of a normal DRAM, but the data thereafter is output at every clock. At this time, the access order is set in the mode setting.
It is not necessary to input the address every clock. In the case of write, it can be input from the first data every clock. And because the cycle of this clock is as high as 100MHz,
It enables high-speed access. The order of burst access is sequential mode and interleave.
Two types of modes can be set. The sequential mode is to access from the start address while incrementing the burst length. At this time, when the maximum address in the block is reached, the process returns to the minimum address in the block. When the burst length is L, the interleave mode accesses the start address in the same address order as the exclusive OR operation is performed in order from 0 to (L-1). To go. Here, the block indicates a partition for each burst length. Therefore, for example, in a 16M synchronous DRAM having a 2M × 8 bit structure, assuming that the burst length is 4, there are (2 × 1024 × 1024 ÷ 4) = (512 × 1024) blocks.
【0008】そしてプリンタへの画像デ−タ転送のため
にの画像メモリ・アクセスの場合にはシ−ケンシャルに
アクセスしていく割合が非常に高いので、シンクロナス
DRAMを使用することにより高速転送が簡単に実現で
きる。また、CPUがキャッシュ・メモリをリフィルす
るとき、インタリ−ブ,シ−ケンシャル又は1ワ−ド・
アクセスとして行うものが多いが、シンクロナスDRA
Mを使用した場合には、これらに全て対応できるので高
速処理が実現できる。In the case of image memory access for image data transfer to the printer, the rate of sequential access is very high. Therefore, by using the synchronous DRAM, high speed transfer can be achieved. Easy to achieve. Also, when the CPU refills the cache memory, it can be interleaved, sequential or one word.
There are many things to access, but synchronous DRA
When M is used, all of these can be dealt with, and high-speed processing can be realized.
【0009】[0009]
【発明が解決しようとする課題】上記のようにシンクロ
ナスDRAMを使用すると大容量で高速の画像メモリを
低価格で実現できるが、シンクロナスDRAMは最初の
リ−ド・デ−タを得るまでの時間は通常のDRAMと同
様であり、この時間が遅いという短所があった。さら
に、最初のリ−ド・デ−タを得るまでの時間が遅いこと
が、処理速度をより高めようとしたときの障害になって
しまう。When the synchronous DRAM is used as described above, a large-capacity and high-speed image memory can be realized at a low price. However, the synchronous DRAM is used until the first read data is obtained. The time is the same as that of a normal DRAM, and this time is slow. Furthermore, the delay in obtaining the first read data becomes an obstacle when trying to increase the processing speed.
【0010】この発明はかかる短所を解消し、画像メモ
リとしてシンクロナスDRAMを使用し、より処理速度
を向上することができる画像処理装置を得ることを目的
とするものである。An object of the present invention is to solve the above drawbacks and to obtain an image processing apparatus which uses a synchronous DRAM as an image memory and can further improve the processing speed.
【0011】[0011]
【課題を解決するための手段】この発明に係る画像処理
装置は、中央演算装置とシンクロナスDRAMからなる
記憶装置とを有する画像処理装置において、中央演算装
置と記憶装置との間に中間バッファを有し、中間バッフ
ァには記憶装置から送られたデ−タを保持するデ−タ保
持手段とデ−タ出力手段とを有し、デ−タ出力手段はデ
−タ保持手段がリ−ド要求の対象アドレスのデ−タを保
持しているときにはデ−タ保持手段に保持しているデ−
タを出力し、デ−タ保持手段がリ−ド要求の対象アドレ
スのデ−タを保持していないときには要求デ−タ長より
多くのデ−タを記憶装置から読み出し、要求されている
デ−タのみを出力し、余剰のデ−タはデ−タ保持手段が
保持することを特徴とする。An image processing apparatus according to the present invention is an image processing apparatus having a central processing unit and a storage device composed of a synchronous DRAM, wherein an intermediate buffer is provided between the central processing unit and the storage device. The intermediate buffer has a data holding means for holding the data sent from the storage device and a data output means. The data output means is the data holding means for reading. When the data of the requested address is held, the data held in the data holding means
When the data holding means does not hold the data of the target address of the read request, it outputs more data than the requested data length from the storage device and outputs the requested data. It is characterized in that only the data is output and the surplus data is held by the data holding means.
【0012】また、第2の発明に係る画像処理装置は、
中央演算装置とシンクロナスDRAMからなる記憶装置
とを有する画像処理装置において、中央演算装置と記憶
装置との間に中間バッファを有し、中間バッファには記
憶装置から送られたデ−タを保持する複数のデ−タ保持
手段とデ−タ出力手段とを有し、デ−タ出力手段はデ−
タ保持手段がリ−ド要求の対象アドレスのデ−タを保持
しているときにはデ−タ保持手段に保持しているデ−タ
を出力し、デ−タ保持手段がリ−ド要求の対象アドレス
のデ−タを保持していないときには要求デ−タ長より多
くのデ−タを記憶装置から読み出し、要求されているデ
−タのみを出力し、デ−タ保持手段のうち有効なデ−タ
を保持していないデ−タ保持手段又は既にアクセス要求
元にデ−タを供給しているデ−タ保持手段があるとき
は、そのデ−タ保持手段に余剰のデ−タを保持させ、有
効なデ−タを保持していないデ−タ保持手段と既にアク
セス要求元にデ−タを供給しているデ−タ保持手段がな
いときは最も古いデ−タを保持しているデ−タ保持手段
に余剰のデ−タを保持させることを特徴とする。The image processing apparatus according to the second invention is
In an image processing apparatus having a central processing unit and a storage device composed of a synchronous DRAM, an intermediate buffer is provided between the central processing unit and the storage device, and the intermediate buffer holds data sent from the storage device. Has a plurality of data holding means and data output means, and the data output means is a data output means.
When the data holding means holds the data of the target address of the read request, the data holding means outputs the held data, and the data holding means outputs the target of the read request. When the address data is not held, more data than the requested data length is read from the storage device, only the requested data is output, and the valid data in the data holding means is output. -If there is data holding means that does not hold data or data holding means that has already supplied data to the access request source, hold excess data in the data holding means. When there is no data holding means that does not hold valid data and data holding means that has already supplied data to the access request source, the oldest data is held. The data holding means is made to hold the surplus data.
【0013】上記画像形成装置において、デ−タ保持手
段がリ−ド要求の対象アドレスのデ−タを保持していな
く、リ−ド要求がインストラクションであるときに、デ
−タ保持手段に余剰のデ−タを保持させることが好まし
い。In the above image forming apparatus, when the data holding means does not hold the data of the target address of the read request and the read request is an instruction, the data holding means has an excess. It is preferable to retain the data of.
【0014】また、デ−タ保持手段がリ−ド要求の対象
アドレスのデ−タを保持していなく、リ−ド要求が特定
のデ−タ長であるときに、デ−タ保持手段に余剰のデ−
タを保持させても良い。Further, when the data holding means does not hold the data of the target address of the read request and the read request has a specific data length, the data holding means Surplus data
May be held.
【0015】さらに、デ−タ保持手段がリ−ド要求の対
象アドレスのデ−タを保持していなく、リ−ド要求が対
象アドレス設定レジスタにて示されたアドレスの範囲内
にあるときに、デ−タ保持手段に余剰のデ−タを保持さ
せても良い。Further, when the data holding means does not hold the data of the target address of the read request and the read request is within the range of the address indicated by the target address setting register. Alternatively, the data holding means may hold the surplus data.
【0016】また、デ−タ保持手段にライト要求の対象
アドレスのデ−タを保持しているときに、デ−タ保持手
段に保持しているデ−タの供給を禁止したり、デ−タ保
持手段に保持しているデ−タをライトするデ−タに書換
えても良い。When the data holding means holds the data of the target address of the write request, the supply of the data held in the data holding means is prohibited or the data holding means is prohibited. The data held in the data holding means may be rewritten with the data to be written.
【0017】[0017]
【作用】この発明においては、アクセス要求元である中
央演算装置とシンクロナスDRAM(SDRAM)との
間に中間バッファを設け、中央演算装置からの要求デ−
タとその先のデ−タをSDRAMから読み出し、先読み
しているデ−タを中間バッファのデ−タ保持手段に保持
し、SDRAMからリ−ドすることなしにリ−ド要求デ
−タを供給する。According to the present invention, an intermediate buffer is provided between the central processing unit which is the access request source and the synchronous DRAM (SDRAM), and the request data from the central processing unit is provided.
The data and the data ahead of it are read from the SDRAM, the pre-read data is held in the data holding means of the intermediate buffer, and the read request data is read without being read from the SDRAM. Supply.
【0018】また、中間バッファに複数のデ−タ保持手
段を設け、リ−ド要求に応じて最も古いデ−タを保持し
ているデ−タ保持手段に切り換えて使用し、デ−タ保持
手段に保持している新しいデ−タが書き変わることを防
ぐ。Further, a plurality of data holding means are provided in the intermediate buffer, and the data holding means is used by switching to the data holding means holding the oldest data in response to a read request. It prevents the new data held in the means from being overwritten.
【0019】また、リ−ド要求がインストラクションの
リ−ドであることを示している場合にデ−タ保持手段に
余剰デ−タを保持させたり、リ−ド要求が特定のデ−タ
長であるときに、デ−タ保持手段に余剰デ−タを保持さ
せ、インストラクション・アクセスの間にデ−タ・リ−
ドが起こってもデ−タ保持手段のデ−タが書き変わるこ
とを防ぐ。Further, when the read request indicates that it is an instruction read, the data holding means is made to hold the surplus data, or the read request is made to have a specific data length. , The data holding means is made to hold the surplus data, and the data read is carried out during the instruction access.
Even if a read occurs, the data in the data holding means is prevented from being overwritten.
【0020】また、中間バッファにデ−タを保持する対
象のアドレスを設定するための対象アドレス設定レジス
タを持ち、リ−ド要求が対象アドレス設定レジスタに設
定されたアドレスの範囲内にあるときに、デ−タ保持手
段に余剰デ−タを保持させ、シ−ケンシャルなアクセス
の間に他のリ−ド・アクセスが発生した場合にも、デ−
タ保持手段に保持されながらその後の書換えによりSD
RAMから読み直さなければならないということを防
ぐ。When the read request is within the address range set in the target address setting register, the intermediate buffer has a target address setting register for setting a target address for holding data. The data holding means is made to hold the surplus data, and even if another read access occurs during the sequential access, the data is also stored.
SD by the subsequent rewriting while being held by the data holding means
Prevents having to reload from RAM.
【0021】さらに、ライト要求の対象アドレスがデ−
タ保持手段で保持しているデ−タのアドレスである場合
に、デ−タ保持手段に保持しているデ−タを供給するこ
とを禁止したり、デ−タ保持手段が保持しているにライ
ト要求の対象アドレスのデ−タをライトするデ−タに書
換えて、古いデ−タを供給することを防ぐ。Further, the target address of the write request is the data
When the address is the address of the data held by the data holding means, it is prohibited to supply the data held in the data holding means or held by the data holding means. Further, the old data is prevented from being supplied by rewriting the data of the target address of the write request to the data to be written.
【0022】[0022]
【実施例】図1はこの発明の一実施例を示すブロック図
である。図に示すように、画像処理装置は装置全体の制
御と画像処理等を行うCPU1と、CPU1のインスト
ラクションや各種パラメ−タを記憶したROM2と、シ
ンクロナスDRAM(SDRAM)3と、中間バッファ
4と、プリンタとの信号の授受を行うプリンタインタフ
ェ−ス(プリンタI/F)5と、ホストコンピュ−タ等
との信号の授受を行うホストインタフェ−ス(ホストI
/F)6と、CPU1からの要求を解釈し、装置各部の
制御を行うASIC7とを有する。CPU1に接続され
た高速デ−タを転送するCPUバス8には高速デ−タ転
送が要求されるプリンタインタフェ−ス5とASIC7
が接続され、このCPUバス8に中間バッファ4を介し
てSDRAM3が接続されている。低速バス9はASI
C7を介してCPUバス8に接続され、この低速バス9
にはROM2とホストインタフェ−ス6が接続されてい
る。1 is a block diagram showing an embodiment of the present invention. As shown in the figure, the image processing apparatus includes a CPU 1 that controls the entire apparatus and performs image processing, a ROM 2 that stores instructions of the CPU 1 and various parameters, a synchronous DRAM (SDRAM) 3, and an intermediate buffer 4. , A printer interface (printer I / F) 5 for exchanging signals with a printer, and a host interface (host I / F) for exchanging signals with a host computer or the like.
/ F) 6 and an ASIC 7 that interprets a request from the CPU 1 and controls each part of the apparatus. A printer interface 5 and an ASIC 7 which are required to transfer high speed data are connected to a CPU bus 8 which transfers high speed data.
, And the SDRAM 3 is connected to the CPU bus 8 via the intermediate buffer 4. Low-speed bus 9 is ASI
This low-speed bus 9 is connected to the CPU bus 8 via C7.
The ROM 2 and the host interface 6 are connected to.
【0023】CPU1にはオンチップにキャッシュ・メ
モリを持っており、インストラクション・キャッシュの
ミス・ヒット時には4ワ−ド毎のバ−スト・アクセスで
リフィルを行い、デ−タ・キャッシュのミス・ヒット時
には2ワ−ド毎のバ−スト・アクセスでリフィルを行
う。また、CPU1はリ−ド・アクセス時にステ−タス
端子にリ−ド要求はインストラクションとしてリ−ドを
行うのか、デ−タとしてリ−ドを行うのかを示してい
る。SDRAM3は画像デ−タを記憶するとともにCP
U1のインストラクションやCPU1のワ−キングデ−
タ等を記憶する。The CPU 1 has an on-chip cache memory, and at the time of instruction cache miss hit, refill is performed by burst access every 4 words, and data cache miss hit. Sometimes refilling is performed by burst access every 2 words. Further, the CPU 1 indicates whether the read request to the status terminal at the time of read access is read as an instruction or read as data. The SDRAM 3 stores the image data and the CP
U1 instruction and CPU1 working data
Memory etc.
【0024】中間バッファ4は、図2の内部構成図に示
すように、中間バッファ制御部40と、CPUバス8側
のデ−タ・バス端子41と、SDRAM3側のデ−タ・
バス端子42と、ライト・レジスタ43と、SDRAM
側出力バッファ44と、例えば4段のFIFO構成とな
っているデ−タ保持手段45と、セレクタ47とリ−ド
・レジスタ48とCPU側出力バッファ49とからなる
デ−タ出力手段46とを有する。中間バッファ制御部4
0は中間バッファ4内の各部を制御するものであり、A
SIC7により生成したSDRAM3の制御信号である
CLK,SS*,RDE*,WDE*,RW*の各制御
信号が入力されている。なお、各信号の*印は負論理で
あることを示す。ここでCLKはクロック信号であり、
RDE*,WDE*,RW*の各制御信号自体のサンプ
リングやライト・レジスタ43,リ−ド・レジスタ48
のサンプリング・クロックとして使用される。またSS
*はリ−ド要求の対象デ−タがデ−タ保持手段45にあ
ることを示す信号であり、CLKでサンプリングされず
にそのままのタイミングで使用される。RDE*はCP
U側出力バッファ49のイネ−ブルを制御するための信
号であり、WDE*はデ−タ保持手段45へのデ−タ書
き込みを制御するための信号、RW*はSDRAM側出
力バッファ44のイネ−ブルを制御するための信号であ
る。As shown in the internal configuration diagram of FIG. 2, the intermediate buffer 4 includes an intermediate buffer control section 40, a data bus terminal 41 on the CPU bus 8 side, and a data bus terminal on the SDRAM 3 side.
Bus terminal 42, write register 43, SDRAM
A side output buffer 44, a data holding means 45 having, for example, a four-stage FIFO structure, and a data output means 46 including a selector 47, a read register 48, and a CPU side output buffer 49. Have. Intermediate buffer control unit 4
0 controls each part in the intermediate buffer 4, and A
The control signals CLK, SS *, RDE *, WDE *, and RW *, which are control signals for the SDRAM 3 generated by the SIC 7, are input. The * mark of each signal indicates that it is a negative logic. Where CLK is the clock signal,
RDE *, WDE *, RW * control signal sampling, write register 43, read register 48
Used as the sampling clock for the. Also SS
* Is a signal indicating that the target data of the read request is in the data holding means 45, and is used as it is without being sampled by CLK. RDE * is CP
A signal for controlling the enable of the U side output buffer 49, WDE * is a signal for controlling the data writing to the data holding means 45, and RW * is an enable of the SDRAM side output buffer 44. A signal for controlling the bull.
【0025】この中間バッファ4において、各種デ−タ
のライト時には、CPU1から送られたライト・デ−タ
がCPUバス8側のデ−タ・バス端子41から入力さ
れ、入力したライト・デ−タはライト・レジスタ43に
一度ラッチされる。このときSDRAM側出力バッファ
44はイネ−ブルとなっているので、ライト・レジスタ
43にラッチされているデ−タはSDRAM側出力バッ
ファ44にバッファリングされSDRAM3側のデ−タ
・バス端子42に出力される。ここでライト・レジスタ
43でデ−タを一度ラッチしているのは、SDRAM3
のセットアップタイム・マ−ジンを改善するためであ
る。In the intermediate buffer 4, at the time of writing various data, the write data sent from the CPU 1 is input from the data bus terminal 41 on the CPU bus 8 side, and the input write data is input. Data is once latched in the write register 43. At this time, since the SDRAM side output buffer 44 is enabled, the data latched in the write register 43 is buffered in the SDRAM side output buffer 44 and is transferred to the data bus terminal 42 on the SDRAM 3 side. Is output. The write register 43 latches the data once in the SDRAM 3
This is to improve the setup time margin.
【0026】また、デ−タ・リ−ド時には、SDRAM
3に記憶されたデ−タがSDRAM3側のデ−タ・バス
端子42から入力され、デ−タ保持手段45とセレクタ
47に供給される。このときSDRAM側出力バッファ
44はディセ−ブルとなっている。セレクタ47はデ−
タ保持手段45にCPU1からリ−ド要求されたデ−タ
があるときは、デ−タ保持手段45にあるリ−ド要求さ
れたデ−タをリ−ド・レジスタ48に通す。また、デ−
タ保持手段45にCPU1からリ−ド要求されたデ−タ
がないとき、セレクタ47はSDRAM3側のデ−タ・
バス端子42から入力したデ−タをリ−ド・レジスタ4
8に通す。リ−ド・レジスタ48に送られたデ−タはリ
−ド・レジスタ48で一度ラッチされる。このときCP
U側出力バッファ49はイネ−ブルとなっているので、
リ−ド・レジスタ48にラッチされているデ−タはCP
U側出力バッファ49にバッファリングされCPUバス
8側のデ−タ・バス端子41に出力される。ここでCP
U1がインストラクション・キャッシュ・メモリのリフ
ィルをするときに、4ワ−ド毎のブロック・リフィルが
行われるが、SDRAM3は8ワ−ドのリ−ドが行われ
る。そこでCPU側出力バッファ49はSDRAM3側
のデ−タ・バス端子42から入力したデ−タのうち4ワ
−ド分のみCPUバス8側のデ−タ・バス端子41に出
力し、その後はディセ−ブルとなる。一方、デ−タ保持
手段45はSDRAM3からのバ−スト・リ−ドの最後
の4ワ−ド分のみを記憶する。At the time of data read, the SDRAM
The data stored in No. 3 is input from the data bus terminal 42 on the SDRAM 3 side and supplied to the data holding means 45 and the selector 47. At this time, the output buffer 44 on the SDRAM side is disabled. Selector 47 is
When the data holding means 45 has read-requested data from the CPU 1, the read-requested data in the data holding means 45 is passed to the read register 48. In addition,
When there is no data requested to be read from the CPU 1 in the data holding means 45, the selector 47 controls the data on the SDRAM 3 side.
The data input from the bus terminal 42 is read by the read register 4
Pass through 8. The data sent to the read register 48 is once latched by the read register 48. CP at this time
Since the U side output buffer 49 is enabled,
The data latched in the read register 48 is CP.
The data is buffered in the U-side output buffer 49 and output to the data bus terminal 41 on the CPU bus 8 side. CP here
When U1 refills the instruction cache memory, the block refill is performed every 4 words, but the SDRAM 3 is read by 8 words. Therefore, the CPU side output buffer 49 outputs only 4 words of the data input from the data bus terminal 42 on the SDRAM 3 side to the data bus terminal 41 on the CPU bus 8 side, and thereafter outputs the data. -Be Bull. On the other hand, the data holding means 45 stores only the last 4 words of the burst read from the SDRAM 3.
【0027】次ぎに上記のように構成された画像処理装
置でリ−ド時の動作を、図3のタイミングチャ−トを参
照して説明する。図3において、CLKは装置全体を管
理するクロック信号である。ALEはCPU1が出力す
る信号であり、この信号をアサ−トすることにより、C
PU1がCPUバス8にアクセス要求の対象アドレスを
出力していることを示す。またADはCPUバス8のア
ドレス/デ−タ・バスであり、アドレスとデ−タの両方
の転送に使用する。RD*,Burst*はCPU1が出力
する信号であり、CPU1のアクセス要求がリ−ドであ
るときにRD*をアサ−トし、さらにその要求が4ワ−
ド分のリ−ドであるときにBurst*をアサ−トする。C
S*,RAS*,CAS*,WE*はSDRAM3の制
御信号の一部であり、これらの信号を使用してSDRA
M3にコマンドを与える。すなわちCS*とRAS*を
アサ−トした場合はロ−・アドレスの入力要求であり、
CS*とCAS*をアサ−トした場合はコラム・アドレ
スの入力要求を示し、CS*とRAS*とWE*をアサ
−トした場合はプリチャ−ジ要求を示す。また、DRA
M−DはSDRAM3のデ−タ・バスである。Next, the read operation of the image processing apparatus configured as described above will be described with reference to the timing chart of FIG. In FIG. 3, CLK is a clock signal for managing the entire device. ALE is a signal output by the CPU 1, and by asserting this signal, C
It indicates that PU1 is outputting the target address of the access request to the CPU bus 8. AD is an address / data bus of the CPU bus 8 and is used for transfer of both address and data. RD * and Burst * are signals output by the CPU 1, and when the access request of the CPU 1 is a read, the RD * is asserted, and the request is 4-word.
Burst * is asserted when it is a lead for a minute. C
S *, RAS *, CAS *, and WE * are a part of the control signals of the SDRAM 3, and these signals are used for SDRA.
Give a command to M3. That is, when CS * and RAS * are asserted, it is a request to input a low address.
When CS * and CAS * are asserted, a column address input request is shown, and when CS *, RAS * and WE * are asserted, a precharge request is shown. Also, DRA
MD is a data bus of SDRAM3.
【0028】まず、ASIC7は1クロック目でRD
*,Burst*のアサ−トがサンプリングされるので、C
PU1が4ワ−ド分のリ−ドを要求していることを認識
する。また、ASIC7はそのときのアドレスはADバ
スにより(A0)であることを認識する。ASIC7の
内部には中間バッファ4のデ−タ保持手段45に保持さ
れているデ−タのアドレスを持っており、このアドレス
をCPU1からのアクセス要求アドレスと比較する。こ
の比較した結果、デ−タ保持手段45に保持しているデ
−タのアドレスとアクセス要求アドレスが一致していな
い場合は、SDRAM3からリ−ドするように、4クロ
ック目でロ−・アドレス、6クロック目でコラム・アド
レスの入力要求を送り出し、SDRAM3にサンプリン
グさせる。SDRAM3はこの要求を受けると、8クロ
ック目には最初のデ−タをDRAM−D上に出力する。
このとき中間バッファ4ではRDE*がアサ−トされて
いるのでADバス上にデ−タを出力するが、SS*がア
サ−トされていないので、DRAM−D上のデ−タをク
ロックの立上りでラッチしてタイミングを取り直してA
Dバスに出力する。そしてこのデ−タは9クロック目で
CPU1にサンプリングされる。First, the ASIC 7 starts RD at the first clock.
Since the * and Burst * assertions are sampled, C
Recognize that PU1 requests a read for 4 words. Further, the ASIC 7 recognizes that the address at that time is (A0) through the AD bus. Inside the ASIC 7, there is an address of the data held in the data holding means 45 of the intermediate buffer 4, and this address is compared with the access request address from the CPU 1. As a result of the comparison, if the address of the data held in the data holding means 45 does not match the access request address, the low address is read at the fourth clock so that the SDRAM 3 reads it. , The column address input request is sent out at the 6th clock, and the SDRAM 3 is made to sample. Upon receiving this request, the SDRAM 3 outputs the first data on the DRAM-D at the 8th clock.
At this time, since RDE * is asserted in the intermediate buffer 4, data is output to the AD bus. However, since SS * is not asserted, the data on the DRAM-D is clocked. Latch at rising edge and retake timing
Output to D bus. Then, this data is sampled by the CPU 1 at the 9th clock.
【0029】一方、SDRAM3は例えばバ−スト長4
で、シ−ケンシャル・モ−ドに設定されているので、9
クロック,10クロック,11クロックでインクリメントし
たデ−タを出力する。さらにSDRAM3から先のデ−
タを読むために10クロック目でコラム・アドレスをサン
プリングさせる。SDRAM3はこれを受けて12クロッ
クから4クロック分この先のデ−タを出力する。12クロ
ック目ではRDE*がネゲ−トされておりWDE*がア
サ−トされているので、ADバスへの出力をディセ−ブ
ルにし、DRAM−D上のデ−タを中間バッファ4のデ
−タ保持手段45にライトする。14クロック目ではAS
IC7はCPU1からの新しいワ−ドのリ−ド要求が認
識されるが、このアドレスは(A4)であり、中間バッ
ファ4のデ−タ保持手段45からデ−タが供給できるの
で、中間バッファ4が17クロック目でSS*とRDE*
のアサ−トをサンプリングできるようにする。SDRA
M3に対しては、次ぎのリ−ド要求に備えて15クロック
目でプリチャ−ジ・コマンドをサンプリングできるよう
にCS*とRAS*とWE*をアサ−トしたうえで、次
ぎのリ−ド要求に備えて17,19クロック目でロ−・アド
レス,コラム・アドレスをSDRAM3にサンプリング
させ、アクセス要求された先のアドレスをリ−ドし、中
間バッファ4のデ−タ保持手段45にライトする。On the other hand, the SDRAM 3 has, for example, a burst length of 4
Since it is set to sequential mode, 9
Outputs data incremented by clock, 10 clock, and 11 clock. Furthermore, data from SDRAM 3
The column address is sampled at the 10th clock to read the data. In response to this, the SDRAM 3 outputs data from 12 clocks to 4 clocks ahead. At the 12th clock, since RDE * is negated and WDE * is asserted, the output to the AD bus is disabled and the data on the DRAM-D is transferred to the intermediate buffer 4. The data is written in the data holding means 45. AS at the 14th clock
The IC 7 recognizes a new word read request from the CPU 1, but this address is (A4) and the data can be supplied from the data holding means 45 of the intermediate buffer 4, so that the intermediate buffer can be supplied. 4th is 17th clock SS * and RDE *
Allow sampling of the assertions in. SDRA
For M3, CS *, RAS *, and WE * are asserted so that the precharge command can be sampled at the 15th clock in preparation for the next read request, and then the next read. In preparation for a request, the SDRAM 3 is made to sample the row address and the column address at the 17th and 19th clocks, the destination address requested to be accessed is read, and the data is stored in the data holding means 45 of the intermediate buffer 4. .
【0030】デ−タのアクセスはシ−ケンシャルに行わ
れることが多いので、先読みしているデ−タをリ−ド要
求されることが多い。このような場合、上記のようにア
クセス要求元であるCPU1とSDRAM3との間に中
間バッファ4を設け、CPU1からの要求デ−タとその
先のデ−タをSDRAM3から読み出し、先読みしてい
るデ−タを中間バッファ4のデ−タ保持手段45に保持
しているから、SDRAM3からリ−ドすることなしに
リ−ド要求デ−タを供給することができる。したがって
高速にデ−タを供給することができる。また、先読みす
ることによる時間の損失は、先読みしたデ−タ量をバス
幅で割ったクロック数のみでできるから極めて小さく、
多くの場合バスのアビトレ−ション・サイクルの影に完
全に隠れてしまい、ペナルテ−を零にすることができ
る。Since data is often accessed sequentially, the read-ahead data is often requested to be read. In such a case, as described above, the intermediate buffer 4 is provided between the CPU 1 which is the access request source and the SDRAM 3, and the request data from the CPU 1 and the data subsequent thereto are read from the SDRAM 3 and prefetched. Since the data is held in the data holding means 45 of the intermediate buffer 4, the read request data can be supplied without being read from the SDRAM 3. Therefore, data can be supplied at high speed. In addition, the time loss due to prefetching is extremely small because it can be done only by the number of clocks obtained by dividing the prefetched data amount by the bus width.
In many cases, it is completely hidden by the shadow of the bus arbitration cycle, and the penalty can be zero.
【0031】なお、上記実施例は中間バッファ4に1個
のデ−タ保持手段45を設けた場合について説明した
が、中間バッファ4に複数のデ−タ保持手段を設けても
良い。Although the above embodiment has been described with respect to the case where the intermediate buffer 4 is provided with one data holding means 45, the intermediate buffer 4 may be provided with a plurality of data holding means.
【0032】図4は2個のデ−タ保持手段45a,45
bを設けた中間バッファ4の構成を示す。図に示すよう
に、中間バッファ制御部40にはCLK,SS*,RD
E*,WDE*,RW*の各制御信号以外にデ−タ保持
手段45aとデ−タ保持手段45bのどちらを使用する
かを示す制御信号FOが入力されている。この制御信号
FOにより、リ−ド要求時にデ−タ保持手段45aとデ
−タ保持手段45bのなかで最も古いデ−タを保持して
いるデ−タ保持手段に切り換えて使用する。このように
リ−ド要求に応じてデ−タ保持手段45aとデ−タ保持
手段45bを切り換えることにより、デ−タ保持手段に
保持している新しいデ−タが書き変わってしまっている
という確率を低減することができる。FIG. 4 shows two data holding means 45a, 45.
The structure of the intermediate buffer 4 provided with b is shown. As shown in the figure, the intermediate buffer controller 40 has CLK, SS *, RD
In addition to the E *, WDE *, and RW * control signals, a control signal FO indicating which of the data holding means 45a and the data holding means 45b is used is input. This control signal FO is used by switching to the data holding means which holds the oldest data among the data holding means 45a and the data holding means 45b when a read request is made. Thus, by switching the data holding means 45a and the data holding means 45b in response to the read request, the new data held in the data holding means is overwritten. The probability can be reduced.
【0033】この場合、リ−ド要求がインストラクショ
ンのリ−ドであることを示している場合にデ−タ保持手
段45に先読みしたデ−タを保持させると、インストラ
クション・アクセスの間にデ−タ・リ−ドが起こっても
デ−タ保持手段45のデ−タが書き変わってしまってい
るという確率を減少することができる。In this case, when the read request indicates that it is an instruction read, if the data holding means 45 holds the preread data, the data is read during the instruction access. Even if a data read occurs, the probability that the data in the data holding means 45 has been rewritten can be reduced.
【0034】また、リ−ド要求が特定のデ−タ長である
ときに、デ−タ保持手段45に先読みしたデ−タを保持
させると、インストラクションと他のリ−ド・アクセス
のデ−タ長が異なるCPUではインストラクションのリ
−ドであることが判断でき、インストラクション・アク
セスの間にデ−タ・リ−ドが起こってもデ−タ保持手段
45のデ−タが書き変わってしまっているという確率を
減少することができる。When the read request has a specific data length, the data holding means 45 holds the prefetched data, and the instruction and other read access data are stored. CPUs having different data lengths can determine that the data is an instruction read. Even if a data read occurs during instruction access, the data in the data holding means 45 is rewritten. You can reduce the probability that you are
【0035】また、中間バッファ4にデ−タを保持する
対象のアドレスを設定するための対象アドレス設定レジ
スタを持ち、リ−ド要求が対象アドレス設定レジスタに
設定されたアドレスの範囲内にあるときに、デ−タ保持
手段45に先読みしたデ−タを保持させると、シ−ケン
シャルなアクセスの間に他のリ−ド・アクセスが発生し
た場合にも、デ−タ保持手段45に保持されながらその
後の書換えによりSDRAM3から読み直さなければな
らないという確率を低減することができる。When the intermediate buffer 4 has a target address setting register for setting a target address for holding data, and the read request is within the range of the addresses set in the target address setting register. When the pre-read data is held in the data holding means 45, the data holding means 45 holds the data even if another read access occurs during the sequential access. However, the probability of having to reread from the SDRAM 3 can be reduced by the subsequent rewriting.
【0036】さらに、ライト要求の対象アドレスがデ−
タ保持手段45で保持しているデ−タのアドレスである
場合に、デ−タ保持手段45に保持しているデ−タをC
PU1に供給することを禁止することにより、古いデ−
タを供給することを防止することができる。また、この
場合、デ−タ保持手段45が保持しているにライト要求
の対象アドレスのデ−タをライトするデ−タに書換える
と、古いデ−タを供給することを防止することができる
とともに、さらにそのデ−タをリ−ドした場合にSDR
AM3からそのデ−タをリ−ドすることなしにデ−タを
供給することができる。Further, the target address of the write request is the data
When the address is the address of the data held by the data holding means 45, the data held in the data holding means 45 is C
By prohibiting supply to PU1, the old data
Can be prevented from being supplied. Further, in this case, if the data held at the data holding means 45 is rewritten to the data for writing the target address of the write request, the supply of old data can be prevented. It is possible and SDR when the data is read further
The data can be supplied from the AM3 without reading the data.
【0037】[0037]
【発明の効果】この発明は以上説明したように、アクセ
ス要求元であるCPUとSDRAMとの間に中間バッフ
ァを設け、CPUからの要求デ−タとその先のデ−タを
SDRAMから読み出し、先読みしているデ−タを中間
バッファのデ−タ保持手段に保持しているから、SDR
AMからリ−ドすることなしにリ−ド要求デ−タを供給
することができ、高速にデ−タを供給することができ
る。As described above, according to the present invention, an intermediate buffer is provided between the access request source CPU and the SDRAM, and the request data from the CPU and the subsequent data are read from the SDRAM. Since the prefetched data is held in the data holding means of the intermediate buffer, SDR
The read request data can be supplied without being read from the AM, and the data can be supplied at high speed.
【0038】また、中間バッファに複数のデ−タ保持手
段を設け、リ−ド要求のときに最も古いデ−タを保持し
ているデ−タ保持手段に切り換えて使用すことにより、
デ−タ保持手段に保持している新しいデ−タが書き変わ
ってしまうことを防止することができる。By providing a plurality of data holding means in the intermediate buffer and switching to the data holding means holding the oldest data at the time of a read request, the data holding means is used.
It is possible to prevent the new data held in the data holding means from being overwritten.
【0039】この複数のデ−タ保持手段を切り換える場
合、リ−ド要求がインストラクションのリ−ドであるこ
とを示している場合にデ−タ保持手段に先読みした余剰
デ−タを保持させると、インストラクション・アクセス
の間にデ−タ・リ−ドが起こってもデ−タ保持手段のデ
−タが書き変わってしまっているということを防止する
ことができる。When the plurality of data holding means are switched, if the read request indicates that it is an instruction read, the data holding means holds the prefetched surplus data. Even if a data read occurs during instruction access, it is possible to prevent the data in the data holding means from being overwritten.
【0040】また、リ−ド要求が特定のデ−タ長である
ときに、デ−タ保持手段に先読みした余剰デ−タを保持
させると、インストラクションと他のリ−ド・アクセス
のデ−タ長が異なるCPUでインストラクションのリ−
ドであることが判断でき、インストラクション・アクセ
スの間にデ−タ・リ−ドが起こってもデ−タ保持手段の
デ−タが書き変わってしまっているという確率を減少す
ることができる。When the read request has a specific data length, the data holding means holds the prefetched surplus data, and the instruction and other read access data are stored. Instructions for CPUs with different data lengths
It is possible to judge that the data is the data and it is possible to reduce the probability that the data of the data holding means is rewritten even if the data read occurs during the instruction access.
【0041】また、中間バッファ4にデ−タを保持する
対象のアドレスを設定するための対象アドレス設定レジ
スタを持ち、リ−ド要求が対象アドレス設定レジスタに
設定されたアドレスの範囲内にあるときに、デ−タ保持
手段に先読みした余剰デ−タを保持させると、シ−ケン
シャルなアクセスの間に他のリ−ド・アクセスが発生し
た場合にも、デ−タ保持手段に保持されながらその後の
書換えによりSDRAMから読み直さなければならない
という確率を低減することができる。When the intermediate buffer 4 has a target address setting register for setting a target address for holding data and the read request is within the range of the addresses set in the target address setting register. When the data holding means holds the prefetched surplus data, it is held in the data holding means even if another read access occurs during the sequential access. Subsequent rewriting can reduce the probability of having to reread from the SDRAM.
【0042】さらに、ライト要求の対象アドレスがデ−
タ保持手段で保持しているデ−タのアドレスである場合
に、デ−タ保持手段に保持しているデ−タを供給するこ
とを禁止することにより、古いデ−タを供給することを
防止することができる。Further, the target address of the write request is the data
When the address of the data stored in the data storage means is an address, it is possible to prevent the supply of the data stored in the data storage means to supply the old data. Can be prevented.
【0043】また、デ−タ保持手段が保持しているにラ
イト要求の対象アドレスのデ−タをライトするデ−タに
書換えると、古いデ−タを供給することを防止すること
ができるとともに、さらにそのデ−タをリ−ドした場合
にSDRAMからそのデ−タをリ−ドすることなしにデ
−タを供給することができ、迅速にデ−タを供給するこ
とができる。Further, if the data held by the data holding means is rewritten to the data for writing the target address of the write request, the supply of old data can be prevented. At the same time, when the data is further read, the data can be supplied from the SDRAM without being read, and the data can be supplied quickly.
【図1】この発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】上記実施例の中間バッファの構成を示すブロッ
ク図である。FIG. 2 is a block diagram showing a configuration of an intermediate buffer of the above embodiment.
【図3】上記実施例の動作を示すタイムチャ−トであ
る。FIG. 3 is a time chart showing the operation of the above embodiment.
【図4】他の実施例の中間バッファの構成を示すブロッ
ク図である。FIG. 4 is a block diagram showing a configuration of an intermediate buffer according to another embodiment.
1 CPU 2 ROM 3 シンクロナスDRAM(SDRAM) 4 中間バッファ 7 ASIC 40 中間バッファ制御部 45 デ−タ保持手段 46 デ−タ出力手段 47 セレクタ 48 リ−ド・レジスタ 49 CPU側出力バッファ 1 CPU 2 ROM 3 Synchronous DRAM (SDRAM) 4 Intermediate buffer 7 ASIC 40 Intermediate buffer control unit 45 Data holding means 46 Data output means 47 Selector 48 Read register 49 CPU side output buffer
───────────────────────────────────────────────────── フロントページの続き (72)発明者 石井 智樹 東京都大田区中馬込1丁目3番6号 株式 会社リコ−内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tomoki Ishii 1-3-6 Nakamagome, Ota-ku, Tokyo Inside Riko Co., Ltd.
Claims (7)
らなる記憶装置とを有する画像処理装置において、中央
演算装置と記憶装置との間に中間バッファを有し、中間
バッファには記憶装置から送られたデ−タを保持するデ
−タ保持手段とデ−タ出力手段とを有し、デ−タ出力手
段はデ−タ保持手段がリ−ド要求の対象アドレスのデ−
タを保持しているときにはデ−タ保持手段に保持してい
るデ−タを出力し、デ−タ保持手段がリ−ド要求の対象
アドレスのデ−タを保持していないときには要求デ−タ
長より多くのデ−タを記憶装置から読み出し、要求され
ているデ−タのみを出力し、余剰のデ−タはデ−タ保持
手段が保持することを特徴とする画像処理装置。1. An image processing apparatus having a central processing unit and a storage device comprising a synchronous DRAM, wherein an intermediate buffer is provided between the central processing unit and the storage device, and the intermediate buffer is sent from the storage device. It has a data holding means for holding data and a data output means, and the data output means has the data holding means for the data of the target address of the read request.
When the data is held, the held data is output to the data holding means, and when the data holding means does not hold the data of the target address of the read request, the request data is output. An image processing apparatus characterized in that more data than the data length is read from the storage device, only the requested data is output, and the surplus data is held by the data holding means.
らなる記憶装置とを有する画像処理装置において、中央
演算装置と記憶装置との間に中間バッファを有し、中間
バッファには記憶装置から送られたデ−タを保持する複
数のデ−タ保持手段とデ−タ出力手段とを有し、デ−タ
出力手段はデ−タ保持手段がリ−ド要求の対象アドレス
のデ−タを保持しているときにはデ−タ保持手段に保持
しているデ−タを出力し、デ−タ保持手段がリ−ド要求
の対象アドレスのデ−タを保持していないときには要求
デ−タ長より多くのデ−タを記憶装置から読み出し、要
求されているデ−タのみを出力し、デ−タ保持手段のう
ち有効なデ−タを保持していないデ−タ保持手段又は既
にアクセス要求元にデ−タを供給しているデ−タ保持手
段があるときは、そのデ−タ保持手段に余剰のデ−タを
保持させ、有効なデ−タを保持していないデ−タ保持手
段と既にアクセス要求元にデ−タを供給しているデ−タ
保持手段がないときは最も古いデ−タを保持しているデ
−タ保持手段に余剰のデ−タを保持させることを特徴と
する画像処理装置。2. An image processing apparatus having a central processing unit and a storage device comprising a synchronous DRAM, wherein an intermediate buffer is provided between the central processing unit and the storage device, and the intermediate buffer is sent from the storage device. It has a plurality of data holding means for holding data and data output means, and the data output means holds the data of the target address of the read request by the data holding means. When the data holding means outputs the data held in the data holding means, and when the data holding means does not hold the data of the target address of the read request, it is larger than the requested data length. Data is read from the storage device, only the requested data is output, and the data holding means that does not hold valid data or the access request source has already been output. If there is data holding means that supplies data, Data holding means for holding the surplus data, and the data holding means for not holding valid data and the data holding means for already supplying the data to the access request source. An image processing apparatus characterized in that, when there is no data, the data holding means holding the oldest data holds the surplus data.
レスのデ−タを保持していなく、リ−ド要求がインスト
ラクションであるときに、デ−タ保持手段に余剰のデ−
タを保持させる請求項1又は2記載の画像処理装置。3. When the data holding means does not hold the data of the target address of the read request and the read request is an instruction, the surplus data is stored in the data holding means.
The image processing apparatus according to claim 1, wherein the image processing apparatus holds the data.
レスのデ−タを保持していなく、リ−ド要求が特定のデ
−タ長であるときに、デ−タ保持手段に余剰のデ−タを
保持させる請求項1又は2記載の画像処理装置。4. When the data holding means does not hold the data of the target address of the read request and the read request has a specific data length, the data holding means The image processing apparatus according to claim 1 or 2, which retains excess data.
レスのデ−タを保持していなく、リ−ド要求が対象アド
レス設定レジスタにて示されたアドレスの範囲内にある
ときに、デ−タ保持手段に余剰のデ−タを保持させる請
求項1又は2記載の画像処理装置。5. When the data holding means does not hold the data of the target address of the read request and the read request is within the range of the address indicated by the target address setting register. 3. The image processing apparatus according to claim 1, wherein the data holding means holds the surplus data.
レスのデ−タを保持しているときに、デ−タ保持手段に
保持しているデ−タの供給を禁止する請求項1乃至5の
いずれかに記載の画像処理装置。6. The method according to claim 1, wherein the supply of the data held in the data holding means is prohibited when the data of the target address of the write request is held in the data holding means. 5. The image processing device according to any one of 5.
レスのデ−タを保持しているときに、デ−タ保持手段に
保持しているデ−タをライトするデ−タに書換える請求
項1乃至5のいずれかに記載の画像処理装置。7. When the data holding means holds the data of the target address of the write request, the data held in the data holding means is rewritten to the data to be written. The image processing apparatus according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4338794A JPH07230366A (en) | 1994-02-18 | 1994-02-18 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4338794A JPH07230366A (en) | 1994-02-18 | 1994-02-18 | Image processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07230366A true JPH07230366A (en) | 1995-08-29 |
Family
ID=12662399
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4338794A Pending JPH07230366A (en) | 1994-02-18 | 1994-02-18 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07230366A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001175534A (en) * | 1999-12-17 | 2001-06-29 | Sanyo Electric Co Ltd | Memory control circuit |
| JPWO2013137459A1 (en) * | 2012-03-16 | 2015-08-03 | 国立大学法人 奈良先端科学技術大学院大学 | Data supply device and data processing device |
-
1994
- 1994-02-18 JP JP4338794A patent/JPH07230366A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001175534A (en) * | 1999-12-17 | 2001-06-29 | Sanyo Electric Co Ltd | Memory control circuit |
| JPWO2013137459A1 (en) * | 2012-03-16 | 2015-08-03 | 国立大学法人 奈良先端科学技術大学院大学 | Data supply device and data processing device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR920010950B1 (en) | Computer system and information reading and data transmission method | |
| US5493666A (en) | Memory architecture using page mode writes and single level write buffering | |
| US6615309B2 (en) | Semiconductor memory device | |
| CN1088215C (en) | Memory controller that executes read and write instructions out of order | |
| US20020035662A1 (en) | Memory controller and data processing system | |
| JP2000501536A (en) | Memory controller unit that optimizes the timing of the memory control sequence between various memory segments | |
| US5253358A (en) | Cache memory expansion and transparent interconnection | |
| JP4250989B2 (en) | Memory access control device | |
| US6154807A (en) | Memory system performing fast access to a memory location by omitting the transfer of a redundant address | |
| JPH07230366A (en) | Image processing device | |
| JPH08328949A (en) | Storage device | |
| JPH08129881A (en) | SDRAM control device | |
| JP2007328910A (en) | Main memory system with multiple data paths | |
| US6385687B2 (en) | Method and apparatus for simultaneously accessing the tag and data arrays of a memory device | |
| JPH06282983A (en) | Method for access to data in memory, memory system and memory control system | |
| KR940001590B1 (en) | Device and Method for Reducing Memory Access Time in Block Read and Write | |
| JP4220258B2 (en) | High-speed memory access method in non-cache area | |
| EP0398191A2 (en) | Quadruple word, multiplexed, paged mode and cache memory | |
| JPH02110646A (en) | Memory advance reading device | |
| JP4037806B2 (en) | Cache memory device | |
| JPH07105081A (en) | Access control method and apparatus for synchronous DRAM | |
| JP3317592B2 (en) | Memory system and image forming system | |
| JPH06103760A (en) | Dynamic memory | |
| JP3561670B2 (en) | Memory control circuit | |
| JPH08101793A (en) | Memory system |