JPH01166242A - Control system for system bus - Google Patents

Control system for system bus

Info

Publication number
JPH01166242A
JPH01166242A JP32567487A JP32567487A JPH01166242A JP H01166242 A JPH01166242 A JP H01166242A JP 32567487 A JP32567487 A JP 32567487A JP 32567487 A JP32567487 A JP 32567487A JP H01166242 A JPH01166242 A JP H01166242A
Authority
JP
Japan
Prior art keywords
bus
signal
output
system bus
busy
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
JP32567487A
Other languages
Japanese (ja)
Inventor
Mitsuru Sugita
充 杉田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP32567487A priority Critical patent/JPH01166242A/en
Publication of JPH01166242A publication Critical patent/JPH01166242A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve the transfer rate of a system bus by transmitting a bus request signal as long as no busy signal is received from a data transfer device set at the remote side. CONSTITUTION:A device 1 having the highest priority decides via a bus arbitration control circuit 9 whether or not a busy signal via a signal line corresponding to a device of the remote side which transfers data to other devices 2-4 at generation of a data transfer request. If not, a bus request signal synchronizing with a bus clock is delivered to a signal line 19-1 from the circuit 9. At the same time, the presence or absence is decided by the circuit 9 for the holding signal sent to a signal line 20 and an address is delivered to a system bus 17 in the next bus clock period having no output. The devices 2-4 having lower priority degrees decide via the bus arbitration control circuits 10-12 whether a bus request signal is delivered from the device 1 or not. Then the devices 2-4 deliver the request signals in the same way. Thus the bus 17 is never occupied nor held even in a busy mode. As a result, the transfer rate of the bus 17 is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のvtWlによって共有されるシステムバ
スの制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a system bus shared by a plurality of vtWl's.

〔従来の技術〕[Conventional technology]

従来、この種のシステムバス制御方式では、システムバ
スに接続されている成る装置がデータ転送を行なうため
にシステムバスに対してバスリクエスト信号を出し、シ
ステムバスの使用権を得た場合、データ転送の相手装置
がビジー状態であり、データ転送を行なうことができな
い状態であっても、その後上記相手装置がレディ状態に
なり、データ転送が完了するまでシステムバスの使用権
を占をするようにしている。
Conventionally, in this type of system bus control method, devices connected to the system bus issue a bus request signal to the system bus in order to transfer data, and when they obtain the right to use the system bus, the data transfer is performed. Even if the other device is in a busy state and data cannot be transferred, the other device becomes ready and monopolizes the right to use the system bus until the data transfer is completed. There is.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来は上述したように、システムバスに対してバスリク
エスト信号を出してシステムバスの使用権を得た場合、
データ転送の相手装置がビジー状態であり、データ転送
を行なうことができない状態であっても、システムバス
の使用権を占有して上記相手装置がレディ状態になるの
を待っており、その間他の装置はシステムバスを使用で
きない状態となるので、システムバスの転送レートが悪
化する問題があった。
Conventionally, as mentioned above, when obtaining the right to use the system bus by issuing a bus request signal to the system bus,
Even if the other device for data transfer is in a busy state and cannot perform data transfer, it will monopolize the right to use the system bus and wait for the other device to become ready. Since the device is unable to use the system bus, there is a problem in that the transfer rate of the system bus deteriorates.

本発明はこのような問題点を解決したものであり、その
目的はシステムバスの転送レートを向上させることにあ
る。
The present invention solves these problems, and its purpose is to improve the transfer rate of the system bus.

c問題点を解決するための手段〕 本発明は前述の如き問題点を解決するため、自装置より
システムバス使用権のプライオリティの低い装置に対す
るシステムバス使用権の同時獲得を抑止するために前記
システムバスにバスリクエスト信号を送出したとき、自
装置よりシステムバス使用権のプライオリティの高い装
置からバスリクエスト信号が出力されていないことを一
つの条件として前記システムバスを獲得し該システムバ
スを介して他装置とデータ転送を行なう複数の装置を含
むシステムに於いて、 各装置にそれぞれ自装置がビジー状態であることを示す
ビジー信号を前記システムバスに出力するビジー信号生
成回路を持たせ、 各装置は、データ転送を行なう相手装置に含まれるビジ
ー信号生成回路からビジー信号が出されていないことを
条件に、前記バスリクエスト信号を送出する。
c. Means for Solving Problems] In order to solve the above-mentioned problems, the present invention provides a system for preventing simultaneous acquisition of system bus usage rights for devices having a lower priority for system bus usage rights than the own device. When a bus request signal is sent to the bus, one condition is that the bus request signal is not output from a device with a higher priority of system bus usage rights than the own device, and the system bus is acquired and other devices are sent via the system bus. In a system including a plurality of devices that perform data transfer with a device, each device is provided with a busy signal generation circuit that outputs a busy signal indicating that the device is busy to the system bus, and each device , the bus request signal is sent out on the condition that no busy signal is issued from a busy signal generation circuit included in the partner device to which data is transferred.

〔作 用〕[For production]

システムバス使用権のプライオリティの異なる複数の装
置に同時にバス使用要求が発生した場合、それぞれのデ
ータ転送相手装置からビジー信号が出力されていないと
、システムバス使用権のプライオリティの高い装置がバ
スリクエスト信号を送出し、プライオリティの低い装置
はシステムバスの獲得を待たされる。しかし、システム
バス使用権のプライオリティの高い装置のデータ転送相
手装置がビジー信号を送出していると、プライオリティ
の高い装置はバスリクエスト信号を送出しない。従って
、プライオリティの低い装置がそれによってシステムバ
ス使用権の獲得を待たされることがなくなる。
When bus usage requests occur simultaneously to multiple devices with different priorities for system bus usage rights, if the busy signal is not output from each data transfer partner device, the device with the higher priority for system bus usage rights will send a bus request signal. , and devices with lower priority are forced to wait to acquire the system bus. However, if the data transfer partner device of a device with a high priority system bus usage right is sending out a busy signal, the device with a high priority will not send a bus request signal. Therefore, low-priority devices are not forced to wait for the right to use the system bus.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例のブロック図であり、システム
バス17と、システムバス17に接続され、システムバ
ス17をアクセスする、またはシステムバス17からア
クセスされる装置1〜4を含んでいる。システムバス1
7に接続される各装置1〜4はバスクロツタに同期して
システムバス17に信号を送出するものであり、それぞ
れ内部制御メモリ5〜8と、バス調停制御回路9〜12
と、内部アクセスが行なわれている間ビジー信号を出力
するビジー信号生成回路13〜16とを含んでいる。
FIG. 1 is a block diagram of an embodiment of the present invention, including a system bus 17 and devices 1-4 connected to, accessing, or accessed from the system bus 17. . System bus 1
Each of the devices 1 to 4 connected to the bus controller 7 sends a signal to the system bus 17 in synchronization with the bus clock, and each has an internal control memory 5 to 8 and a bus arbitration control circuit 9 to 12.
and busy signal generation circuits 13 to 16 that output a busy signal while internal access is being performed.

システムバス17にはアドレスバス、データバス。The system bus 17 includes an address bus and a data bus.

制御バス以外にも各装置1〜4内のビジー信号生成回路
13〜16から出力されるビジー信号が加えられる信号
線18−1〜1日−4と、バス調停制御回路9〜11か
ら出力されるバスリクエスト信号が加えられる信号線1
9−1〜19−3と、バス調停制御回路9〜12から出
力されるホールド信号が加えられる信号i%I20とが
含まれている。また、各装置t〜4には予めシステムバ
ス使用権のプライオリティが決められており、本実施例
では装置1〉装置2〉装置3〉装置4となっているもの
とする。
In addition to the control bus, there are signal lines 18-1 to 18-4 to which busy signals output from the busy signal generation circuits 13 to 16 in each device 1 to 4 are added, and signal lines 18-1 to 18-4 to which busy signals output from the bus arbitration control circuits 9 to 11 are applied. Signal line 1 to which the bus request signal is applied
9-1 to 19-3, and a signal i%I20 to which a hold signal output from the bus arbitration control circuits 9 to 12 is added. Furthermore, the priority of the right to use the system bus is determined in advance for each of the devices t to 4, and in this embodiment, it is assumed that the priority is device 1>device 2>device 3>device 4.

!It1〜4の内、プライオリティの最も高い装Wlは
他の装W2〜4に対するデータ転送要求が発生すると、
データ転送を行なう相手装置対応の信号線18−iにビ
ジー信号が出力されているか否かをバス調停制御回路9
に判定させ、ビジー信号が出力されていないと判定され
ることにより、バスクロツタに同期したバスリクエスト
信号をバス調停制御回路9から信号線19−1に出力さ
せると共に信号線20にホールド信号が出力されている
か否かをバス調停制御回路9に判定させる。そして、バ
ス調停制御回路9で信号線20にホールド信号が出力さ
れていないと判定された場合は、バスリクエスト信号を
出力した次のバスクロツタサイクルに於いてアドレスを
バスクロツタに同期してシステムバス17に出力し、ホ
ール113号が出力されていると判定された場合は、ホ
ールド信号が出力されなくなるのを待ち、ホールド信号
が出力されなくなったバスクロックサイクルの次のバス
クロックサイクルに於いてアドレスをバスクロックに同
期してシステムバス17.に出力する。
! Among It1 to It4, the device Wl with the highest priority requests data transfer to other devices W2 to W4,
The bus arbitration control circuit 9 determines whether a busy signal is output to the signal line 18-i corresponding to the other device to which data is transferred.
When it is determined that the busy signal is not output, the bus arbitration control circuit 9 outputs a bus request signal synchronized with the bus clock to the signal line 19-1, and a hold signal is output to the signal line 20. The bus arbitration control circuit 9 is made to determine whether the If the bus arbitration control circuit 9 determines that the hold signal is not output to the signal line 20, the system bus 17 synchronizes the address with the bus clock cycle in the next bus clock cycle after outputting the bus request signal. If it is determined that Hall No. 113 is being output, wait until the hold signal is no longer output, and then output the address in the next bus clock cycle after the bus clock cycle in which the hold signal is no longer output. System bus 17 in synchronization with the bus clock. Output to.

上記相手装置は装置1がアドレスを出力してから1バス
クロツクサイクルで所定バイト数のデータのデータ転送
を終了することができず、Nバスクロツタサイクル必要
な場合は、装置1よりシステムバス17にアドレスが出
力されてから、(N−1)バスクロックサイクルの間、
信号線20にホールド信号を出力する。
If the above-mentioned partner device is unable to complete the data transfer of the predetermined number of bytes in one bus clock cycle after device 1 outputs the address and requires N bus clock cycles, device 1 transfers the data to system bus 17. For (N-1) bus clock cycles after the address is output,
A hold signal is output to the signal line 20.

装置1は上記相手装置からホールド信号が出力されなか
った場合は、アドレスを出力した次のバスクロツタサイ
クルに於いて、1バイトデータのデータ転送を行なう。
When the hold signal is not output from the partner device, the device 1 transfers 1-byte data in the next bus clock cycle after outputting the address.

また、上記相手装置からホールド信号が出力された場合
は、ホールド信号が出力されなくなるまでアドレスを保
持し、ホールド信号が出力されなくなることにより、1
バイトデータのデータ転送を行なう、尚、複数バイトの
データ転送を行なう場合は、上述した処理を繰返し行な
う。
Additionally, when a hold signal is output from the partner device, the address is held until the hold signal is no longer output, and the hold signal is no longer output.
When transferring data of byte data, and when transferring data of multiple bytes, the above-described process is repeated.

また、プライオリティが2番目、3番目に高い装置2,
3は他の装置に対するデータ転送要求が発生すると、バ
ス調停制御回路10.11にデータ転送を行なう相手装
置対応の信号線18−1にビジー信号が出力されている
か否かを判定させ、ビジー信号が出力されていないと判
定されることにより、バスクロックに同期したバスリク
エスト信号をバス副体制御回路10.11から信号線1
9−2.19−3に出力させ、更にバス調停制御回路1
0.11に自装置2.3よりプライオリティの高い装置
から信号線19−jにバスリクエスト信号が出力されて
いるか否かの判定及び信号線20にホールド信号が出力
されているか否かの判定を行なわせる。そして、自装置
2.3よりプライオリティの高い装置からバスリクエス
ト信号が出力されておらず、且つ信号線20にホールド
信号が出力されていないと判定された場合は、バスリク
エスト信号を出力した次のバスクロンクサイクルに於い
てアドレスをバスクロフタに同期してシステムバス17
に出力する。
Also, the device 2 with the second and third highest priority,
3, when a data transfer request to another device occurs, the bus arbitration control circuit 10.11 determines whether a busy signal is output to the signal line 18-1 corresponding to the other device to which the data is transferred, and outputs the busy signal. is not output, the bus request signal synchronized with the bus clock is sent from the bus sub-control circuit 10.11 to the signal line 1.
9-2.19-3, and further bus arbitration control circuit 1
At 0.11, it is determined whether a bus request signal is output to the signal line 19-j from a device with a higher priority than the own device 2.3, and whether a hold signal is output to the signal line 20. Let them do it. If it is determined that a bus request signal is not output from a device with a higher priority than the own device 2.3, and a hold signal is not output to the signal line 20, the next device that outputs the bus request signal The system bus 17 synchronizes the address with the bus crofter during the bus clock cycle.
Output to.

また、プライオリティの高い装置からのバスリクエスト
信号とホールド信号との双方が出力されていると判定さ
れた場合及びプライオリティの高い装置からのバスリク
エスト信号のみが出力されていると判定された場合は次
の処理が行なわれる。
In addition, if it is determined that both the bus request signal and the hold signal from the high-priority device are being output, or if it is determined that only the bus request signal from the high-priority device is being output, the following processing is performed.

即ち、プライオリティの高い装置からのバスリクエスト
信号が出力されなくなってから2バスクロツクサイクル
目にホールド信号が出力されたか否かを判定し、ホール
ド信号が出力されていないと判定した場合はプライオリ
ティの高いバスリクエスト信号が出力されなくなってか
ら2バスクロンクサイクル目にアドレスを出力し、ホー
ルド信号が出力されたと判定された場合は、ホールド信
号が出力されなくなるまでの間にプライオリティの高い
装置からバスリクエスト信号が出力されたか否かを判定
する。ホールド信号が出力されなくなるまでの間にプラ
イオリティの高いVWからバスリクエスト信号が出力さ
れなかったと判定した場合はホールド信号が出力されな
くなったバスクロックサイクルの次のバスクロックサイ
クルでアドレスを出力し、プラ、イオリテイの高い装置
からバスリクエスト信号が出力されたと判定した場合は
バスリクエスト信号が出力されなくなってから2バスク
ロツクサイクル目にホールド信号が出力されたか否かを
判定し、判定結果に基づいて前述したと同様の処理を行
なう。
That is, it is determined whether a hold signal has been output in the second bus clock cycle after the bus request signal from the high priority device is no longer output, and if it is determined that the hold signal has not been output, the high priority device The address is output in the second bus clock cycle after the bus request signal is no longer output, and if it is determined that the hold signal has been output, the bus request signal is sent from the device with higher priority until the hold signal is no longer output. is output. If it is determined that the bus request signal has not been output from the high-priority VW until the hold signal is no longer output, the address is output in the next bus clock cycle after the bus clock cycle in which the hold signal is no longer output, and the bus request signal is output from the VW with a higher priority. If it is determined that a bus request signal has been output from a device with a high priority, it is determined whether a hold signal has been output in the second bus clock cycle after the bus request signal is no longer output, and based on the determination result, the above-mentioned process is performed. Perform the same processing as above.

また、ホールド信号のみが出力されていると判定された
場合は、次の処理が行なわれるml!IIち、ホールド
信号が出力されなくなるまでの間に、プライオリティの
高い装置からバスリクエスト信号が出力されたか否かを
判定し、出力されていないと判定された場合は、ホール
ド信号が出力されなくなったバスクロツタサイクルの次
のバスクロツタサイクルでアドレスを出力し、出力され
たと判定された場合は、前記したホールド信号とプライ
オリティの高い装置からのバスリクエスト18号とが出
力されていると判定された場合と同様の処理が行なわれ
る。
Furthermore, if it is determined that only the hold signal is being output, the following process is performed: ml! II. Until the hold signal is no longer output, it is determined whether a bus request signal has been output from a device with a high priority, and if it is determined that the bus request signal has not been output, the hold signal is no longer output. The address is output in the bus block cycle following the bus block cycle, and if it is determined that the address has been output, it is determined that the above-mentioned hold signal and bus request No. 18 from a device with a high priority have been output. The same processing is performed.

VtW2.3からシステムバス17にアドレスが出力さ
れることにより、相手装置は前述したと同様の処理を行
ない、装!2. 3は相手装置からホールド信号が出力
されたか否かによって前述したと同様の処理を行なう。
By outputting the address from VtW2.3 to the system bus 17, the other device performs the same process as described above, and the device! 2. 3 performs the same processing as described above depending on whether or not a hold signal is output from the partner device.

また、装置1〜4の内、最もプライオリティの低い装W
t4は、他の!a置に対するデータ転送要求が発生する
と、バス調停制御回路12にデータ転送を行なう相手装
置対応の信号線18−1にビジー信号が出力されている
か否かを判定させ、ビジー信号が出力されていないと判
定されることにより、バス調停制御回路12に自装置4
よりプライオリティの高い装置から信号*19− jに
バスリクエスト信号が出力されているか否かの判定及び
信号線20゛にホールド信号が出力されているか否かの
判定を行なわせる。そして、その判定結果に基づいて装
W14は前記した装置2.3と同様の処理を行ない、シ
ステムバスにアドレスを出力する。
Also, among devices 1 to 4, the device W with the lowest priority
t4 is another! When a data transfer request for location a occurs, the bus arbitration control circuit 12 determines whether or not a busy signal is being output to the signal line 18-1 corresponding to the destination device to which the data is to be transferred, and determines whether the busy signal is being output. As a result, the bus arbitration control circuit 12
A determination is made as to whether or not a bus request signal is being outputted to the signal *19-j from a device with a higher priority, and a determination is made as to whether or not a hold signal is being outputted to the signal line 20'. Then, based on the determination result, the device W14 performs the same processing as the device 2.3 described above, and outputs an address to the system bus.

装置i!4からシステムバス17にアドレスが出力され
ることにより、相手vtffは前述したと同様の処理を
行ない、装置2.3は相手装置からホールド信号が出力
されたか否かによって前述したと同様の処理を行なう。
Device i! By outputting the address from 4 to the system bus 17, the other device VTFF performs the same process as described above, and the device 2.3 performs the same process as described above depending on whether or not the hold signal is output from the other device. Let's do it.

今、例えば、装置1から装置3の内部制御メモリ7に対
するアクセス要求と、装置2から装Wi4の内部制御メ
モリ8に対するアクセス要求とが時刻t1に於いて同時
に発生しく第2図参照)、その時、装ff3.4対応の
信号線18−3 、18−4にビジー信号が出力されて
いないとする。但し、この場合、各装置は1バイトデー
タのデータ転送をアドレスが出力されてから1バスクロ
ツタサイクルで行なうことができ、信号線20にはホー
ルド信号が出力されないものとする。
Now, for example, if an access request from the device 1 to the internal control memory 7 of the device 3 and an access request from the device 2 to the internal control memory 8 of the device Wi 4 occur simultaneously at time t1 (see FIG. 2), then, Assume that no busy signal is output to the signal lines 18-3 and 18-4 compatible with the device FF3.4. However, in this case, it is assumed that each device can transfer 1-byte data in one bus clock cycle after the address is output, and that no hold signal is output to the signal line 20.

時刻t1に於いてアクセス要求が発生すると、装置1は
データ転送を行なう相手装置3対応の信号M18−3に
ビジー信号が出力されているか否かをバス調停制御回路
9に判定させ、装置2はデータ転送を行なう相手装置4
対応の信号線18−4にビジー信号が出力されているか
否かをバス調停制御回路10に判定させる。
When an access request occurs at time t1, device 1 causes bus arbitration control circuit 9 to determine whether a busy signal is output to signal M18-3 corresponding to partner device 3 to which data is to be transferred, and device 2 Partner device 4 for data transfer
The bus arbitration control circuit 10 is caused to determine whether a busy signal is output to the corresponding signal line 18-4.

コノ場合、装置3.4対応の信号vA18−3.18−
4にはビジー信号が出力されていないので、装置1.2
はそれぞれ時刻t2に於いて第2図(bl、 (C1に
示すように、バス調停制御回路9.10から信号線19
−1 、19−2にバスリクエスト信号を出力させる。
In the case of Kono, signal vA18-3.18- corresponding to device 3.4
Since no busy signal is output to device 4, device 1.2
As shown in FIG. 2 (bl, (C1) at time t2, the signal line 19
-1 and 19-2 to output a bus request signal.

このバスリクエスト信号は同図ia+に示すバスクロッ
クに同期している。
This bus request signal is synchronized with the bus clock shown in ia+ in the figure.

vt装置は時刻t2に於いて信号線19−1にバスリク
エスト信号を出力すると、次のバスクロツタサイクル(
時刻【3)に於いて第2図+dlに示すように、システ
ムバス17にアドレスA、を出力し、次のバスクロンク
サイクル(時刻t4)に於いて同図イe)に示すように
、装置3との間でデータDlffのデータ転送を行なう
、また、装置2は時刻t2に於いて信号線19−2にバ
スリクエスト信号を出力すると、バス調停制御回路10
に、自装置2よりプライオリティの高い装置lから信号
線19−1にバスリクエスト信号が出力されているか否
かの判定及び信号線20にホールド信号が出力されてい
るか否かの判定を行なわせる。この場合、装置1からバ
スリクエスト信号が出力されているので、装置2は装置
1からバスリクエスト信号が出力されなくなるのを待ち
、同図(diに示すように、時刻t4に於いて相手装置
のアドレスA4をシステムバス17に出力し、その次の
バスクロックサイクル(時刻t5)に於いて同図(e)
に示すように、相手装置4との間でデータD!4のデー
タ転送を行なう。
When the vt device outputs a bus request signal to the signal line 19-1 at time t2, it starts the next bus clock cycle (
At time [3], address A is output to the system bus 17 as shown in Figure 2+dl, and in the next bus clock cycle (time t4), the device 3, and when the device 2 outputs a bus request signal to the signal line 19-2 at time t2, the bus arbitration control circuit 10
Then, a determination is made as to whether a bus request signal is being outputted to the signal line 19-1 from the device 1 having a higher priority than the own device 2, and a determination is made as to whether a hold signal is being outputted to the signal line 20. In this case, since the bus request signal is being output from the device 1, the device 2 waits until the bus request signal is no longer output from the device 1, and as shown in FIG. Address A4 is output to the system bus 17, and in the next bus clock cycle (time t5), as shown in FIG.
As shown in , data D! is exchanged with the partner device 4. 4 data transfer is performed.

このように、複数の装置から同時に他の装置に対するデ
ータ転送要求が発生し、その時データ転送を行なう各相
手装置からビジー信号が出力されていなければ、プライ
オリティの高い装置から順番にデータ転送が行なわれる
In this way, if data transfer requests are issued from multiple devices to other devices at the same time, and if a busy signal is not output from each partner device to which data is to be transferred at that time, data transfer is performed in order from the device with the highest priority. .

複数の!J置から同時に他の装置に対するデータ転送要
求が発生し、その時、相手装置がビジー信号を出力して
いなければ、プライオリティの高い装置から順番社デー
タ転送が行なわれるが、相手装置がビジー信号を出力し
ている場合は次のような処理が行なわれる。
plural! If a data transfer request is made to another device at the same time from the J device, and the other device does not output a busy signal at that time, data transfer will be performed from the device with higher priority, but the other device will output a busy signal. If so, the following processing is performed.

今、例えば、装置1から装r!13の内部制御メモI7
7に対するアクセス要求と装置2から装置4の内部メモ
リ8に対するアクセス要求とが時刻tllに於いて同時
に発生しく第3図参照)、その時、第3図+(1)に示
すように、装置3内のビジー信号生成回路15がビジー
信号を信号線1日−3に出力していたとする。但し、他
の装置1,2.4のビジー信号生成回路13.14.1
6はビジー信号を出力しておらず、1バイトデータのデ
ータ転送はアドレスが出力されてからエバスフロックサ
イクルで終了し、信号線20にはホールド信号が出力さ
れないものとする。
Now, for example, from device 1 to r! 13 internal control memo I7
7 and an access request from the device 2 to the internal memory 8 of the device 4 occur simultaneously at time tll (see FIG. 3), and at that time, as shown in FIG. Assume that the busy signal generating circuit 15 of 1 is outputting a busy signal to the signal line 1-3. However, the busy signal generation circuit 13.14.1 of other devices 1 and 2.4
6 does not output a busy signal, the data transfer of 1-byte data ends in an ebus block cycle after the address is output, and no hold signal is output to the signal line 20.

時刻tllに於いてアクセス要求が発生すると、装置l
はデータ転送を行なう相手装置3対応の信号線18−3
にビジー信号が出力されているか否かをバス調停制御回
路9に判定させ、装置2はデータ転送を行なう相手装置
4対応の信号!1B−4にビジー信号が出力されている
か否かをバス調停制御回路10に判定させる。
When an access request occurs at time tll, device l
is the signal line 18-3 corresponding to the partner device 3 that performs data transfer.
The bus arbitration control circuit 9 determines whether or not a busy signal is output to the device 2, and the device 2 sends a signal corresponding to the partner device 4 to which data is to be transferred! The bus arbitration control circuit 10 is caused to determine whether a busy signal is output to 1B-4.

この場合、装置3対応の信号線18−3にはビジー信号
が出力されており、装置4対応の信号線18−4にはビ
ジー信号が出力されていないので、装置lは信号線18
−3にビジー信号が出力されなくなるのを待ち、装置2
は時刻t12に於いて第3図+c+に示すように、バス
調停制御回路10から信号線19−2にバスリクエスト
信号を出力させる。このバスリクエスト信号は同図(+
1)に示すバスクロックに同期している。
In this case, a busy signal is output to the signal line 18-3 corresponding to device 3, and no busy signal is output to the signal line 18-4 corresponding to device 4, so device l
Wait until the busy signal is no longer output to device 2.
At time t12, as shown in FIG. 3+c+, the bus arbitration control circuit 10 outputs a bus request signal to the signal line 19-2. This bus request signal is shown in the same figure (+
It is synchronized with the bus clock shown in 1).

装置2はバスリクエスト信号を信号線19−2に出力す
ると、バス調停制御回路10に、自装置2よリプライオ
リティの高い装置1から信号線19−1にバスリクエス
ト信号が出力されているか否かの判定及び信号線20に
ホールド信号が出力されているか否かの判定を行なわせ
る。この場合、装置lはバスリクエスト信号を出力して
おらず、信号線20にはホールド信号が出力されていな
いので、装置2は時刻L13に於いて第3図telに示
すように、システムバス17にアドレスA4を出力し、
次のバスクロツタサイクル(時刻t14)に於いて同図
(「)に示すように、相手装置4との間でデータD!4
のデータ転送を行なう。
When the device 2 outputs a bus request signal to the signal line 19-2, the bus arbitration control circuit 10 determines whether a bus request signal is being output to the signal line 19-1 from the device 1, which has a higher priority than the device 2. and whether or not a hold signal is being output to the signal line 20. In this case, since the device 1 is not outputting the bus request signal and the hold signal is not being output to the signal line 20, the device 2 is connected to the system bus 17 at time L13 as shown in FIG. Output address A4 to
In the next bus cycle (time t14), data D!
data transfer.

また、装置1は時刻t13に於いて相手装置3からビジ
ー43号が出力されなくなると、第3図(alに示すバ
スクロックに同期して同図(blに示すようにバスリク
エスト信号を信号119−1に出力する。
Further, when the busy number 43 is no longer output from the partner device 3 at time t13, the device 1 transmits the bus request signal to the signal 119 as shown in FIG. 3 (bl) in synchronization with the bus clock shown in FIG. 3 (al). Output to -1.

バスリクエスト信号を出力すると、装置1はバス調停制
御回路9に信号線20にホールド信号が出力されている
か否かを判定させる。この場合、ホールド信号は出力さ
れていないので、装置1は時刻t14に於いて同図(e
lに示すように、システムバス17にアドレスA、を出
力し、次のバスクロックサイクル(時刻t15)に於い
て同図(flに示すように、装置3との間でデータDI
3のデータ転送を行なう。
When the bus request signal is output, the device 1 causes the bus arbitration control circuit 9 to determine whether a hold signal is output to the signal line 20 or not. In this case, since the hold signal is not output, the device 1 at time t14 (e
As shown in FIG. 1, address A is output to the system bus 17, and in the next bus clock cycle (time t15), data DI is sent to and from the device 3 as shown in FIG.
3 data transfer is performed.

このように、プライオリティの高い装置1とプライオリ
ティの低い装置2とに同時にアクセス要求が発生しても
、プライオリティの高い装置1の相手装置i!3がビジ
ー信号を出力していれば、プライオリティの低い装置2
にシステムバスの使用権が与えられるので、システムバ
スの転送レートを高いものとすることができる。
In this way, even if access requests occur simultaneously in device 1 with a high priority and device 2 with a low priority, the partner device i of the device 1 with a high priority! If device 3 outputs a busy signal, device 2 with lower priority
Since the right to use the system bus is given to the system bus, the transfer rate of the system bus can be made high.

以上の説明は各’ATLが1バイトデータのデータ転送
をアドレスが出力されてから1バスクロ、クサイクルで
終了でき、信号線20にホールド信号が出力されない場
合についてのものであるが、1バイトデータのデータ転
送をアドレスが出力されてからIバスクロックサイクル
で終了できないVi’lZがあり、信号線20にホール
ド信号が出力された場合の動作は次のようになる。
The above explanation is for the case where each 'ATL can complete the data transfer of 1 byte data in 1 bus cycle after the address is output and no hold signal is output to the signal line 20. There is a Vi'lZ in which the data transfer cannot be completed within an I bus clock cycle after the address is output, and when a hold signal is output to the signal line 20, the operation is as follows.

今、例えば、装置1と装置3との間で1バイトデータの
データ転送を行なうのに、アドレスを出力してから2バ
スクロツタが必要であるとした場合に、装置1から装置
3の内部制御メモリ7に対するアクセス要求と、装置2
から装置4の内部制御メモリ8に対するアクセス7求と
が時刻t21に於いて同時に発生したとする(第4図参
照)。但し、この場合、信号線18−1〜18−4には
ビジー信号が出力されていないものとする。
Now, for example, in order to transfer 1 byte data between device 1 and device 3, two bus clockers are required after outputting the address. 7 and the access request for device 2
Assume that requests for access to the internal control memory 8 of the device 4 occur simultaneously at time t21 (see FIG. 4). However, in this case, it is assumed that no busy signal is output to the signal lines 18-1 to 18-4.

時刻t21に於いてアクセス要求が発生すると、装置1
はデータ転送を行なう相手装置3対応の信号線18−3
にビジー信号が出力されているか否かをバス調停制御回
路9に判定させ、装置2はデータ転送を行なう相手装置
4対応の信号線18−4にビジー信号が出力されている
か否かをバス調停制御回路lOに判定させる。
When an access request occurs at time t21, device 1
is the signal line 18-3 corresponding to the partner device 3 that performs data transfer.
The bus arbitration control circuit 9 determines whether or not a busy signal is output to the device 2, and the device 2 determines whether or not the busy signal is output to the signal line 18-4 corresponding to the partner device 4 to which data is to be transferred. Let the control circuit IO make the determination.

この場合、装置3.4対応の信号線18−3.18−4
にはビジー信号が出力されていないので、装置1,2は
それぞれ時刻t22に於いて第4図(b)。
In this case, signal line 18-3.18-4 corresponding to device 3.4
Since no busy signal is output to , devices 1 and 2 each operate at time t22 as shown in FIG. 4(b).

(C1に示すように、バス調停制御回路9,10から信
号線19−1 、19−2にバスリクエスト信号を出力
させる。このバスリクエスト信号は同図(alに示すバ
スクロツタに同期している。
(As shown in C1, a bus request signal is output from the bus arbitration control circuits 9 and 10 to the signal lines 19-1 and 19-2. This bus request signal is synchronized with the bus clock shown in FIG. 1 (al).

装置1は時刻t22に於いて信号線19−1にバスリク
エスト信号を出力すると、次のバスクロツタサイクル(
時刻t23)に於いて第2図fd+に示すように、シス
テムバス17にアドレスA、を出力する。
When the device 1 outputs a bus request signal to the signal line 19-1 at time t22, it starts the next bus clock cycle (
At time t23), address A is output to the system bus 17 as shown in fd+ in FIG.

相手装置3は前述したように、1バイトデータのデータ
転送にアドレスが出力されてから2バスクロツクサイク
ルを必要とするものであるから、同図telに示すよう
に、時刻t24から1バスクロツタサイクルの間、信号
線20にホールド信号を出力する。装置1はホールド信
号が出力されなくなるまで、アドレスA、を出力し、ホ
ールド信号が出力されなくなると、同図(flに示すよ
うに装置3との間でデータ[)+iのデータ転送を行な
う。また、装置2は時刻t22に於いて信号線19−2
にバスリクエスト信号を出力すると、バス調停制御回路
10に、自装置2よりプライオリティの高い装置1から
信号線19−1にバスリクエスト信号が出力されている
か否かの判定及び信号線20にホールド信号が出力され
ているか否かの判定を行なわせる。この場合、時刻12
2〜t23の間は装置1からのバスリクエスト信号が出
力されており、時刻t24〜t25の間はホールド信号
が出力されているので、装置2は同図fd+に示すよう
に時刻t25に於いて相手装置4のアドレスA4を出力
し、次のバスクロツタサイクル(時刻t26)に於いて
同図fflに示すように、相手袋W4との間でデータD
zaのデータ転送を行なう。
As mentioned above, the destination device 3 requires two bus clock cycles after the address is output to transfer 1-byte data, so as shown in tel in the figure, one bus clock cycle is required from time t24. During this period, a hold signal is output to the signal line 20. The device 1 outputs the address A until the hold signal is no longer output, and when the hold signal is no longer output, the device 1 transfers data [)+i with the device 3 as shown in FIG. Further, the device 2 connects the signal line 19-2 at time t22.
When a bus request signal is output to the bus arbitration control circuit 10, the bus arbitration control circuit 10 determines whether a bus request signal is output from the device 1 having a higher priority than the own device 2 to the signal line 19-1, and outputs a hold signal to the signal line 20. It is determined whether or not is being output. In this case, time 12
Since the bus request signal from device 1 is output from time 2 to t23, and the hold signal is output from time t24 to t25, device 2 outputs the bus request signal from time t25 as shown in fd+ in the figure. The address A4 of the partner device 4 is output, and in the next bus clock cycle (time t26), data D is exchanged with the partner device W4 as shown in ffl in the figure.
za data transfer is performed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、システムバスをアクセ
スする、またはシステムバスからアクセスされる各装置
に自装置がビジー状態であることを示すビジー信号をシ
ステムバスに出力するビジー信号生成回路を設け、バス
の使用要求が発生した場合、データ転送を行なう相手装
置内のビジー信号生成回路がビジー信号を出力していな
いことを条件としてバスリクエスト信号を出力するよう
にしたものであり、システムバス使用権のプライオリテ
ィの高い装置と低い装置とに同時にシステムバス使用要
求が発生しても、プライオリティの高い装置のビジー信
号生成回路がビジー信号を出力していれば、プライオリ
ティの高い装置はバスリクエスト信号を出力できず、プ
ライオリティの低い装置が優先的にシステムバスをアク
セスすることができるので、バスの転送レートを向上で
きる効果がある。
As described above, the present invention provides each device that accesses the system bus or is accessed from the system bus with a busy signal generation circuit that outputs a busy signal to the system bus indicating that the device itself is in a busy state. , when a request to use the bus occurs, a bus request signal is output on the condition that the busy signal generation circuit in the other device to which data is transferred is not outputting a busy signal, and the system bus is not used. Even if system bus usage requests occur simultaneously in a device with a high priority and a device with a low priority, if the busy signal generation circuit of the device with a high priority outputs a busy signal, the device with a high priority will not receive a bus request signal. Since a device that cannot output data and has a low priority can preferentially access the system bus, it has the effect of improving the bus transfer rate.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例のブロック図及び、第2図〜第
4図は第1図の動作説明図である。 図に於いて、1〜4・・・装置、5〜8・・・内部制御
メモリ、9〜12・・・バス調停制御回路、13〜16
・・・ビジー信号生成回路、17・・・システムバス、
18−1〜18− 4  、  19− 1 〜19−
 3  、 .20 ・・・イ言号線。 第1図の動作説明図 第2図 第1図の動作説明図 第3図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 to 4 are explanatory diagrams of the operation of FIG. 1. In the figure, 1-4... Device, 5-8... Internal control memory, 9-12... Bus arbitration control circuit, 13-16
... Busy signal generation circuit, 17... System bus,
18-1 to 18-4, 19-1 to 19-
3. 20...A word line. Figure 1 is an explanatory diagram of the operation. Figure 2 is an explanatory diagram of the operation in Figure 1. Figure 3 is an explanatory diagram of the operation.

Claims (1)

【特許請求の範囲】 自装置よりシステムバス使用権のプライオリティの低い
装置に対するシステムバス使用権の同時獲得を抑止する
ために前記システムバスにバスリクエスト信号を送出し
たとき、自装置よりシステムバス使用権のプライオリテ
ィの高い装置からバスリクエスト信号が出力されていな
いことを一つの条件として前記システムバスを獲得し該
システムバスを介して他装置とデータ転送を行なう複数
の装置を含むシステムに於いて、 各装置にそれぞれ自装置がビジー状態であることを示す
ビジー信号を前記システムバスに出力するビジー信号生
成回路を持たせ、 各装置は、データ転送を行なう相手装置に含まれるビジ
ー信号生成回路からビジー信号が出されていないことを
条件に、前記バスリクエスト信号を送出することを特徴
とするシステムバスの制御方式。
[Scope of Claims] When a bus request signal is sent to the system bus in order to prevent a device having a lower priority of the system bus usage right from acquiring the system bus usage right at the same time, the own device receives the system bus usage right from the own device. In a system including a plurality of devices that acquire the system bus and perform data transfer with other devices via the system bus, each Each device is provided with a busy signal generation circuit that outputs a busy signal indicating that it is in a busy state to the system bus, and each device receives the busy signal from the busy signal generation circuit included in the other device to which data is to be transferred. A system bus control method, characterized in that the bus request signal is transmitted on the condition that the bus request signal is not issued.
JP32567487A 1987-12-23 1987-12-23 Control system for system bus Pending JPH01166242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32567487A JPH01166242A (en) 1987-12-23 1987-12-23 Control system for system bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32567487A JPH01166242A (en) 1987-12-23 1987-12-23 Control system for system bus

Publications (1)

Publication Number Publication Date
JPH01166242A true JPH01166242A (en) 1989-06-30

Family

ID=18179449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32567487A Pending JPH01166242A (en) 1987-12-23 1987-12-23 Control system for system bus

Country Status (1)

Country Link
JP (1) JPH01166242A (en)

Similar Documents

Publication Publication Date Title
RU2377729C2 (en) Method and device for accessing message memory of communication module
US5392422A (en) Source synchronized metastable free bus
RU2401452C2 (en) Method for data transmission in communication system link messages as well as communication module, communication system subscriber unit and communication system for this method implementation
JPH02227766A (en) Data transfer apparatus for digital computer
KR20070039580A (en) Message administrator and method for controlling access to data of the message memory of a communications component
JPH08255124A (en) System and method for data processing
RU2398357C2 (en) Method of saving messages in messages memory and corresponding messages memory
US6131114A (en) System for interchanging data between data processor units having processors interconnected by a common bus
US5067075A (en) Method of direct memory access control
JP3952226B2 (en) Bus communication system
JPH0652900B2 (en) Multi-master communication bus
JPH01166242A (en) Control system for system bus
WO2021089430A1 (en) Bus system and method for operating a bus system
WO1995020193A1 (en) Improved bus protocol using separate clocks for arbitration and data transfer
JPH01166243A (en) Control system for system bus
JPH08180027A (en) Arbitration circuit
JPH04119447A (en) Access system
JP3460640B2 (en) Bus converter
KR100289578B1 (en) Mediation Device of Packet Memory in High-capacity Communication Processing System
JPH077954B2 (en) Control device
JPH02211571A (en) Information processor
JPS62128348A (en) Control circuit for input/output of multiple data
JPS63300348A (en) Microprocessor system
JPH06149749A (en) Data transfer system among plural processors
JPS5848135A (en) Data bus control system