JP2002073413A - Memory access device - Google Patents

Memory access device

Info

Publication number
JP2002073413A
JP2002073413A JP2000263420A JP2000263420A JP2002073413A JP 2002073413 A JP2002073413 A JP 2002073413A JP 2000263420 A JP2000263420 A JP 2000263420A JP 2000263420 A JP2000263420 A JP 2000263420A JP 2002073413 A JP2002073413 A JP 2002073413A
Authority
JP
Japan
Prior art keywords
data
memory
access
address
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000263420A
Other languages
Japanese (ja)
Other versions
JP3800934B2 (en
Inventor
Masao Okabe
雅夫 岡部
Toshihiko Otake
俊彦 大竹
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000263420A priority Critical patent/JP3800934B2/en
Publication of JP2002073413A publication Critical patent/JP2002073413A/en
Application granted granted Critical
Publication of JP3800934B2 publication Critical patent/JP3800934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a memory access device that solves speed buffering problems of a high cost to use a two port memory and the infeasibility of a high-speed access caused by using a one port memory that requires a selective circuit to discriminate between the access from a host and the access from peripheral circuits and also needs to inserts the dynamic weight for the access intervention to the one port memory. SOLUTION: The memory access device has an answer holding part 7 that holds a present value and a lookahead resister 10 that holds a lookahead value at a host side. When the access of the host side occurs, is updates an address counter 5 and reads in advance the next data responding to the host and holds the present value in the answer holding part 7. The device reads an address into a buffer memory 8 to give priority an update timing of the address counter 5 for a priority of the lookahead and holds the read out value in the lookahead holding part 10. When the lookahead process and the next access occur concurrently and if holding timings of the lookahead holding part 10 and the answer holding part 7 become the same, the device holds a memory output in the answer holding part 7 by means of a selector 11.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マイコンと周辺回
路とのデータ転送速度の速度差を吸収するためのバッフ
ァに1ポートメモリを用いて構成した場合に適用して好
適なメモリアクセス装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory access device suitable for use when a one-port memory is used as a buffer for absorbing a data transfer speed difference between a microcomputer and a peripheral circuit.

【0002】[0002]

【従来の技術】フラッシュメモリカード等を用いる機器
では、カードとマイコンとの間でデータ転送を行うイン
ターフェース回路が必要になる。一般にバス幅も小さく
転送速度の遅いメモリカードに対して、アプリケーショ
ンも実行するマイコンは高速な場合が多い。低速なメモ
リカードとのデータ転送によって機器全体の能力低下を
招いてしまわないように、インターフェース回路では転
送速度差を吸収するためのバッファが設けられているの
が普通であり、そのバッファはホストマイコン側のアク
セスに対して最速に応答できることが望ましい。
2. Description of the Related Art An apparatus using a flash memory card or the like requires an interface circuit for transferring data between the card and a microcomputer. In general, a memory card having a small bus width and a low transfer speed often has a high-speed microcomputer that also executes an application. The interface circuit is usually provided with a buffer to absorb the difference in transfer speed, so that the transfer of data to / from a low-speed memory card does not cause a drop in the performance of the entire device. It is desirable to be able to respond to the access of the side fastest.

【0003】まず、従来のバッファ構成について説明す
る。図4はバッファメモリに2ポートメモリを用いたメ
モリアクセス装置を示すブロック図である。図4におい
て、システムバス(system bus)1はアドレス、デー
タ、リード・ライト信号等からなるホストマイコン(図
示せず)の外部バスであり、デコーダ(アドレスDE
C)2はシステムバス1のアドレス値をデコードする回
路であり、タイミング回路(Timing)3はアドレス指定
に従ってメモリアクセスするための制御パルスを生成す
る回路であり、入出力回路(I/O)4はシステムバス
1のデータバスに対してデータを入出力する回路であ
り、アドレスカウンタ5はバッファメモリのアドレスを
生成するアドレスカウンタであり、バッファメモリ6は
速度差吸収用のバッファ本体である2ポートメモリであ
る。
First, a conventional buffer configuration will be described. FIG. 4 is a block diagram showing a memory access device using a two-port memory as a buffer memory. In FIG. 4, a system bus (system bus) 1 is an external bus of a host microcomputer (not shown) including addresses, data, read / write signals, and the like.
C) 2 is a circuit for decoding the address value of the system bus 1, a timing circuit (Timing) 3 is a circuit for generating a control pulse for accessing the memory according to the address designation, and an input / output circuit (I / O) 4 Is a circuit for inputting / outputting data to / from the data bus of the system bus 1, an address counter 5 is an address counter for generating an address of a buffer memory, and a buffer memory 6 is a 2-port buffer which is a buffer for speed difference absorption. Memory.

【0004】以上のような構成で、ホストマイコンがバ
ッファをアクセスする場合のタイミングを図5に示す。
この例のメモリはアドレスに対して1クロック後にデー
タ出力される同期型のメモリであり、ホストマイコンか
らはFIFO(First In First Out)構成としてマッピ
ングされているものとしている。
FIG. 5 shows the timing when the host microcomputer accesses the buffer in the above configuration.
The memory in this example is a synchronous memory in which data is output one clock after the address, and is mapped from the host microcomputer as a FIFO (First In First Out) configuration.

【0005】まずホストマイコンのバッファリードによ
り立ち下がるリードパルスREに同期してタイミング回
路3が入出力回路4を出力許可してメモリの読み出しデ
ータをシステムバス1のデータバスに出力する。ホスト
マイコンはデータの取り込みと同時にリードパルスRE
を立ち上げてリードサイクルを終了する。このリードパ
ルスREの立ち上がりによりタイミング回路3はアドレ
スカウンタ5に対してインクリメントパルスを出力して
メモリアドレスを更新する。このようにして一回のアク
セスを完了する。次のマイコンアクセス時にはアドレス
が更新されているのでメモリの読み出し準備は完了して
いることになる。
First, in synchronization with a read pulse RE falling by a buffer read of the host microcomputer, the timing circuit 3 permits the output of the input / output circuit 4 and outputs the data read from the memory to the data bus of the system bus 1. The host microcomputer reads the read pulse RE at the same time
To end the read cycle. In response to the rise of the read pulse RE, the timing circuit 3 outputs an increment pulse to the address counter 5 to update the memory address. Thus, one access is completed. At the time of the next microcomputer access, the address has been updated, so that the preparation for reading the memory has been completed.

【0006】以上のように2ポートメモリを用いたバッ
ファ構成の場合には、基本的に2つの経路からのアクセ
スが同時かつ非同期なタイミングで行えるため、ホスト
マイコン側のアクセスが周辺回路側のアクセスに全く邪
魔されることなく独立している。よって、図6のタイミ
ング例では最短2クロックのアクセスサイクルであって
もデータの読み書きを実行できる。
In the buffer configuration using a two-port memory as described above, access from two paths can be basically performed at the same time and asynchronously, so that the access on the host microcomputer side becomes the access on the peripheral circuit side. Independent without any distractions. Therefore, in the timing example of FIG. 6, data can be read and written even in an access cycle of a minimum of two clocks.

【0007】[0007]

【発明が解決しようとする課題】しかしながら2ポート
メモリは高コストの要因となるという課題がある。本
来、速度差吸収用のバッファであるから、どちらかのア
クセス頻度が低く、頻度の高い(優先度の高い)アクセ
スの合間にアクセスすれば効果的であり、アクセスを調
停することで1ポートのメモリを用いれば低コスト化で
きる。
However, there is a problem that the two-port memory causes a high cost. Since the buffer is originally a buffer for absorbing the speed difference, it is effective to access between either of the low-frequency and high-frequency (high-priority) accesses. If a memory is used, the cost can be reduced.

【0008】しかし、ホストマイコンと周辺回路では全
く非同期にアクセスされるため、たとえホストマイコン
側のアクセス優先度を高くしたとしても1ポートメモリ
の場合には、例えば周辺回路側のアクセス中にホストマ
イコンからのアクセス要求があった場合などにアクセス
調停時間に相当するウェイトステートをホストマイコン
に対して挿入する必要がある。
However, since the host microcomputer and the peripheral circuit are accessed completely asynchronously, even if the access priority on the host microcomputer side is increased, in the case of the one-port memory, for example, the host microcomputer is accessed during the access on the peripheral circuit side. It is necessary to insert a wait state corresponding to the access arbitration time into the host microcomputer when there is an access request from the host microcomputer.

【0009】本発明は前記課題に鑑み、低コストな1ポ
ートのメモリを用いながら、優先度の高い側のアクセス
に対してウェイト挿入する必要が全くなく、同時にメモ
リの応答限界まで高速アクセスができて不必要なアクセ
スサイクルの増加が全く必要ないメモリアクセス装置を
提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, the present invention does not require any wait insertion for accesses on the higher priority side while using a low-cost one-port memory. It is another object of the present invention to provide a memory access device which does not require any unnecessary increase in access cycles.

【0010】[0010]

【課題を解決するための手段】この課題を解決するため
に本発明のメモリアクセス装置は、アクセスを優先する
側のデータ読み出しに対して、メモリ(1ポートメモ
リ)から出力するデータを一時的に保持する読み出しデ
ータ保持手段と、優先側の読み出し時にメモリのアドレ
スを次のアクセスで読み出すアドレスに更新するアドレ
ス更新手段と、アドレスが更新された直後を優先してメ
モリから更新アドレスの読み出しを行うアクセス調停手
段と、優先読み出しされた更新アドレスのデータである
先読みデータを一時的に保持する先読みデータ保持手段
とを備えて先読み動作を行うとともに、読み出しデータ
保持手段へのデータ保持タイミングが、優先側の一回前
の読み出し時の先読みデータを、既に先読みデータ保持
手段に保持し終わっているタイミングの場合には先読み
データ保持手段の出力データを選択し、読み出しデータ
保持手段へのデータ保持タイミングが、優先側の一回前
の読み出し時の先読みデータを、先読みデータ保持手段
に保持させるタイミングと重なった場合にはメモリの出
力データを選択する選択手段とを備えたものである。
SUMMARY OF THE INVENTION In order to solve this problem, a memory access device according to the present invention temporarily stores data output from a memory (one-port memory) for reading data on the side where access is prioritized. Reading data holding means for holding, address updating means for updating a memory address to an address to be read in the next access at the time of reading on the priority side, and access for reading an updated address from the memory immediately after the address is updated with priority An arbitration unit and a prefetch data holding unit that temporarily holds prefetch data, which is data of an update address that has been preferentially read, perform a prefetch operation, and the data holding timing of the read data holding unit is set to the priority side. The prefetch data at the time of the immediately preceding read has already been held in the prefetch data holding means. In the case of the read timing, the output data of the pre-read data holding means is selected, and the data holding timing to the read data holding means is the timing at which the pre-read data at the time of the immediately preceding read on the priority side is held by the pre-read data holding means. And selecting means for selecting the output data of the memory when they overlap.

【0011】[0011]

【発明の実施の形態】本発明は、2つの周辺装置間のデ
ータ送受の速度差を吸収するために1ポートメモリを用
いたバッファ制御において、アクセスを優先する側のデ
ータ読み出しに対して、出力するデータを一時的に保持
する読み出しデータ保持手段と、優先側の読み出し時に
前記メモリのアドレスを次のアクセスで読み出すアドレ
スに更新するアドレス更新手段と、アドレスが更新され
た直後を優先して前記メモリから更新アドレスのデータ
読み出しを行うアクセス調停手段と、優先読み出しされ
た更新アドレスのデータである先読みデータを一時的に
保持する先読みデータ保持手段と、前記読み出しデータ
保持手段へのデータ保持タイミングが、優先側の一回前
の読み出し時の先読みデータを、既に先読みデータ保持
手段に保持し終わっているタイミングの場合には先読み
データ保持手段の出力データを選択し、前記読み出しデ
ータ保持手段へのデータ保持タイミングが、優先側の一
回前の読み出し時の先読みデータを、前記先読みデータ
保持手段に保持させるタイミングと重なった場合には前
記1ポートメモリの出力データを選択する選択手段とを
備え、前記読み出しデータ保持手段は前記選択手段の出
力を保持して読み出し応答するものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention relates to a buffer control using a one-port memory for absorbing a data transmission / reception speed difference between two peripheral devices. Read data holding means for temporarily holding data to be read, address updating means for updating the address of the memory at the time of reading on the priority side to an address to be read at the next access, and priority for the memory immediately after the address is updated Access arbitration means for reading out data of an update address from the memory, read-ahead data holding means for temporarily holding read-ahead data which is data of an update address which has been read with priority, and data holding timing to the read data holding means, The pre-read data at the time of the immediately preceding read is already held in the pre-read data holding means In the case of the read timing, the output data of the pre-read data holding unit is selected, and the data holding timing to the read data holding unit is such that the pre-read data at the time of the immediately preceding reading on the priority side is sent to the pre-read data holding unit. Selecting means for selecting the output data of the one-port memory when the timing for holding the data overlaps, and the read data holding means holds the output of the selecting means and makes a read response.

【0012】また、本発明は上記発明に加え、アクセス
調停手段は、2つのアクセス系のどちらもアクセス要求
がない場合には優先する側のアドレスをメモリに供給
し、先読みデータ保持手段は、優先側のアドレスがメモ
リに供給されて読み出されたデータを常に取り込んで保
持するものである。
In addition to the above-mentioned invention, the present invention provides an access arbitration means for supplying an address of a priority side to a memory when neither of the two access systems has an access request, and a prefetch data holding means for supplying a priority to the memory. The side address is supplied to the memory and the read data is always taken in and held.

【0013】以下、本発明の実施の形態について、図面
を用いて説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0014】(実施の形態)図1は本発明の実施の形態
によるメモリアクセス装置の構成を示すブロック図であ
る。なお、従来例(図4)と構成が同じものには同一符
号を付け説明を省略する。
(Embodiment) FIG. 1 is a block diagram showing a configuration of a memory access device according to an embodiment of the present invention. Note that components having the same configuration as the conventional example (FIG. 4) are denoted by the same reference numerals and description thereof is omitted.

【0015】図1において、保持回路7はホストマイコ
ン(図示せず)からの読み出しに対して、出力するデー
タを保持しておく読み出しデータの保持器、バッファメ
モリ(以下、単にメモりと称す)8はバッファ本体であ
る1ポートメモリ、選択回路9はメモリ8へのアクセス
をホストマイコンと別系の周辺回路(図示せず)とで切
り換える切換器、保持回路10はホストマイコン側が読
み出したアドレスのデータを保持する先読みデータの保
持器、選択回路11は、保持回路7にホールドさせるデ
ータを保持回路10のデータとメモリ8の出力とで切り
換える切換器、タイミング回路12はホストマイコンか
らの読み出し動作に応じて、保持回路7へのデータ保持
パルスを生成して読み出しデータを確定させながらカウ
ンタ5を更新させて次のアドレスを生成し、アドレス更
新に合わせて選択回路9をホストマイコン側に優先的に
切り換えて先読みアクセスを行い、保持回路10に先読
みデータを保持させるタイミングパルスを生成するタイ
ミング管理回路である。
In FIG. 1, a holding circuit 7 holds a read data holding unit and a buffer memory (hereinafter simply referred to as memory) for holding data to be output in response to reading from a host microcomputer (not shown). Reference numeral 8 denotes a one-port memory which is a buffer body, a selection circuit 9 switches a switch for accessing the memory 8 between a host microcomputer and a peripheral circuit (not shown) of another system, and a holding circuit 10 stores an address read by the host microcomputer. A pre-read data holding unit for holding data, a selection circuit 11 is a switch for switching data to be held in the holding circuit 7 between data of the holding circuit 10 and an output of the memory 8, and a timing circuit 12 is for reading operation from the host microcomputer. Accordingly, the counter 5 is updated while generating a data holding pulse to the holding circuit 7 to determine the read data. It generates the next address, performs prefetching access by switching the selection circuit 9 in accordance with the address update preferentially to the host microcomputer side, a timing management circuit which generates a timing pulse for holding the pre-read data to the holding circuit 10.

【0016】以上のような構成でのホストマイコンから
アクセスについて、図2のタイミング図を使って説明す
る。まずホストマイコンの読み出しパルスREの立ち下
がりに同期してタイミング回路12がアドレスカウンタ
5のカウントアップと保持回路7への保持パルス(in
c)を生成する。これにより、ホストマイコンへの読み
出しデータ出力は保持回路7に確定される。同時にアド
レス値は次にアクセスされるアドレスに更新される。次
にタイミング回路12はアドレスが更新された直後のタ
イミングにアドレス切換パルスを生成して選択回路9を
制御することにより、メモリ8への供給アドレスを更新
されたばかりのアドレスカウンタ5の出力に切り換え
る。これにより、メモリ8からは1クロック後に更新ア
ドレスのデータが出力されてくるので、そのタイミング
に合わせてタイミング回路12は保持回路10への保持
パルスを生成し、読み出したデータを保持回路10にホ
ールドさせる。
The access from the host microcomputer having the above configuration will be described with reference to the timing chart of FIG. First, in synchronization with the fall of the read pulse RE of the host microcomputer, the timing circuit 12 counts up the address counter 5 and holds the holding pulse (in
c). As a result, the read data output to the host microcomputer is determined by the holding circuit 7. At the same time, the address value is updated to the next accessed address. Next, the timing circuit 12 switches the supply address to the memory 8 to the output of the address counter 5 that has just been updated by generating an address switching pulse at the timing immediately after the address is updated and controlling the selection circuit 9. As a result, the update address data is output from the memory 8 one clock later, so that the timing circuit 12 generates a holding pulse to the holding circuit 10 in accordance with the timing, and holds the read data in the holding circuit 10. Let it.

【0017】以上の動作によって、ホストマイコンの読
み出しに対して先に読み出しておいたデータを出力しな
がら、その裏で次のデータの先読み動作を行っている。
よって、次のホストマイコンの読み出し時には、読み出
しパルスREの立ち下がりに同期した保持パルス(in
c)によって、前回先読みした保持回路10のデータを
保持部回路に取り込んで出力確定させることで、ホスト
マイコンに対して最も速く応答することができる。
With the above operation, while the data previously read in response to the reading by the host microcomputer is output, the prefetch operation of the next data is performed behind the data.
Therefore, at the time of reading by the next host microcomputer, the holding pulse (in
According to c), the data of the holding circuit 10 previously prefetched is taken into the holding circuit and the output is determined, whereby the host microcomputer can be responded to at the highest speed.

【0018】以上のようにしてホストマイコンに対して
先読みしたデータをいち早く返答することで応答速度を
最大限に速めている。さらにホストマイコンのアクセス
サイクルが短くなり、図2に示すように保持回路7への
保持パルス(inc)と保持回路10への保持パルスが
同一タイミングになった場合には、選択回路11を制御
して保持回路7にも保持回路10と同じようにメモリ8
出力を直接ホールドさせる。これによりメモリ応答限界
のアクセスサイクルであってもホストマイコンに正常に
応答させるものである。
As described above, the response speed is maximized by promptly replying the pre-read data to the host microcomputer. Further, when the access cycle of the host microcomputer is shortened and the holding pulse (inc) to the holding circuit 7 and the holding pulse to the holding circuit 10 have the same timing as shown in FIG. 2, the selection circuit 11 is controlled. The memory 8 is also provided in the holding circuit 7 in the same manner as the holding circuit 10.
Hold the output directly. This allows the host microcomputer to normally respond even in the access cycle of the memory response limit.

【0019】また、優先度を高く設定したホストマイコ
ン側のメモリアクセスは図2に示すようにホストマイコ
ンの一回のアクセスサイクル中に1クロックだけであ
り、図中に斜線部で示すRAMアドレスやRAMデータ
のタイミングは使用していない。この期間(つまりアド
レス更新直後以外)に周辺回路がメモリ8にアクセスす
ることで1ポートメモリでも適切なバッファを構成でき
る。
As shown in FIG. 2, the memory access of the host microcomputer having a higher priority is only one clock during one access cycle of the host microcomputer. No RAM data timing is used. During this period (that is, other than immediately after the address is updated), the peripheral circuit accesses the memory 8 so that an appropriate buffer can be configured even with a one-port memory.

【0020】なお、回路の初期状態でも保持回路10に
正しい先読みデータを保持して、ホストマイコンの初回
アクセスにおいても正しい先読みデータを返答するため
には、図3に示すように優先度の高いホスト側のアクセ
スリクエスト(req−A)も優先度の低い周辺回路側
のアクセスリクエスト(req−B)もない場合には優
先度の高い側のアドレスをメモリ8に供給し、そのよう
な場合のメモリ出力も保持回路10で保持するようにし
ておくことにより、カウンタ5が初期状態の場合であっ
てもそのアドレスのデータを先読みデータの保持回路1
0に確実に取り込んでおくことができる。
In order to hold the correct pre-read data in the holding circuit 10 even in the initial state of the circuit and to return the correct pre-read data even in the first access of the host microcomputer, as shown in FIG. If there is no access request (req-A) on the side of the peripheral circuit and no access request (req-B) on the side of the peripheral circuit having a low priority, the address of the high priority side is supplied to the memory 8, and the memory in such a case is supplied. By holding the output in the holding circuit 10, even if the counter 5 is in the initial state, the data at that address is stored in the pre-read data holding circuit 1.
0 can be reliably captured.

【0021】このように、1ポートメモリでありながら
ホストマイコンへのウェイトステート挿入がなく、メモ
リの応答限界に相当する最速応答が可能な速度吸収用の
バッファを構成できるものである。
In this way, a buffer for speed absorption capable of providing the fastest response corresponding to the response limit of the memory can be constructed without inserting a wait state into the host microcomputer even though it is a one-port memory.

【0022】[0022]

【発明の効果】以上のように本発明によれば、1ポート
メモリでも適切なタイミングでメモリを優先先読みする
ことによってホストマイコンに対してウェイトステート
を挿入することなく最速で応答でき、同時にアクセス調
停用の固定ステートを追加することなくメモリの応答限
界に相当するアクセスサイクルであっても正常に応答で
きるものである。このように非常に簡単な構成で2ポー
トメモリと同じパフォーマンスを得ることができ、その
効果は大きい。
As described above, according to the present invention, even in a one-port memory, the memory can be preemptively read at an appropriate timing to respond at the fastest speed to the host microcomputer without inserting a wait state. A normal response can be achieved even in an access cycle corresponding to the response limit of the memory without adding a fixed state for use. Thus, the same performance as that of the two-port memory can be obtained with a very simple configuration, and the effect is great.

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

【図1】本発明の実施の形態によるメモリアクセス装置
の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a memory access device according to an embodiment of the present invention;

【図2】同メモリアクセス装置のアクセスタイミング図FIG. 2 is an access timing chart of the memory access device.

【図3】同メモリアクセス装置のアクセス調停タイミン
グ図
FIG. 3 is an access arbitration timing chart of the memory access device.

【図4】従来のメモリアクセス装置の構成を示すブロッ
ク図
FIG. 4 is a block diagram showing a configuration of a conventional memory access device.

【図5】従来のメモリアクセス装置のアクセスタイミン
グ図
FIG. 5 is an access timing diagram of a conventional memory access device.

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

1 システムバス 2 アドレスデコーダ 3 タイミング回路 4 入出力回路 5 アドレスカウンタ 6 メモリ(2ポート) 7 保持回路 8 メモリ(1ポート) 9 選択回路 10 保持回路 11 選択回路 12 タイミング回路 Reference Signs List 1 system bus 2 address decoder 3 timing circuit 4 input / output circuit 5 address counter 6 memory (2 ports) 7 holding circuit 8 memory (1 port) 9 selecting circuit 10 holding circuit 11 selecting circuit 12 timing circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2つの周辺装置とのデータ送受の速度差
を吸収するために1ポートメモリを用いたバッファ制御
において、 アクセスを優先する側のデータ読み出しに対して、出力
するデータを一時的に保持する読み出しデータ保持手段
と、 優先側の読み出し時に前記メモリのアドレスを次のアク
セスで読み出すアドレスに更新するアドレス更新手段
と、 アドレスが更新された直後を優先して前記メモリから更
新アドレスのデータ読み出しを行うアクセス調停手段
と、 優先読み出しされた更新アドレスのデータである先読み
データを一時的に保持する先読みデータ保持手段と、 前記読み出しデータ保持手段へのデータ保持タイミング
が、優先側の一回前の読み出し時の先読みデータを、既
に先読みデータ保持手段に保持し終わっているタイミン
グの場合には先読みデータ保持手段の出力データを選択
し、前記読み出しデータ保持手段へのデータ保持タイミ
ングが、優先側の一回前の読み出し時の先読みデータ
を、前記先読みデータ保持手段に保持させるタイミング
と重なった場合には前記1ポートメモリの出力データを
選択する選択手段とを備え、 前記読み出しデータ保持手段は前記選択手段の出力を保
持して読み出し応答するメモリアクセス装置。
In a buffer control using a one-port memory for absorbing a difference in data transmission / reception speed between two peripheral devices, data to be output is temporarily stored in response to data reading on a side where access is prioritized. Holding means for holding read data; address updating means for updating an address of the memory at the time of reading on the priority side with an address to be read in the next access; reading data of an updated address from the memory with priority given immediately after the address is updated Access arbitration means for performing prefetch data, prefetch data holding means for temporarily holding prefetch data, which is data of an update address which has been preferentially read, and a data holding timing to the read data holding means, which is one time before the priority side. When the pre-read data at the time of reading has already been held in the pre-read data holding means, In the case of reading, the output data of the prefetch data holding unit is selected, and the data holding timing to the read data holding unit causes the prefetch data holding unit to hold the prefetch data at the time of the immediately preceding reading on the priority side. Selecting means for selecting output data of the one-port memory when the timing overlaps, wherein the read data holding means holds the output of the selecting means and responds to reading.
【請求項2】 アクセス調停手段は、2つのアクセス系
のどちらもアクセス要求がない場合には優先する側のア
ドレスをメモリに供給し、先読みデータ保持手段は、優
先側のアドレスがメモリに供給されて読み出されたデー
タを常に取り込んで保持する請求項1記載のメモリアク
セス装置。
2. An access arbitration unit supplies a priority address to a memory when neither of the two access systems has an access request, and a prefetch data holding unit supplies a priority address to the memory. 2. The memory access device according to claim 1, wherein the data read and read is always captured and held.
JP2000263420A 2000-08-31 2000-08-31 Memory access device Expired - Fee Related JP3800934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000263420A JP3800934B2 (en) 2000-08-31 2000-08-31 Memory access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000263420A JP3800934B2 (en) 2000-08-31 2000-08-31 Memory access device

Publications (2)

Publication Number Publication Date
JP2002073413A true JP2002073413A (en) 2002-03-12
JP3800934B2 JP3800934B2 (en) 2006-07-26

Family

ID=18750966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000263420A Expired - Fee Related JP3800934B2 (en) 2000-08-31 2000-08-31 Memory access device

Country Status (1)

Country Link
JP (1) JP3800934B2 (en)

Also Published As

Publication number Publication date
JP3800934B2 (en) 2006-07-26

Similar Documents

Publication Publication Date Title
KR101005114B1 (en) Dram supporting different burst-length accesses without changing the burst length setting in the mode register
US5526508A (en) Cache line replacing system for simultaneously storing data into read and write buffers having multiplexer which controls by counter value for bypassing read buffer
US7107415B2 (en) Posted write buffers and methods of posting write requests in memory modules
US20040107265A1 (en) Shared memory data transfer apparatus
JP5431003B2 (en) Reconfigurable circuit and reconfigurable circuit system
US20070055813A1 (en) Accessing external memory from an integrated circuit
US20020013880A1 (en) Integrated circuit with flash bridge and autoload
US6160562A (en) System and method for aligning an initial cache line of data read from local memory by an input/output device
JP2011081553A (en) Information processing system and control method thereof
JP2007500897A (en) Prefetch control in data processing system
US6157971A (en) Source-destination re-timed cooperative communication bus
KR100282118B1 (en) High Throughput Single Port Multiple Update Unit Tag Controller
JPH07129468A (en) Main memory controller
US8533368B2 (en) Buffering device and buffering method
JPWO2007105376A1 (en) Integrated circuit and integrated circuit system
JP2002073413A (en) Memory access device
US20080126642A1 (en) Memory Interface Circuit and Method
JP2003044354A (en) Memory controller
EP1156421B1 (en) CPU system with high-speed peripheral LSI circuit
JP3077807B2 (en) Microcomputer system
JP2001229074A (en) Memory controller and information processor and memory control chip
JPH0222748A (en) Non-volatile memory control circuit
JPH03132852A (en) Bus asynchronous control system
JP4093872B2 (en) Memory control circuit
KR100240923B1 (en) System and method for communicating between devices

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050630

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060411

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060424

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees