JPH11232209A - Computer system and method for allocating bus application right - Google Patents

Computer system and method for allocating bus application right

Info

Publication number
JPH11232209A
JPH11232209A JP2856998A JP2856998A JPH11232209A JP H11232209 A JPH11232209 A JP H11232209A JP 2856998 A JP2856998 A JP 2856998A JP 2856998 A JP2856998 A JP 2856998A JP H11232209 A JPH11232209 A JP H11232209A
Authority
JP
Japan
Prior art keywords
bus
time
control unit
specific
computer system
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
JP2856998A
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 JP2856998A priority Critical patent/JPH11232209A/en
Publication of JPH11232209A publication Critical patent/JPH11232209A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To preferentially execute an access request from a specific external device. SOLUTION: A computer system for successively providing the application right of a system bus 1 connected to a CPU 2 and a memory 3 to respective I/O control parts 6 respectively connected to external devices by a bus arbitration part 5 is provided with a timer circuit 7 for counting up time up to the time specified by a specific I/O control part 6 out of plural ones. The bus arbitration part 5 unconditionally provides the application right of the system bus 1 to the specific I/O control part 6 in response to the end of timing of the timer circuit 7.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は外部装置からの複数
のアクセス要求を受付ける計算機システム及びこの計算
機システムにおけるバス使用権割付方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system for receiving a plurality of access requests from external devices, and a method for allocating a bus right in the computer system.

【0002】[0002]

【従来の技術】外部装置からの複数のアクセス要求を受
付ける計算機システムにおいては、入力されたアクセス
要求はそれぞれ一旦I/O(入出力)制御部へ取込まれ
る。そして、各I/O制御部はシステムバスを介してC
PUやメモリに対するアクセス要求を送出する。
2. Description of the Related Art In a computer system which accepts a plurality of access requests from external devices, input access requests are once taken into an I / O (input / output) control unit. Then, each I / O control unit controls the C via the system bus.
An access request for a PU or a memory is sent.

【0003】この場合、CPUやメモリが接続されたシ
ステムバス上でアクセス要求の競合が生じるのを未然に
防止するために、バス調停部を設けて、このバス調停部
で、システムバスの使用権を各I/O制御部へ割付ける
ようにしている。このバス調停部におけるシステムバス
の使用権の最も一般的な割付方法は、各I/O制御部の
アクセス要求に対して受付け順に順番に割付けていくラ
ウンドロビン方法である。
In this case, a bus arbitration unit is provided in order to prevent contention of access requests from occurring on a system bus to which a CPU and a memory are connected. Is assigned to each I / O control unit. The most common allocation method of the right to use the system bus in the bus arbitration unit is a round robin method in which access requests of each I / O control unit are sequentially allocated in the order of acceptance.

【0004】このラウンドロビン方法においては、計算
機システムのメモリに対するデータ書込要求や、計算機
システムのメモリからのデータ読出要求や、計算機シス
テムにおける演算処理要求は、各外部装置に接続された
各I/O制御部に対して全て平等であるので、各外部装
置はアクセス要求を送出してから所定時間後には必ずア
クセス結果を入手することが可能である。
In the round robin method, a data write request to a memory of a computer system, a data read request from a memory of a computer system, and a processing request in a computer system are performed by each I / O connected to each external device. Since all are equal to the O-control unit, each external device can always obtain the access result after a predetermined time has passed since sending the access request.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たラウンドロビン方法を用いて各外部装置からのアクセ
ス要求を順番に処理していく計算機システムにおいて
も、まだ、改良すべき次のような課題があった。
However, even in a computer system that sequentially processes access requests from each external device using the above-described round robin method, there are still the following problems to be improved. Was.

【0006】すなわち、各外部装置からのアクセス要求
は全て平等に扱われるので、例えば特定のアクセス要求
においては、アクセス要求発生から即座に、すなわちリ
アルタイムでアクセス処理を実施する必要がある場合が
ある。例えば、時間経過と共に大きく変化するプロセス
データをメモリに対して例えば一定時間間隔で書込んい
き、このメモリに時系列的に書込まれた各データを利用
して種々の計算を実行するシステムを想定する。
That is, since all access requests from each external device are treated equally, for example, for a specific access request, it may be necessary to execute access processing immediately after the occurrence of the access request, that is, in real time. For example, it is assumed that a system in which process data that changes greatly with the passage of time is written to a memory at a fixed time interval, for example, and various calculations are performed using each data written in this memory in time series. I do.

【0007】この場合、各データを利用した種々の計算
は、メモリに書込まれたデータは一定時間間隔で書込ま
れていると仮定して、データの変化量や加速度を計算し
ている。しかし、ラウンドロビン方法においては、他の
外部装置からのアクセス要求の発生度合いによつて、デ
ータのメモリに対する書込時間間隔は必ずしも一定しな
い。その結果、このメモリに記憶された各データを用い
て計算された計算決結果の信頼性が低下する懸念があ
る。
In this case, in various calculations using each data, the amount of change and acceleration of the data are calculated on the assumption that the data written in the memory is written at regular time intervals. However, in the round robin method, the time interval for writing data to the memory is not always constant depending on the degree of occurrence of access requests from other external devices. As a result, there is a concern that the reliability of the calculation result calculated using each data stored in the memory may be reduced.

【0008】したがって、この手法を採用した計算機シ
ステムにおいては、リアルタイム処理が要求されるアク
セス要求が混在する複数のアクセス要求に対する処理を
適格に実施できない問題がある。
Therefore, in a computer system employing this method, there is a problem that processing for a plurality of access requests in which access requests requiring real-time processing are mixed cannot be performed properly.

【0009】本発明はこのような事情に鑑みてなされた
ものであり、例えばリアルタイム性が要求される特定の
I/O制御部からのアクセス要求に対しては、無条件で
システムバスに対する使用権を与えることができ、たと
え外部装置から複数のアクセス要求を受付ける場合であ
っても、特定のI/O制御部からのアクセス要求に対し
は確実にリアルタイム性を確保でき、構成を複雑化する
ことなくシステム全体の運用範囲を拡張できる計算機シ
ステム及び計算機システムのバス使用権割付方法を提供
することを目的とする。
The present invention has been made in view of such circumstances. For example, an access request from a specific I / O control unit that requires real-time processing is unconditionally used for a system bus. Even if a plurality of access requests are received from an external device, real-time performance can be reliably ensured for an access request from a specific I / O control unit, and the configuration is complicated. It is an object of the present invention to provide a computer system capable of extending the operation range of the entire system without any problem, and a method for allocating bus use rights of the computer system.

【0010】[0010]

【課題を解決するための手段】上記課題を解消するため
に請求項1の発明は、CPU及びメモリが接続されたシ
ステムバスに対する使用権を、バス調停部で、外部装置
に接続された複数のI/O制御部における各I/O(入
出力)制御部に順番に与えていく計算機システムにおい
て、複数のI/O制御部のうちの特定のI/O制御部に
て指定された時刻までの時間を計時するタイマ回路を設
けている。さらに、バス調停部は、タイマ回路の計時終
了に応動して、特定のI/O制御部に対してシステムバ
スに対する使用権を与える。
According to a first aspect of the present invention, a right to use a system bus to which a CPU and a memory are connected is assigned by a bus arbitration unit to a plurality of buses connected to an external device. In a computer system that sequentially gives each I / O (input / output) control unit in the I / O control unit, until a time specified by a specific I / O control unit among a plurality of I / O control units Is provided. Further, the bus arbitration unit grants the right to use the system bus to a specific I / O control unit in response to the end of the timing of the timer circuit.

【0011】また、請求項2の発明は、CPU及びメモ
リが接続されたシステムバスに対する使用権を、バス調
停部で、外部装置に接続された複数のI/O制御部にお
ける各I/O制御部に順番に与えていく計算機システム
において、複数のI/O制御部のうちの特定のI/O制
御部にて指定された時刻までの時間を計時するタイマ回
路と、少なくともメモリが接続されるリアルタイム専用
バスとを設けている。また、メモリをシステムバスとリ
アルタイム専用バスとが接続されるデュアルポートメモ
リとしている。さらに、バス調停部は、タイマ回路の計
時終了に応動して、特定のI/O制御部に対してリアル
タイム専用バスに対する使用権を与える。
According to a second aspect of the present invention, a right to use a system bus to which a CPU and a memory are connected is controlled by a bus arbitration unit in each of a plurality of I / O control units connected to an external device. In a computer system that sequentially supplies the information to the units, a timer circuit that measures time until a time specified by a specific I / O control unit among the plurality of I / O control units is connected to at least a memory. A dedicated real-time bus is provided. Further, the memory is a dual port memory in which a system bus and a real-time dedicated bus are connected. Further, the bus arbitration unit grants the right to use the real-time dedicated bus to a specific I / O control unit in response to the end of the timing of the timer circuit.

【0012】さらに、請求項3の発明は、計算機システ
ムにおけるシステムバスに対する使用権を、外部装置に
接続された複数のI/O制御部における各I/O制御部
に順番に与えていくバス使用権割付方法おいて、複数の
I/O制御部のうちの特定のI/O制御部にて指定され
た時刻までの時間を計時し、指定された時刻までの計時
が終了すると、特定のI/O制御部に対して無条件でシ
ステムバスに対する使用権を与える。
Further, according to a third aspect of the present invention, there is provided a bus use system wherein a right to use a system bus in a computer system is sequentially given to each I / O control unit in a plurality of I / O control units connected to an external device. In the right assignment method, a time is counted up to a time designated by a specific I / O control unit among a plurality of I / O control units. The right to use the system bus is unconditionally given to the / O control unit.

【0013】このよう構成された請求項1の計算機シス
テム及び請求項3のバス使用権割付方法おいては、この
計算機システムに対してアクセス要求を発生する複数の
I/O制御部のうちの例えばリアルタイム性が要求され
るアクセス要求を発生する特定のI/O制御部はタイマ
回路に次のアクセス要求の発生時刻を設定しておく。す
ると、タイマ回路が計時を開始し、該当時刻に達する
と、バス調停部が動作して、この特定のI/O制御部に
対してシステムバスの使用権が無条件で与えられる。よ
つて、特定のI/O制御部のアクセス要求はほぼリアル
タイムで処理される。
In the computer system according to the first aspect and the method for allocating the bus use right according to the third aspect of the present invention, for example, of the plurality of I / O control units that issue an access request to the computer system, A specific I / O control unit that generates an access request that requires real-time property sets the time of occurrence of the next access request in a timer circuit. Then, the timer circuit starts measuring time, and when the time reaches the time, the bus arbitration unit operates, and the right to use the system bus is unconditionally given to this specific I / O control unit. Therefore, an access request of a specific I / O control unit is processed almost in real time.

【0014】また、請求項2の計算機システムにおいて
は、通常のシステムバスの他に、リアルタイム専用バス
が設けられている。さらに、メモリがデュアルポートメ
モリで構成されているので、前述した特定のI/O制御
部からのリアルタイム性が要求されるアクセス要求はこ
のリアルタイム専用バスを介してデュアルポートメモリ
の一方のポートを介してメモリに対して実行される。
Further, in the computer system according to the present invention, a real-time dedicated bus is provided in addition to a normal system bus. Further, since the memory is constituted by a dual-port memory, the above-mentioned access request from the specific I / O control unit which requires real-time performance is transmitted via one port of the dual-port memory via the real-time dedicated bus. Is performed on the memory.

【0015】この期間においては、他のI/O制御部か
らの通常のアクセス要求はシステムバスを介して他方の
ポートを介してメモリに対して実行されるので、他の通
常のアクセス要求がリアルタイム性が要求されるアクセ
ス要求に対する処理終了まで待たされることはない。
In this period, a normal access request from another I / O control unit is executed to the memory via the other port via the system bus, so that the other normal access request is executed in real time. There is no need to wait until the end of processing for an access request that requires reliability.

【0016】[0016]

【発明の実施の形態】以下本発明の各実施形態を図面を
用いて説明する。 (第1実施形態)図1は本発明のバス使用権割付方法が
適用された第1実施形態の計算機システムの概略構成を
示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing a schematic configuration of a computer system of a first embodiment to which a bus use right assignment method of the present invention is applied.

【0017】アドレスバス及びデータバスからなるシス
テムバス1に対して、各種の処理業務を行うCPU2、
制御プログラムや各種処理データを記憶するするための
メモリ2、DMA制御部4、バス調停部5等が接続され
ている。DMA制御部4及びバス調停部5にはそれぞれ
図示しない外部装置に接続された複数のI/O制御部6
が接続されている。また、バス調停部5にはタイマ回路
7が接続されている。
A CPU 2 for performing various processing tasks on a system bus 1 comprising an address bus and a data bus;
A memory 2 for storing a control program and various processing data, a DMA control unit 4, a bus arbitration unit 5, and the like are connected. The DMA control unit 4 and the bus arbitration unit 5 each include a plurality of I / O control units 6 connected to an external device (not shown).
Is connected. The bus arbitration unit 5 is connected to a timer circuit 7.

【0018】このような計算機システムにおいて、図示
しない外部装置は定期的に又は不定期にこの計算機シス
テムにおけるメモリ3に対するデータの書込み又は読出
しのアクセス要求を送出する。図示しない外部装置から
入力された各アクセス要求は一旦いそれぞれのI/O制
御部6へ取込まれる。
In such a computer system, an external device (not shown) periodically or irregularly sends a data write or read access request to the memory 3 in the computer system. Each access request input from an external device (not shown) is once taken into each I / O control unit 6.

【0019】各I/O制御部6は、入力されたアクセス
要求をDMA制御部4及びバス調停部5へ送出する。バ
ス調停部5は、通常状態においては、ラウンドロビン方
式で、システムバス1の使用権を入力されたアクセス要
求に対して順番に割付けていく。すなわち、バス調停部
5は、システムバス1の使用状態を監視しており、各I
/O制御部6から入力したアクセス要求をキューメモリ
(待ち行列)に入力順に蓄えておき、各I/O制御部6
に対して入力順にシステムバス1の使用権を割付けてい
く。
Each I / O control unit 6 sends the input access request to the DMA control unit 4 and the bus arbitration unit 5. In the normal state, the bus arbitration unit 5 sequentially assigns the right to use the system bus 1 to the input access request in a round-robin manner. That is, the bus arbitration unit 5 monitors the use state of the system bus 1 and
The access requests input from the I / O control unit 6 are stored in a queue memory (queue) in the order of input, and each I / O control unit 6
, The right to use the system bus 1 is allocated in the order of input.

【0020】DMA制御部4は、バス調停部5でシステ
ムバス1の使用権が割付けられたI/O制御部6のアク
セス要求をCPU2を介さずにシステムバス1を介して
メモリ3へ送出して、該当メモリ3に対するデータの書
込み読出のアクセス処理を実行して、アクセス処理結果
をI/O制御部6を介してアクセス要求元の外部装置へ
返送する。
The DMA control unit 4 sends an access request from the I / O control unit 6 to which the right to use the system bus 1 has been assigned by the bus arbitration unit 5 to the memory 3 via the system bus 1 without passing through the CPU 2. Then, an access process for writing and reading data to and from the corresponding memory 3 is executed, and the result of the access process is returned to the external device as the access request source via the I / O control unit 6.

【0021】また、各外部装置は自己がリアルタイム性
を確保する必要があるアクセス要求を送出する必要が生
じた場合は、このアクセス要求を送出する前に、該当ア
クセスの実行時刻をバス調停部5へ送出する。
When it is necessary for each external device to send an access request for which it is necessary to secure real-time properties, the external device determines the execution time of the access before sending this access request. Send to

【0022】バス調停部5は、このリアルタイム性を確
保する必要があるアクセス要求を出力する特定のI/O
制御部6からのI/O制御部6を指定したアクセス実行
の指定時刻が入力するとこの指定時刻をタイマ回路7へ
設定する。タイマ回路7は、この指定時刻までの時間を
計時して、計時が終了すると、バス調停回路5へ計時終
了を通知する。同時に、CPU2へバス使用の割込信号
を送出する。
The bus arbitration unit 5 outputs a specific I / O for outputting an access request for which this real-time property needs to be ensured.
When a specified time of access execution specifying the I / O control unit 6 from the control unit 6 is input, the specified time is set in the timer circuit 7. The timer circuit 7 measures the time until the designated time, and when the time measurement is completed, notifies the bus arbitration circuit 5 of the completion of the time measurement. At the same time, a bus use interrupt signal is sent to the CPU 2.

【0023】CPU2は、タイマ回路7からの割込信号
が入力されると、自己がシステムバス1を使用している
場合は、1クロックサイクル又は数クロックサイクル後
にシステムバス1の使用を一時停止して、システムバス
1を空ける。
When the CPU 2 receives the interrupt signal from the timer circuit 7, if the CPU 2 itself uses the system bus 1, the CPU 2 temporarily stops using the system bus 1 after one or several clock cycles. Then, the system bus 1 is vacated.

【0024】バス調停回路5は、タイマ回路7からの特
定のI/O制御部6を指定した計時終了を受領すると、
システムバス1の使用権を無条件に指定されたI/O制
御部6へ与える通知をDMA制御部4へ通知する。
When the bus arbitration circuit 5 receives from the timer circuit 7 the end of timekeeping specifying the specific I / O control unit 6,
The DMA control unit 4 is notified that the right to use the system bus 1 is unconditionally assigned to the specified I / O control unit 6.

【0025】DMA制御部4は、このバス調停部5でシ
ステムバス1の使用権が割付けられた特定のI/O制御
部6のアクセス要求をCPU2を介さずにシステムバス
1を介してメモリ3へ送出して、該当メモリ3に対する
データの書込み読出のアクセス処理を実行して、アクセ
ス処理結果をI/O制御部6を介してアクセス要求元の
外部装置へ返送する。
The DMA controller 4 sends the access request of the specific I / O controller 6 to which the right to use the system bus 1 is assigned by the bus arbitration unit 5 via the system bus 1 without passing through the CPU 2. To perform an access process for writing and reading data to and from the corresponding memory 3, and return the result of the access process to the external device as the access request source via the I / O control unit 6.

【0026】図2は上述したバス調停回路5の調停動作
を示す流れ図である。アクセス要求に対してリアルタイ
ム処理を実施する必要がある特定のI/O制御部6から
の時刻設定要求があると(S1)、タイマ回路7に該当
時刻と該当I/O制御部6を特定するI/O制御部ID
を設定する(S2)。
FIG. 2 is a flowchart showing the arbitration operation of the bus arbitration circuit 5 described above. When there is a time setting request from a specific I / O control unit 6 that needs to execute real-time processing for an access request (S1), the timer circuit 7 specifies the corresponding time and the corresponding I / O control unit 6. I / O control unit ID
Is set (S2).

【0027】タイマ回路7から計時終了通知が入力しな
い場合は(S3)、通常のラウンドロビン方式で決定さ
れたI/O制御部6に対してシステムバス1の使用権を
与える(S4)。タイマ回路7から計時終了通知が入力
されると(S3)、この計時終了通知で指定された特定
のI/O制御部6に対してシステムバス1の使用権を与
える(S5)。
When the timer end notification is not input from the timer circuit 7 (S3), the right to use the system bus 1 is given to the I / O control unit 6 determined by the ordinary round robin method (S4). When the timer end notification is input from the timer circuit 7 (S3), the right to use the system bus 1 is given to the specific I / O control unit 6 designated by the clock end notification (S5).

【0028】このように構成された第1実施形態の計算
機システムにおいては、この計算機システムに対してア
クセス要求を発生する複数の外部装置のうちの例えばリ
アルタイム性が要求されるアクセス要求を発生する特定
の外部装置はI/O制御部6及びバス調停部5を介して
タイマ回路7に対して次のアクセス要求の発生時刻を設
定しておくことが可能である。
In the computer system of the first embodiment configured as described above, of the plurality of external devices that issue an access request to the computer system, for example, a specification that issues an access request that requires real-time performance is specified. Can set the time of occurrence of the next access request to the timer circuit 7 via the I / O control unit 6 and the bus arbitration unit 5.

【0029】すると、該当時刻に達すると、バス調停部
5が動作して、この特定の外部装置のI/O制御部6に
対してシステムバス1の使用権が無条件で与えられる。
よつて、特定のI/O制御部6のアクセス要求はリアル
タイムで処理される。
Then, when the relevant time is reached, the bus arbitration unit 5 operates, and the right to use the system bus 1 is unconditionally given to the I / O control unit 6 of this specific external device.
Therefore, an access request from a specific I / O control unit 6 is processed in real time.

【0030】このように、複数の外部装置からのアクセ
ス要求を受付ける場合に、例えばリアルテイム性を要求
される特定のアクセス要求に対してのみ、他の一般のア
クセス要求に対して優先的にシステムバスの使用権を与
えることがてきるので、計算機システムの適用範囲を大
幅に拡大できる。
As described above, when an access request from a plurality of external devices is received, for example, the system is given priority only to a specific access request that requires real-time property and to other general access requests. Since the right to use the bus can be given, the scope of application of the computer system can be greatly expanded.

【0031】(第2実施形態)図3は、本発明の第2実
施形態の計算機システムの概略構成を示すブロック図で
ある。図1に示す第1実施形態の計算機システムと同一
部分には同一符号を付して重複部分の詳細説明を省略す
る。
(Second Embodiment) FIG. 3 is a block diagram showing a schematic configuration of a computer system according to a second embodiment of the present invention. The same parts as those of the computer system of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and detailed description of the overlapping parts will be omitted.

【0032】この第2実施形態の計算機システムにおい
ては、システムバス1の他にリアルタイム専用バス8が
設けられている。また、図1に示すメモリ3をデュアル
ポートメモリ3aに置換えている。そしてこのデュアル
ポートメモリ3aの一方の書込み読出ポート(端子)が
システムバス1に接続され、他方の書込み読出ポート
(端子)がリアルタイム専用バス8に接続されている。
In the computer system according to the second embodiment, a real-time dedicated bus 8 is provided in addition to the system bus 1. Further, the memory 3 shown in FIG. 1 is replaced with a dual port memory 3a. One write / read port (terminal) of the dual port memory 3 a is connected to the system bus 1, and the other write / read port (terminal) is connected to the real-time bus 8.

【0033】CPU2はシステムバス1及び一方の書込
み読出ポートを介してデュアルポートメモリ3aに対す
るアクセスを実行できる。また、DMA制御部4aは複
数のアクセス要求に対してシステムバス1及びリアルタ
イム専用バス8を介して同時にデュアルポートメモリ3
aに対するアクセスを実行できる。このように、DMA
制御部4aは複数のアクセス要求を実行出できるが、当
然、デュアルポートメモリ3a内の同一アドレスに対す
るアクセス要求は同時に実行しないように制御されてい
る。
The CPU 2 can access the dual port memory 3a via the system bus 1 and one of the write / read ports. The DMA controller 4a simultaneously responds to a plurality of access requests via the system bus 1 and the real-time dedicated bus 8 to the dual port memory 3 simultaneously.
a can be executed. Thus, DMA
The control unit 4a can execute a plurality of access requests, but, of course, is controlled so that access requests to the same address in the dual port memory 3a are not executed simultaneously.

【0034】バス調停部5aは、一つのアクセス要求に
対してシステムバス1又はリアルタイム専用バス8のい
ずれかを選択して使用権を与えることができる。そし
て、このバス調停部5aは、通常状態においては、各外
部装置からI/O制御部6を介して入力される各アクセ
ス要求に対しては、ラウンドロビン方式を用いて各アク
セス要求に対してシスデムバス1に対する使用権を与え
る。したがって、DMA制御部4aも、通常状態におい
ては、バス調停部5aでラウンドロビン方式で与えられ
た各アクセス要求に対して、システムバス1を介してデ
ュアルポートメモリ3aに対してアクセスを実行して、
アクセス結果を要求元の外部装置へ返信する。
The bus arbitration unit 5a can select either the system bus 1 or the real-time dedicated bus 8 for one access request and give the right to use. In the normal state, the bus arbitration unit 5a responds to each access request input from each external device via the I / O control unit 6 by using a round robin method. The right to use the Sysdem bus 1 is given. Therefore, in the normal state, the DMA controller 4a also accesses the dual port memory 3a via the system bus 1 for each access request given by the bus arbitration unit 5a in a round robin manner. ,
The access result is returned to the requesting external device.

【0035】また、各外部装置は自己がリアルタイム性
を確保する必要があるアクセス要求を送出する必要が生
じた場合は、このアクセス要求を送出する前に、該当ア
クセスの実行時刻をバス調停部5aへ送出する。
When it is necessary for each external device to send an access request for which it is necessary to secure the real-time property, before sending this access request, the external device determines the execution time of the corresponding access by the bus arbitration unit 5a. Send to

【0036】バス調停部5aは、このリアルタイム性を
確保する必要があるアクセス要求を出力する特定のI/
O制御部6からのI/O制御部6を指定したアクセス実
行の指定時刻が入力するとこの指定時刻をタイマ回路7
aへ設定する。タイマ回路7aは、この指定時刻までの
時間を計時して、計時が終了すると、バス調停回路5a
へ計時終了を通知する。
The bus arbitration unit 5a outputs a specific I / O for outputting an access request for which this real-time property needs to be ensured.
When a specified time of access execution specifying the I / O control unit 6 from the O control unit 6 is input, the specified time is set to the timer circuit 7.
Set to a. The timer circuit 7a measures the time up to the designated time, and when the time measurement ends, the bus arbitration circuit 5a
To the end of timing.

【0037】バス調停回路5aは、タイマ回路7aから
の特定のI/O制御部6を指定した計時終了を受領する
と、この特定のI/O制御部6からのアクセス要求に対
してリアルタイム専用バス8の使用権をDMA制御部4
aを通知する。
When the bus arbitration circuit 5a receives the time-out from the timer circuit 7a specifying the specific I / O control unit 6, the bus arbitration circuit 5a responds to the access request from the specific I / O control unit 6 in response to the real-time dedicated DMA control unit 4
Notify a.

【0038】DMA制御部4aは、このバス調停部5a
でリアルタイム専用バス8の使用権が割付けられた特定
のI/O制御部6のアクセス要求をリアルタイム専用バ
ス8を介してデュアルポートメモリ3aへ送出して、該
当デュアルポートメモリ3aに対するデータの書込み読
出のアクセス処理を実行して、アクセス処理結果をI/
O制御部6を介してアクセス要求元の外部装置へ返送す
る。
The DMA control unit 4a includes a bus arbitration unit 5a
Sends the access request of the specific I / O control unit 6 to which the right to use the real-time dedicated bus 8 is assigned to the dual-port memory 3a via the real-time dedicated bus 8, and writes / reads data to / from the dual-port memory 3a. Is executed, and the result of the access processing is
The access request is returned to the external device via the O control unit 6.

【0039】なお、バス調停部5aは、特定のI/O制
御部6からのアクセス要求以外の各I/O制御部6から
のアクセス要求に対しては通常のシステムバス1に対し
て使用権を与えるので、リアルタイム専用バス8とシス
テムバス1とに対して個別のアクセス要求を同時に割付
ける。その結果、DMA制御部4aも、リアルタイム専
用バス8とシステムバス1を介してデュアルポートメモ
リ3aに対して同時に異なるアクセス処理を実施でき
る。
The bus arbitration unit 5a has a right to use the normal system bus 1 for an access request from each I / O control unit 6 other than an access request from a specific I / O control unit 6. Therefore, individual access requests are simultaneously assigned to the real-time dedicated bus 8 and the system bus 1. As a result, the DMA control unit 4a can simultaneously execute different access processing to the dual port memory 3a via the real-time dedicated bus 8 and the system bus 1.

【0040】図4は上述したバス調停回路5aの調停動
作を示す流れ図である。アクセス要求に対してリアルタ
イム処理を実施する必要がある特定のI/O制御部6か
らの時刻設定要求があると(R1)、タイマ回路7aに
該当時刻と該当I/O制御部6を特定するI/O制御部
IDを設定する(R2)。
FIG. 4 is a flowchart showing the arbitration operation of the bus arbitration circuit 5a. When there is a time setting request from a specific I / O control unit 6 that needs to execute real-time processing for an access request (R1), the timer circuit 7a specifies the corresponding time and the corresponding I / O control unit 6. An I / O control unit ID is set (R2).

【0041】タイマ回路7aから計時終了通知が入力し
ない場合は(R3)、通常のラウンドロビン方式で決定
されたI/O制御部6に対してシステムバス1の使用権
を与える(R4)。タイマ回路7aから計時終了通知が
入力されると(R3)、この計時終了通知で指定された
特定のI/O制御部6に対してリアルタイム専用バス8
の使用権を与える(R5)。そして、R4へ進み、通常
のラウンドロビン方式で決定されたI/O制御部6に対
してシステムバス1の使用権を与える。
If the timer end notification is not input from the timer circuit 7a (R3), the right to use the system bus 1 is given to the I / O control unit 6 determined by the ordinary round robin method (R4). When the clock end notification is input from the timer circuit 7a (R3), the real-time dedicated bus 8 is sent to the specific I / O control unit 6 specified by the clock end notification.
(R5). Then, the process proceeds to R4, and the right to use the system bus 1 is given to the I / O control unit 6 determined by the normal round robin method.

【0042】このように構成された第2実施形態の計算
機システムにおいては、第1実施形態の計算機システム
と同様に、リアルタイム性が要求されるアクセス要求を
発生する特定の外部装置はバス調停部5aを介してタイ
マ回路7aに対して次のアクセス要求の発生時刻を設定
しておくことが可能である。
In the computer system of the second embodiment configured as described above, similarly to the computer system of the first embodiment, a specific external device that generates an access request requiring real-time processing is a bus arbitration unit 5a. , It is possible to set the time of occurrence of the next access request to the timer circuit 7a.

【0043】該当時刻に達すると、バス調停部5aが動
作して、この特定の外部装置のI/O制御部6に対して
リアルタイム専用バス8の使用権が与えられる。よつ
て、特定のI/O制御部6のアクセス要求はリアルタイ
ムで処理される。この場合、特定の外部装置以外の一般
の外部装置からのアクセス要求は通常のシステムバス1
を介して実行されるので、通常のアクセス要求の実行が
リアルタイム性のアクセス要求に対するアクセス処理の
終了まで待たされることはない。
When the relevant time is reached, the bus arbitration unit 5a operates to give the I / O control unit 6 of this specific external device the right to use the real-time dedicated bus 8. Therefore, an access request from a specific I / O control unit 6 is processed in real time. In this case, an access request from a general external device other than a specific external device is transmitted to the normal system bus 1.
, The execution of the normal access request does not have to wait until the end of the access processing for the real-time access request.

【0044】このように、複数の外部装置からのアクセ
ス要求を受付ける場合に、例えばリアルテイム性を要求
される特定のアクセス要求に対してのみ、他の一般のア
クセス要求とは区別して別ルートでアクセス処理が実行
されるので、他の一般のアクセス要求に何等影響を与え
ることなく、特定のアクセス処理をリアルタイルで実施
できる。よって、計算機システムの適用範囲をさらに大
幅に拡大できる。
As described above, when an access request from a plurality of external devices is received, for example, only a specific access request that requires real-time property is distinguished from other general access requests by another route. Since the access processing is executed, the specific access processing can be performed in real tile without affecting other general access requests. Therefore, the application range of the computer system can be further greatly expanded.

【0045】[0045]

【発明の効果】以上説明したように、本発明の計算機シ
ステム及び計算機システムにおけるバス使用権割付方法
においては、タイマ回路とバス調停部とを設けて、例え
ばリアルタイム性が要求される特定のI/O制御部から
のアクセス要求に対しては、無条件でシステムバスに対
する使用権を与えている。
As described above, in the computer system and the method for allocating the bus use right in the computer system according to the present invention, a timer circuit and a bus arbitration unit are provided so that, for example, a specific I / O which requires real-time performance is provided. The access right from the O control unit is unconditionally given the right to use the system bus.

【0046】したがって、たとえ外部装置から複数のア
クセス要求を受付ける場合であっても、特定のI/O制
御部からのアクセス要求に対しは確実にリアルタイム性
を確保でき、構成を複雑化することなくシステム全体の
運用範囲を拡張できる。
Therefore, even when a plurality of access requests are received from an external device, it is possible to reliably ensure real-time access requests from a specific I / O control unit without complicating the configuration. The operation range of the entire system can be expanded.

【0047】また、別の発明の計算機システムにおいて
は、デュアルポートメモリとリアルタイム専用バスを設
けて、リアルタイム性が要求される特定のI/O制御部
からのアクセス要求に対してはこのリアルタイム専用バ
スに対して使用権を与えている。
Further, in the computer system of another invention, a dual port memory and a real-time dedicated bus are provided, and the real-time dedicated bus is provided for an access request from a specific I / O control unit requiring a real-time property. Has been granted the right to use.

【0048】したがって、他の一般のアクセス要求に何
等影響を与えることなく、特定のアクセス処理をリアル
タイルで実施できる。よって、計算機システムの適用範
囲をさらに大幅に拡大できる。
Therefore, a specific access process can be performed in real tile without affecting other general access requests. Therefore, the application range of the computer system can be further greatly expanded.

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

【図1】 本発明の第1実施形態のバス使用権割付方法
が適用された計算機システムの概略構成を示すブロック
FIG. 1 is a block diagram showing a schematic configuration of a computer system to which a bus use right assignment method according to a first embodiment of the present invention is applied;

【図2】 同計算機システムのバス調停部におけるバス
使用権の割付処理動作を示す流れ図
FIG. 2 is a flowchart showing an operation of allocating a bus right in a bus arbitration unit of the computer system;

【図3】 本発明の第2実施形態の計算機システムの概
略構成を示すブロック図
FIG. 3 is a block diagram showing a schematic configuration of a computer system according to a second embodiment of the present invention;

【図4】 同計算機システムのバス調停部におけるバス
使用権の割付処理動作を示す流れ図
FIG. 4 is a flowchart showing an operation of allocating a bus right in a bus arbitration unit of the computer system;

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

1…システムバス 2…CPU 3…メモリ 3a…デュアルポートメモリ 4,4a…DMA制御部 5,5a…バス調停部 6…I/O制御部 7,7a…タイマ回路 8…リアルタイム専用バス DESCRIPTION OF SYMBOLS 1 ... System bus 2 ... CPU 3 ... Memory 3a ... Dual port memory 4, 4a ... DMA control part 5, 5a ... Bus arbitration part 6 ... I / O control part 7, 7a ... Timer circuit 8 ... Real time exclusive bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPU及びメモリが接続されたシステム
バスに対する使用権を、バス調停部で、外部装置に接続
された複数のI/O制御部における各I/O制御部に順
番に与えていく計算機システムにおいて、 前記複数のI/O制御部のうちの特定のI/O制御部に
て指定された時刻までの時間を計時するタイマ回路を設
け、 前記バス調停部は、前記タイマ回路の計時終了に応動し
て、前記特定のI/O制御部に対して無条件で前記シス
テムバスに対する使用権を与えることを特徴とする計算
機システム。
1. A bus arbitration unit sequentially grants a right to use a system bus to which a CPU and a memory are connected to each I / O control unit in a plurality of I / O control units connected to an external device. In the computer system, a timer circuit for measuring a time until a time designated by a specific I / O control unit of the plurality of I / O control units is provided, and the bus arbitration unit is configured to measure the time of the timer circuit. In response to the termination, the computer system unconditionally grants a right to use the system bus to the specific I / O control unit.
【請求項2】 CPU及びメモリが接続されたシステム
バスに対する使用権を、バス調停部で、外部装置に接続
された複数のI/O制御部における各I/O制御部に順
番に与えていく計算機システムにおいて、 前記複数のI/O制御部のうちの特定のI/O制御部に
て指定された時刻までの時間を計時するタイマ回路と、
少なくとも前記メモリが接続されるリアルタイム専用バ
スとを設け、 前記メモリを前記システムバスと前記リアルタイム専用
バスとが接続されるデュアルポートメモリとし、 前記バス調停部は、前記タイマ回路の計時終了に応動し
て、前記特定のI/O制御部に対して前記リアルタイム
専用バスに対する使用権を与えることを特徴とする計算
機システム。
2. A bus arbitration unit sequentially grants a right to use a system bus to which a CPU and a memory are connected to each I / O control unit in a plurality of I / O control units connected to an external device. In the computer system, a timer circuit that measures time until a time specified by a specific I / O control unit of the plurality of I / O control units;
A real-time dedicated bus to which at least the memory is connected; a dual-port memory, wherein the memory is connected to the system bus and the real-time dedicated bus; the bus arbitration unit responds to the end of timing of the timer circuit And giving the right to use the real-time dedicated bus to the specific I / O control unit.
【請求項3】 計算機システムにおけるシステムバスに
対する使用権を、外部装置に接続された複数のI/O制
御部における各I/O制御部に順番に与えていくバス使
用権割付方法おいて、 前記複数のI/O制御部のうちの特定のI/O制御部に
て指定された時刻までの時間を計時し、 指定された時刻までの計時が終了すると、前記特定のI
/O制御部に対して無条件で前記システムバスに対する
使用権を与えることを特徴とするバス使用権割付方法。
3. A bus use right assignment method for sequentially assigning a use right to a system bus in a computer system to each I / O control unit in a plurality of I / O control units connected to an external device, The time up to the time specified by the specific I / O control unit of the plurality of I / O control units is measured, and when the time measurement up to the specified time is completed, the specific I / O control unit is stopped.
A method of assigning a right to use the system bus to the / O control unit unconditionally.
JP2856998A 1998-02-10 1998-02-10 Computer system and method for allocating bus application right Pending JPH11232209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2856998A JPH11232209A (en) 1998-02-10 1998-02-10 Computer system and method for allocating bus application right

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2856998A JPH11232209A (en) 1998-02-10 1998-02-10 Computer system and method for allocating bus application right

Publications (1)

Publication Number Publication Date
JPH11232209A true JPH11232209A (en) 1999-08-27

Family

ID=12252267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2856998A Pending JPH11232209A (en) 1998-02-10 1998-02-10 Computer system and method for allocating bus application right

Country Status (1)

Country Link
JP (1) JPH11232209A (en)

Similar Documents

Publication Publication Date Title
US4831523A (en) Multiple DMA controller chip sequencer
US6006303A (en) Priority encoding and decoding for memory architecture
US4556952A (en) Refresh circuit for dynamic memory of a data processor employing a direct memory access controller
JPS5812611B2 (en) Data Tensou Seigiyohoushiki
US5239631A (en) Cpu bus allocation control
JP2986176B2 (en) Bus right control system and bus system
KR101050019B1 (en) Memory interface for systems with multiple processors and one memory system
EP0355463A2 (en) Timer channel with multiple timer reference features
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
US5649209A (en) Bus coupling information processing system for multiple access to system bus
US4896266A (en) Bus activity sequence controller
JPH0728758A (en) And device for dynamic time loop arbitration
US5680554A (en) Method and apparatus for arbitrating among processors for access to a common bus
US6889283B2 (en) Method and system to promote arbitration priority in a buffer queue
JP3766377B2 (en) Bus control device and information processing system
JPH11232209A (en) Computer system and method for allocating bus application right
JP2010092101A (en) Information processor
JP3124544B2 (en) Bus controller
US12001357B2 (en) Direct memory access circuit, microcontroller, and method of controlling a direct memory access
JPH1139255A (en) Bus arbitration device and method therefor
US20010005870A1 (en) External bus control system
JP7226084B2 (en) Information processing equipment
KR950008228B1 (en) Computer system with direct memory access channd arbitration
JP5111940B2 (en) Information processing apparatus and access control method
US5799160A (en) Circuit and method for controlling bus arbitration