JP2002269033A - Bus system using arbiter having retry control function and system lsi - Google Patents

Bus system using arbiter having retry control function and system lsi

Info

Publication number
JP2002269033A
JP2002269033A JP2001066706A JP2001066706A JP2002269033A JP 2002269033 A JP2002269033 A JP 2002269033A JP 2001066706 A JP2001066706 A JP 2001066706A JP 2001066706 A JP2001066706 A JP 2001066706A JP 2002269033 A JP2002269033 A JP 2002269033A
Authority
JP
Japan
Prior art keywords
bus
master
arbiter
slave
common
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001066706A
Other languages
Japanese (ja)
Inventor
Susumu Yamazaki
山崎  進
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001066706A priority Critical patent/JP2002269033A/en
Publication of JP2002269033A publication Critical patent/JP2002269033A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Microcomputers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a bus system having a retry control function for an arbiter controlling the use right of a bus in the computer system of a bus connection system and to provide system LSI. SOLUTION: In the bus system, a plurality of bus masters 105 and 106 and a bus slave 107 generating a bus cycle interruption request are connected to a common bus 108. When the arbiter 101 controlling the use right of the bus 108 receives the interruption request 103 from the bus slave 107, the connection of the bus master (105, for example) obtaining the bus 108 and the bus 108 is interrupted and cut, and another bus master (106, for example) and the bus 108 are connected. When the use of the bus by the other bus master 106 is terminated, the interrupted bus master 105 and the bus 108 are reconnected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、バス接続方式の計
算機システムにおいて、バスの使用権制御を司るアービ
タにリトライ制御機能を持たせたバスシステム、および
システムLSIに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus system in which an arbiter for controlling the right to use a bus has a retry control function in a bus connection type computer system, and a system LSI.

【0002】[0002]

【従来の技術】従来のリトライ機能を持ったバスシステ
ムの構成図を図4に示す。図3において、共通バス40
1には、複数のバスマスタ402、403と、バススレ
ーブ404が接続されている。バスマスタ402、40
3はリトライ機能を有するバスマスタである。アービタ
405は、バスマスタ402、又は403から共通バス
401を取得するためのクエスト信号REQ406が入
力されると、優先度等に応じて1つのバスマスタ(例え
ば、バスマスタ402)にグラント信号GNT407を
返して、共通バス401の使用を許可する。バスマスタ
402は共通バス401に接続される他のスレーブ(例
えば、メモリやI/Oコントローラ等)をアクセスして
データ処理を実行し、処理が終了すると共通バス401
を開放する。
2. Description of the Related Art FIG. 4 shows a configuration diagram of a conventional bus system having a retry function. In FIG. 3, the common bus 40
1 is connected to a plurality of bus masters 402 and 403 and a bus slave 404. Bus masters 402, 40
Reference numeral 3 denotes a bus master having a retry function. When a quest signal REQ 406 for acquiring the common bus 401 from the bus master 402 or 403 is input, the arbiter 405 returns a grant signal GNT 407 to one bus master (for example, the bus master 402) according to the priority and the like. The use of the common bus 401 is permitted. The bus master 402 accesses another slave (for example, a memory or an I / O controller) connected to the common bus 401 and executes data processing.
To release.

【0003】上記したバスマスタの内、バスマスタ40
3は、共通バス401を取得してバスサイクルを起こす
もので、バススレーブ機能も有している。一方、バスマ
スタ402は、バスマスタ403と異なりバススレーブ
機能は有していない。このバスマスタ402および40
3は、自分がバスサイクルを実行中にバスサイクル識別
回路209からの中断要求信号410が入力されると、
一旦共通バス401を開放して、後で同じサイクルを再
起動(リトライ)するためのバスサイクル中断・再接続
回路408を有している。
[0003] Of the bus masters described above, bus master 40
Numeral 3 is for acquiring a common bus 401 and causing a bus cycle, and also has a bus slave function. On the other hand, unlike the bus master 403, the bus master 402 does not have a bus slave function. These bus masters 402 and 40
3 when the interrupt request signal 410 from the bus cycle identification circuit 209 is input during the execution of the bus cycle by itself.
A bus cycle interruption / reconnection circuit 408 is provided for once releasing the common bus 401 and restarting (retrying) the same cycle later.

【0004】バススレーブ404は、バスサイクル受付
時や実行時に共通バス401のサイクルの中断を要求す
る機能と、リード時にサイクルを中断してリードデータ
の準備を継続する遅延リード時に、再接続時のサイクル
が、実行中のリードと同一のアクセスによるものかを判
断する機能を持つバスサイクル識別回路409を有す
る。また、バスマスタ403もバススレーブ404と同
様なバスサイクル識別回路409を有する。
The bus slave 404 has a function of requesting interruption of the cycle of the common bus 401 at the time of accepting or executing a bus cycle, and a function of interrupting the cycle at the time of reading and continuing preparation of read data at the time of a delayed read operation. A bus cycle identification circuit 409 has a function of determining whether a cycle is caused by the same access as a read being executed. The bus master 403 also has a bus cycle identification circuit 409 similar to the bus slave 404.

【0005】上述の回路構成を有する従来のリトライ機
構を持つバスシステムでは、バススレーブ404又はス
レーブ機能を有するバスマスタ403のバスサイクル識
別回路409からバスサイクルの中断要求信号410が
発行されると、バスサイクルを開始していたバスマスタ
402又は403は、中断・再接続回路408によって
バスサイクルを一旦中断し、共通バス401を開放した
後で、再び共通バス401を取得して同じバスサイクル
を再実行している。一方、バスサイクル中断要求を行う
バススレーブ404又はスレーブ機能を有するバスマス
タ403は、遅延リードを行うときに、バスサイクル識
別回路409によって中断しようとするリードサイクル
を記憶して、再接続が可能となるように保持しておく。
In a conventional bus system having a retry mechanism having the above-described circuit configuration, when a bus cycle interruption request signal 410 is issued from the bus cycle identification circuit 409 of the bus slave 404 or the bus master 403 having a slave function, the bus is stopped. The bus master 402 or 403 that has started the cycle temporarily suspends the bus cycle by the suspend / reconnect circuit 408, releases the common bus 401, acquires the common bus 401 again, and re-executes the same bus cycle. ing. On the other hand, the bus slave 404 that issues a bus cycle interruption request or the bus master 403 having a slave function stores a read cycle to be interrupted by the bus cycle identification circuit 409 when performing a delayed read, and can reconnect. So that it is kept.

【0006】遅延リードとは、例えばバスマスタ403
が要求したリードサイクルを実行中に、共通バス401
上のリードサイクルを一旦中断してバスを開放させ、そ
の間にリードを続行してリードデータを用意しておくこ
とにより、一旦、そのリードサイクルを中断されたバス
マスタ403が再度同じリードアクセスをしてきた時
に、すぐにリードデータを返せるようにする方法であ
る。遅延リードを行うことにより、リード要求からリー
ドデータを返すまでに長い時間がかかる場合でも、リー
ド中にずっと共通バス401を占有(一時開放する)す
ることがないことから、共通バス401の使用効率を向
上させることが出来る。
[0008] The delay read means, for example, the bus master 403.
During execution of the read cycle requested by the common bus 401
By temporarily interrupting the above read cycle and releasing the bus, while continuing to read and preparing the read data, the bus master 403 interrupted once in the read cycle makes the same read access again. Sometimes, this is a method that allows read data to be returned immediately. Even if it takes a long time from the read request to the return of the read data by performing the delayed read, the common bus 401 is not occupied (temporarily released) during the read operation. Can be improved.

【0007】しかし、開放後の再接続の処理において、
バスマスタ403では、中断・再接続回路408内に中
断するリード要求のアドレスやリードサイズ等を記憶し
ておいて、再接続時にその記憶させていた情報と比較し
て、自分が中断したリードであることを判断することが
行なわれる。しかし、中断中に全く同じリード要求が他
のバスマスタ402から起きた場合は、バススレーブ4
04では、どのバスマスタからのアクセスであるかの識
別が出来ないため、本来要求していたバスマスタ403
ではなく、後から同じ要求を出したバスマスタ402
に、リードしたデータを返してしまう現象が発生する問
題がある。
However, in the process of reconnection after release,
The bus master 403 stores the address of the read request to be interrupted, the read size, and the like in the interrupt / reconnect circuit 408, compares the information with the information stored at the time of reconnection, and determines that the read is interrupted by itself. A determination is made. However, if the same read request is issued from another bus master 402 during the suspension, the bus slave 4
In 04, since it is not possible to identify from which bus master the access is made, the originally requested bus master 403
Instead, the bus master 402 that has issued the same request later
However, there is a problem that a phenomenon in which read data is returned occurs.

【0008】[0008]

【発明が解決しようとする課題】上述したように、従来
のリトライ機能を有するバスシステムでは、各バスマス
タにバスサイクルの中断・再接続するための回路を設け
る必要がある。また、リトライをサポートするバススレ
ーブには、バスサイクルの中断を要求する機能と、再接
続時に同一バスサイクルかを識別する機能を有するバス
サイクル識別回路を設ける必要がある。また、本来要求
していたバスマスタではなく、後から同じ要求を出した
バスマスタに対し、リードしたデータを返してしまうな
どの問題があった。
As described above, in a conventional bus system having a retry function, it is necessary to provide each bus master with a circuit for interrupting and reconnecting a bus cycle. Further, the bus slave supporting the retry needs to be provided with a bus cycle identification circuit having a function of requesting the interruption of the bus cycle and a function of identifying the same bus cycle at the time of reconnection. In addition, there is a problem that the read data is returned not to the bus master originally requesting but to the bus master issuing the same request later.

【0009】本発明は上記した問題を解決するためにな
されたもので、バスマスタに中断・再接続回路や、バス
スレーブにサイクル識別回路を設けることなく、バスア
ービタに中断・再接続回路を設けることで、リトライ機
能を実現するバスシステムおよびシステムLSIを提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem. By providing an interrupt / reconnect circuit in a bus arbiter without providing an interrupt / reconnect circuit in a bus master or a cycle identification circuit in a bus slave. It is an object of the present invention to provide a bus system and a system LSI that realize a retry function.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明のリトライ制御機能を有するアービタを用い
たバスシステムは、複数のバスマスタと、バスサイクル
中断要求を発生するバススレーブとが共通のバスに接続
されたバスシステムにおいて、前記バスの使用権制御を
行うアービタが前記バススレーブから前記中断要求を受
けた場合、前記バスを取得しているバスマスタと前記バ
スとの接続を中断して切断し、他のバスマスタと前記バ
スとの接続を行い、前記他のバスマスタによるバス使用
が終了した段階で前記中断したバスマスタと前記バスと
の再接続を行うことを特徴とする。
In order to achieve the above object, a bus system using an arbiter having a retry control function according to the present invention uses a plurality of bus masters and a bus slave that issues a bus cycle interruption request. In a bus system connected to the bus, when the arbiter that controls the right to use the bus receives the suspend request from the bus slave, suspends the connection between the bus master that has acquired the bus and the bus. The bus is disconnected, another bus master is connected to the bus, and when the bus use by the other bus master is finished, the interrupted bus master is reconnected to the bus.

【0011】また、本発明のシステムLSIは、少なく
ともバスサイクル中断・再接続機能を持たない第1、第
2のバスマスタと、バスサイクル中断要求機能を持つバ
ススレーブが共通バスに接続されたシステムLSIにお
いて、前記バススレーブからのバスサイクル中断要求を
受信して、アクセス中のバスマスタを前記共通バスから
切断する機能を持ったアービタを設けたことを特徴とす
る。
Further, the system LSI of the present invention is a system LSI in which at least first and second bus masters having no bus cycle interruption / reconnection function and a bus slave having a bus cycle interruption request function are connected to a common bus. Wherein an arbiter having a function of receiving a bus cycle interruption request from the bus slave and disconnecting the bus master being accessed from the common bus is provided.

【0012】本発明によれば、バスの使用権を管理する
バスアービタに、バススレーブからの中断要求を受けて
共通バスを切断する機能と、中断(切断)された要求を
要求先に再接続する機能を持たせることにより、 (1)従来のリトライ機構をもつバスシステム又はシス
テムLSIのバスマスタからバスの切断、再接続論理を
削除し、論理量を削減することが出来る。 (2)リトライ機構をもたないバスシステム又はシステ
ムLSIの全てのバスマスタに、リトライ機構を増設す
る代わりに、システムに唯一存在するアービタにバスリ
トライ機構を持たせることにより容易にリトライ機構を
実装することが出来る。 (3)中断要求を出すバススレーブから遅延リード時
に、中断するリード要求を再接続時に識別するための記
憶論理を削除して、論理量を削減することが出来る。 (4)アービタがシステム全体を監視することにより、
中断したリードを再接続時に誤識別して、別のマスタと
再接続してしまうことを防止することが出来る。
According to the present invention, the bus arbiter managing the right to use the bus disconnects the common bus in response to the interruption request from the bus slave, and reconnects the interrupted (disconnected) request to the request destination. By providing the function, (1) the logic of disconnecting and reconnecting the bus from the bus master of the bus system or the system LSI having the conventional retry mechanism can be deleted, and the amount of logic can be reduced. (2) Instead of adding a retry mechanism to all bus masters of a bus system or a system LSI having no retry mechanism, an arbiter that exists only in the system has a bus retry mechanism to easily implement the retry mechanism. I can do it. (3) The storage logic for identifying the interrupted read request at the time of reconnection at the time of delayed read from the bus slave that issues the interrupt request can be deleted to reduce the amount of logic. (4) The arbiter monitors the entire system,
It is possible to prevent the interrupted lead from being erroneously identified at the time of reconnection and being reconnected to another master.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1は、本発明が適用されるバスシ
ステムの第1の実施形態を示す図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a first embodiment of a bus system to which the present invention is applied.

【0014】本発明によって提供されるアービタ101
には、内部に中断・再接続回路102が設けられてい
る。中断・再接続回路102は中断要求を出力するバス
スレーブ107、又はスレーブ機能を有するバスマスタ
106から中断要求信号103が入力されると、これに
応答してバス切断信号104をバスマスタ105、10
6と共通バス108との間に設けられているゲート10
9に出力する。これにより、バスマスタ105、又は1
06と共通バス108とが切断される。アービタ101
は、この他にバスマスタ105、106からのリクエス
ト信号REQの受信に応答して、バス108の使用を許
可するグラント信号GNTを出力する機能や、通常のバ
ス使用権制御の機能等を有している。また、アービタ1
01内の中断・再接続回路102によって、バス108
の中断・再接続をコントロールしていることから、バス
108を効率良く使用することが出来る。即ち、従来の
ような本来要求していたバスマスタではなく、後から同
じ要求を出したバスマスタに対し、リードしたデータを
返すような現象は発生しない。
Arbiter 101 provided by the present invention
Is provided with an interruption / reconnection circuit 102 therein. When the suspend / reconnect circuit 102 receives the suspend request signal 103 from the bus slave 107 that outputs the suspend request or the bus master 106 having the slave function, the suspend / reconnect circuit 102 responds to this by sending the bus disconnect signal 104 to the bus masters 105, 10
6 and a gate 10 provided between the common bus 108
9 is output. Thereby, the bus master 105 or 1
06 and the common bus 108 are disconnected. Arbiter 101
Has a function of outputting a grant signal GNT permitting use of the bus 108 in response to reception of the request signal REQ from the bus masters 105 and 106, a function of controlling a normal bus use right, and the like. I have. Arbiter 1
01, the bus 108
, The bus 108 can be used efficiently. That is, there is no phenomenon that the read data is returned to the bus master that has issued the same request later instead of the bus master that originally requested it.

【0015】図2は、図1のバスシステムをLSI上に
展開した第2の実施形態の構成を示す。即ち、図2はC
PU、DMA、PCIバスコントローラのバスマスタ、
バススレーブを有するシステムLSIの構成図を示して
いる。
FIG. 2 shows a configuration of a second embodiment in which the bus system of FIG. 1 is developed on an LSI. That is, FIG.
Bus master of PU, DMA, PCI bus controller,
1 shows a configuration diagram of a system LSI having a bus slave.

【0016】CPU201は、システムを制御する演算
制御装置であり、図1のバスマスタ105に相当する。
DMAC202はDMA機能を有するDMAコントロー
ラであり、図1のバスマスタ106に相当する。PCI
C203はシステムLSI内部のローカルバス205と
LSI外部のPCIバス208とを接続するPCIホス
トブリッジコントローラであり、図1のバススレーブ1
07に相当する。アービタ204は、中断・再接続回路
206を有し、PCIC203から中断要求のRETR
Y信号207を受信すると、バスマスタ(CPU20
1、又はDMAC202)とローカルバス205との接
続を切断(中断)する信号208をバスマスタのローカ
ルバスとの間のゲート209に出力するもので、図1の
アービタ101に相当する。
The CPU 201 is an arithmetic and control unit for controlling the system, and corresponds to the bus master 105 in FIG.
The DMAC 202 is a DMA controller having a DMA function, and corresponds to the bus master 106 in FIG. PCI
A PCI host bridge controller C203 connects the local bus 205 inside the system LSI and the PCI bus 208 outside the LSI.
07. The arbiter 204 has a suspend / reconnect circuit 206, and receives a RETR of a suspend request from the PCIC 203.
Upon receiving the Y signal 207, the bus master (CPU 20
1 or the DMAC 202) to output a signal 208 for disconnecting (interrupting) the connection between the local bus 205 and the local bus 205 to the gate 209 between the local bus of the bus master and corresponds to the arbiter 101 in FIG.

【0017】また、アービタ204はCPU201、D
MAC202からローカルバス205の使用を要求する
リクエスト信号REQ0又はREQ1を受信すると、C
PU201又はDMAC202へ使用許可信号GNT0
又はGNT1を返すバス使用権を制御する機能を有して
いる。
The arbiter 204 has a CPU 201 and D
Upon receiving a request signal REQ0 or REQ1 requesting use of the local bus 205 from the MAC 202,
Use permission signal GNT0 to PU201 or DMAC202
Alternatively, it has a function of controlling the right to use the bus that returns GNT1.

【0018】次に、図3のタイミング図を用いて、CP
U201がローカルバス205を使用してPCIC20
3と交信中に、PCIC203からアービタ204にバ
スサイクル中断要求であるRETRY信号207が出力
され、バス使用中のCPU201をローカルバス205
から切断後、再接続までの動作を説明する。
Next, referring to the timing chart of FIG.
U201 uses the local bus 205 to
During communication with PCT3, the PCIC 203 outputs a RETRY signal 207 as a bus cycle interrupt request to the arbiter 204.
The operation from disconnection to reconnection will be described.

【0019】図3において、先ず、CPU201からア
ービタ204にバスリクエストREQ0が出力される
と、アービタ204はローカルバス205が空いている
とするとバス使用許可信号GNT0をCPU201に返
す。このバス使用許可信号GNT0を受信したCPU2
01は、ローカルバス上にHAVEIT信号、BSTART信
号(バススタート信号)を出力すると共に、ゲート20
9を介して必要な命令、データ等をPCIC203に出
力する。PCIC203は、更にPCIバス208に接
続される他のスレーブ装置との間でデータの書き込み或
いは読み出し等を実行する。
In FIG. 3, first, when a bus request REQ0 is output from the CPU 201 to the arbiter 204, the arbiter 204 returns a bus use permission signal GNT0 to the CPU 201 assuming that the local bus 205 is free. CPU 2 receiving this bus use permission signal GNT0
01 outputs a HAVEIT signal and a BSTART signal (bus start signal) on the local bus,
9 to output necessary commands and data to the PCIC 203. The PCIC 203 further executes data writing or reading with another slave device connected to the PCI bus 208.

【0020】PCIC203にはタイマ210が内蔵さ
れていて時間監視を行っており、ローカルバス205を
所定時間アクセスしていないと判断した場合には(例え
ば、データの読み出し等で時間が掛かる場合)、ローカ
ルバス205を開放させるよう中断要求であるRETR
Y信号207をアービタ204の中断・再接続回路20
6に出力する。また、PCIC203はPCIバス20
8側からアクセス要求を受けた場合も同様に、RETR
Y信号207をアービタ204の中断・再接続回路20
6に出力することもある。
The PCIC 203 has a built-in timer 210 for monitoring time, and when it is determined that the local bus 205 has not been accessed for a predetermined time (for example, when reading data takes time). RETR which is a suspend request to release the local bus 205
The Y signal 207 is sent to the interruption / reconnection circuit 20 of the arbiter 204.
6 is output. The PCIC 203 is a PCI bus 20
Similarly, when an access request is received from the
The Y signal 207 is sent to the interruption / reconnection circuit 20 of the arbiter 204.
6 may be output.

【0021】このRETRY信号207を受信したアー
ビタ204の中断・再接続回路206は、再スタートの
条件を保持した状態で、CPU201とローカルバス2
05を切断(中断)すべくゲート209にバス切断信号
208を出力する。
Upon receiving the RETRY signal 207, the interruption / reconnection circuit 206 of the arbiter 204 sends the CPU 201 and the local bus 2 while maintaining the restart condition.
A bus disconnection signal 208 is output to the gate 209 to disconnect (interrupt) 05.

【0022】一方、DMAC202からその前にバスリ
クエストREQ1が出力されていたと想定すると、アー
ビタ204は直ちにDMAC202に対しバス使用許可
信号GNT1を返す。DMAC202から同様にHAVEIT
信号、BSTART信号が出力され、これによりローカ
ルバス205はDMAC202によって占有され、ロー
カルバス205上の他の装置(図示せず)とデータ処理
が実行される。DMAC202と他の装置とのデータ処
理が終了すると、他の装置からACK信号がDMAC2
02に返され、DMAC202はこのACK信号を受信
するとバスリクエスト信号REQ1の出力を停止する。
On the other hand, assuming that the bus request REQ1 has been output from the DMAC 202 before that, the arbiter 204 immediately returns the bus use permission signal GNT1 to the DMAC 202. HAVEIT from DMAC202
The local bus 205 is occupied by the DMAC 202, and data processing is performed with another device (not shown) on the local bus 205. When the data processing between the DMAC 202 and the other device is completed, the ACK signal is transmitted from the other device to the DMAC2.
02, and upon receiving this ACK signal, the DMAC 202 stops outputting the bus request signal REQ1.

【0023】バスリクエスト信号REQ1が停止したこ
とにより、アービタ204はDMAC202に対するバ
ス使用許可信号GNT1の出力を停止すると共に、CP
U201に対するバス使用許可信号GNT0を再び出力
し、また、PCIC203に対しRESTRAT(再ス
タート)信号211を出力する。
When the bus request signal REQ1 stops, the arbiter 204 stops outputting the bus use permission signal GNT1 to the DMAC 202,
The bus use permission signal GNT0 for the U201 is output again, and the RESTRAT (restart) signal 211 is output to the PCIC 203.

【0024】このRESTART信号211を受信した
PCIC203は、中断・再接続回路206からの信号
により中断直前の状態に戻し、CPU201とのデータ
処理を再開する。全てのデータ処理が完了するとPCI
C203からACK信号がCPU201に出力され、こ
れによりCPU201はローカルバスアクセスを停止す
るように動作する。
The PCIC 203 that has received the RESTART signal 211 returns to the state immediately before the interruption by the signal from the interruption / reconnection circuit 206, and resumes the data processing with the CPU 201. When all data processing is completed, PCI
An ACK signal is output from the C 203 to the CPU 201, whereby the CPU 201 operates to stop the local bus access.

【0025】[0025]

【発明の効果】本発明によれば、バスマスタにバスの切
断・再接続回路をそれぞれ持たせることなく、アービタ
に切断・再接続回路を1つ設けるだけで良いので、回路
量を小さくできる。また、リトライ機構を持たないバス
システムにリトライ機構を持たせる場合、アービタに切
断・再接続回路を付加するだけで良いので容易に実現で
きる。また、リトライを行うバススレーブにバスサイク
ル識別回路が不要のため、回路量を小さくできる。ま
た、遅延リード時に元のリード要求元以外にリードデー
タを誤って渡す現象が発生しない効果が有る。
According to the present invention, it is sufficient to provide only one disconnection / reconnection circuit in the arbiter without having a bus disconnection / reconnection circuit in the bus master, and thus the circuit amount can be reduced. Further, when a bus system having no retry mechanism is provided with a retry mechanism, it can be easily realized because it is only necessary to add a disconnection / reconnection circuit to the arbiter. Further, since the bus cycle identification circuit is not required for the bus slave performing the retry, the circuit amount can be reduced. In addition, there is an effect that a phenomenon in which read data is erroneously passed to a source other than the original read request source during delayed read does not occur.

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

【図1】本発明が適用されるバスシステムの第1の実施
形態の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a first embodiment of a bus system to which the present invention is applied.

【図2】図1のバスシステムをLSI上に展開した第2
の実施形態の構成を示す。
FIG. 2 is a second diagram in which the bus system of FIG. 1 is developed on an LSI.
1 shows the configuration of the embodiment.

【図3】図2に示すシステムLSIの動作タイミングを
示す図。
FIG. 3 is a view showing operation timings of the system LSI shown in FIG. 2;

【図4】従来のバスシステムの構成を示す図。FIG. 4 is a diagram showing a configuration of a conventional bus system.

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

101、204…アービタ 102、206…中断・再接続回路 105、106…バスマスタ 107…バススレーブ 108…共通バス 109、209…ゲート 201…CPU 202…DMAC 203…PCIC 205…ローカルバス 208…PCIバス 210…タイマ 101, 204: Arbiter 102, 206 ... Interruption / reconnection circuit 105, 106 ... Bus master 107 ... Bus slave 108 ... Common bus 109, 209 ... Gate 201 ... CPU 202 ... DMAC 203 ... PCIC 205 ... Local bus 208 ... PCI bus 210 … Timer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のバスマスタと、バスサイクル中断
要求を発生するバススレーブとが共通のバスに接続され
たバスシステムにおいて、 前記バスの使用権制御を行うアービタが前記バススレー
ブから前記中断要求を受けた場合、前記バスを取得して
いるバスマスタと前記バスとの接続を中断して切断し、
他のバスマスタと前記バスとの接続を行い、前記他のバ
スマスタによるバス使用が終了した段階で前記中断した
バスマスタと前記バスとの再接続を行うことを特徴とす
るリトライ制御機能を有するアービタを用いたバスシス
テム。
In a bus system in which a plurality of bus masters and a bus slave generating a bus cycle interrupt request are connected to a common bus, an arbiter for controlling the right to use the bus issues the interrupt request from the bus slave. If received, the connection between the bus master acquiring the bus and the bus is interrupted and disconnected,
An arbiter having a retry control function, which performs connection between another bus master and the bus and reconnects the interrupted bus master and the bus when the bus use by the other bus master is completed. Bus system.
【請求項2】 少なくともバスサイクル中断・再接続機
能を持たない第1、第2のバスマスタと、バスサイクル
中断要求機能を持つバススレーブが共通バスに接続され
たシステムLSIにおいて、 前記バススレーブからのバスサイクル中断要求を受信し
て、アクセス中のバスマスタを前記共通バスから切断す
る機能を持ったアービタを設けたことを特徴とするシス
テムLSI。
2. A system LSI wherein at least first and second bus masters not having a bus cycle interruption / reconnection function and a bus slave having a bus cycle interruption request function are connected to a common bus. A system LSI comprising an arbiter having a function of receiving a bus cycle interruption request and disconnecting a bus master being accessed from the common bus.
【請求項3】 前記アービタが前記バススレーブからバ
スサイクル中断要求を受信した時、前記共通バスを取得
している第1のバスマスタと前記共通バスとの接続を一
時中断して切断し、前記第2のバスマスタと前記共通バ
スとの接続を行い、前記第2のバスマスタによるバス使
用が終了した段階で前記第1のバスマスタと前記共通バ
スとの再接続を行うことを特徴とする請求項2記載のシ
ステムLSI。
3. When the arbiter receives a bus cycle interrupt request from the bus slave, the connection between the first bus master acquiring the common bus and the common bus is temporarily interrupted and disconnected. 3. A connection between the second bus master and the common bus, and reconnection between the first bus master and the common bus when the bus use by the second bus master is completed. System LSI.
【請求項4】 前記第1又は第2のバスマスタが、CP
U又はDMAコントローラで構成され、前記バススレー
ブがPCIホストブリッジコントローラで構成されるこ
とを特徴とする請求項2又は3記載のシステムLSI。
4. The method according to claim 1, wherein the first or second bus master comprises a CP.
4. The system LSI according to claim 2, wherein the system LSI is configured by a U or DMA controller, and the bus slave is configured by a PCI host bridge controller.
JP2001066706A 2001-03-09 2001-03-09 Bus system using arbiter having retry control function and system lsi Pending JP2002269033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001066706A JP2002269033A (en) 2001-03-09 2001-03-09 Bus system using arbiter having retry control function and system lsi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001066706A JP2002269033A (en) 2001-03-09 2001-03-09 Bus system using arbiter having retry control function and system lsi

Publications (1)

Publication Number Publication Date
JP2002269033A true JP2002269033A (en) 2002-09-20

Family

ID=18925166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001066706A Pending JP2002269033A (en) 2001-03-09 2001-03-09 Bus system using arbiter having retry control function and system lsi

Country Status (1)

Country Link
JP (1) JP2002269033A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676621B2 (en) 2003-09-12 2010-03-09 Hewlett-Packard Development Company, L.P. Communications bus transceiver
US8762616B2 (en) 2010-08-19 2014-06-24 Sony Corporation Bus system and bridge circuit connecting bus system and connection apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676621B2 (en) 2003-09-12 2010-03-09 Hewlett-Packard Development Company, L.P. Communications bus transceiver
US8762616B2 (en) 2010-08-19 2014-06-24 Sony Corporation Bus system and bridge circuit connecting bus system and connection apparatus

Similar Documents

Publication Publication Date Title
JP4008987B2 (en) Bus communication system, bus arbitration method, and data transfer method
JP4685312B2 (en) Data processing system and power saving method
US5887194A (en) Locking protocol for peripheral component interconnect utilizing master device maintaining assertion of lock signal after relinquishing control of bus such that slave device remains locked
US7263572B2 (en) Bus bridge and data transfer method
JPH10293744A (en) Pci bus system
US6397279B1 (en) Smart retry system that reduces wasted bus transactions associated with master retries
JP2001524707A (en) Using firmware to enhance controller functionality
US8943238B2 (en) Operations using direct memory access
JP2963426B2 (en) Bus bridge device and transaction forward method
JP2001282704A (en) Device, method and system for processing data
US7296109B1 (en) Buffer bypass circuit for reducing latency in information transfers to a bus
JP4499235B2 (en) PCI bus compatible masters and arbiters and arbitration methods
JP2001282631A (en) Method, system and pci bus system for limiting destruction of write data
JP2002269033A (en) Bus system using arbiter having retry control function and system lsi
JPH07152449A (en) Computer system for control of peripheral- bus clock singnal and its method
JP2003281080A (en) Data transfer controller
JPH10307788A (en) Bus bridge
JP2004334840A (en) Control method and related device of system bus
JPH10283302A (en) Method and system for supplying data to bus connected to plural processors
JP6992295B2 (en) Electronic device
KR100973851B1 (en) Embedded system and method for preventing internal BUS conflict thereof
JP2002207714A (en) Multi-processor system
US5784580A (en) System and method for communicating between devices
JP3365419B2 (en) Bus arbitration method
JPH09212452A (en) Bus controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041222

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050414

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070720

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080111