JPH07230421A - Information processing equipment - Google Patents

Information processing equipment

Info

Publication number
JPH07230421A
JPH07230421A JP6020152A JP2015294A JPH07230421A JP H07230421 A JPH07230421 A JP H07230421A JP 6020152 A JP6020152 A JP 6020152A JP 2015294 A JP2015294 A JP 2015294A JP H07230421 A JPH07230421 A JP H07230421A
Authority
JP
Japan
Prior art keywords
bus
system bus
master
bus master
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6020152A
Other languages
Japanese (ja)
Other versions
JP3458439B2 (en
Inventor
Teruyuki Fukaya
輝之 深谷
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 JP02015294A priority Critical patent/JP3458439B2/en
Publication of JPH07230421A publication Critical patent/JPH07230421A/en
Application granted granted Critical
Publication of JP3458439B2 publication Critical patent/JP3458439B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

(57)【要約】 【目的】 バスマスタの処理待ち状態を減少させて、全
体としての処理速度を向上させることのできる作業性に
優れた情報処理装置の提供を目的とする。 【構成】 内部メモリー17と、処理速度が低速の入出
力部18と、第1,第2のバスマスタ15,16をシス
テムバス8から切り離すための第1,第2のバスバッフ
ァ20,21と、入出力部18のアドレスを記憶するア
ドレス記憶部22と、第1,第2のバスマスタ15,1
6の競合が生じたか判定する競合判定部23と、第1,
第2のバスマスタ15,16がアクセスしているアドレ
スがアドレス記憶部22に記憶されているものと等しい
か比較する比較部24と、一致していた場合は第1,第
2のバスマスタ15,16を他の第1,第2のバスマス
タ15,16にシステムバス8の使用権を与える高速処
理優先実行部25と、を備えた構成からなる。
(57) [Summary] [Purpose] An object of the present invention is to provide an information processing apparatus with excellent workability that can reduce the processing waiting state of a bus master and improve the overall processing speed. [Configuration] An internal memory 17, an input / output unit 18 having a low processing speed, first and second bus buffers 20 and 21 for disconnecting the first and second bus masters 15 and 16 from the system bus 8, An address storage unit 22 that stores the address of the input / output unit 18, and first and second bus masters 15 and 1
6, a conflict determination unit 23 that determines whether a conflict has occurred,
If the addresses accessed by the second bus masters 15 and 16 are the same as those stored in the address storage unit 22 and the comparison unit 24 that compares the addresses, the first and second bus masters 15 and 16 are compared. And a high-speed processing priority execution unit 25 for giving the right to use the system bus 8 to the other first and second bus masters 15 and 16.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は中央演算処理装置(以下
CPUと略す),ダイレクトメモリアクセス(以下DM
Aと略す)機構等からなる2以上のバスマスタによって
システムバスを共用するマルチバスマスタ方式の情報処
理装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a central processing unit (hereinafter abbreviated as CPU), direct memory access (hereinafter DM).
The present invention relates to a multi-bus master system information processing apparatus in which a system bus is shared by two or more bus masters each having a mechanism or the like.

【0002】[0002]

【従来の技術】近年、CPUの処理速度の向上に伴い、
このCPUが接続されるシステムバスにおけるデータ転
送速度を向上させて、情報処理装置全体での処理速度を
向上させることが種々行われている。
2. Description of the Related Art In recent years, with the increase in CPU processing speed,
Various improvements have been made to improve the data transfer speed in the system bus to which the CPU is connected to improve the processing speed of the entire information processing apparatus.

【0003】以下に従来の情報処理装置について図面を
参照しながら説明する。図6は従来の情報処理装置にお
ける回路ブロック図である。1は後述のシステムバス8
の使用権を要求するCPUやDMA機構等からなる第1
のバスマスタ、2は第1のバスマスタ1と同様な第2の
バスマスタ、3はシステムバス8の使用権を要求したバ
スマスタにシステムバス8を使用することを許可するバ
スアービタ、4は後述のシステムバス8と第1のバスマ
スタ1との切り離しを行うための第1のバスバッファ、
5は後述のシステムバス8と第2のバスマスタ2との切
り離しを行うための第2のバスバッファ、6はRAM,
ROM等からなりデータ等を記憶する内部記憶装置、7
はプリンタ(図示せず)等の機器を情報処理装置に接続
するための入出力装置、8は各バスマスタや内部記憶装
置6及び入出力装置7等を接続してデータの転送を行う
ためのシステムバス、9は第1のバスマスタ1がシステ
ムバス8の使用権を要求するための第1のバスリクエス
ト信号、10は第1のバスマスタ1がシステムバス8の
使用権を獲得したことを示す第1のバスグラント信号、
11は第1のバスマスタ1がシステムバス8を使用して
いることを示す第1のバスアクノーリッジ信号、12は
第2のバスマスタ2がシステムバス8の使用権を要求す
るための第2のバスリクエスト信号、13は第2のバス
マスタ2がシステムバス8の使用権を獲得したことを示
す第2のバスグラント信号、14は第2のバスマスタ2
がシステムバス8を使用していることを示す第2のバス
アクノーリッジ信号である。
A conventional information processing apparatus will be described below with reference to the drawings. FIG. 6 is a circuit block diagram of a conventional information processing apparatus. 1 is a system bus 8 described later
First, which consists of a CPU and a DMA mechanism that requests the right to use
Bus master, 2 is a second bus master similar to the first bus master 1, 3 is a bus arbiter that permits a bus master that has requested the right to use the system bus 8 to use the system bus 8, and 4 is a system bus 8 to be described later. And a first bus buffer for disconnecting the first bus master 1 from the
Reference numeral 5 is a second bus buffer for disconnecting a system bus 8 and second bus master 2 described later, 6 is a RAM,
Internal storage device 7 including a ROM and the like for storing data, etc.
Is an input / output device for connecting a device such as a printer (not shown) to the information processing device, and 8 is a system for connecting the bus masters, the internal storage device 6, the input / output device 7, etc. to transfer data. Bus, 9 is a first bus request signal for the first bus master 1 to request the right to use the system bus 8, and 10 is a first bus request signal indicating that the first bus master 1 has acquired the right to use the system bus 8. Bus grant signal,
Reference numeral 11 is a first bus acknowledge signal indicating that the first bus master 1 is using the system bus 8, and 12 is a second bus for the second bus master 2 to request the right to use the system bus 8. Request signal, 13 is a second bus grant signal indicating that the second bus master 2 has acquired the right to use the system bus 8, and 14 is the second bus master 2.
Is a second bus acknowledge signal indicating that the system bus 8 is being used.

【0004】以上のように構成された従来の情報処理装
置について、以下その動作を説明する。図7は従来の情
報処理装置におけるフローチャートであり、図8は従来
の情報処理装置におけるタイミングチャートである。
The operation of the conventional information processing apparatus configured as described above will be described below. FIG. 7 is a flowchart in the conventional information processing apparatus, and FIG. 8 is a timing chart in the conventional information processing apparatus.

【0005】初めに、図8に示すように、システムバス
8が未使用状態の時に、第1のバスマスタ1が、システ
ムバス8を獲得して、入出力装置7にアクセスを要求す
るために第1のバスリクエスト信号9を出力する(S
1)。次に、現在、システムバス8は未使用中なので、
バスアービタ3が第1のバスマスタ1にシステムバス8
の使用権の獲得を許可して、第1のバスグラント信号1
0を出力する(S2)。次に、第1のバスマスタ1はシ
ステムバス8を使用していることを示す第1のバスアク
ノーリッジ信号11を出力する(S3)。ここで、シス
テムバス8の使用権を獲得した第1のバスマスタ1は、
入出力装置7へのアクセスを開始する。次に、第2のバ
スマスタ2が内部記憶装置6へアクセスするために、第
2のバスリクエスト信号12を出力する(S4)。ここ
で、第2のバスマスタ2は、システムバス8を第1のバ
スマスタ1が使用しているために、この入出力装置7で
の処理が終了するのを待ち続ける。次に、第1のバスマ
スタ1の処理が終了したか判断するために、第1のバス
アクノーリッジ信号11が解除されたか判別する(S
5)。Noである場合は、第1のバスアクノーリッジ信
号11の解除を待機し、Yesである場合は、バスアー
ビタ3が第2のバスマスタ2にシステムバス8の使用権
を獲得することを許可する第2のバスグラント信号13
を出力する(S6)。次に、第2のバスマスタ2はシス
テムバス8を使用していることを示す第2のバスアクノ
ーリッジ信号14を出力する(S7)。この時点で、シ
ステムバス8の使用権を獲得した第2のバスマスタ2
は、内部記憶装置6へのアクセスを開始する。
First, as shown in FIG. 8, when the system bus 8 is in an unused state, the first bus master 1 acquires the system bus 8 and requests the I / O device 7 for access. The bus request signal 9 of 1 is output (S
1). Next, since the system bus 8 is currently unused,
The bus arbiter 3 transfers the system bus 8 to the first bus master 1.
1st bus grant signal 1
0 is output (S2). Next, the first bus master 1 outputs the first bus acknowledge signal 11 indicating that the system bus 8 is being used (S3). Here, the first bus master 1 that has acquired the right to use the system bus 8
Access to the input / output device 7 is started. Next, the second bus master 2 outputs the second bus request signal 12 in order to access the internal storage device 6 (S4). Here, since the first bus master 1 is using the system bus 8, the second bus master 2 continues to wait for the processing in the input / output device 7 to end. Next, in order to determine whether the processing of the first bus master 1 is completed, it is determined whether the first bus acknowledge signal 11 is released (S).
5). If No, the system waits for the release of the first bus acknowledge signal 11, and if Yes, the bus arbiter 3 permits the second bus master 2 to acquire the right to use the system bus 8. Bus grant signal 13
Is output (S6). Next, the second bus master 2 outputs the second bus acknowledge signal 14 indicating that the system bus 8 is being used (S7). At this point, the second bus master 2 that has acquired the right to use the system bus 8
Starts access to the internal storage device 6.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、1つのバスマスタが、内部メモリー等より
も低速の入出力装置等をアクセスしている場合に、他の
バスマスタがシステムバス使用権の獲得を要求すると、
システムバスの使用権を持つバスマスタによる所要時間
の長い処理が終了するまでの間、システムバスの使用権
を要求したバスマスタが処理待ち状態になるために、情
報処理装置全体での処理時間が増大して作業性に欠ける
という問題点を有していた。
However, in the above-mentioned conventional configuration, when one bus master accesses an input / output device or the like having a speed lower than that of the internal memory or the like, another bus master acquires the right to use the system bus. Requesting
Until the bus master that has the right to use the system bus completes a long-time process, the bus master that requested the right to use the system bus waits for processing, increasing the processing time of the entire information processing device. However, there is a problem in that workability is lacking.

【0007】本発明は上記従来の問題点を解決するもの
で、バスマスタの処理待ち状態を減少させて、全体とし
ての処理速度を向上させることのできる作業性に優れた
情報処理装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and provides an information processing apparatus excellent in workability which can reduce the processing waiting state of a bus master and improve the processing speed as a whole. With the goal.

【0008】[0008]

【課題を解決するための手段】この目的を達成するため
に本発明の情報処理装置は、CPU等からなる2以上の
バスマスタと、バスマスタによって共用される2以上の
バススレーブと、バスマスタとバススレーブとを接続す
るシステムバスと、を備えた情報処理装置であって、バ
ススレーブを構成する内部メモリーと、バススレーブを
構成し内部メモリーよりも低速の入出力部と、各バスマ
スタとシステムバスとの間に各々接続されたバスバッフ
ァと、入出力部等のシステムバス上のアドレスを記憶す
るアドレス記憶部と、バスマスタがシステムバスを使用
している際に他のバスマスタからシステムバスの使用が
要求されて競合が生じたか判定する競合判定部と、競合
判定部で競合が生じたと判定された場合にシステムバス
を使用しているバスマスタがアクセスしているシステム
バス上のアドレスがアドレス記憶部に記憶されているア
ドレスと等しいか比較する比較部と、比較部での比較結
果が一致していた場合にバスバッファによってシステム
バスを使用しているバスマスタを切り離すとともにシス
テムバスの使用を要求したバスマスタにシステムバスの
使用権を与える高速処理優先実行部と、を備えた構成を
有している。
In order to achieve this object, an information processing apparatus according to the present invention comprises two or more bus masters composed of a CPU and the like, two or more bus slaves shared by the bus masters, a bus master and a bus slave. An information processing apparatus comprising: a system bus for connecting a bus, an internal memory that forms a bus slave, an input / output unit that forms a bus slave and has a lower speed than the internal memory, and each bus master and the system bus. Bus buffers connected between each other, an address storage unit that stores addresses on the system bus such as an input / output unit, and when the bus master is using the system bus, other bus masters request the use of the system bus. Contention determination unit that determines whether a conflict has occurred, and if the contention determination unit determines that a contention has occurred, The system bus is used by the comparison unit that compares the address accessed by the master on the system bus with the address stored in the address storage unit, and if the comparison result of the comparison unit matches. And a high-speed processing priority execution unit that gives the right to use the system bus to the bus master that has requested the use of the system bus.

【0009】ここで、バスマスタとしては、CPU,D
MA機構等があげられる。
Here, as the bus master, CPU, D
MA mechanism and the like.

【0010】[0010]

【作用】この構成によって、アドレス記憶部が、入出力
部等の処理速度の遅いバススレーブのシステムバス上で
のアドレスを記憶し、競合判定部が、あるバスマスタが
システムバスを使用している際に他のバスマスタがシス
テムバスの使用権を要求して競合が生じたか判定し、比
較部が、競合判定部で競合が生じたと判定された際にシ
ステムバスを使用しているバスマスタがアクセスしてい
るシステムバス上のアドレスをアドレス記憶部に記憶さ
れているアドレスと比較し、この両者が一致していた場
合に、高速処理優先実行部が、現在システムバスを使用
して低速の入出力部等をアクセスしているバスマスタ
を、バスバッファを用いてシステムバスから切り離し、
システムバスの使用権を要求してきた他のバスマスタに
システムバスの使用権を与えるので、他のバスマスタに
よる処理を優先して実行させて、バスマスタの処理待ち
状態を減少させることができ、全体としての処理速度を
向上させることができる。
With this configuration, when the address storage unit stores the address on the system bus of the bus slave having a slow processing speed such as the input / output unit, the contention determination unit determines when a certain bus master is using the system bus. Another bus master requests the right to use the system bus to determine whether a conflict has occurred, and when the comparison unit determines that a conflict has occurred, the bus master using the system bus accesses the bus. The address on the system bus that is being used is compared with the address stored in the address storage unit, and if the two match, the high-speed processing priority execution unit is currently using the system bus, and the low-speed input / output unit, etc. The bus master that is accessing the
Since the system bus usage right is given to another bus master that has requested the usage right of the system bus, the processing by the other bus master can be preferentially executed, and the processing waiting state of the bus master can be reduced. The processing speed can be improved.

【0011】[0011]

【実施例】以下本発明の一実施例における情報処理装置
について、図面を参照しながら説明する。図1は本発明
の一実施例における情報処理装置の機能ブロック図であ
り、図2は本発明の一実施例における情報処理装置の回
路ブロック図である。1は第1のバスマスタ、2は第2
のバスマスタ、3はバスアービタ、4は第1のバスバッ
ファ、5は第2のバスバッファ、6は内部記憶装置、7
は入出力装置、8はシステムバス、9は第1のバスリク
エスト信号、10は第1のバスグラント信号、11は第
1のバスアクノーリッジ信号、12は第2のバスリクエ
スト信号、13は第2のバスグラント信号、14は第2
のバスアクノーリッジ信号であり、これらは従来例と同
様なものなので、同一の符号を付し説明を省略する。1
5はシステムバス8の使用権を持つ第1のバスマスタ、
16は第1のバスマスタ15と同様な第2のバスマス
タ、17は第1のバスマスタ15または第2のバスマス
タ16によってアクセスされる内部メモリー、18は第
1のバスマスタ15または第2のバスマスタ16によっ
てアクセスされる内部メモリー17よりも低速な入出力
部、19はシステムバス8と入出力部18との間に接続
されてシステムバス8上の情報を一時的に記憶する入出
力バスラッチ部、20は第1のバスマスタ15とシステ
ムバス8との間に接続されて第1のバスマスタ15をシ
ステムバス8から切り離すための第1のバスバッファ、
21は第2のバスマスタ16とシステムバス8との間に
接続される第1のバスバッファ20と同様な第2のバス
バッファ、22は処理速度の遅い入出力部18等のシス
テムバス8上のアドレスを記憶するアドレス記憶部、2
3は一方のバスマスタがシステムバス8を使用している
際に他のバスマスタからシステムバス8の使用が要求さ
れて競合が生じたか判定する競合判定部、24は競合判
定部23で競合が生じたと判定された場合にシステムバ
ス8を使用しているバスマスタがアクセスしているシス
テムバス8上のアドレスがアドレス記憶部22に記憶さ
れているアドレスと等しいか比較する比較部、25は比
較部24での比較結果が一致していた場合にバスバッフ
ァによって現在システムバス8を使用しているバスマス
タをシステムバス8から切り離すとともにシステムバス
8の使用を要求したバスマスタにシステムバス8の使用
権を与える高速処理優先実行部である。図2において、
26は高速処理優先実行部25を構成しバスマスタ及び
バスバッファを制御するバスバッファ・バスマスタ制御
装置、27はシステムバス8を使用しているバスマスタ
がアクセスしているシステムバス8上のアドレスと後述
のアドレス登録記憶装置28に登録されたアドレスを比
較するコンパレータ、28はアドレス記憶部22を構成
し処理速度が低速である入出力装置7等のシステムバス
8上のアドレスを登録するアドレス登録記憶装置、29
は入出力バスラッチ部19を構成しシステムバス8の情
報を一時的に記憶するバスラッチ、30は第1のバスマ
スタ1からの情報の出力を許可する第1のアウトプット
イネーブル信号、31は第1のバスマスタ1での処理を
停止させる第1のウェイト信号、32は第2のバスマス
タ2からの情報の出力を許可する第2のアウトプットイ
ネーブル信号、33は第2のバスマスタ2での処理を停
止させる第2のウェイト信号、34はバスラッチ29を
制御するためのラッチ信号、35はバスバッファ・バス
マスタ制御装置26にどのバスマスタがシステムバス8
を使用しているか知らせるためのバスマスタナンバー信
号、36は現在システムバス8を使用しているバスマス
タのシステムバス8からの切り離しを指示するディスコ
ネクト信号、37はシステムバス8を使用しているバス
マスタのシステムバス8からの切り離しを要求するディ
スコネクト要求信号である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An information processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. 1 is a functional block diagram of an information processing apparatus according to an embodiment of the present invention, and FIG. 2 is a circuit block diagram of the information processing apparatus according to an embodiment of the present invention. 1 is the first bus master, 2 is the second
Bus master, 3 is a bus arbiter, 4 is a first bus buffer, 5 is a second bus buffer, 6 is an internal storage device, 7
Is an input / output device, 8 is a system bus, 9 is a first bus request signal, 10 is a first bus grant signal, 11 is a first bus acknowledge signal, 12 is a second bus request signal, and 13 is a second bus request signal. 2 bus grant signals, 14 second
Of the bus acknowledge signal, which are the same as those in the conventional example, the same reference numerals are given and the description thereof will be omitted. 1
5 is a first bus master having a right to use the system bus 8,
16 is a second bus master similar to the first bus master 15, 17 is an internal memory accessed by the first bus master 15 or the second bus master 16, and 18 is accessed by the first bus master 15 or the second bus master 16. An input / output unit that is slower than the internal memory 17, an input / output bus latch unit 19 that is connected between the system bus 8 and the input / output unit 18 and temporarily stores information on the system bus 8, and 20 is a first input / output bus latch unit. A first bus buffer connected between the first bus master 15 and the system bus 8 for disconnecting the first bus master 15 from the system bus 8;
Reference numeral 21 is a second bus buffer similar to the first bus buffer 20 connected between the second bus master 16 and the system bus 8, and 22 is on the system bus 8 such as the input / output unit 18 having a slow processing speed. Address storage unit for storing addresses, 2
Reference numeral 3 denotes a contention determination unit that determines whether one bus master is using the system bus 8 and another bus master requests the use of the system bus 8 to cause a contention. Reference numeral 24 indicates that the contention determination unit 23 has a contention. When it is determined, a comparison unit that compares the address on the system bus 8 accessed by the bus master using the system bus 8 with the address stored in the address storage unit 22, 25 is a comparison unit 24. When the comparison results of the two match, the high-speed processing for disconnecting the bus master currently using the system bus 8 from the system bus 8 by the bus buffer and giving the right to use the system bus 8 to the bus master requesting the use of the system bus 8 It is a priority execution unit. In FIG.
Reference numeral 26 is a bus buffer / bus master control device that constitutes the high-speed processing priority execution unit 25 and controls the bus master and the bus buffer. Reference numeral 27 is an address on the system bus 8 accessed by the bus master using the system bus 8 A comparator for comparing the addresses registered in the address registration storage device 28, an address registration storage device 28 for configuring the address storage unit 22 and registering an address on the system bus 8 such as the input / output device 7 having a low processing speed, 29
Is a bus latch that constitutes the input / output bus latch unit 19 and temporarily stores information of the system bus 8, 30 is a first output enable signal that permits output of information from the first bus master 1, and 31 is a first output enable signal. A first wait signal for stopping the processing at the bus master 1, 32 is a second output enable signal for permitting the output of information from the second bus master 2, and 33 is for stopping the processing at the second bus master 2. The second wait signal, 34 is a latch signal for controlling the bus latch 29, and 35 is the bus buffer / bus master control unit 26 which bus master is the system bus 8.
Is a bus master number signal for notifying whether the bus is being used, 36 is a disconnect signal for instructing disconnection of the bus master which is currently using the system bus 8 from the system bus 8, and 37 is a bus master number which is using the system bus 8. This is a disconnection request signal for requesting disconnection from the system bus 8.

【0012】以上のように構成された本発明の一実施例
における情報処理装置について、以下その動作を説明す
る。図3は本発明の一実施例における情報処理装置のフ
ローチャートであり、図4は本発明の一実施例における
情報処理装置のバスが競合する場合のタイミングチャー
トであり、図5は本発明の一実施例における情報処理装
置のバスが競合しない場合のタイミングチャートであ
る。ここでは、まず、図4に示すように、第1のバスマ
スタ1が入出力装置7へのアクセスをしている間に、第
2のバスマスタ2が内部記憶装置6にアクセスの要求を
行う場合について説明する。
The operation of the information processing apparatus having the above-described structure according to the embodiment of the present invention will be described below. 3 is a flowchart of the information processing apparatus according to the embodiment of the present invention, FIG. 4 is a timing chart when the buses of the information processing apparatus according to the embodiment of the present invention compete, and FIG. 7 is a timing chart when the buses of the information processing devices in the embodiment do not conflict with each other. Here, first, as shown in FIG. 4, a case where the second bus master 2 requests access to the internal storage device 6 while the first bus master 1 is accessing the input / output device 7 will be described. explain.

【0013】初めに、第1のバスマスタ1が、入出力装
置7にアクセスするために、第1のバスリクエスト信号
9を出力する(S8)。次に、バスアービタ3が、いず
れのバスマスタがシステムバス8をアクセスしているか
を示す各バスアクノーリッジ信号及びディスコネクト信
号36によって、システムバス8が未使用であることを
認識する(S9)。次に、バスアービタ3は、第1のバ
スマスタ1にシステムバス8の使用を許可する第1のバ
スグラント信号10及び第1のバスマスタ1がシステム
バス8の使用権を獲得していることを示すバスマスタナ
ンバー信号35を出力する(S10)。次に、バスバッ
ファ・バスマスタ制御装置26によって、第1のアウト
プットイネーブル信号30を出力し、第1のバスマスタ
1とシステムバス8を接続する(S11)。次に、第1
のバスマスタ1によって、第1のバスリクエスト信号9
を解除するとともに、第1のバスマスタ1がシステムバ
ス8を使用中であることを通知する第1のバスアクノー
リッジ信号11を出力し、第1のバスマスタ1がシステ
ムバス8の制御権を得る。一方、これと同時に、第2の
バスマスタ2によって、システムバス8の使用権を要求
する第2のバスリエスト信号12を出力する(S1
2)。次に、バスアービタ3は、競合が生じたと判定し
て、システムバス8を使用中である第1のバスマスタ1
とシステムバス8との切り離しを要求するディスコネク
ト要求信号37を出力する(S13)。次に、コンパレ
ータ27によって、システムバス8のアドレスラインが
示す第1のバスマスタ1がアクセスしているアドレス
と、アドレス登録記憶装置28に登録されたアドレスを
比較し、両者が一致しているか調べる(S14)。ここ
では、アドレス登録記憶装置28に処理速度の遅い入出
力装置7のシステムバス8上のアドレスが記憶されてい
るものとする。
First, the first bus master 1 outputs the first bus request signal 9 to access the input / output device 7 (S8). Next, the bus arbiter 3 recognizes that the system bus 8 is unused by the bus acknowledge signal and the disconnect signal 36 which indicate which bus master is accessing the system bus 8 (S9). Next, the bus arbiter 3 permits the first bus master 1 to use the system bus 8 and the first bus grant signal 10 and the bus master indicating that the first bus master 1 has acquired the right to use the system bus 8. The number signal 35 is output (S10). Next, the bus buffer / bus master controller 26 outputs the first output enable signal 30 to connect the first bus master 1 and the system bus 8 (S11). Then the first
Of the first bus request signal 9 by the bus master 1 of
Is released, the first bus master 1 outputs the first bus acknowledge signal 11 notifying that the system bus 8 is being used, and the first bus master 1 obtains the control right of the system bus 8. At the same time, the second bus master 2 outputs the second bus request signal 12 requesting the right to use the system bus 8 (S1).
2). Next, the bus arbiter 3 determines that a conflict has occurred and determines that the first bus master 1 that is using the system bus 8
The disconnection request signal 37 for requesting disconnection from the system bus 8 is output (S13). Next, the comparator 27 compares the address accessed by the first bus master 1 indicated by the address line of the system bus 8 with the address registered in the address registration storage device 28 to check whether they match ( S14). Here, it is assumed that the address registration storage device 28 stores the address on the system bus 8 of the input / output device 7 having a slow processing speed.

【0014】Yesである場合、すなわち第1のバスマ
スタ1が低速のスレーブをアクセスしている場合は、現
在システムバス8を使用中である第1のバスマスタ1と
システムバス8とを切り離すディスコネクト信号36を
出力する(S15)。次に、バスアービタ3が、第2の
バスマスタ2に第2のバスグラント信号13と、第2の
バスマスタ2がシステムバス8の使用権を獲得している
ことを示すバスマスタナンバー信号35を出力する(S
16)。次に、バスバッファ・バスマスタ制御装置26
によって、第1のウェイト信号31及び第2のアウトプ
ットイネーブル信号32を出力するとともに、第1のア
ウトプットイネーブル信号30を一旦解除し、第1のバ
スマスタ1をシステムバス8から切り離す(S17)。
ここで、この時点で第2のバスマスタ2がシステムバス
8の使用権を得て、内部記憶装置6にアクセスを開始す
る。次に、第2のバスマスタ2によって内部記憶装置6
への処理が終了した際に、システムバス8の使用権が解
除されたか判断するために、第2のバスアクノーリッジ
信号14が解除されたか判別する(S18)。Noであ
る場合は、S18にジャンプし、Yesである場合は、
バスアービタ3が、競合がなくなったことを判定して、
第1のバスマスタ1とシステムバス8の切り離しを要求
するディスコネクト要求信号37を解除する(S1
9)。次に、コンパレータ27が、ディスコネクト要求
信号37が解除されたことを認識して、ディスコネクト
信号36を解除する(S20)。次に、バスアービタ3
は、第1のバスマスタ1がシステムバス8上の使用権を
獲得したことを示すバスマスタナンバー信号35を出力
する(S21)。次に、バスバッファ・バスマスタ制御
装置26によって、システムバス8と第2のバスマスタ
2とを切り離すため、第2のアウトプットイネーブル信
号32と第1のバスマスタ1の第1のウェイト信号31
を解除するとともに、再び第1のバスマスタ1にシステ
ムバス8の使用権を与えるための第1のアウトプットイ
ネーブル信号30を出力する(S22)。ここで、この
時点から第1のバスマスタ1が再びシステムバス8の使
用権を得て、入出力装置7へのアクセスを再開する。
If Yes, that is, if the first bus master 1 is accessing a low speed slave, a disconnect signal for disconnecting the first bus master 1 and the system bus 8 currently using the system bus 8 from each other. 36 is output (S15). Next, the bus arbiter 3 outputs the second bus grant signal 13 to the second bus master 2 and the bus master number signal 35 indicating that the second bus master 2 has acquired the right to use the system bus 8 ( S
16). Next, the bus buffer / bus master controller 26
Thus, the first wait signal 31 and the second output enable signal 32 are output, the first output enable signal 30 is temporarily released, and the first bus master 1 is disconnected from the system bus 8 (S17).
At this point, the second bus master 2 acquires the right to use the system bus 8 and starts accessing the internal storage device 6. Next, the internal storage device 6 is operated by the second bus master 2.
When the processing of 1 is completed, it is determined whether or not the second bus acknowledge signal 14 is released in order to determine whether or not the right to use the system bus 8 is released (S18). If No, jump to S18, and if Yes,
The bus arbiter 3 determines that there is no conflict,
The disconnection request signal 37 that requests disconnection of the first bus master 1 and the system bus 8 is released (S1
9). Next, the comparator 27 recognizes that the disconnection request signal 37 has been released, and releases the disconnection signal 36 (S20). Next, Bus Arbiter 3
Outputs a bus master number signal 35 indicating that the first bus master 1 has acquired the usage right on the system bus 8 (S21). Next, the bus buffer / bus master controller 26 separates the system bus 8 from the second bus master 2 so as to disconnect the second output enable signal 32 and the first wait signal 31 of the first bus master 1.
And the first output enable signal 30 for giving the right to use the system bus 8 to the first bus master 1 is output again (S22). At this point, the first bus master 1 obtains the right to use the system bus 8 again and restarts the access to the input / output device 7.

【0015】一方、S14でNoである場合、すなわち
第1のバスマスタ1が高速のスレーブをアクセスしてい
る場合は、図5に示すようにコンパレータ27からディ
スコネクト信号36が出力されないので、第1のバスマ
スタ1の処理が終了したかを判断するために、第1のバ
スアクノーリッジ信号11が解除されたかを判別する
(S23)。Noである場合は、S23にジャンプし、
Yesである場合は、ディスコネクト要求信号37を解
除するとともに第2のバスグラント信号13及びバスマ
スタナンバー信号35を出力する(S24)。次に、第
1のアウトプットイネーブル信号30を解除するととも
に、第2のアウトプットイネーブル信号32を出力する
(S25)。ここで、この時点から第2のバスマスタ2
がシステムバス8の使用権を得て、入出力装置7での処
理が開始される。
On the other hand, if No in S14, that is, if the first bus master 1 is accessing a high-speed slave, the disconnect signal 36 is not output from the comparator 27 as shown in FIG. In order to determine whether the processing of the bus master 1 has been completed, it is determined whether the first bus acknowledge signal 11 has been released (S23). If No, jump to S23,
In the case of Yes, the disconnection request signal 37 is released and the second bus grant signal 13 and the bus master number signal 35 are output (S24). Next, the first output enable signal 30 is released and the second output enable signal 32 is output (S25). Here, from this point, the second bus master 2
Obtains the right to use the system bus 8 and the processing in the input / output device 7 is started.

【0016】[0016]

【発明の効果】以上のように本発明は、アドレス記憶部
が、入出力部等の処理速度の遅いバススレーブのシステ
ムバス上でのアドレスを記憶し、競合判定部が、あるバ
スマスタがシステムバスを使用している際に他のバスマ
スタがシステムバスの使用権を要求して競合が生じたか
判定し、比較部が、競合判定部で競合が生じたと判定さ
れた際にシステムバスを使用しているバスマスタかアク
セスしているシステムバス上のアドレスをアドレス記憶
部に記憶されているアドレスと比較し、この両者が一致
していた場合に、高速処理優先実行部が、現在システム
バスを使用して低速の入出力部等をアクセスしているバ
スマスタを、バスバッファを用いてシステムバスから切
り離し、システムバスの使用権を要求してきた他のバス
マスタにシステムバスの使用権を与えるので、他のバス
マスタによる処理を優先して実行させて、バスマスタの
処理待ち状態を減少させることができ、全体としての処
理速度を向上させることができる作業性に優れた情報処
理装置を実現できるものである。
As described above, according to the present invention, the address storage unit stores the address on the system bus of the bus slave having a slow processing speed such as the input / output unit, and the contention determination unit is assigned to the bus master. When another bus master requests the right to use the system bus and determines whether a conflict has occurred, the comparison unit uses the system bus when the conflict determination unit determines that a conflict has occurred. The address on the system bus being accessed by the bus master that is accessing is compared with the address stored in the address storage unit, and if the two match, the high-speed processing priority execution unit is currently using the system bus. The bus master that is accessing the low-speed input / output unit is separated from the system bus by using the bus buffer, and the system is sent to another bus master that has requested the right to use the system bus. Since the right to use the bus is given, the processing by other bus masters can be executed with priority to reduce the processing waiting state of the bus master, and the overall processing speed can be improved. The processing device can be realized.

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

【図1】本発明の一実施例における情報処理装置の機能
ブロック図
FIG. 1 is a functional block diagram of an information processing device according to an embodiment of the present invention.

【図2】本発明の一実施例における情報処理装置の回路
ブロック図
FIG. 2 is a circuit block diagram of an information processing device according to an embodiment of the present invention.

【図3】本発明の一実施例における情報処理装置のフロ
ーチャート
FIG. 3 is a flowchart of an information processing device according to an embodiment of the present invention.

【図4】本発明の一実施例における情報処理装置のバス
が競合する場合のタイミングチャート
FIG. 4 is a timing chart when the buses of the information processing devices compete with each other according to the embodiment of the present invention.

【図5】本発明の一実施例における情報処理装置のバス
が競合しない場合のタイミングチャート
FIG. 5 is a timing chart when the buses of the information processing devices do not conflict with each other in the embodiment of the present invention.

【図6】従来の情報処理装置における回路ブロック図FIG. 6 is a circuit block diagram of a conventional information processing device.

【図7】従来の情報処理装置におけるフローチャートFIG. 7 is a flowchart of a conventional information processing device.

【図8】従来の情報処理装置におけるタイミングチャー
FIG. 8 is a timing chart of a conventional information processing device.

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

1,15 第1のバスマスタ 2,16 第2のバスマスタ 3 バスアービタ 4,20 第1のバスバッファ 5,21 第2のバスバッファ 6 内部記憶装置 7 入出力装置 8 システムバス 9 第1のバスリクエスト信号 10 第1のバスグラント信号 11 第1のバスアクノーリッジ信号 12 第2のバスリクエスト信号 13 第2のバスグラント信号 14 第2のバスアクノーリッジ信号 17 内部メモリー 18 入出力部 19 入出力バスラッチ部 22 アドレス記憶部 23 競合判定部 24 比較部 25 高速処理優先実行部 26 バスバッファ・バスマスタ制御装置 27 コンパレータ 28 アドレス登録記憶装置 29 バスラッチ 30 第1のアウトプットイネーブル信号 31 第1のウェイト信号 32 第2のアウトプットイネーブル信号 33 第2のウェイト信号 34 ラッチ信号 35 バスマスタナンバー信号 36 ディスコネクト信号 37 ディスコネクト要求信号 1,15 First Bus Master 2,16 Second Bus Master 3 Bus Arbiter 4,20 First Bus Buffer 5,21 Second Bus Buffer 6 Internal Storage Device 7 Input / Output Device 8 System Bus 9 First Bus Request Signal 10 First Bus Grant Signal 11 First Bus Acknowledge Signal 12 Second Bus Request Signal 13 Second Bus Grant Signal 14 Second Bus Acknowledge Signal 17 Internal Memory 18 Input / Output Section 19 Input / Output Bus Latch Section 22 Address storage unit 23 Contention determination unit 24 Comparison unit 25 High-speed processing priority execution unit 26 Bus buffer / bus master control device 27 Comparator 28 Address registration storage device 29 Bus latch 30 First output enable signal 31 First wait signal 32 Second Output enable signal 33rd Wait signal 34 latch signal 35 bus master number signal 36 Disconnect signal 37 Disconnect request signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央演算処理装置等からなる2以上のバス
マスタと、前記バスマスタによって共用される2以上の
バススレーブと、前記バスマスタと前記バススレーブと
を接続するシステムバスと、を備えた情報処理装置であ
って、前記バススレーブを構成する内部メモリーと、前
記バススレーブを構成し前記内部メモリーよりも低速の
入出力部と、各前記バスマスタと前記システムバスとの
間に各々接続されたバスバッファと、前記入出力部等の
前記システムバス上のアドレスを記憶するアドレス記憶
部と、前記バスマスタが前記システムバスを使用してい
る際に他の前記バスマスタから前記システムバスの使用
が要求されて競合が生じたか判定する競合判定部と、前
記競合判定部で競合が生じたと判定された場合に前記シ
ステムバスを使用している前記バスマスタがアクセスし
ている前記システムバス上のアドレスが前記アドレス記
憶部に記憶されているアドレスと等しいか比較する比較
部と、前記比較部での比較結果が一致していた場合に前
記バスバッファによって前記システムバスを使用してい
る前記バスマスタを切り離すとともに前記システムバス
の使用を要求した前記バスマスタに前記システムバスの
使用権を与える高速処理優先実行部と、を備えたことを
特徴とする情報処理装置。
1. An information processing system comprising: two or more bus masters including a central processing unit; two or more bus slaves shared by the bus masters; and a system bus connecting the bus masters and the bus slaves. A device, an internal memory that constitutes the bus slave, an input / output unit that constitutes the bus slave and is slower than the internal memory, and a bus buffer connected between each of the bus masters and the system bus. And an address storage unit that stores an address on the system bus, such as the input / output unit, and when the bus master is using the system bus, another bus master requests the use of the system bus and competes therewith. And the system bus used when it is determined that a conflict has occurred. When the comparison result of the comparison unit and the comparison unit that compares the address on the system bus being accessed by the bus master with the address stored in the address storage unit are the same, A high-speed processing priority execution unit that disconnects the bus master that is using the system bus by a bus buffer and gives the right to use the system bus to the bus master that has requested the use of the system bus. Information processing equipment.
JP02015294A 1994-02-17 1994-02-17 Information processing device Expired - Fee Related JP3458439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02015294A JP3458439B2 (en) 1994-02-17 1994-02-17 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02015294A JP3458439B2 (en) 1994-02-17 1994-02-17 Information processing device

Publications (2)

Publication Number Publication Date
JPH07230421A true JPH07230421A (en) 1995-08-29
JP3458439B2 JP3458439B2 (en) 2003-10-20

Family

ID=12019189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02015294A Expired - Fee Related JP3458439B2 (en) 1994-02-17 1994-02-17 Information processing device

Country Status (1)

Country Link
JP (1) JP3458439B2 (en)

Also Published As

Publication number Publication date
JP3458439B2 (en) 2003-10-20

Similar Documents

Publication Publication Date Title
JP4008987B2 (en) Bus communication system, bus arbitration method, and data transfer method
JP2003006143A (en) System, device and method of sharing bus
KR20020009823A (en) Bus system and bus arbitration method thereof
US7296109B1 (en) Buffer bypass circuit for reducing latency in information transfers to a bus
JP2647035B2 (en) Bus control circuit
CN1326058C (en) Data transfer control device
JP3458439B2 (en) Information processing device
JPH0793274A (en) Data transfer method and data transfer device
JPH09269927A (en) Bus access method, bus, and bus connection system
JP3328246B2 (en) DMA transfer method and system
JPH10307788A (en) Bus bridge
JPH05282242A (en) Bus control system
JPH11184805A (en) Bus system
JPH05189311A (en) Cache memory system
JP2000250852A (en) Bus arbitrating device, bus system and bus arbitrating method
JP2002269033A (en) Bus system and system LSI using arbiter having retry control function
JP2982301B2 (en) Computer equipment
JPH05134980A (en) Bus system
JP2632049B2 (en) Multiprocessor system
JP2001188749A (en) Bus controller
JP2659248B2 (en) Bus arbitration processing method
CN115422100A (en) Direct memory access control device, data transmission method and data transmission system
JP2001290761A (en) Bus bridge
JPH11232215A (en) Bus controller, bus master device and method for controlling bus control system
JPH04149757A (en) Bus control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees