WO2001097040A1 - Appareil d'arbitrage - Google Patents

Appareil d'arbitrage Download PDF

Info

Publication number
WO2001097040A1
WO2001097040A1 PCT/JP2001/004808 JP0104808W WO0197040A1 WO 2001097040 A1 WO2001097040 A1 WO 2001097040A1 JP 0104808 W JP0104808 W JP 0104808W WO 0197040 A1 WO0197040 A1 WO 0197040A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
priority
master
given
arbitration circuit
Prior art date
Application number
PCT/JP2001/004808
Other languages
English (en)
French (fr)
Inventor
Tetsuro Takizawa
Original Assignee
Nec Corporation
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 Nec Corporation filed Critical Nec Corporation
Priority to US10/296,589 priority Critical patent/US7013368B2/en
Priority to DE60131984T priority patent/DE60131984T2/de
Priority to EP01936893A priority patent/EP1313019B1/en
Publication of WO2001097040A1 publication Critical patent/WO2001097040A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration

Definitions

  • the present invention relates to an arbitration device that arbitrates between granting a memory use right to each memory master when a plurality of memory masters request access to one memory.
  • a memory arbitration circuit assigns the right to use the memory to each memory master and, for that purpose, assigns a priority to each memory master.
  • the following three methods are known as conventional priority setting methods.
  • priorities are set in advance.
  • priorities are changed beforehand, for example, to support various applications.
  • DRAMs such as SDRAM, DDR SDRAM, and Direct Rambus are composed of multiple banks, and the addresses given to the DRAM are: bank addresses that indicate links, row addresses that indicate pages within banks, and row addresses that indicate pages within banks. It is composed of a column address that indicates the address.
  • the data stored in the sense amplifier is stored in the DRAM memory cell. Writing back and reading out the data of the next page to be accessed to the sense amplifier are performed repeatedly, and it is necessary to perform subsequent access with a time interval. On the other hand, if the access is to a different bank, such an operation need not be performed, and these operations can be performed in parallel.
  • read data and write data are transmitted by sharing the same signal line, so when the operation switches from read to write or from write to read, a certain amount of time is required when switching access. It was necessary to avoid data collisions. In other words, accessing different pages in the same bank, or attempting to change the type of access (read or write) continuously, will reduce the data transfer performance.
  • the present invention has been made in view of the above-described problems, and has been made in consideration of the above-mentioned problems.
  • the purpose is to provide an arbitration device that improves performance.
  • the invention according to claim 1 is characterized in that, when it is desired to acquire the right to use one memory, a request signal for requesting that is output, a plurality of memory masters, and at least the request signal is output And a memory arbitration circuit for granting a right to use a memory to one of the memory masters.
  • the plurality of memory masters output a signal indicating the contents of access to the memory when outputting the request signal
  • the memory arbitration circuit outputs At least one based on the content signal The right to use the memory is given to one of the memory masters.
  • the signal indicating the access content is an address signal indicating an address of a memory to be accessed and an access to the address is a read or a write.
  • the memory arbitration circuit outputs an address signal indicating the same bank as the bank of the memory which has been accessed so far.
  • a low priority is given to a memory master that has a low priority
  • a high priority is given to a memory master that outputs an address signal indicating a bank different from the bank accessed so far.
  • the memory master is given a right to use the memory.
  • the memory arbitration circuit has a fixed priority set in advance, and the memory arbitration circuit has at least one memory master.
  • the fixed priority is referenced and the right to use the memory is given to the memory master with the highest fixed priority.
  • the memory averaging circuit provides at least one memory when at least one of the memory masters is given a low priority.
  • the feature is to grant the right to use the memory to the master with the highest fixed priority.
  • the memory arbitration circuit gives a high priority to a plurality of memory masters among at least one memory master. At this time, a memory use right is given to a memory master to which a memory use right is given the oldest in the past by a round robin method.
  • the invention according to claim 8 is based on the invention according to claim 4 or 7, wherein the memory arbitration circuit uses a round robin method when a low priority is given to all of at least one memory master. Of at least one memory master It is characterized by granting the right to use the memory to the memory master to which the right to use the memory is the oldest in the past.
  • a predetermined threshold is set in advance in the memory recognition circuit, and the memory arbitration circuit is connected to at least one of the at least one memory master.
  • the elapsed time since the last output of the request signal is compared with a predetermined threshold value, and if the elapsed time exceeds the predetermined threshold value, a higher priority is given to the memory master.
  • a low priority is given to the memory master that outputs the same address signal as the bank of the memory that has been accessed so far, and an address signal that indicates a bank different from the bank that has been accessed so far. Is given a medium priority and only one of the at least one memory master is output. Les, when the priority is given, the Rukoto assigns a memory to the memory master and JP ⁇ ⁇ .
  • the memory arbitration circuit according to the ninth aspect, wherein at least one of the memory masters does not have a high priority, and When there is one with a given priority, the right to use the memory is given to the memory master given the middle priority.
  • the invention according to claim 11 is the same as the invention according to claim 9 or 10, wherein a fixed priority is set in advance in the memory arbitration circuit, and a high priority and a high priority are assigned to at least one memory masker.
  • the memory arbitration circuit assigns the right to use the memory to the memory master having the highest fixed priority among the plurality of memory masters when there are a plurality of memories having the given priorities.
  • the invention according to claim 12 is the invention according to any one of claims 9 to 11, wherein a fixed priority is set in advance in the memory arbitration circuit, and at least one memory master has a high priority and a high priority. If there is no given priority and there are multiple ones with medium priority, the memory arbitration circuit will use the memory master with the highest fixed priority among the memory masters. It is characterized by the right to use.
  • the invention according to claim 13 is the invention according to any one of claims 9 to 12,
  • the memory arbitration circuit has a fixed priority set in advance, there is no memory master that has been assigned a high priority to at least one memory master, and none has a medium priority of around I
  • the memory arbitration circuit is characterized in that the memory arbitration circuit gives the right to use the memory to the memory master having the highest fixed priority among the at least one memory master having the low priority.
  • the invention according to claim 14 is the invention according to claim 9, wherein the memory arbitration circuit is configured such that when at least one memory master has a plurality of high-priority memory masters, The round robin method is used to grant memory usage rights to the oldest memory master that has been granted the right to use memory among the multiple memory masters that have been given high priority and priority. .
  • At least one of the memory master circuits does not have a high priority given to at least one memory master, and has a medium priority. If there is more than one of the given memory masters, the round robin method will be applied to the oldest memory master that has been given the right to use the memory among the memory masters given the medium priority. It is characterized by granting the right to use memory.
  • the invention according to claim 16 is the invention according to claim 9, 14 or 15, wherein the memory arbitration circuit has a higher priority given to at least one memory master. If there is no memory master and no medium priority is assigned, the round mouth bin method is used to determine the lowest and highest priority of at least one memory master in the past. The right to use the memory is given to the memory master to which the right to use is given.
  • the memory arbitration circuit is configured to output the request signal when only one memory master is outputting the request signal.
  • the feature is that the right to use the memory is given to the memory master.
  • FIG. 1 is a block diagram showing a schematic configuration of the arbitration device of the present invention.
  • FIG. 2 is a time chart of each signal for explaining the operation of the first and second embodiments of the present invention.
  • FIG. 3 is a time chart of each signal for explaining the operation of the third and fourth embodiments of the present invention.
  • FIG. 1 is a block diagram showing a schematic configuration of the arbitration device of the present invention.
  • the arbitration device of the present invention comprises a memory arbitration circuit 13, a plurality of memory masters 12, and a memory 11 power.
  • Each memory master 12 uses a memory arbitration circuit 13 with a request signal for requesting a right to use the memory, an address signal, a read / write signal indicating the type of access (read / write), and a memory 11 / It outputs a busy signal indicating that it is in the middle.
  • the memory arbitration circuit 13 outputs an acknowledgment signal for allocating a memory use right to the memory master 12.
  • each memory master 12 When each memory master 12 wishes to acquire the right to use the memory, it asserts the request signal and simultaneously determines the address signal and the read / write signal. Thereafter, when the acknowledge signal is asserted from the memory arbitration circuit 13 to the memory master 12, the memory master 12 asserts a busy signal and starts using the memory 11.1. When the use of the memory 11 ends, the busy signal is deasserted.
  • the memory arbitration circuit 13 monitors a request signal and a busy signal from each memory master 12. Here, if all the memory masters 12 do not assert the busy signal, and at least one of the memory masters 12 asserts the request signal, any one of the memory masters 12 is asserted. Asserts the acknowledge signal.
  • the memory arbitration circuit 13 stores the bank accessed last in the memory 11 and the access type at that time.
  • memory master 12 asserts a request signal
  • memory master The one-bit recording circuit 13 compares the address signal and the read / write signal output by the memory master 12 with the stored bank and access type.
  • the memory arbitration circuit 13 sets the memory master 1 2 irrespective of the priority assigned to the memory master 1 2. Asserts the acknowledge signal to give the memory use right.
  • the memory bit rate circuit 13 Asserts acknowledge signal to memory master 12 to grant memory usage right.
  • the memory arbitration circuit 13 refers to a preset fixed priority and sets the highest fixed priority among them. Asserts acknowledge signal to memory master 12 and grants memory use right.
  • the memory arbitration circuit 13 refers to the fixed priorities set in advance, asserts the acknowledge signal to the memory master 12 having the highest fixed priority among them, and gives the memory use right. .
  • FIG. 2 is a time chart of each signal for describing an operation example of the present embodiment and a second embodiment described later.
  • the memory master 122 asserting the request signal is only the memory master 121, and thus the right to use the memory is given to the memory master 122. .
  • all memory masters 1 2 (memory masters 1 2 1 to 1 2 3) Is asserting the request signal. Since the address signal of the memory master 121 indicates the same bank (bank 0) as the currently accessed bank 0, the memory master 121 is given a lower priority.
  • the address signal of the memory master 122 indicates the bank (bank 1) different from the bank 0 currently being accessed by the memory master 122, and the read / write signal is also the current access type (read). Indicates the same access type (read) as. Therefore, the memory masters 122 are given high priority.
  • the address signal of the memory master 123 indicates a bank (bank 2) different from the currently accessed bank 0, but the read / write signal indicates an access type (write) different from the current access type (read). ). Therefore, the memory masters 123 are given lower priority. Therefore, the acknowledge signal is asserted to the memory master 122, and the right to use the memory is given.
  • all memory masters 1 (memory masters 12 1 to 12 3) have asserted their request signals.
  • the address signal of the memory master 121 indicates a bank (bank 0) different from the currently accessed bank 1 and the read / write signal also has the same access type (read) as the current access type (read). ). Therefore, the memory masters 122 are given a higher priority.
  • the address signal indicates a different bank (banks 0 and 2) from the currently accessed bank 1, but the read / write signal indicates the current access type (read ) Indicates a different access type (write). Therefore, the memory masters 122 and 123 are given lower priority. Therefore, at the time T3, only the memory master 122 1 is given the higher priority, and thus the memory master 122 1 is given the right to use the memory.
  • the memory masters 122 and 123 request signals are asserted.
  • the address signal of the memory master 122 indicates the same bank (bank 0) as the currently accessed bank 0. Therefore, the memory masters 122 are given lower priority.
  • the address signal of the memory master 123 indicates a bank (bank 2) different from the currently accessed bank 0.
  • the read / write signal indicates an access type (light) different from the current access type (read). Therefore, memory 123 is given a lower priority.
  • no memory master 12 has been given a higher priority.
  • the memory arbitration circuit 13 asserts the acknowledge signal to the memory master 123 to grant the right to use the memory.
  • the memory usage right was given according to a fixed priority set in advance.
  • the right to use the memory is given by the round robin method. That is, in the present embodiment, the memory use right is given priority to the memory master 12 to which the memory use right has been given the oldest in the past.
  • the operation of the second embodiment will be described with reference to FIG.
  • the operation at the point of time T1, ⁇ 2, ⁇ 3 is the same as that of the first embodiment.
  • the time of ⁇ 4 there is no high-priority and high-priority memory master 12, and low priority is given to the memory masters 122 and 123.
  • the memory master 122 was given the right to use the memory at the time of ⁇ 2. Therefore, according to the round robin method, the priority order of the memory use right at the time of ⁇ 4 is higher for the memory masters 123 than for the memory masters 122. Therefore, at the time of ⁇ 4, the memory use right is given to the memory master 123.
  • the memory arbitration circuit 13 compares the elapsed time since each memory master 12 asserts the last request signal with a preset threshold value, and calculates the elapsed time. A higher priority is given to the memory master 12 exceeding the threshold.
  • the threshold value can be set independently for each memory master 12.
  • the memory arbitration circuit 13 asserts the last accessed bank, the access type at that time, and the request symbol.
  • the address signal and the read / write signal from each memory master 12 are compared. As a result, if access is made to a different bank, the memory master 12 is given a medium priority, otherwise it is given a low priority.
  • the acknowledge signal is asserted to the memory master 12 irrespective of its priority, and the memory use right is asserted. Is given. If two or more memory masters 12 are asserting a request signal and only one of them is given a higher priority, an acknowledge signal is sent to the relevant memory master 12. Assert and grant memory usage rights. In addition, when there is no memory master 12 given a high priority and only one memory master 12 given a middle priority exists, the memory master 12 The right to use is granted.
  • the memory master 12 with the highest fixed priority is given to the highest fixed priority memory master 12.
  • the highest fixed priority is given to the memory masters 1 and 2. Further, even when there are a plurality of memory masters 12 with higher priorities, the memory master 12 with the highest fixed priority is given the right to use the memory.
  • FIG. 3 is a time chart of each signal for explaining the operation of the present embodiment and a fourth embodiment described later.
  • the memory master 122 asserting the request signal is only the memory master 1221, so The memory usage right is given to the memory master 122.
  • all the memory masters 12 are asserting the request signal.
  • the address signals of the memory masters 121 and 122 indicate banks (banks 1 and 2) different from the currently accessed bank 0, and the read / write signals are the same as the current access type (read). Indicates the type of access (lead). Therefore, the memory masters 122 and 122 are given medium priority.
  • the address signal of the memory master 123 indicates a bank (bank 2) different from the currently accessed bank 0, but the read / write signal is an access type (write) different from the current access type (read). Is shown. Therefore, the memory masters 123 are given lower priority. Therefore, at the time T2, there is no memory master 12 assigned a high priority and a high priority, and there are a plurality of memory masters 12 having a medium priority. In the present embodiment, it is assumed that the fixed priority set in advance is such that the fixed priority of the memory master 2 is set higher than the fixed priority of the memory master 1. Therefore, the right to use the memory is given to the memory masters 122. If the fixed priority of the memory master 122 is set higher than the fixed priority of the memory master 122, the memory master 122 is given the right to use the memory.
  • the memory masters 12 have asserted the request signal.
  • the address signal of the memory master 121 indicates a bank (bank 2) different from the bank 1 currently being accessed, and the read / write signal also has the same access type (read) as the current access type (read). C). Therefore, the memory masters 122 are given medium priority.
  • the address signal of the memory master 122 indicates the same bank (bank 1) as the bank 1 currently being accessed. Therefore, the memory masters 122 are given lower priority.
  • the address signal of the memory master 123 indicates a different bank (bank 2) from the currently accessed bank 1, but the read / write signal has an access type (read) different from the current access type (read). Lights) ing. Therefore, the memory masters 123 are given low priority and priority. Therefore, at time T3, there is no high-priority and high-priority memory master 12 and only memory master 1 2 1 has a medium priority, so that memory master 1 2 1 is given memory usage rights.
  • the memory masters 122 and 123 are asserting the request signal.
  • the address signal of the memory master 122 indicates a bank (bank 1) different from the bank 2 currently being accessed, and the read / write signal also has the same access type (read) as the current access type (read). Lead). Further, in the present embodiment, it is assumed that the time elapsed since the memory master 122 asserted the request signal did not exceed a preset threshold. Therefore, the memory masters 122 are given a medium priority.
  • the memory master 123 3 is given high priority. Therefore, at time T4, only the memory master 123 is given a higher priority, and the memory master 123 is given the right to use the memory. If the elapsed time of the memory masters 123 does not exceed the above threshold at time T4, the memory masters 122 are given a lower priority and the memory is used for the memory masters 122. The right is granted.
  • the third embodiment if there are two or more memory masters S with a high priority, there are two or more memory masters with a high priority. If there are two or more memory masters 1 and 2 with high priority, or if no memory master 1 2 with high or medium priority exists, and low or low priority, When there are two or more 1 2, the priority of the memory use right is determined according to the fixed priority set in advance. On the other hand, in the present embodiment, the right to use the memory is given by the round mouth bin method described in the second embodiment.
  • the right to use the memory is always given to a specific memory master within a certain period, and the overrun or underrun of the buffer is prevented. Can be prevented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Multi Processors (AREA)
  • Memory System (AREA)

Description

明細書
技術分野
本発明は、 一つのメモリに複数のメモリマスタがアクセスを要求する際に、 各 メモリマスタへのメモリ使用権を付与を調停する調停装置に関する。 - 従来技術
複数のメモリマスタが一つのメモリを共有するシステムでは、 メモリアービト レーション回路が各メモリマスタにメモリの使用権を割り当てており、 またその ために各メモリマスタに優先順位を設定している。 従来の優先順位の設定方式と しては次の 3つの方式が知られている。
第 1に、 固定的に優先順位を予め設定する方式、 第 2に、 例えば各種アプリケ —シヨンに対応するためなど事前に優先順位の設定を変更する方式、 第 3に、 ラ ゥンドロビン方式で優先順位を変更する方式、 である。
SDRAM, DDR SDRAM, D i r e c t Ramb u sなどの DRA Mは、 複数のバンクから構成されており、 DRAMに与えられるアドレスは、 ノ ンクを示すバンクアドレス、 バンク内のページを示すローアドレス、 ページ内の ァドレスを示すカラムァドレス力 ら成る。 発明が解決しょうとする課題
ここで、 DRAMの一つのページに対してアクセスがなされ、 その後に、 同一 のバンク内の異なるページに対してアクセスがあった場合を想定する。このとき、 その異なるページにアクセスする前に、 これまでセンスアンプに格納されていた データを一旦 DRAMのメモリセルに書き戻し、 そして、 当該異なるページのデ ータをそのセンスアンプに読み出す必要がある。
このように、 同一バンク内において異なるページに切り替えるアクセスを連続 して行う場合には、 センスアンプに格納されたデ一タを D R AMのメモリセルに 書き戻すことと、 次にアクセスするページのデータをそのセンスアンプへ読み出 すことを繰り返して行われることになり、 後段のアクセスを時間間隔を空けて行 う必要があった。 一方、 異なるバンクへのアクセスであれば、 このような動作を 行う必要はなく、 これらの動作を並行して行うことができる。
また、 D R AMでは、 リードデータとライトデータは同一の信号線を共用して 伝搬するため、 動作がリードからライ 卜、 あるいはライ 卜からリードに切り替わ るときには、 アクセスを切り替える際に一定時間を空け、 データの衝突を防ぐ必 要があった。 つまり、 同一バンク内で異なるページにアクセスしたり、 アクセス の種類 (リード、 ライト) が変化する動作を連続して行おうとすると、 データ転 送 ½ΐ能が低下してしまう。
したがって、 従来の優先順位設定方式では、 上述した状態を招く可能性が高い ことからデータ転送性能を低下させてしまう可能性も高くなる。
本発明は、 上記問題点に鑑みてなされたものであり、 同一バンク内におけるァ クセスページの切り替えや、 リードからライト、 あるいはライ トからリードとい つたアクセスの種類が変化する確率を下げ、 データ転送性能を向上させる調停装 置を提供することを目的とする。
また、 本発明は、 特定のメモリマスタに対して一定期間内に必ずメモリの使用 権を与えることを保証し、 バッファのオーバランやアンダーランを防ぐ調停装置 を提供することを目的とする。 発明の開示
かかる目的を達成するために、 請求項 1記載の発明は、 一つのメモリに対する 使用権を取得したいとき、 その旨を要求する要求信号を出力する、 複数のメモリ マスタと、 要求信号を出力した少なくとも一つのメモリマスタのうちの、 一つの メモリマスタに対してメモリの使用権を与えるメモリア一ビトレーション回路と、 を有することを特徴とする。
請求項 2記載の発明は、請求項 1記載の発明において、複数のメモリマスタは、 要求信号を出力する際に、 メモリへのアクセス内容を示す信号を出力し、 メモリ ァービトレ一ション回路は、 アクセス内容を示す信号に基づき、 少なくとも一つ のメモリマスタのうちの一つにメモリの使用権を与えることを特徴とする。
請求項 3記載の発明は、 請求項 2記載の発明において、 アクセス内容を示す信 号は、 アクセスするメモリのアドレスを示すアドレス信号と、 アドレスへのァク セスがリードであるかライ トであるかを示すリードライ 卜信号とを含むことを特 徴とする。
請求項 4記載の発明は、 請求項 3記載の発明にぉレ、て、 メモリァービトレーシ ョン回路は、 これまでアクセスされていたメモリのバンクと同一のバンクを示す アドレス信号を出力しているメモリマスタに対しては、 低レ、優先順位を与え、 こ れまでアクセスされていたバンクと異なるバンクを示すァドレス信号を出力して いるメモリマスタに対しては、 高い優先順位を与え、 少なくとも一つのメモリマ スタのうち一つのメモリマスタのみに高レ、優先順位が与えられたときは、 該メモ リマスタにメモリの使用権を与えることを特徴とする。
請求項 5記載の発明は、 請求項 4記載の発明にぉレ、て、 メモリァービトレーシ ョン回路には、予め固定優先順位が設定され、メモリア一ビトレーシヨン回路は、 少なくとも一つのメモリマスタのうち複数のメモリマスタに対して高レ、優先順位 を与えたとき、 固定優先順位を参照し、 複数のメモリマスタのうち固定優先順位 が最も高いものに対してメモリの使用権を与えることを特徴とする。
請求項 6記載の発明は、 請求項 5記載の発明にぉレ、て、 メモリァ一ビトレーシ ヨン回路は、 少なくとも一つのメモリマスタの全てに対して低い優先順位を与え たときは、 少なくとも一つのメモリマスタのうち固定優先順位が最も高いものに 対してメモリの使用権を与えることを特徴とする。
請求項 7記載の発明は、 請求項 4記載の発明にぉレ、て、 メモリァービトレーシ ョン回路は、 少なくとも一つのメモリマスタのうち複数のメモリマスタに対して 高い優先順位を与えたとき、 ラウンドロビン方式により、 過去に最も古くメモリ の使用権が与えられたメモリマスタに対してメモリの使用権を与えることを特徴 とする。
請求項 8記載の発明は、 請求項 4又は 7記載の発明にぉレ、て、 メモリァービト レーシヨン回路は、 少なくとも一つのメモリマスタの全てに対して低い優先順位 を与えたときは、 ラウンドロビン方式により、 少なくとも一つのメモリマスタの うち過去に最も古くメモリの使用権が与えられたメモリマスタに対してメモリの 使用権を与えることを特徴とする。
請求項 9記載の発明は、 請求項 3記載の発明にぉレ、て、 メモリ了一ビトレーシ ヨン回路には、 予め所定の閾値が設定され、 メモリアービトレーション回路は、 少なくとも一つのメモリマスタの各々にっき、 最後に要求信号を出力してからの 経過時間と所定の閾値とを比較し、 該比較の結果、 経過時間が所定の閾値を超え きには、 そのメモリマスタに対して高い優先順位を与え、 これまでアクセスされ ていたメモリのバンクと同一のバンクを示すァドレス信号を出力しているメモリ マスタに対しては、 低い優先順位を与え、 これまでアクセスされていたバンクと 異なるバンクを示すァドレス信号を出力しているメモリマスタに対しては、 中位 の優先順位を与え、 少なくとも一つのメモリマスタのうち一つのメモリマスタの みに高レ、優先順位が与えられたときは、 該メモリマスタにメモリの使用権を与え ることを特 ί敫とする。
請求項 1 0記載の発明は、 請求項 9記載の発明にぉレ、て、 メモリァービトレー シヨン回路は、 少なくとも一つのメモリマスタに高い優先順位が与えられたもの がなく、 中位の優先順位が与えられたものが一つ存在するとき、 該中位の優先順 位が与えられたメモリマスタに対してメモリの使用権を与えることを特徴とする。 請求項 1 1記載の発明は、 請求項 9又は 1 0記載の発明にぉレ、て、 メモリア一 ビトレーション回路には、 予め固定優先順位が設定され、 少なくとも一つのメモ リマスダに高レ、優先順位が与えられたものが複数存在するとき、 メモリアービト レーション回路は、 その複数のメモリマスタのうち固定優先順位が最も高いメモ リマスタに対してメモリの使用権を与えることを特徴とする。
請求項 1 2記載の発明は、請求項 9から 1 1のいずれかに記載の発明において、 メモリア一ビトレーション回路には、 予め固定優先順位が設定され、 少なくとも 一つのメモリマスタに高レ、優先順位が与えられたものがなく、 中位の優先順位が 与えられたものが複数存在するときは、 メモリアービトレーション回路は、 複数 のメモリマスタのうち固定優先順位が最も高いメモリマスタに対してメモリの使 用権を与えることを特徴とする。
請求項 1 3記載の発明は、請求項 9から 1 2のいずれかに記載の発明において、 メモリア一ビトレーション回路には、 予め固定優先順位が設定され、 少なくとも 一つのメモリマスタに高い優先順位が与えられたものがなく、 また、 中位の優先 I頃位が与えられたものもないときは、 メモリアービトレーション回路は、 低い優 先順位が与えられた少なくとも一つのメモリマスタのうち固定優先順位が最も高 いメモリマスタに対してメモリの使用権を与えることを特徴とする。
請求項 1 4記載の発明は、 請求項 9記載の発明にぉレ、て、 メモリァービトレー シヨン回路は、 少なくとも一つのメモリマスタに高い優先順位が与えられたもの が複数存在するとき、 ラウンドロビン方式により、 その高レ、優先順位が与えられ た複数のメモリマスタのうち、 過去に最も古くメモリの使用権が与えられたメモ リマスタに対してメモリの使用権を与えることを特徴とする。
請求項 1 5記載の発明は、 請求項 9又は 1 4記載の発明において、 メモリア一 ビトレーシヨン回路は、 少なくとも一つのメモリマスタに高い優先順位が与えら れたものがなく、 中位の優先順位が与えられたものが複数存在するときは、 ラウ ンドロビン方式により、 その中位の優先順位が与えられた複数のメモリマスタの うち、 過去に最も古くメモリの使用権が与えられたメモリマスタに対してメモリ の使用権を与えることを特徴とする。
請求項 1 6記載の発明は、 請求項 9、 1 4、 1 5のレ、ずれかに記載の発明にお いて、 メモリアービトレーション回路は、 少なくとも一つのメモリマスタに高い 優先順位が与えられたものがなく、 また、 中位の優先順位が与えられたものもな いときは、 ラウンド口ビン方式により、 低レ、優先順位が与えられた少なくとも一 つのメモリマスタのうち、 過去に最も古くメモリの使用権が与えられたメモリマ スタに対してメモリの使用権を与えることを特徴とする。
請求項 1 7記載の発明は、請求項 1から 1 6のいずれかに記載の発明において、 メモリア一ビトレーション回路は、 要求信号を出力しているメモリマスタがーつ のみであつたとき、 該メモリマスタに対してメモリの使用権を与えることを特徴 とする。 図面の簡単な説明
図 1は、 本発明の調停装置の概略構成を示したプロック図である。 図 2は、 本発明の第 1および第 2の実施形態の動作を説明するための各信号の タイムチヤ一トである。
図 3は、 本発明の第 3および第 4の実施形態の動作を説明するための各信号の タイムチヤ一トである。 発明を実施するための最良の形態
以下、 本発明の実施の形態を添付図面を参照しながら詳細に説明する。
図 1は、 本発明の調停装置の概略構成を示したブロック図である。 図 1によれ ば、 本発明の調停装置は、 メモリアービトレーション回路 1 3、 複数のメモリマ スタ 1 2、 およびメモリ 1 1力 ら成る。 各メモリマスタ 1 2は、 メモリアービト レ一シヨン回路 1 3に対して、 メモリ使用権を要求するリクエスト信号、 ァドレ ス信号、 アクセスの種類 (リード、 ライト) を示すリードライ ト信号、 メモリ 1 1を使用中であることを示すビジー信号を出力する。 メモリアービトレーション 回路 1 3は、 メモリ使用権を割り当てるァクノリッジ信号を当該メモリマスタ 1 2に出力する。
各メモリマスタ 1 2は、 メモリ使用権を取得したい場合には、 リクエスト信号 をアサ一トし、同時にァドレス信号およびリードライト信号を確定する。その後、 メモリアービトレーション回路 1 3から当該メモリマスタ 1 2にァクノリッジ信 号がアサートされると、 当該メモリマスタ 1 2は、 ビジー信号をアサートして、 メモリ 1 1.の使用を開始する。 メモリ 1 1の使用を終了するときには、 ビジー信 号をデアサ一トする。
メモリアービトレーション回路 1 3は、 各メモリマスタ 1 2からのリクエスト 信号とビジー信号を監視する。 ここで、 全てのメモリマスタ 1 2がビジー信号を アサ一トしておらず、 少なくとも一つのメモリマスタ 1 2からリクエスト信号が アサートされると、 それらのメモリマスタ 1 2のうちのいずれかに対してァクノ リッジ信号をアサートする。
本発明の第 1の実施形態にっレ、て詳細に説明する。 メモリアービトレーション 回路 1 3は、 メモリ 1 1に最後にアクセスされたバンクとそのときのアクセス種 類を記憶する。 メモリマスタ 1 2がリクエス ト信号をアサートすると、 メモリア 一ビトレ一シヨン回路 1 3は、 当該メモリマスタ 1 2が出力しているアドレス信 号およびリードライト信号と、 記憶しているバンクおよびアクセス種類を比較す る。
その結果、 当該メモリマスタ 1 2がアクセスしょうとするバンクがこれまでァ クセスされていたバンクとは異なり、 且つ両者間のアクセス種類が同種であった ときは、 当該メモリマスタ 1 2に高レ、優先順位が与えられる。 それ以外のときに は、 当該メモリマスタ 1 2には低い優先順位を与える。 このとき、 一つのメモリ マスタ 1 2のみがリクエスト信号をアサ一トしていた場合には、 メモリアービト レーション回路 1 3は、 そのメモリマスタ 1 2に付与した優先順位に関わらず、 そのメモリマスタ 1 2に対してァクノリッジ信号をアサ一トし、 メモリ使用権を 与える。
一方、 2つ以上のメモリマスタ 1 2がリクエスト信号をアサ一トしているとき に、 そのうちの 1つのメモリマスタ 1 2しか高い優先順位を与えなければ、 メモ リア一ビトレーシヨン回路 1 3は、 そのメモリマスタ 1 2に対してァクノリッジ 信号をアサートし、 メモリ使用権を与える。 また、 そのうち 2つ以上のメモリマ スタ 1 2に高い優先順位を与えたときには、 メモリアービトレーション回路 1 3 は、 予め設定された固定優先順位を参照し、 それらのうち最も高い固定優先順位 が設定されるメモリマスタ 1 2に対してァクノリッジ信号をアサ一トし、 メモリ 使用権を与える。
また、 リクエスト信号をアサ一トしているメモリマスタ 1 2がいずれも高い優 先順位が与えられておらず、 全てのメモリマスタ 1 2に対して低レ、優先順位が与 えられている場合にも、 メモリアービトレーション回路 1 3は、 予め設定された 固定優先順位を参照し、 それらのうち最も高い固定優先順位のメモリマスタ 1 2 に対してァクノリッジ信号をアサ一トし、 メモリ使用権を与える。
図 2は、 本実施形態および後述する第 2の実施形態の動作例を説明するための 各信号のタイムチャートである。 図 2によれば、 T 1の時点では、 リクエスト信 号をアサ一トしているメモリマスタ 1 2は、メモリマスタ 1 2 1のみであるので、 メモリ使用権はメモリマスタ 1 2 1に与えられる。
T 2の時点では、 すべてのメモリマスタ 1 2 (メモリマスタ 1 2 1〜1 2 3 ) がリクエスト信号をアサ一トしている。 メモリマスタ 1 2 1のァドレス信号は現 在アクセスしているバンク 0と同一のバンク (バンク 0 ) を示しているため、 メ モリマスタ 1 2 1には低い優先順位が与えられる。 メモリマスタ 1 2 2のァドレ ス信号は、 現在メモリマスタ 1 2 1によりアクセスされているバンク 0と異なる バンク (バンク 1 ) を示しており、 また、 リードライト信号も現在のアクセス種 類 (リード) と同じアクセス種類 (リード) を示している。 そのため、 メモリマ スタ 1 2 2には、 高い優先順位が与えられる。
メモリマスタ 1 2 3のァドレス信号は、 現在アクセスされているバンク 0と異 なるバンク (バンク 2 ) を示しているが、 リードライト信号は現在のアクセス種 類 (リード) と異なるアクセス種類 (ライ ト) を示している。 そのため、 メモリ マスタ 1 2 3には、 低い優先順位が与えられる。 よって、 メモリマスタ 1 2 2に 対してァクノリッジ信号がアサートされメモリ使用権が与えられる。
T 3の時点では、 全てのメモリマスタ 1 2 (メモリマスタ 1 2 1〜 1 2 3 ) 力 リクエスト信号をアサートしている。 メモリマスタ 1 2 1のアドレス信号は、 現 在アクセスされているバンク 1とは異なるバンク (バンク 0 ) を示しており、 リ 一ドライト信号も、 現在のアクセス種類 (リード) と同一のアクセス種類 (リー ド) を示している。 そのため、 メモリマスタ 1 2 1には、 高い優先順位が与えら れる。
メモリマスタ 1 2 2および 1 2 3については、 ァドレス信号は、 現在アクセス されているバンク 1とは異なるバンク (バンク 0、 2 ) を示しているが、 リード ライト信号は、 現在のアクセス種類 (リード) とは異なるアクセス種類(ライト) を示している。 そのため、 メモリマスタ 1 2 2および 1 2 3には、 低い優先順位 が与えられる。 よって、 T 3の時点では、 メモリマスタ 1 2 1のみが高い優先順 位が与えられているため、 メモリマスタ 1 2 1にメモリ使用権が与えられる。
T 4の時点では、 メモリマスタ 1 2 2および 1 2 3力 リクエスト信号をアサ 一卜している。 メモリマスタ 1 2 2のアドレス信号は、 現在アクセスされている バンク 0と同一のバンク (バンク 0 ) を示している。 そのため、 メモリマスタ 1 2 2には、 低い優先順位が与えられる。 メモリマスタ 1 2 3のァドレス信号は、 現在アクセスされているバンク 0とは異なるバンク (バンク 2 )を示しているが、 リードライト信号は、現在のアクセス種類(リード) とは異なるアクセス種類(ラ ィト) を示している。 そのため、 メモリ 1 2 3には、 低い優先順位が与えられる。 よって、 T 4の時点では、 高い優先順位が与えられたメモリマスタ 1 2は存在し ない。
このように、 T 4の時点では、 高レ、優先順位が与えられたメモリマスタ 1 2は 存在せず、 低い優先順位のメモリマスタ 1 2のみが存在することとなるが、 本実 施形態では、 メモリマスタ 1 2 3の固定優先順位よりメモリマスタ 1 2 2の固定 優先順位の方を高く設定していたとする。 これにより、 メモリア一ビトレーショ ン回路 1 3は、 メモリマスタ 1 2 3に対してァクノリッジ^ ί言号をアサートし、 メ モリ使用権を与える。
次に、本発明の第 2の実施形態について詳細に説明する。第 1の実施形態では、 高い優先順位が与えられたメモリマスタ 1 2が 2つ以上存在したときや、 高い優 先順位のメモリマスタ 1 2が存在せず、 全てのメモリマスタ 1 2について低い優 先順位のみが与えられたときは、 予め設定された固定優先順位に従ってメモリ使 用権を与えていた。 これに対し、 本実施形態では、 このような状況においてラウ ンドロビン方式によりメモリ使用権を与える。 つまり、 本実施形態では、 過去に 最も古くメモリ使用権が与えられたメモリマスタ 1 2に対して優先的にメモリ使 用権を与えている。
図 2を用いて、 第 2の実施形態の動作を説明する。 T l、 Τ 2、 Τ 3の時点に おける動作は第 1の実施形態と同一である。 Τ 4の時点には、 高レ、優先順位が与 えられたメモリマスタ 1 2は存在せず、 メモリマスタ 1 2 2および 1 2 3には低 い優先順位が与えられている。 ここで、 メモリマスタ 1 2 2は、 Τ 2の時点にお いてメモリ使用権が与えられていた。 そのため、 ラウンドロビン方式によれば、 Τ 4の時点でのメモリ使用権の優先順位はメモリマスタ 1. 2 2よりメモリマスタ 1 2 3の方が高くなる。 よって、 Τ 4の時点では、 メモリマスタ 1 2 3にメモリ 使用権が与えられる。
次に、 本発明の第 3の実施形態について詳細に説明する。 本実施形態によるメ モリアービトレーション回路 1 3は、 各メモリマスタ 1 2が最後のリクエス卜信 号をアサートしてからの経過時間と、 予め設定された閾値を比較し、 経過時間が その閾値を上回ったメモリマスタ 1 2に対して高い優先順位を与える。 閾値はメ モリマスタ 1 2ごとに独立して異なる値を設定してもよレ、。
経過時間が閾値以下の場合は、 第 1、 第 2の実施形態と同様に、 メモリァービ トレーシヨン回路 1 3は、 最後にアクセスされたバンク及びそのときのアクセス 種類と、 リクエスト ί言号をアサ一トしている各メモリマスタ 1 2からのァドレス 信号およびリードライト信号を比較する。 その結果、 異なるバンクへのアクセス を行うものであれば、 そのメモリマスタ 1 2には中位の優先順位を与え、 そうで ない場合には低レ、優先順位が与えられる。
ここで、 1つのメモリマスタ 1 2のみがリクエスト信号をアサ一トしていた場 合には、 その優先順位によらず、 当該メモリマスタ 1 2に対してァクノリッジ信 号をアサートし、 メモリ使用権が与えられる。 また、 2つ以上のメモリマスタ 1 2がリクエスト信号をアサ一トしており、 そのなかの 1つのみが高い優先順位が 与えられている場合には、 当該メモリマスタ 1 2に対してァクノリッジ信号をァ サートし、 メモリ使用権を与える。 また、 高い優先順位が与えられたメモリマス タ 1 2は 1つも存在せず、 1つだけ中位の優先順位が与えられたメモリマスタ 1 2が存在するときには、 そのメモリマスタ 1 2に対してメモリ使用権が与えられ る。
同じく、 高レ、優先順位が与えられたメモリマスタ 1 2は 1つも存在せず、 中位 の優先順位が与えられたメモリマスタが 2つ以上存在するときは、 予め設定され た固定優先順位に従って、 一番高い固定優先順位のメモリマスタ 1 2にメモリ使 用権が与えられる。 また、 高レ、優先順位および中位の優先順位のメモリマスタ 1 2が存在せず、 低い優先順位のメモリマスタ 1 2のみが存在する場合も、 固定優 先順位に従って、 一番高い固定優先順位のメモリマスタ 1 2に対してメモリ使用 権が与えられる。 さらに、 高い優先順位が与えられたメモリマスタ 1 2が複数存 在するときも、 そのうち一番高い固定優先順位のメモリマスタ 1 2にメモリ使用 権が与えられる。
図 3は、 本実施形態および後述する第 4の実施形態の動作を説明するための各 信号のタイムチャートである。 図 3によれば、 T 1の時点では、 リクエスト信号 をアサ一卜しているメモリマスタ 1 2はメモリマスタ 1 2 1のみであるため、 メ モリ使用権はメモリマスタ 1 2 1に与えられる。
T 2の時点では、 全てのメモリマスタ 1 2 (メモリマスタ 1 2 1〜 1 2 3 ) が リクエスト信号をアサ一トしている。 メモリマスタ 1 2 1および 1 2 2のァドレ ス信号は、 現在アクセスされているバンク 0とは異なるバンク (バンク 1、 2 ) を示しており、 リードライト信号も現在のアクセス種類 (リード) と同一のァク セス種類 (リード) を示している。 そのため、 メモリマスタ 1 2 1および 1 2 2 には、 中位の優先順位が与えられる。
メモリマスタ 1 2 3のァドレス信号は、 現在アクセスされているバンク 0とは 異なるバンク (バンク 2 ) を示しているが、 リードライト信号は現在のアクセス 種類 (リード) とは異なるアクセス種類 (ライト) を示している。 そのため、 メ モリマスタ 1 2 3には、 低い優先順位が与えられる。 よって、 T 2の時点では、 高レ、優先順位が与えられたメモリマスタ 1 2は存在せず、 中位の優先順位のメモ リマスタ 1 2が複数存在することになる。 本実施形態では、 予め設定された固定 優先順位は、 メモリマスタ 1の固定優先順位よりメモリマスタ 2の固定優先順位 を高く設定しているものとする。 よって、 メモリ使用権はメモリマスタ 1 2 2に 与えられる。 もし、 メモリマスタ 1 2 1の固定優先順位の方がメモリマスタ 1 2 2の固定優先順位より高く設定されていれば、 メモリマスタ 1 2 1にメモリ使用 権が与えられる。
T 3の時点でも全てのメモリマスタ 1 2 (メモリマスタ 1 2 1〜 1 2 3 ) がリ クェス ト信号をアサートしている。 メモリマスタ 1 2 1のアドレス信号は、 現在 アクセスされているバンク 1とは異なるバンク (バンク 2 ) を示しており、 また、 リードライト信号も現在のアクセス種類 (リード) と同一のアクセス種類 (リー ド) を示している。 そのため、 メモリマスタ 1 2 1には、 中位の優先順位が与え られる。
メモリマスタ 1 2 2のァドレス信号は、 現在アクセスされているバンク 1と同 一のバンク (バンク 1 ) を示している。 そのため、 メモリマスタ 1 2 2には低い 優先順位が与えられる。 メモリマスタ 1 2 3のアドレス信号は、 現在アクセスさ れているバンク 1と異なるバンク (バンク 2 ) を示しているが、 リードライト信 号は、 現在のアクセス種類 (リード) とは異なるアクセス種類 (ライト) を示し ている。 そのため、 メモリマスタ 1 2 3には、 低レ、優先順位が与えられる。 よつ て、 T 3の時点では、 高レ、優先順位が与えられたメモリマスタ 1 2は存在せず、 メモリマスタ 1 2 1のみが中位の優先順位となっているため、 メモリマスタ 1 2 1にメモリ使用権が与えられる。
T 4の時点では、 メモリマスタ 1 2 2および 1 2 3がリクエスト信号をアサ一 卜している。 メモリマスタ 1 2 2のアドレス信号は、 現在アクセスされているバ ンク 2とは異なるバンク (バンク 1 ) を示しており、 また、 リードライト信号も 現在のアクセス種類 (リード) と同一のアクセス種類 (リード) を示している。 さらに、 本実施形態では、 メモリマスタ 1 2 2はリクエスト信号をアサ一卜して からの経過時間が、 予め設定された閾値を超えていないものとする。 よって、 メ モリマスタ 1 2 2には、 中位の優先順位が与えられる。
一方、 メモリマスタ 1 2 3は、 リクエスト信号をアサートしてからの経過時間 がメモリマスタ 1 2 2より長く、 本実施形態では、 その経過時間が上記閾値を超 えているとすると、 メモリマスタ 1 2 3には、 高い優先順位が与えられる。 した がって、 T 4の時点では、 メモリマスタ 1 2 3にのみ高い優先順位が与えられ、 メモリマスタ 1 2 3にメモリ使用権が与えられる。 もし、 T 4の時点で、 メモリ マスタ 1 2 3の上記経過時間が上記閾 :を超えていなければ、 メモリマスタ 1 2 3には低い優先順位が与えられるため、 メモリマスタ 1 2 2にメモリ使用権が与 えられる。
次に、 本発明の第 4の実施形態について説明する。 第 3の実施形態では、 高い 優先順位が与えられたメモリマスタ 1 2力 S 2つ以上存在した場合、 高レ、優先順位 が与えられたメモリマスタ 1 2力; 1つも存在せず、 中位の優先順位のメモリマス タ 1 2が 2つ以上存在した場合、 または、 高い優先順位、 中位の優先順位が与え られたメモリマスタ 1 2が 1つも存在せず、 低レ、優先順位のメモリマスタ 1 2が 2つ以上存在した場合は、 予め設定された固定優先順位に従って、 メモリ使用権 の優先順位を決定していた。 これに対し、 本実施形態は、 第 2の実施形態で説明 したラウンド口ビン方式によりメモリ使用権を与える。
図 3を用いて、 本実施形態の動作を説明する。 T 1、 T 3、 T 4の時点におけ る動作の説明は第 3の実施形態と同一である。 T 2の時点では、 メモリマスタ 1 2 1および 1 2 2には中位の優先順位、 メモリマスタ 1 2 3には低い優先順位が 与えられ、 高い優先順位が与えられたメモリマスタ 1 2は存在せず、 中位の優先 順位のメモリマスタ 1 2が複数存在する状態である。
ここで、 メモリマスタ 1 2 1は、 T 1の時点でメモリ使用権が与えられていた。 メモリマスタ 1 2 2力 メモリ使用権が与えられたことがあるとすれば、それは、 メモリマスタ 1より前に与えられたものであるため、 ラウンドロビン方式によつ てメモリマスタ 1 2 2にメモリ使用権が与えられる。 産業上の利用可能性
以上の説明より明らかなように、 本発明によれば、 同一バンク内におけるァク セスページの切り替えや、 リードからライト、 あるいはライトからリードといつ たアクセスの種類が変化する確率を下げ、 データ転送性能を向上させることがで さる。
また、 本発明の第 3および第 4の実施形態によれば、 特定のメモリマスタに対 して一定期間内に必ずメモリの使用権を与えることを保証し、 ノ ッファのオーバ ランやアンダーランを防ぐことができる。

Claims

請求の範囲
1 . 一つのメモリに対する使用権を取得したいとき、 その旨を要求する要 求信号を出力する、 複数のメモリマスタと、
前記要求信号を出力した少なくとも一つのメモリマスタのうちの、 一つのメモ リマスタに対して前記メモリの使用権を与えるメモリア一ビ卜レーション回路と、 を有することを特徴とする調停装置。
2 . 前記複数のメモリマスタは、
前記要求信号を出力する際に、 前記メモリへのアクセス内容を示す信号を出力 し、
前記メモリア一ビトレーション回路は、
前記アクセス内容を示す信号に基づき、 前記少なくとも一つのメモリマスタの うちの一つに前記メモリの使用権を与えることを特徴とする請求項 1記載の調停
3 . 前記アクセス内容を示す信号は、 アクセスする前記メモリのアドレス を示すアドレス信号と、 前記アドレスへのアクセスがリードであるかライ 卜であ るかを示すリードライト信号とを含むことを特徴とする請求項 2記載の調停装置。
4 . 前記メモリアービトレーション回路は、 これまでアクセスされていた 前記メモリのバンクと同一のバンクを示す前記ァドレス信号を出力している前記 メモリマスタに対しては、 低い優先順位を与え、 これまでアクセスされていた前 記バンクと異なるバンクを示す前記ァドレス信号を出力している前記メモリマス タに対しては、 高い優先順位を与え、 前記少なくとも一つのメモリマスタのうち 一つのメモリマスタのみに高レ、優先順位が与えられたときは、 該メモリマスタに 前記メモリの使用権を与えることを特徴とする請求項 3記載の調停装置。
5 . 前記メモリア一ビトレーション回路には、 予め固定優先順位が設定さ れ、 前記メモリアービトレーション回路は、 前記少なくとも一つのメモリマスタ のうち複数のメモリマスタに対して高レ、優先順位を与えたとき、 前記固定優先順 位を参照し、 前記複数のメモリマスタのうち前記固定優先順位が最も高いものに 対して前記メモリの使用権を与えることを特徴とする請求項 4記載の調停装置。
6 . 前記メモリア一ビトレーション回路は、 前記少なくとも一つのメモリ マスタの全てに対して低い優先順位を与えたときは、 前記少なくとも一つのメモ リマスタのうち前記固定優先順位が最も高いものに対して前記メモリの使用権を 与えることを特徴とする請求項 5記載の調停装置。
7 . 前記メモリアービトレーション回路は、 前記少なくとも一^ 3のメモリ マスタのうち複数のメモリマスタに対して高レ、優先順位を与えたとき、 ラウンド 口ビン方式により、 過去に最も古く前記メモリの使用権が与えられたメモリマス タに対して前記メモリの使用権を与えることを特徴とする請求項 4記載の調停装
8 . 前記メモリア一ビトレーション回路は、 前記少なくとも一つのメモリ マスタの全てに対して低レ、優先順位を与えたときは、ラウンド口ビン方式により、 前記少なくとも一つのメモリマスタのうち過去に最も古く前記メモリの使用権が 与えられたメモリマスタに対して前記メモリの使用権を与えることを特徴とする 請求項 4又は 7記載の調停装置。
9 . 前記メモリア一ビトレ一ション回路には、予め所定の閾値が設定され、 前記メモリァービトレーシヨン回路は、 前記少なくとも一つのメモリマスタの 各々にっき、 最後に前記要求信号を出力してからの経過時間と前記所定の閾値と を比較し、 該比較の結果、 前記経過時間が前記所定の閾値を超えるときには、 そ のメモリマスタに対して高レ、優先順位を与え、 これまでアクセスされていた前記 メモリのバンクと同一のバンクを示す前記ァドレス信号を出力している前記メモ リマスタに対しては、 低い優先順位を与え、 これまでアクセスされていた前記バ ンクと異なるバンクを示す前記ァドレス信号を出力している前記メモリマスタに 対しては、 中位の優先順位を与え、 前記少なくとも一つのメモリマスタのうち一 つのメモリマスタのみに高レ、優先順位が与えられたときは、 該メモリマスタに前 記メモリの使用権を与えることを特徴とする請求項 3記載の調停装置。
1 0 . 前記メモリアービトレーション回路は、 前記少なくとも一つのメモ リマスタに高レ、優先順位が与えられたものがなく、 中位の優先順位が与えられた ものが一つ存在するとき、 該中位の優先順位が与えられたメモリマスタに対して 前記メモリの使用権を与えることを特徴とする請求項 9記載の調停装置。
1. 1 . 前記メモリア一ビトレーション回路には、 予め固定優先順位が設定 され、 前記少なくとも一つのメモリマスタに高レ、優先順位が与えられたものが複 数存在するとき、 前記メモリアービトレーション回路は、 その複数のメモリマス タのうち前記固定優先順位が最も高いメモリマスタに対して前記メモリの使用権 を与えることを特徴とする請求項 9又は 1 0記載の調停装置。
1 2 . 前記メモリァ一ビトレーション回路には、 予め固定優先順位が設定 され、 前記少なくとも一つのメモリマスタに高い優先順位が与えられたものがな く、 中位の優先順位が与えられたものが複数存在するときは、 前記メモリア一ビ トレーション回路は、 前記複数のメモリマスタのうち前記固定優先順位が最も高 いメモリマスタに対して前記メモリの使用権を与えることを特徴とする請求項 9 力 1 1のいずれかに記載の調停装置。
1 3 . 前記メモリァービトレーション回路には、 予め固定優先順位が設定 され、 前記少なくとも一つのメモリマスタに高レ、優先順位が与えられたものがな く、 また、 中位の優先順位が与えられたものもないときは、 前記メモリアービト レーション回路は、 低レ、優先順位が与えられた前記少なくとも一つのメモリマス タのうち前記固定優先順位が最も高いメモリマスタに対して前記メモリの使用権 を与えることを特徴とする請求項 9力 ら 1 2のいずれかに記載の調停装置。
1 4 . 前記メモリアービトレーション回路は、 前記少なくとも一つのメモ リマスタに高レ、優先順位が与えられたものが複数存在するとき、 ラウンドロビン 方式により、 その高い優先順位が与えられた複数のメモリマスタのうち、 過去に 最も古く前記メモリの使用権が与えられたメモリマスタに対して前記メモリの使 用権を与えることを特徵とする請求項 9記載の調停装置。
1 5 . 前記メモリァービトレ一ション回路は、 前記少なくとも一つのメモ リマスタに高い優先順位が与えられたものがなく、 中位の優先順位が与えられた ものが複数存在するときは、 ラウンド口ビン方式により、 その中位の優先順位が 与えられた複数のメモリマスタのうち、 過去に最も古く前記メモリの使用権が与 えられたメモリマスタに対して前記メモリの使用権を与えることを特徴とする請 求項 9又は 1 4記載の調停装置。
1 6 . 前記メモリア一ビトレーション回路は、 前記少なくとも一^ 3のメモ リマスタに高レ、優先順位が与えられたものがなく、 また、 中位の優先順位が与え られたものもないときは、 ラウンドロビン方式により、 低レ、優先順位が与えられ た前記少なくとも一^つのメモリマスタのうち、 過去に最も古く前記メモリの使用 権が与えられたメモリマスタに対して前記メモリの使用権を与えることを特徴と する請求項 9、 1 4、 1 5のいずれかに記載の調停装置。
1 7 . 前記メモリアービトレーション回路は、 前記要求信号を出力してい るメモリマスタが一つのみであったとき、 該メモリマスタに対して前記メモリの 使用権を与えることを特徴とする請求項 1力 ら 1 6のいずれかに記載の調停装置。
PCT/JP2001/004808 2000-06-13 2001-06-07 Appareil d'arbitrage WO2001097040A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US10/296,589 US7013368B2 (en) 2000-06-13 2001-06-07 Arbitration apparatus utilizing mutlilevel priority for reducing memory access time
DE60131984T DE60131984T2 (de) 2000-06-13 2001-06-07 Arbitrierungsvorrichtung
EP01936893A EP1313019B1 (en) 2000-06-13 2001-06-07 Arbitration apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000-182324 2000-06-13
JP2000182324A JP2001356961A (ja) 2000-06-13 2000-06-13 調停装置

Publications (1)

Publication Number Publication Date
WO2001097040A1 true WO2001097040A1 (fr) 2001-12-20

Family

ID=18683112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2001/004808 WO2001097040A1 (fr) 2000-06-13 2001-06-07 Appareil d'arbitrage

Country Status (5)

Country Link
US (1) US7013368B2 (ja)
EP (1) EP1313019B1 (ja)
JP (1) JP2001356961A (ja)
DE (1) DE60131984T2 (ja)
WO (1) WO2001097040A1 (ja)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171525B1 (en) * 2002-07-31 2007-01-30 Silicon Image, Inc. Method and system for arbitrating priority bids sent over serial links to a multi-port storage device
CN100432958C (zh) * 2003-01-27 2008-11-12 松下电器产业株式会社 存储器控制装置
DE602004020504D1 (de) * 2003-12-09 2009-05-20 Thomson Licensing Speichersteuerung
US20050144401A1 (en) * 2003-12-30 2005-06-30 Pantalone Brett A. Multiprocessor mobile terminal with shared memory arbitration
WO2006030650A1 (ja) * 2004-09-16 2006-03-23 Nec Corporation 複数の処理ユニットでリソースを共有する情報処理装置
JP4850504B2 (ja) * 2005-12-15 2012-01-11 キヤノン株式会社 信号処理装置、撮像装置およびデータ転送方法
WO2008065477A1 (en) * 2006-11-28 2008-06-05 Nokia Corporation Memory arbitration
JP4715801B2 (ja) * 2007-04-26 2011-07-06 日本電気株式会社 メモリアクセス制御装置
US7870351B2 (en) * 2007-11-15 2011-01-11 Micron Technology, Inc. System, apparatus, and method for modifying the order of memory accesses
JP2009193107A (ja) 2008-02-12 2009-08-27 Panasonic Corp メモリアクセス装置
US8099539B2 (en) * 2008-03-10 2012-01-17 Lsi Corporation Method and system of a shared bus architecture
JP5622990B2 (ja) * 2011-01-25 2014-11-12 富士通テン株式会社 画像処理装置、画像表示システム及び画像処理方法
US11144358B1 (en) 2018-12-06 2021-10-12 Pure Storage, Inc. Asynchronous arbitration of shared resources
JP2021196681A (ja) * 2020-06-10 2021-12-27 ルネサスエレクトロニクス株式会社 半導体装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200386A (ja) * 1993-12-28 1995-08-04 Toshiba Corp 共有メモリのアクセス制御装置および画像形成装置
JPH10228417A (ja) * 1996-11-15 1998-08-25 Hyundai Electron America Inc データ処理システムにおけるメモリリクエスト再順序付け法
EP0935199A2 (en) * 1998-02-04 1999-08-11 Matsushita Electric Industrial Co., Ltd. Memory control unit and memory control method and medium containing program for realizing the same

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4586128A (en) * 1983-04-14 1986-04-29 Burroughs Corporation Arbitrator circuit and technique for use in a digital computing system having multiple bus controllers
US4760521A (en) * 1985-11-18 1988-07-26 White Consolidated Industries, Inc. Arbitration system using centralized and decentralized arbitrators to access local memories in a multi-processor controlled machine tool
US4818932A (en) * 1986-09-25 1989-04-04 Tektronix, Inc. Concurrent memory access system
US5440752A (en) 1991-07-08 1995-08-08 Seiko Epson Corporation Microprocessor architecture with a switch network for data transfer between cache, memory port, and IOU
US6026464A (en) * 1997-06-24 2000-02-15 Cisco Technology, Inc. Memory control system and method utilizing distributed memory controllers for multibank memory
US6137807A (en) * 1997-12-05 2000-10-24 Whittaker Corporation Dual bank queue memory and queue control system
JP2000194683A (ja) 1998-12-28 2000-07-14 Nec Kofu Ltd 共有メモリの調停回路およびその調停方法
US6389497B1 (en) * 1999-01-22 2002-05-14 Analog Devices, Inc. DRAM refresh monitoring and cycle accurate distributed bus arbitration in a multi-processing environment
US6317813B1 (en) * 1999-05-18 2001-11-13 Silicon Integrated Systems Corp. Method for arbitrating multiple memory access requests in a unified memory architecture via a non unified memory controller
US6564304B1 (en) * 2000-09-01 2003-05-13 Ati Technologies Inc. Memory processing system and method for accessing memory including reordering memory requests to reduce mode switching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200386A (ja) * 1993-12-28 1995-08-04 Toshiba Corp 共有メモリのアクセス制御装置および画像形成装置
JPH10228417A (ja) * 1996-11-15 1998-08-25 Hyundai Electron America Inc データ処理システムにおけるメモリリクエスト再順序付け法
EP0935199A2 (en) * 1998-02-04 1999-08-11 Matsushita Electric Industrial Co., Ltd. Memory control unit and memory control method and medium containing program for realizing the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1313019A4 *

Also Published As

Publication number Publication date
EP1313019A1 (en) 2003-05-21
DE60131984T2 (de) 2008-12-11
DE60131984D1 (de) 2008-01-31
US20030140201A1 (en) 2003-07-24
EP1313019B1 (en) 2007-12-19
JP2001356961A (ja) 2001-12-26
US7013368B2 (en) 2006-03-14
EP1313019A4 (en) 2004-11-24

Similar Documents

Publication Publication Date Title
US5412788A (en) Memory bank management and arbitration in multiprocessor computer system
US9824740B2 (en) Dynamic memory supporting simultaneous refresh and data-access transactions
US7032046B2 (en) Resource management device for managing access from bus masters to shared resources
JP4480427B2 (ja) リソース管理装置
WO2001097040A1 (fr) Appareil d'arbitrage
KR100585116B1 (ko) 멀티 뱅크 메모리의 억세스 효율을 개선한 아비터, 이를구비한 메모리 억세스 중재 시스템 및 그 방법
US8209497B2 (en) Multi-port memory and system using the same
US6959354B2 (en) Effective bus utilization using multiple bus interface circuits and arbitration logic circuit
US6374244B1 (en) Data transfer device
US20040236889A1 (en) Bus arbiter and bus arbitrating method
KR101022472B1 (ko) 효율적으로 버스를 사용하는 방법
US5603061A (en) Method for prioritizing memory access requests using a selected priority code
JP3618249B2 (ja) データ転送装置
JPH0981449A (ja) 擬似デュアルポートメモリ
JPH10307787A (ja) バッファメモリ装置
JP6165104B2 (ja) 情報処理装置および調停方法
US20050268023A1 (en) Multi-port random access memory
US20210334230A1 (en) Method for accessing data bus, accessing system, and device
JP2006277363A (ja) 情報転送方式,画像形成装置
EP1380960B1 (en) Memory access from different clock domains
JPS63191398A (ja) 情報処理装置
JP2020057110A (ja) コマンド制御システム、車両、コマンド制御方法及びプログラム
JP2001167049A (ja) バス調停装置
CN115762596A (zh) 一种mcu的存取记忆体数字电路架构
KR100210404B1 (ko) 공유 메모리 억세스 제어장치

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 10296589

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2001936893

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2001936893

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 2001936893

Country of ref document: EP