JP2006309530A - Bus arbitration circuit - Google Patents

Bus arbitration circuit Download PDF

Info

Publication number
JP2006309530A
JP2006309530A JP2005131777A JP2005131777A JP2006309530A JP 2006309530 A JP2006309530 A JP 2006309530A JP 2005131777 A JP2005131777 A JP 2005131777A JP 2005131777 A JP2005131777 A JP 2005131777A JP 2006309530 A JP2006309530 A JP 2006309530A
Authority
JP
Japan
Prior art keywords
priority
request
bus arbitration
bus
order
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.)
Withdrawn
Application number
JP2005131777A
Other languages
Japanese (ja)
Inventor
Yasuyoshi Shimoi
康由 下井
Daigo Senoo
大吾 妹尾
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 JP2005131777A priority Critical patent/JP2006309530A/en
Publication of JP2006309530A publication Critical patent/JP2006309530A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bus arbitration circuit capable of accepting a request with a lower priority without placing a disproportionate emphasis on requests from a specified bus master. <P>SOLUTION: The bus arbitration circuit 10 comprises a priority control part 101 and a bus adjustment part 102. The priority control part 101 sets and changes the priority of each request from a plurality of bus masters at predetermined time intervals. The bus arbitration part 102 arbitrates respective requests based on the priority set and changed by the priority control part 101. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数のバスマスタからの要求に対して、優先順位に基づいて調停を行うバス調停回路に関する。   The present invention relates to a bus arbitration circuit that performs arbitration based on priority order for requests from a plurality of bus masters.

複数のバスマスタが同時にDRAM(Dynamic Random Access Memory) 等の記憶装置とアクセスするためバスの使用を要求する場合、これらの要求はバス調停回路によって調停される。   When a plurality of bus masters request to use a bus to access a storage device such as a DRAM (Dynamic Random Access Memory) at the same time, these requests are arbitrated by a bus arbitration circuit.

図5は、光ディスク装置における従来のバス調停回路の構成を示す。バス調停回路100は、複数のバスマスタが記憶装置とアクセスするためのバスを要求するとき、各バスマスタからの要求の優先順位に基づいて、1つの要求を選択し、その要求元のバスマスタにバスの使用を許可する。優先順位は、ホスト転送要求を最上位とし、以下、復調処理要求、ECC(Error Correcting Code)処理要求、シンドローム演算要求の順に固定されている。   FIG. 5 shows a configuration of a conventional bus arbitration circuit in the optical disc apparatus. When a plurality of bus masters request a bus for accessing a storage device, the bus arbitration circuit 100 selects one request based on the priority order of requests from each bus master, and the bus master of the request source receives a bus request. Allow use. The priority order is set so that the host transfer request is the highest priority, and is fixed in the following order: demodulation processing request, ECC (Error Correcting Code) processing request, syndrome calculation request.

また、要求の受け付け回数をカウントし、所定回数に達すると優先順位が下位の要求を受け付けることによって、これらの要求がまんべんなく受け付けられることを保証する技術がある(たとえば、特許文献1、2参照)。
特開平08−235107号公報(第2頁、第2図) 第2887476号公報(第2頁、第1図)
In addition, there is a technique that counts the number of times a request is received, and accepts a request with a lower priority when a predetermined number of times is reached, thereby ensuring that these requests are accepted evenly (see, for example, Patent Documents 1 and 2). .
Japanese Patent Laid-Open No. 08-235107 (2nd page, FIG. 2) No. 2887476 (2nd page, FIG. 1)

しかしながら、各要求に固定の優先順位を付けたのでは、同時にバス要求された場合、優先順位の高い要求元のバスマスタに対してバスの使用が許可されるため、優先順位の低い要求元のバスマスタにはなかなかバスの使用が許可されない。これにより、下位のバスマスタの処理がシステム的に破綻を来す危険性がある。特に光ディスク装置が高倍速の再生および記録処理を行うほど、この危険性は増大する。   However, if a fixed priority is assigned to each request, if the bus is requested at the same time, the bus master of the request source having a high priority is permitted to use the bus. However, it is difficult to use the bus. As a result, there is a risk that the processing of the lower-level bus master will systematically fail. In particular, this risk increases as the optical disk apparatus performs high-speed reproduction and recording processing.

ところで、光ディスク装置においてはホスト装置の性能向上に応じて、ホスト転送速度も向上する。近年のホスト装置は、100MBpsのATA100および133MBpsのATA133のインタフェースが規格化されているため、これまでより頻繁にホスト転送要求が発生する状況になっている。このため、高速なインタフェースを有する光ディスク装置については、ホスト転送要求を最上位とすることが必須となる。   By the way, in the optical disk apparatus, the host transfer speed is improved in accordance with the improvement in performance of the host apparatus. In recent host apparatuses, interfaces of 100 MBps ATA 100 and 133 MBps ATA 133 are standardized, and therefore host transfer requests are generated more frequently than before. For this reason, it is essential for the optical disk apparatus having a high-speed interface to make the host transfer request the highest.

図6は、ホスト転送要求の優先順位が最上位の場合におけるバス調停例を示す。各要求に対して示したブロックは、バスの要求期間を示し、このうち斜線で描かれたものが、バス調停回路100によってバス要求が受け付けられたことを示す。ホスト転送要求は優先順位の最上位に位置するため、すべて受け付けられる。一方、優先順位が下位の要求に関しては受け付けられる機会が少なくなるため、優先順位が下のバスマスタの処理から順にシステム的に破綻する可能性がある。   FIG. 6 shows an example of bus arbitration when the host transfer request has the highest priority. A block shown for each request indicates a bus request period, and a portion drawn with diagonal lines indicates that the bus request is accepted by the bus arbitration circuit 100. All host transfer requests are accepted because they are located at the highest priority. On the other hand, since there are fewer opportunities to receive requests with lower priority, there is a possibility that the system will fail in order from the processing of the bus master with the lower priority.

一方、図7は、ホスト転送要求の優先順位が最下位の場合におけるバス調停例を示す。ホスト転送要求を最下位にした場合、復調処理要求、ECC処理要求、およびシンドローム演算要求に対して、受け付けられる回数が比較的多くなるため、上述した危険性を回避することができる。しかし、最下位に位置するホスト転送要求については、逆に受け付けられる回数が少なくなるため、ホスト装置に対して安定した速度でのデータ転送を実現することができない。   On the other hand, FIG. 7 shows an example of bus arbitration when the host transfer request has the lowest priority. When the host transfer request is at the lowest level, the number of times that the host transfer request is accepted for the demodulation processing request, the ECC processing request, and the syndrome calculation request is relatively large, and thus the above-described danger can be avoided. However, since the host transfer request located at the lowest order can be accepted fewer times, data transfer at a stable speed to the host device cannot be realized.

上記問題に鑑み、本発明は、特定のバスマスタからの要求に偏ることなく、優先順位が下位の要求を受け付け可能なバス調停回路の実現を課題とする。   In view of the above problems, an object of the present invention is to realize a bus arbitration circuit that can accept a request with a lower priority without biasing to a request from a specific bus master.

上記課題を解決するために本発明が講じた手段は、バス調停回路であって、複数のバスマスタからの各要求の優先順位を所定時間間隔ごとに設定変更する優先順位制御部と、優先順位制御部によって設定変更された優先順位に基づいて、上記の各要求を調停するバス調停部とを備えたものとする。   Means taken by the present invention to solve the above problems is a bus arbitration circuit, a priority control unit for changing the priority of each request from a plurality of bus masters at predetermined time intervals, and priority control And a bus arbitration unit that arbitrates the above requests based on the priority order changed by the unit.

この発明によると、優先順位制御部によって、複数のバスマスタからの各要求の優先順位が所定時間間隔ごとに設定変更され、この設定変更された優先順位に基づいて、バス調停部によって、上記の各要求が調停される。これにより、特定のバスマスタからの要求に偏ることなく、優先順位が下位の要求を受け付け可能なバス調停回路が実現される。   According to the present invention, the priority order of the requests from the plurality of bus masters is set and changed at predetermined time intervals by the priority order control unit, and the bus arbitration unit sets the priority levels of the requests based on the changed priority order. Request is arbitrated. As a result, a bus arbitration circuit that can accept lower priority requests without being biased to requests from a specific bus master is realized.

具体的には、優先順位制御部は、与えられたクロックが第1の論理レベルであるとき、上記の各要求の優先順位を所定の順位に設定する一方、上記のクロックが第2の論理レベルであるとき、所定の要求の優先順位を下位に設定するものとする。   Specifically, when the given clock is at the first logic level, the priority control unit sets the priority of each request to a predetermined order, while the clock is at the second logic level. In this case, the priority order of a predetermined request is set to the lower order.

さらに、具体的には、優先順位制御部は、上記のクロックが第1の論理レベルであるとき、上記の所定の要求の優先順位を最上位に設定する一方、上記のクロックが第2の論理レベルであるとき、上記の所定の要求の優先順位を最下位に設定するものとする。   More specifically, the priority control unit sets the priority of the predetermined request to the highest level when the clock is at the first logic level, while the clock is set at the second logic level. When it is level, the priority order of the predetermined request is set to the lowest.

また、具体的には、バス調停部は、所定の要求を受け付けたとき、信号を出力するものであり、優先順位制御部は、与えられたクロックが第1の論理レベルから第2の論理レベルに変化したとき、上記の各要求の優先順位を所定の順位に設定する一方、上記の信号を受けたとき、上記の所定の要求の優先順位を下位に設定するものであるとする。   Specifically, the bus arbitration unit outputs a signal when a predetermined request is received, and the priority order control unit outputs a given clock from the first logic level to the second logic level. It is assumed that the priority order of each of the above requests is set to a predetermined order when the change is made, while the priority order of the above predetermined request is set to a lower order when the above signal is received.

さらに、具体的には、優先順位制御部は、上記のクロックが第1の論理レベルから第2の論理レベルに変化したとき、上記の所定の要求の優先順位を最上位に設定する一方、上記の信号を受けたとき、上記の所定の要求の優先順位を最下位に設定するものであるとする。   More specifically, the priority control unit sets the priority order of the predetermined request to the highest level when the clock changes from the first logic level to the second logic level. When the above signal is received, the priority order of the predetermined request is set to the lowest.

さらに、具体的には、上記のクロックの周期は、所定のバスマスタが上記の所定の要求を行う間隔に応じて変更されるものとする。   More specifically, the clock period is changed according to the interval at which a predetermined bus master makes the predetermined request.

また、具体的には、バス調停回路は、優先順位の設定変更についての可否を選択する順位変更可否部を備えたものとする。   Specifically, it is assumed that the bus arbitration circuit includes an order change permission / rejection unit for selecting whether or not priority setting change is possible.

さらに、具体的には、バス調停回路は、上記の所定の要求を行うバスマスタに対して、上記のクロックの1周期ごとに1回、記憶装置の一のバンクへのアクセスを許可するものとする。   More specifically, the bus arbitration circuit permits the bus master making the predetermined request to access one bank of the storage device once every cycle of the clock. .

また、上記課題を解決するために本発明が講じた手段は、バス調停方法であって、複数のバスマスタからの各要求の優先順位を所定時間間隔ごとで設定変更する第1のステップと、第1のステップで設定変更された優先順位に基づいて、上記の各要求を調停する第2のステップとを備えたものとする。   The means taken by the present invention in order to solve the above-mentioned problem is a bus arbitration method, wherein a first step of setting and changing the priority of each request from a plurality of bus masters at predetermined time intervals, And a second step of arbitrating each of the requests based on the priority order changed in one step.

この発明によると、複数のバスマスタからの各要求の優先順位が所定時間間隔ごとに設定変更され、この設定変更された優先順位に基づいて、上記の各要求が調停される。これにより、特定のバスマスタからの要求に偏ることなく、優先順位が下位の要求を受け付けることができる。   According to the present invention, the priority of each request from a plurality of bus masters is set and changed every predetermined time interval, and the above requests are arbitrated based on the changed priority. As a result, it is possible to accept a request with a lower priority without biasing to a request from a specific bus master.

具体的には、第1のステップは、与えられたクロックが第1の論理レベルであるとき、上記の各要求の優先順位を所定の順位に設定する一方、上記のクロックが第2の論理レベルであるとき、所定の要求の優先順位を下位に設定するものとする。   Specifically, the first step sets the priority of each request to a predetermined order when the given clock is at the first logic level, while the clock is at the second logic level. In this case, the priority order of a predetermined request is set to the lower order.

さらに、具体的には、第1のステップは、上記のクロックが第1の論理レベルであるとき、上記の所定の要求の優先順位を最上位に設定する一方、上記のクロックが第2の論理レベルであるとき、上記の所定の要求の優先順位を最下位に設定するものとする。   More specifically, the first step sets the priority of the predetermined request to the highest level when the clock is at the first logic level, while the clock is set at the second logic level. When it is level, the priority order of the predetermined request is set to the lowest.

また、具体的には、所定の要求が受け付けられたことを検出する第3のステップを備え、第1のステップは、与えられたクロックが第1の論理レベルから第2の論理レベルに変化したとき、上記の各要求の優先順位を所定の順位に設定する一方、上記の第3のステップによって上記の所定の要求が受け付けられたことが検出されたとき、上記の所定の要求の優先順位を下位に設定するものとする。   More specifically, a third step of detecting that a predetermined request has been accepted is provided, and the first step has a given clock changed from the first logic level to the second logic level. When the priority order of each of the above requests is set to a predetermined order, while the third step detects that the above predetermined request has been accepted, the priority order of the above predetermined request is set. It shall be set to the lower order.

さらに、具体的には、第1のステップは、上記のクロックが第1の論理レベルから第2の論理レベルに変化したとき、上記の所定の要求の優先順位を最上位に設定する一方、第3のステップによって受け付けが検出されたとき、上記の所定の要求の優先順位を最下位に設定するものとする。   More specifically, the first step sets the priority of the predetermined request to the highest level when the clock changes from the first logic level to the second logic level, When acceptance is detected in step 3, the priority order of the predetermined request is set to the lowest.

本発明によると、特定のバスマスタからの要求に偏ることなく、優先順位が下位の要求を受け付けることができる。そして、ホスト装置との間のデータ転送の高速性を保ちつつ、下位の要求元のバスマスタの処理がシステム的に安定して実行される。   According to the present invention, a request having a lower priority can be accepted without being biased toward a request from a specific bus master. Then, the processing of the bus master of the lower request source is stably executed systematically while maintaining the high speed of data transfer with the host device.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。なお、本発明の各実施形態に係るバス調停システムは、光ディスク装置における信号処理に関するものとして説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings. The bus arbitration system according to each embodiment of the present invention will be described as relating to signal processing in an optical disc apparatus.

(第1の実施形態)
図1は、本発明の第1の実施形態に係るバス調停回路の構成を示す。バス調停回路10は、優先順位制御部101とバス調停部102と順位変更可否部103とを備えている。
(First embodiment)
FIG. 1 shows a configuration of a bus arbitration circuit according to the first embodiment of the present invention. The bus arbitration circuit 10 includes a priority order control unit 101, a bus arbitration unit 102, and an order change permission / inhibition unit 103.

優先順位制御部101は、与えられたクロックclkに同期して、優先順位を設定する。クロックclkがHiレベルのとき、優先順位制御部101は、優先順位をホスト転送要求、復調処理要求、ECC処理要求、シンドローム演算要求の順(以下、順序1と称す)に設定し、クロックclkがLoレベルのとき、復調処理要求、ECC処理要求、シンドローム演算要求、ホスト転送要求の順(以下、順序2と称す)に設定する。なお、クロックclkと上記の順序との対応関係は逆であってもよい。なお、クロックclkは優先順位制御部101内部で生成するものでもよい。また、優先順位制御部101は、タイマ等の簡易な回路で実現可能である。   The priority control unit 101 sets the priority in synchronization with the given clock clk. When the clock clk is at the Hi level, the priority control unit 101 sets the priority in the order of host transfer request, demodulation processing request, ECC processing request, and syndrome calculation request (hereinafter referred to as order 1). When the level is Lo, the demodulation processing request, ECC processing request, syndrome calculation request, and host transfer request are set in this order (hereinafter referred to as order 2). The correspondence relationship between the clock clk and the above order may be reversed. The clock clk may be generated inside the priority control unit 101. The priority control unit 101 can be realized by a simple circuit such as a timer.

バス調停部102は、優先順位制御部101によって設定された優先順位に従って、バス調停を行う。   The bus arbitration unit 102 performs bus arbitration according to the priority order set by the priority order control unit 101.

図2は、本実施形態に係るバス調停回路10によるバス調停例を示す。“第1周期”の直前は、復調処理要求が受け付けられている。クロックclkがHiレベルとなり、“第1周期”が開始されたとき、優先順位が上記の順序1に設定される。そして、受け付けられた復調処理要求の処理が終了すると、次はホスト転送要求が受け付けられる。この受け付けられたホスト転送要求の処理が終了すると、次はECC処理要求、シンドローム演算要求が順に受け付けられる。“第2周期”においても、同様に、クロックclkがHiレベルのとき、まずホスト転送要求が優先的に受け付けられる。   FIG. 2 shows an example of bus arbitration by the bus arbitration circuit 10 according to the present embodiment. Immediately before the “first period”, a demodulation processing request is accepted. When the clock clk becomes Hi level and the “first period” is started, the priority order is set to the above order 1. When the received demodulation processing request processing is completed, a host transfer request is received next. When the processing of the accepted host transfer request is completed, the ECC processing request and the syndrome calculation request are subsequently accepted in order. Similarly, in the “second cycle”, when the clock clk is at the Hi level, the host transfer request is first preferentially accepted.

一般に、記憶装置は、バスマスタごとに別々のバンクを使用することによって共有されている。図2における“第1周期”および“第2周期”では、ホスト転送要求は各周期で1度だけ受け付けられている。したがって、ホスト転送要求元のバスマスタは、1周期に1度の頻度で記憶装置における一のバンクにアクセスすることができる。   In general, storage devices are shared by using separate banks for each bus master. In the “first period” and “second period” in FIG. 2, the host transfer request is accepted only once in each period. Therefore, the bus master requesting the host transfer can access one bank in the storage device at a frequency of once per cycle.

順位変更可否部103は、優先順位の変更についての可否を選択する。たとえば、順位変更可否部103は、ホスト転送速度が低速のとき、優先順位を従来と同様に固定し、ホスト転送速度が高速のとき、優先順位を上述したように変更可能にする。これにより、再生および記録速度に応じて最適なバス調停方式が選択可能となる。   The order change permission / inhibition unit 103 selects whether or not priority order can be changed. For example, the order change enable / disable unit 103 fixes the priority order as in the conventional case when the host transfer rate is low, and allows the priority order to be changed as described above when the host transfer rate is high. As a result, an optimum bus arbitration method can be selected according to the reproduction and recording speed.

以上、本実施形態によると、頻繁にホスト転送要求が発生する場合においても、ホスト転送要求に偏ることなく、優先順位が下位の要求を受け付けることができる。これにより優先順位が低いシンドローム演算要求等が受け付けられる機会が増加するため、この要求元のバスマスタの処理がシステム的に安定して実行される。   As described above, according to the present embodiment, even when host transfer requests are frequently generated, it is possible to accept lower priority requests without biasing to host transfer requests. This increases the chances of accepting a syndrome calculation request or the like having a low priority order, so that the processing of the requesting bus master is executed systematically.

なお、ホスト転送要求の周期に応じて、クロックclkの周期を変更させることが好ましい。これにより、ホスト転送要求ごとに優先順位を順序1として設定することができ、光ディスク装置との間の転送の高速性が保たれる。たとえば、33MHzのマスタクロックで動作し、1周期あたり8Byteのバンド幅のシステムにおいて、4周期に1回ホスト転送要求の優先順位を最上位にするように優先順位制御部101で制御すれば、66Bpsの安定したホスト転送が実現される。またこのようにシステムが構成されれば、ATA33のような低速なホスト装置については、ホスト転送要求の頻度が低くなるため、常にホスト転送要求の優先順位が最上位となりこれまでのシステムと性能的に互換が保たれる。逆にATA100のように高速なホスト装置については、ホスト転送速度を抑え、高速再生および記録が破綻しないシステムが簡易な回路で実現される。   Note that it is preferable to change the cycle of the clock clk in accordance with the cycle of the host transfer request. As a result, the priority order can be set as order 1 for each host transfer request, and the high-speed transfer to and from the optical disc apparatus is maintained. For example, in a system operating with a 33 MHz master clock and a bandwidth of 8 bytes per cycle, if the priority control unit 101 controls the host transfer request to have the highest priority once every four cycles, 66 bps Stable host transfer is realized. If the system is configured in this manner, the host transfer request frequency is low for a low-speed host device such as the ATA 33, and therefore the host transfer request priority is always the highest priority and the performance of the system so far. Compatibility is maintained. Conversely, for a high-speed host device such as the ATA 100, a system in which the host transfer rate is suppressed and high-speed playback and recording do not fail is realized with a simple circuit.

また、順位変更可否部103は、動的に選択するのではなく静的に選択してもよい。また、順位変更可否部103は、省略してもよい。   Further, the rank change enable / disable unit 103 may select statically instead of selecting dynamically. Further, the rank change permission / inhibition unit 103 may be omitted.

(第2の実施形態)
図2において、“第2周期”の終了直前に受け付けられたECC処理要求の処理期間が、“第3周期”開始直後のクロックclkのHiレベル期間よりも長い場合、このECC処理要求の処理中に、優先順位が順序1となる期間が終了してしまう。このため、このECC処理要求の処理が終了した後は、ホスト転送要求の優先順位はすでに最下位に変更されているため、ホスト転送要求よりも他の要求が優先されることになる。クロックclkの1周期におけるHiレベル期間が固定されている場合上記のような問題が生じる可能性がある。上記問題を解決するため、本発明の第2の実施形態に係るバス調停回路では、ホスト転送要求が受け付けられたとき、優先順位を順序1から順序2に設定変更するようにする。
(Second Embodiment)
In FIG. 2, when the processing period of the ECC processing request received immediately before the end of the “second period” is longer than the Hi level period of the clock clk immediately after the start of the “third period”, the ECC processing request is being processed. In addition, the period in which the priority order is order 1 ends. For this reason, after the processing of the ECC processing request is completed, the priority of the host transfer request has already been changed to the lowest order, and therefore other requests are given priority over the host transfer request. When the Hi level period in one cycle of the clock clk is fixed, the above problem may occur. In order to solve the above problem, in the bus arbitration circuit according to the second embodiment of the present invention, when a host transfer request is accepted, the priority order is changed from order 1 to order 2.

以下、本発明の第2の実施形態に係るバス調停回路について説明する。   The bus arbitration circuit according to the second embodiment of the present invention will be described below.

図3は、本実施形態に係るバス調停回路の構成を示す。バス調停回路10Aは、優先順位制御部101Aとバス調停部102Aとを備えている。   FIG. 3 shows a configuration of the bus arbitration circuit according to the present embodiment. The bus arbitration circuit 10A includes a priority order control unit 101A and a bus arbitration unit 102A.

優先順位制御部101Aは、クロックclkの立ち上がりごとに優先順位を順序1に設定する。そして、ホスト転送要求受け付けを示す信号Sig1を受信したとき、優先順位を順序2に設定変更する。   The priority order control unit 101A sets the priority order to 1 every time the clock clk rises. When the signal Sig1 indicating acceptance of the host transfer request is received, the priority order is changed to order 2.

バス調停部102Aは、優先順位制御部101Aによって設定された優先順位に従って、バス調停を行う。そして、ホスト転送要求を受け付けたとき、信号Sig1を出力する。   The bus arbitration unit 102A performs bus arbitration according to the priority set by the priority control unit 101A. When the host transfer request is received, the signal Sig1 is output.

図4は、本実施形態に係るバス調停回路10Aによるバス調停例を示す。“第1期間”の直前は、復調処理要求が受け付けられており、クロックclkがHiレベルとなり“第1期間”が開始されたとき、優先順位は順序1に設定される。この順序は、信号Sig1を受けるまで、すなわちホスト転送要求が受け付けられるまで優先順位制御部101Aによって保たれる。ホスト転送要求が受け付けられとき、優先順位は順序2に変更され、以後、ECC処理要求、シンドローム演算要求が順に受け付けられる。   FIG. 4 shows an example of bus arbitration by the bus arbitration circuit 10A according to the present embodiment. Immediately before the “first period”, a demodulation processing request is accepted, and the priority is set to order 1 when the clock “clk” becomes Hi level and the “first period” starts. This order is maintained by the priority control unit 101A until the signal Sig1 is received, that is, until a host transfer request is accepted. When a host transfer request is accepted, the priority is changed to order 2, and thereafter an ECC processing request and a syndrome calculation request are accepted in order.

“第2期間”以降においても、“第1期間”と同様な処理で、順序が設定される。   Even after the “second period”, the order is set by the same process as the “first period”.

以上、本実施形態によると、頻繁にホスト転送要求が発生する場合においても、第1の実施形態よりも確実に、ホスト転送要求が受け付けられる。一方、ホスト転送速度が低速でホスト転送要求があまり発生しない場合、本実施形態によると、各周期において優先順位は順序1に設定されることになる。これは優先順位を固定している従来の場合と等価であることを意味している。したがって、本実施形態によると、ホスト転送の速度によらず、第1の実施形態よりも確実に、かつ安定的にホスト転送要求が受け付けられる。   As described above, according to the present embodiment, even when a host transfer request frequently occurs, the host transfer request is accepted more reliably than in the first embodiment. On the other hand, when the host transfer rate is low and host transfer requests are not frequently generated, according to the present embodiment, the priority order is set to order 1 in each cycle. This means that it is equivalent to the conventional case where the priority order is fixed. Therefore, according to this embodiment, a host transfer request is accepted more reliably and stably than in the first embodiment, regardless of the host transfer speed.

なお、第1の実施形態に設けられている順位変更可否部103は、上述した理由により本実施形態には必要とされない。このため、本実施形態におけるバス調停回路10Aは第1の実施形態におけるバス調停回路10よりも小面積で機能を実現することができる。   Note that the rank change possibility / non-permission unit 103 provided in the first embodiment is not required in the present embodiment for the reason described above. For this reason, the bus arbitration circuit 10A in the present embodiment can realize a function with a smaller area than the bus arbitration circuit 10 in the first embodiment.

また、上記各実施形態ではホスト転送要求の優先順位を最上位および最下位のいずれか一方としたが、これに限定する必要はない。たとえば、順序1においてホスト転送要求の優先順位を第2位と設定してもよいし、順序2においても他の要求に影響を与えないのであれば、ホスト転送要求の優先順位を第3位に設定してもよい。   In each of the above embodiments, the priority order of the host transfer request is one of the highest order and the lowest order, but it is not necessary to limit to this. For example, the priority of the host transfer request may be set to the second place in the order 1, and if the other requests are not affected in the order 2, the priority of the host transfer request is set to the third place. It may be set.

また、上記各実施形態ではホスト転送要求に対してのみ優先順位を変更したが、他の要求についても優先順位を変更させるようにしてもよい。たとえば、優先順位が常に下位に位置するシンドローム演算要求に対しても、優先順位を変更させることで、この要求が受け付けられる回数はより多くなる。これにより、光ディスク装置における高倍速の再生および記録処理がより安定的となる。   In the above embodiments, the priority order is changed only for the host transfer request, but the priority order may be changed for other requests. For example, even for a syndrome calculation request whose priority is always in the lower order, the number of times this request is accepted can be increased by changing the priority. As a result, high-speed reproduction and recording processing in the optical disc apparatus becomes more stable.

本発明に係るバス調停回路は、ホスト装置との間のデータ転送の高速性を保ちつつ、下位の要求を受け付けられる機会が増加するため、高倍速の再生および記録処理が要求される光ディスク装置において有用である。   The bus arbitration circuit according to the present invention increases the chances of accepting lower-order requests while maintaining the high speed of data transfer with the host device. Therefore, in the optical disc apparatus that requires high-speed reproduction and recording processing. Useful.

本発明の第1の実施形態に係るバス調停回路の構成図である。1 is a configuration diagram of a bus arbitration circuit according to a first embodiment of the present invention. 本発明の第1の実施形態に係るバス調停回路によるバス調停例を示した図である。It is the figure which showed the example of bus arbitration by the bus arbitration circuit which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るバス調停回路の構成図である。It is a block diagram of the bus arbitration circuit which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るバス調停回路によるバス調停例を示した図である。It is the figure which showed the example of bus arbitration by the bus arbitration circuit which concerns on the 2nd Embodiment of this invention. 光ディスク装置における従来のバス調停回路の構成図である。It is a block diagram of the conventional bus arbitration circuit in an optical disk apparatus. ホスト転送要求の優先順位が最上位の場合におけるバス調停例を示した図である。It is the figure which showed the example of bus arbitration in case the priority of a host transfer request is the highest. ホスト転送要求の優先順位が最下位の場合におけるバス調停例を示した図である。It is the figure which showed the example of bus arbitration when the priority of a host transfer request is the lowest.

符号の説明Explanation of symbols

10、10A バス調停回路
101、101A 優先順位制御部
102、102A バス調停部
103 順位変更可否部
10, 10A Bus arbitration circuit 101, 101A Priority control unit 102, 102A Bus arbitration unit 103 Order change enable / disable unit

Claims (13)

複数のバスマスタからの各要求の優先順位を所定時間間隔ごとに設定変更する優先順位制御部と、
前記優先順位制御部によって設定変更された優先順位に基づいて、前記各要求を調停するバス調停部とを備えた
ことを特徴とするバス調停回路。
A priority controller that changes the priority of each request from a plurality of bus masters at predetermined time intervals;
A bus arbitration circuit comprising: a bus arbitration unit that arbitrates the requests based on the priority changed by the priority control unit.
請求項1に記載のバス調停回路において、
前記優先順位制御部は、
与えられたクロックが第1の論理レベルであるとき、前記各要求の優先順位を所定の順位に設定する一方、前記クロックが第2の論理レベルであるとき、所定の要求の優先順位を下位に設定する
ことを特徴とするバス調停回路。
The bus arbitration circuit according to claim 1,
The priority control unit
When the given clock is at the first logic level, the priority of each request is set to a predetermined order, while when the clock is at the second logic level, the priority of the predetermined request is set to the lower order. A bus arbitration circuit characterized by setting.
請求項2に記載のバス調停回路において、
前記優先順位制御部は、
前記クロックが第1の論理レベルであるとき、前記所定の要求の優先順位を最上位に設定する一方、前記クロックが第2の論理レベルであるとき、前記所定の要求の優先順位を最下位に設定する
ことを特徴とするバス調停回路。
The bus arbitration circuit according to claim 2,
The priority control unit
When the clock is at the first logic level, the priority of the predetermined request is set to the highest level, while when the clock is at the second logic level, the priority of the predetermined request is set to the lowest. A bus arbitration circuit characterized by setting.
請求項1に記載のバス調停回路において、
前記バス調停部は、
所定の要求を受け付けたとき、信号を出力するものであり、
前記優先順位制御部は、
与えられたクロックが第1の論理レベルから第2の論理レベルに変化したとき、前記各要求の優先順位を所定の順位に設定する一方、前記信号を受けたとき、前記所定の要求の優先順位を下位に設定するものである
ことを特徴とするバス調整回路。
The bus arbitration circuit according to claim 1,
The bus arbitration unit
When a predetermined request is received, a signal is output.
The priority control unit
When a given clock changes from a first logic level to a second logic level, the priority of each request is set to a predetermined order, while when the signal is received, the priority of the predetermined request is set. The bus adjustment circuit is characterized in that is set to the lower order.
請求項4に記載のバス調停回路において、
前記優先順位制御部は、
前記クロックが第1の論理レベルから第2の論理レベルに変化したとき、前記所定の要求の優先順位を最上位に設定する一方、前記信号を受けたとき、前記所定の要求の優先順位を最下位に設定するものである
ことを特徴とするバス調整回路。
In the bus arbitration circuit according to claim 4,
The priority control unit
When the clock changes from the first logic level to the second logic level, the priority level of the predetermined request is set to the highest level, and when the signal is received, the priority level of the predetermined request is set to the highest level. A bus adjustment circuit characterized by being set at a lower level.
請求項2および4のいずれか1つに記載のバス調停回路において、
前記クロックの周期は、所定のバスマスタが前記所定の要求を行う間隔に応じて変更される
ことを特徴とするバス調停回路。
The bus arbitration circuit according to any one of claims 2 and 4,
The bus arbitration circuit is characterized in that the cycle of the clock is changed according to an interval at which a predetermined bus master makes the predetermined request.
請求項1に記載のバス調停回路において、
優先順位の設定変更についての可否を選択する順位変更可否部を備えた
ことを特徴とするバス調停回路。
The bus arbitration circuit according to claim 1,
A bus arbitration circuit comprising an order change enable / disable unit for selecting whether or not to change a priority order setting.
請求項2および4のいずれか1つに記載のバス調停回路において、
前記所定の要求を行うバスマスタに対して、前記クロックの1周期ごとに1回、記憶装置の一のバンクへのアクセスを許可する
ことを特徴とするバス調停回路。
The bus arbitration circuit according to any one of claims 2 and 4,
A bus arbitration circuit, wherein a bus master that makes the predetermined request is allowed to access one bank of the storage device once every cycle of the clock.
複数のバスマスタからの各要求の優先順位を所定時間間隔ごとに設定変更する第1のステップと、
前記第1のステップで設定変更された優先順位に基づいて、前記各要求を調停する第2のステップとを備えた
ことを特徴とするバス調停方法。
A first step of changing the priority of each request from a plurality of bus masters at predetermined time intervals;
A bus arbitration method comprising: a second step of arbitrating each request based on the priority level changed in the first step.
請求項9に記載のバス調停方法において、
前記第1のステップは、
与えられたクロックが第1の論理レベルであるとき、前記各要求の優先順位を所定の順位に設定する一方、前記クロックが第2の論理レベルであるとき、所定の要求の優先順位を下位に設定する
ことを特徴とするバス調停回路。
In the bus arbitration method according to claim 9,
The first step includes
When the given clock is at the first logic level, the priority of each request is set to a predetermined order, while when the clock is at the second logic level, the priority of the predetermined request is set to the lower order. A bus arbitration circuit characterized by setting.
請求項10に記載のバス調停方法において、
前記第1のステップは、
前記クロックが第1の論理レベルであるとき、前記所定の要求の優先順位を最上位に設定する一方、前記クロックが第2の論理レベルであるとき、前記所定の要求の優先順位を最下位に設定する
ことを特徴とするバス調停方法。
The bus arbitration method according to claim 10,
The first step includes
When the clock is at the first logic level, the priority of the predetermined request is set to the highest level, while when the clock is at the second logic level, the priority of the predetermined request is set to the lowest. A bus arbitration method characterized by setting.
請求項9に記載のバス調停方法において、
所定の要求が受け付けられたことを検出する第3のステップを備え、
前記第1のステップは、
与えられたクロックが第1の論理レベルから第2の論理レベルに変化したとき、前記各要求の優先順位を所定の順位に設定する一方、前記第3のステップによって前記所定の要求が受け付けられたことが検出されたとき、前記所定の要求の優先順位を下位に設定する
ことを特徴とするバス調停方法。
In the bus arbitration method according to claim 9,
Comprising a third step of detecting that a predetermined request has been accepted;
The first step includes
When the given clock changes from the first logic level to the second logic level, the priority of each request is set to a predetermined priority, while the predetermined request is accepted by the third step. When this is detected, the priority order of the predetermined request is set to the lower order.
請求項12に記載のバス調停方法において、
前記第1のステップは、
前記クロックが第1の論理レベルから第2の論理レベルに変化したとき、前記所定の要求の優先順位を最上位に設定する一方、前記第3のステップによって前記所定の要求が受け付けられたことが検出されたとき、前記所定の要求の優先順位を最下位に設定する
ことを特徴とするバス調停方法。
The bus arbitration method according to claim 12,
The first step includes
When the clock changes from the first logic level to the second logic level, the priority of the predetermined request is set to the highest level, while the predetermined request is accepted by the third step. A bus arbitration method, wherein when detected, the priority order of the predetermined request is set to the lowest order.
JP2005131777A 2005-04-28 2005-04-28 Bus arbitration circuit Withdrawn JP2006309530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005131777A JP2006309530A (en) 2005-04-28 2005-04-28 Bus arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005131777A JP2006309530A (en) 2005-04-28 2005-04-28 Bus arbitration circuit

Publications (1)

Publication Number Publication Date
JP2006309530A true JP2006309530A (en) 2006-11-09

Family

ID=37476336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005131777A Withdrawn JP2006309530A (en) 2005-04-28 2005-04-28 Bus arbitration circuit

Country Status (1)

Country Link
JP (1) JP2006309530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014016730A (en) * 2012-07-06 2014-01-30 Canon Inc Bus arbiter, bus arbitration method, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014016730A (en) * 2012-07-06 2014-01-30 Canon Inc Bus arbiter, bus arbitration method, and computer program
US9665515B2 (en) 2012-07-06 2017-05-30 Canon Kabushiki Kaisha Bus arbitration apparatus provided to a bus connected to a plurality of bus masters, bus arbitration method, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
JP2011150397A (en) Bus arbitration device
JP4715801B2 (en) Memory access control device
JP2009015832A (en) Inter-access arbitration circuit, semiconductor device, and inter-access arbitration method
KR100585116B1 (en) Arbiter improving access efficiency of the multi-bank memory device, memory access arbitration system having the same and method thereof
KR20150017526A (en) Memory command schedular and method for memory command scheduling
US20110289243A1 (en) Communication control device, data communication method and program
EP2423824B1 (en) Data transfer device, method of transferring data, and image forming apparatus
JP2010262429A (en) Device and method for control of memory
JP2008009817A (en) Semiconductor device and data transfer method
EP1313019B1 (en) Arbitration apparatus
KR100480605B1 (en) Method of controlling transmitting buffer and receiving buffer of network controller, and the network controller
US8650347B2 (en) Arbitration device, arbitration method, and electronic apparatus
US9223731B2 (en) Arbitration circuit and control method thereof
KR100803114B1 (en) Method and system for arbitrating memory
JP2006309530A (en) Bus arbitration circuit
JPH06110829A (en) Bus use request arbiter
JP4322116B2 (en) Method of interface between external memory and processor supporting burst mode
KR100973419B1 (en) Method and apparatus for arbitrating a bus
JP2011085989A (en) Memory arbitration circuit and memory arbitration method
JP2011034214A (en) Memory controller
JP5146284B2 (en) Data transfer apparatus and data transfer method
JP3675349B2 (en) Access control method and access control circuit
JP6700739B2 (en) Controller and control method
US20050165737A1 (en) Information processing apparatus
JP2006331008A (en) Memory interface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080321

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090309