JPH03161856A - Information apparatus - Google Patents

Information apparatus

Info

Publication number
JPH03161856A
JPH03161856A JP30145289A JP30145289A JPH03161856A JP H03161856 A JPH03161856 A JP H03161856A JP 30145289 A JP30145289 A JP 30145289A JP 30145289 A JP30145289 A JP 30145289A JP H03161856 A JPH03161856 A JP H03161856A
Authority
JP
Japan
Prior art keywords
bus
signal
main processor
gate
negative logic
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
JP30145289A
Other languages
Japanese (ja)
Inventor
Makoto Konnai
近内 誠
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP30145289A priority Critical patent/JPH03161856A/en
Publication of JPH03161856A publication Critical patent/JPH03161856A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the processing speed of a program from being sharply reduced by allowing a main processor to programmably control the bus acquisition of a bus master to secure the bus cycle of the main processor itself. CONSTITUTION:The information apparatus is provided with a counter 110 for counting up the bus aquisition frequency of bus masters 101 to 104, a maximum bus acquisition frequency setting register 109 to be set up by the main processor 115 and a comparator 111 for comparing the value of the counter 110 with that of the register 109. When the value of the counter reaches the value of the register 109, the bus acquisition of the bus masters 101 to 104 is temporarily suspended. Since the bus cycle of the main processor 105 is secured, the program processing speed can be prevented from being sharply reduced.

Description

【発明の詳細な説明】[Detailed description of the invention]

[産業上の利用分野] 本発明は、情報機器に関する。 [従来の技術〕 メインプロセッサと複数のバスマスタとを含むマルチバ
スマスタシステムにおける、メインプロセッサのバス調
停のプロトコルの一例を第6図のタイミングチャートに
示し、以降これに従うものとする。第6図にある各信号
はメインプロセッサのバス調停に関係する信号であり、
ここでは説明の簡便のためメインプロセッサと1個のバ
スマスタとからなるマルチバスマスタシステムを想定し
て説明する。信号はそれぞれ、メインプロセッサを含む
マルチバスマスタシステムのシステムクロックrcLK
Jと、メインプロセッサとバスマスタのうちいずれかが
バスサイクルを実行中であることを示すアドレスストロ
ーブ信号rASJと、メインプロセッサとバスマスタの
うちいずれかが獲得したバスサイクルにおいて、前記メ
インプロセッサとバスマスタのうちいずれかによりアク
セスされるメモリ・周辺装置等がデータ転送時に出力す
るデータ転送応答信号rDSACKx*』と、バスマス
タからメインプロセッサに対しバス獲得を要求するバス
獲得要求償号rBR*,と、メインプロセッサからバス
マスタに対しバス放棄を知らせるバス許可信号rBG*
Jと、バスを獲得したバスマスタからメインプロセッサ
に対しバスの獲得または使用中を知らせるバス許可応答
信号「BGACK*Jとを含む。ただし’ B G A
 C K * Jはバスマスタが複数ある場合には、他
のバスマスクに対してもバスの獲得または使用中を知ら
せるために出力される。なお各信号名の末尾に「*」の
ある信号は負論理であることを示し、以下同様とする。 第6図の「T1」において、バス獲得を要求するバスマ
スタがバス獲得要求信号rBR*,を出力する。メイン
プロセッサは一般的にはバス獲得の優先順位が最低であ
ることから、前記「BR*」が入力されれば現在実行中
のバスサイクルの終結直後にバスを放棄しなければなら
ないため、第6図の「T2」に示すとおり前記rBR*
Jの入力から数クロックサイクル後にバス許可信号「B
G*Jを出力して現在実行中のバスサイクルの終結直後
にパスマスタヘバスを開け渡すことを知らせる。第6図
の「T3」においてバスマスクは前記rBG)kJが入
力された後、アドレスストローブ信号rAs*Jとデー
タ転送応答信号rDSACKX)kJとデータ許可応答
信号rBGACKホ」とが無効になることを確認するこ
とで、メインプロセッサまたは他のバスマスクがバスを
放棄したことを認識する。その後バスマスタはバス獲得
応答信号rBGAcK*」を出力するとともに、第6図
の「T4」に示すとおり前記バス獲得要求償号rBRl
kJを無効にする。第6図の「T5」においてバスマス
タは自らのバスサイクルが終了すれば前記rBGAcK
*」を無効にしてバスの放棄をメインプロセッサまたは
他のバスマスクへ知らせる。以上がメインプロセッサの
バスマスタに対するバス調停のプロトコルである。第7
図は第6図の各信号の入出力関係を示すマルチバスマス
タシステムのブロック図であり、メインプロセッサ70
1と、バスマスタ702とを含む。アドレスストローブ
信号724は第6図のrAS*Jに、データ転送応答信
号725は第6図のrDsACKX*」に、バス獲得要
求信号721は第6図のrBR*Jに、バス許可信号7
22は第6図のrBG*Jに、バス許可応答信号723
は第6図のrBGAcK*Jにそれぞれ対応している。 アドレスストローブ信号724とデータ転送応答信号7
25とはメインプロセッサ701とバスマスタ702と
の共有信号であり、バス獲得要求償号721とバス許可
応答信号723はパスマスタ702からメインプロセッ
サ701へ、バス許可信号722はメインプロセッサ7
01からバスマスタ702へそれぞれ入力される。また
バス許可応答信号723はバスマスタ702へ再入力さ
れる。第8図はバスマスタが複数存在する場合の各信号
の入出力関係を示すマルチバスマスタシステムのブロッ
ク図であり、メインプロセッサ801と、バスマスタ8
02・803・804・805と、バス獲得制御回路8
06とを含む。アドレスストローブ信号824は第6図
の「AS*」に、データ転送応答信号825は第6図の
rDSACKX)kJに、バス獲得要求償号821は第
6図のrBRIJに、バス許可信号822は第6図の「
BG)kJに、バス許可応答信号823は第6図のrB
GAcK*Jにそれぞれ対応している。アドレスストロ
ーブ信号824とデータ転送応答信号825はメインプ
ロセッサ801とバスマスタ802〜805との共有信
号である。バス獲得要求信号821はバス獲得制御回路
806からメインプロセッサ801へ、バス許可信号8
22はメインプロセッサ801からバス獲得制御回路8
06へそれぞれ入力される。またバス許可応答信号82
3はバス獲得制御回路806からメインプロセッサ80
1へ入力されるとともに、バスマスク802〜805へ
もそれぞれのバスマスタが他のバスマスタのバス使用状
況をモニタするためにそれぞれ入力される。バス獲得要
求候補信号831−1〜831−4はそれぞれバスマス
タ802〜805からバス獲得制御回路806へ、バス
許可応答候補信号833−1〜833−4はそれぞれバ
スマスタ802〜805からバス獲得制御回路806へ
、バス許可候補信号832−1〜832一4はそれぞれ
バス獲得制御回路806からバスマスタ802〜805
へそれぞれ入力される。メインプロセッサ801に対す
るバス獲得要求償号821は各バスマスタからのバス獲
得要求候補信号831−1〜831−4の論理和であり
、メインプロセッサ801に対するバス許可応答信号8
23は各バスマスタからのバス許可応答候補信号833
−1〜833−4の論理和である。各バスマスタに対す
るバス許可候補信号832−1〜832−4は、メイン
プロセッサ801からバス獲得制御回路806ヘバス許
可信号822が入力された後に、バス獲得制御回路80
6により選択されたつぎにバスを獲得すべきバスマスタ
に接続された信号が有効(LO)になる。従って、バス
獲得制御回路806は複数のバスマスタのバス獲得を調
停するアービトレーション機能を有する。第9図は第8
図に示した周知のバス獲得制御回路806の構成図であ
り、負論理のオアゲート901・902と、負論理のア
ンドゲート903・904・905l906・913・
914・915と、インバータ923・924・925
とを含む。第8図のメインプロセッサ801へのバス獲
得要求信号931は第8図の821に、第8図のメイン
プロセッサ801からのバス許可信号932は第8図の
822
[Industrial Application Field] The present invention relates to information equipment. [Prior Art] An example of a main processor bus arbitration protocol in a multi-bus master system including a main processor and a plurality of bus masters is shown in the timing chart of FIG. 6, which will be followed hereinafter. Each signal in FIG. 6 is a signal related to bus arbitration of the main processor,
Here, for the sake of simplicity, the description will be made assuming a multi-bus master system consisting of a main processor and one bus master. Each signal is the system clock rcLK of a multibus master system including the main processor.
J, an address strobe signal rASJ indicating that one of the main processor and the bus master is executing a bus cycle, and an address strobe signal rASJ indicating that one of the main processor and the bus master is executing a bus cycle. A data transfer response signal rDSACKx* that is output by a memory or peripheral device accessed by one of the devices during data transfer, a bus acquisition request signal rBR* that requests the main processor to acquire the bus from the bus master, and a bus acquisition request signal rBR* that requests the main processor to acquire the bus from the bus master. Bus permission signal rBG* that notifies the bus master of bus abandonment
J and a bus grant response signal "BGACK*J" from the bus master that acquired the bus to notify the main processor that the bus is acquired or in use.
When there are multiple bus masters, C K * J is also output to other bus masks to inform them that the bus has been acquired or is in use. Note that a signal with "*" at the end of each signal name indicates a negative logic, and the same applies hereinafter. At "T1" in FIG. 6, the bus master requesting bus acquisition outputs a bus acquisition request signal rBR*. Since the main processor generally has the lowest priority for bus acquisition, if the above-mentioned "BR*" is input, the main processor must relinquish the bus immediately after the end of the currently executing bus cycle. As shown in “T2” in the figure, the rBR*
A few clock cycles after the input of J, the bus permission signal “B
G*J is output to notify the path master that the bus will be handed over immediately after the currently executed bus cycle ends. At "T3" in FIG. 6, the bus mask indicates that after the rBG)kJ is input, the address strobe signal rAs*J, the data transfer response signal rDSACKX)kJ, and the data permission response signal rBGACKX) become invalid. By checking, we recognize that the main processor or other busmask has relinquished the bus. Thereafter, the bus master outputs the bus acquisition response signal rBGAcK*, and also outputs the bus acquisition request response signal rBRl as shown at T4 in FIG.
Disable kJ. At "T5" in FIG. 6, when the bus master completes its own bus cycle, the rBGAcK
*" to notify the main processor or other bus masks of bus relinquishment. The above is the bus arbitration protocol for the main processor to the bus master. 7th
The figure is a block diagram of a multi-bus master system showing the input/output relationship of each signal in FIG.
1 and a bus master 702. The address strobe signal 724 is connected to rAS*J in FIG. 6, the data transfer response signal 725 is connected to rDsACKX* in FIG. 6, the bus acquisition request signal 721 is connected to rBR*J in FIG.
22 is the bus permission response signal 723 to rBG*J in FIG.
correspond to rBGAcK*J in FIG. 6, respectively. Address strobe signal 724 and data transfer response signal 7
25 is a shared signal between the main processor 701 and the bus master 702; the bus acquisition request code 721 and bus grant response signal 723 are sent from the path master 702 to the main processor 701, and the bus grant signal 722 is sent to the main processor 701.
01 to the bus master 702, respectively. Further, the bus permission response signal 723 is re-inputted to the bus master 702. FIG. 8 is a block diagram of a multi-bus master system showing the input/output relationship of each signal when there are multiple bus masters.
02, 803, 804, 805 and bus acquisition control circuit 8
06. The address strobe signal 824 is connected to "AS*" in FIG. 6, the data transfer response signal 825 is connected to rDSACKX)kJ in FIG. 6, the bus acquisition request signal 821 is connected to rBRIJ in FIG. Figure 6 “
BG) kJ, the bus permission response signal 823 is rB in FIG.
Each corresponds to GAcK*J. Address strobe signal 824 and data transfer response signal 825 are signals shared by main processor 801 and bus masters 802-805. The bus acquisition request signal 821 is sent from the bus acquisition control circuit 806 to the main processor 801, and the bus grant signal 821 is sent from the bus acquisition control circuit 806 to the main processor 801.
22 is a bus acquisition control circuit 8 from the main processor 801;
06 respectively. Also, the bus permission response signal 82
3 from the bus acquisition control circuit 806 to the main processor 80
1, and also input to bus masks 802 to 805 so that each bus master can monitor the bus usage status of other bus masters. The bus acquisition request candidate signals 831-1 to 831-4 are sent from the bus masters 802 to 805 to the bus acquisition control circuit 806, and the bus permission response candidate signals 833-1 to 833-4 are sent from the bus masters 802 to 805 to the bus acquisition control circuit 806, respectively. The bus permission candidate signals 832-1 to 832-4 are sent from the bus acquisition control circuit 806 to the bus masters 802 to 805, respectively.
are input into each. The bus acquisition request response signal 821 for the main processor 801 is the logical sum of the bus acquisition request candidate signals 831-1 to 831-4 from each bus master, and is the bus grant response signal 8 for the main processor 801.
23 is a bus permission response candidate signal 833 from each bus master.
-1 to 833-4. The bus permission candidate signals 832-1 to 832-4 for each bus master are sent to the bus acquisition control circuit 806 after the bus permission signal 822 is input from the main processor 801 to the bus acquisition control circuit 806.
The signal connected to the next bus master selected by 6 becomes valid (LO). Therefore, the bus acquisition control circuit 806 has an arbitration function that arbitrates bus acquisition among a plurality of bus masters. Figure 9 is the 8th
This is a configuration diagram of the well-known bus acquisition control circuit 806 shown in the figure, including negative logic OR gates 901 and 902, and negative logic AND gates 903, 904, 905, 906, 913, and
914/915 and inverter 923/924/925
including. The bus acquisition request signal 931 to the main processor 801 in FIG. 8 is sent to 821 in FIG. 8, and the bus grant signal 932 from the main processor 801 in FIG.

【二、第8図のメインプロセッサ8o1へのバス
許可応答信号933は第8図の823に、第8図の各バ
スマスタ802〜805からのバス獲得要求候補信号9
41−1〜941−4はそれぞれ第8図の831−1〜
831−4に、第8図の各バスマスタ802〜805へ
のバス許可候補信号942−1〜942−4はそれぞれ
第8図の832−1〜832−4に、第8図の各バスマ
スタ802〜805からのバス許可応答候補信号943
−1〜943−4はそれぞれ第8図の833−l〜83
3−4にそれぞれ対応している。 第8図のバスマスタ802からのバス獲得要求候補信号
941−1は負論理のオアゲート901と、負論理のア
ンドゲート903と、インバータ923とにそれぞれ入
力される。またインバータ923の出力は負論理のアン
ドゲート913へ入力される。第8図のバスマスタ80
3からのバス獲得要求候補信号941−2は負論理のオ
アゲート901と、負論理のアンドゲート904と、イ
ンバータ924とにそれぞれ入力される。またインバー
タ924の出力は負論理のアンドゲート914へ入力さ
れる。第8図のバスマスタ804からのバス獲得要求候
補信号941−3は負論理のオアゲート901と、負論
理のアンドゲート905と、インバータ925とにそれ
ぞれ入力される。またインバータ925の出力は負論理
のアンドゲート915へ入力される。第8図のバスマス
タ805からのバス獲得要求候補信号941−4は負論
理のオアゲート901と、負論理のアンドゲート906
とに入力される。第8図のメインプロセッサ801から
のバス許可信号932は負論理のアンドゲート903と
913へ入力される。負論理のアンドゲート913は演
算結果が有効であれば負論理のアンドゲート904と9
14とに接続された信号を有効(Lo)にする。負論理
のアンドゲート914は演算結果が有効であれば負論理
のアンドゲート905と915とに接続された信号を有
効(Lo)にする。負論理のアンドゲート915は演算
結果が有効であれば負論理のアンドゲート906とに接
続された信号を有効(LO)にする。負論理のアンドゲ
ート903は演算結果が有効であれば第8図のバスマス
タ802へのバス許可候補信号942−1へ接続された
信号を有効(Lo)にする。負論理のアンドゲート90
4は演算結果が有効であれば第8図のバスマスタ803
へのバス許可候補信号942−2を有効(Lo)にする
。負論理のアンドゲート905は演算結果が有効であれ
ば第8図のバスマスタ804へのバス許可候補信号94
2−3を有効(Lo)にする。 負論理のアンドゲート906は演算結果が有効であれば
第8図のバスマスタ805へのバス許可候補信号942
−4を有効(Lo)にする。負論理のオアゲート902
は第8図の4つの各バスマスタ802〜805からのバ
ス許可応答候補信号943−1〜943−4のうち少な
くとも1つでも有効(Lo)になれば第8図のメインプ
ロセッサ−IO− 801へのバス許可応答信号933を有効(Lo)にす
る。負論理のオアゲート901は第8図の4つの各バス
マスタ802〜805からのバス獲得要求償号941−
1〜941−4のうち少なくとも1つでも有効(Lo)
になれば第8図のメインプロセッサ801へのバス獲得
要求信号931を有効(Lo)にする。第6図で説明し
たとおり、第8図のメインプロセッサ801へのバス獲
得要求償号931を有効(LO)にした後、第8図のメ
インプロセッサ801からの入力バス許可信号932が
有効(Lo)になる。負論理のアンドゲート913・9
14・915とインバータ923・924・925とか
らなるデイジーチェーンは、それぞれバス獲得要求候補
信号941−1・941−2・941−3により第8図
のメインプロセッサ801からのバス許可信号932の
通過・遮断を行なうため、仮にバス獲得要求候補信号9
4l−1と941−2とがともに有効(Lo)にされた
後にバス許可信号932が有効(Lo)にされれば、負
論理のアンドゲート903の出力はL−11− Oとなり第8図のバスマスタ802への出力バス許可候
補信号942−1が有効(Lo)になるが、負論理のア
ンドゲート904の出力はHiのままであり第8図のバ
スマスタ803へのバス許可候補信号942−2は無効
(Hi)のままである。 第8図のバスマスタ802はバス許可候補信号942−
1が有効(Lo)にされた後、第6図で説明したとおり
アドレスストローブ信号824と、データ転送応答信号
825と、バス許可応答信号823とがすべて無効(H
i )となったことを確認してからバス許可応答候補信
号943−1を有効(LO)にし、その後バス獲得要求
候補信号941−1を無効(Hi)にする。しかし第8
図のバスマスタ803からのバス獲得要求候補信号94
1−2がまだ有効(Lo)になり続けているためバ2”
11得要求償号931も有効(LO)のままであり、こ
れをバス要求のペンディング状態と呼ぶこととする。第
10図は前記バス要求のペンディング状態を示すタイミ
ングチャートである。信号名称は第6図と同じである。 第10図の『T6」−12一 に示すとおりメインプロセッサはバス許可信号「BG*
Jを無効にする時点において、まだバス獲得要求信号r
BR*Jの入力が継続されていればバス要求がペンディ
ング状態であると認識し、数クロックサイクル後に再度
バス許可信号「BG*」を有効にし、第8図のバスマス
タ803に対しても第8図のバスマスタ802のバスサ
イクル終了後に引続きバスを開け渡すことを知らせる。 従って、バスマスタ間においてバス使用権の譲渡が行わ
れる。しかしマルチバスマスタシステムにおいて、この
様なバス要求のペンディング状態が頻発すればメインプ
ロセッサは各バスマスタに対してバスを放棄し続けプロ
グラムの実行速度を大幅に低下させてしまう。またメイ
ンプロセッサがバス放棄中であれば割り込み要求が入っ
ても、受け付けられず割り込み要求デバイスからのデー
タのバッファ・オーバーフローが発生する危険性がある
。 第11図は第9図のバス獲得制御回路を変更し、メイン
プロセッサへのバス獲得要求信号の生成に制約を加えた
従来技術によるバス獲得制御回路の−13− 構成図であり、負論理のオアゲート1101・1102
と、負論理のアンドゲートl103・1104・110
5・1106・1113・1114・l115と、イン
バータ1123・1124・1125と、ナンドゲート
113lと、インバータ1132とを含む。第8図のメ
インプロセッサ801へのバス獲得要求償号1131は
第9図の931に、第8図のメインプロセッサ801か
らのバス許可信号1132は第9図の932に、第8図
のメインプロセッサ801へのバス許可応答信号113
3は第9図の933に、第8図の各バスマスタ802〜
805からのバス獲得要求候補信号1141−1〜11
41−4はそれぞれ第9図の941−1〜941−4に
、第8図の各バスマスタ802〜805へのバス許可候
補信号1142−1〜1142−4はそれぞれ第9図の
942−1〜942−4に、第8図の各バスマスタ80
2〜805からのバス許可応答候補信号1143−1〜
1143−4はそれぞれ第9図の943−1〜943−
4にそれぞれ対応している。ナン−14一 ドゲート1131とインバータ1132とを除けば本回
路の構成と動作は第9図で説明したとおりである。負論
理のオアゲート1101の出力、すなわち第9図で云う
第8図のメインプロセッサ801へのバス獲得要求償号
931はインバータ】132へ入力され、インバータ1
132の出力はナンドゲート1131へ入力される。負
論理のオアゲート1102の出力は第8図のメインプロ
セッサ801へのバス許可応答信号1工33であるとと
もに、ナンドゲート1131へも入力される。 ナンドゲート1131は演算結果が有効であれば第8図
のメインプロセッサ801への出力バス獲得要求償号1
l31を有効(Lo)にする。ナンドゲート1131に
より第8図の各バスマスタ802〜805からのバス獲
得要求候補信号1141−1 〜1141−4のいずれ
かが有効(Lo)になり、なおかつ第8図のバスマスタ
802〜805からのバス許可応答候補信号1143−
1〜1143−4のすべてが無効(Hi)であるときに
、すなわち全てのバスマスタがバスを放棄して一l5ー いるときに第8図のメインプロセッサ801へのバス獲
得要求償号1131が有効(Lo)になるため、第10
図に示したバス要求のペンディング状態は発生しない。 しかし複数のバスマスタが同時もしくは近接した時間内
にバス獲得を要求した場合、常にデイジーチェーンの上
位に接続されたバスマスタがバスを獲得してしまうため
、デイジーチェーンの下位に接続されたバスマスタ、例
えばDMAコントローラがバス獲得要求の発生からDM
A転送開始までの最大時間が規定されている同期式DM
A転送を行なおうとする場合には、データのバッファ・
オーバーフローが発生する危険性がある。 [発明が解決しようとする課題] しかし上記の説明の通り従来のバス獲得制御回路を含む
情報機器では、第9図のバス獲得制御回路を用いると、
バスマスタからのバス獲得要求が頻発する状況において
はメインプロセッサが無条件にバス使用権をバスマスタ
へ開け渡すためメインプロセッサのバスサイクルを確保
できずプログラ−16− ムの処理速度の大幅な低下をもたらしてしまい、また割
り込み要求デバイスからのデータのバッファ・オーバー
フローが発生する危険性がある。また第11図のバス獲
得制御回路を用いると、バスマスタが同期式DMA転送
を行うデバイスである場合にはDMA転送されるデータ
のバッファ・オーバーフローを発生させる危険性がある
。そこで本発明は以上の欠点をなくすために、バスマス
タからのバス獲得の延べ回数が予め設定した回数に達し
た場合にはバスマスタからのバス獲得要求を一定時間保
留する回路を設けることで、メインプロセッサのバスサ
イクルを確保することによりプログラムの処理速度の大
幅な低下を回避するバス獲得制御回路を有する情報機器
を提供することにある。 [al!I題を解決するための手段] 本発明の情報機器は、メインプロセッサと複数のバスマ
スタからなるマルチバスマスタシステムを含む情報機器
において、前記バスマスタのバス獲−17− 得の延べ回数をカウントするカウンタと、メインプロセ
ッサにより設定可能な最大バス獲得回数設定レジスタと
、前記カウンタの値と前記設定レジスタを比較する比較
器と、前記カウンタの値が前記設定レジスタの値に達し
たときには、前記バスマスタのバス獲得を一時保留せし
める手段とを含むバス獲得制御回路を有することを特徴
とする。 [実施例] 第1図は本発明によるバス獲得制御回路を含むマルチバ
スマスタシステムのブロック図であり、スイッチ回路1
20・130・140・150と、バス要求デイジーチ
ェーン105と、負論理のオアゲート106・107・
108と、レジスタ109と、カウンタ110と、レジ
スタとカウンタとを比較する比較器111と、レジスタ
とカウンタとを制御するカウント制御回路114と、負
論理のオアゲート112と、負論理のアンドゲート11
3と、メインプロセッサ115とを含む。第1図のバス
マスタ101〜105とメインプロセッサ115とを除
いたブロックがバス獲得制御回ー18− 路である。各信号はレジスタラッチ信号172とバス獲
得要求生成の許可信号179とを除いてすべて負論理で
ある。アドレスストローブ信号180とデータ転送応答
信号181はメインプロセッサ115とバスマスク10
1〜105との共通信号である。バスマスタ101〜1
04からのバス獲得要求悌補信号161−1〜161−
4はそれぞれ第9図の941−1〜941−4に、バス
マスタ101〜104へのバス許可候補信号169−1
〜169−4はそれぞれ第9図の942−1〜942−
4に、バスマスタ101〜104からのバス許可応答候
補信号170−1〜170−4はそれぞれ第9図の94
3−1〜943−4に、メインプロセッサ115へのバ
ス獲得要求信号167は第9図の931に、メインプロ
セッサ115へのバス許可応答信号171は第9図の9
33に、メインプロセッサ115からのバス許可信号1
68は第9図の932にそれぞれ対応する。スイッチ回
路120は、負論理のアンドゲート122・123と、
インバータ124とを含む。スイ−19− ツヂ回路130は、負論理のアンドゲート132・13
3と、インバータ134とを含む。スイッチ回路140
は、負論理のアンドゲート142・143とインバータ
144とを含む。スイッチ回路150は、負論理のアン
ドゲート152・153と、インバータ154とを含む
。バスマスタ101はバス獲得要求候補161−1を負
論理のアンドゲート122・123とバス要求ディジー
チ、エーン105とに、バス許可応答候補信号170−
1を負論理のオアゲート108へそれぞれ出力する。バ
スマスタ102はバス獲得要求候補信号161−2を負
論理のアンドゲート132・133とバス要求デイジー
チェーン105とに、バス許可応答候補信号170−2
を負論理のオアゲート108へそれぞれ出力する。バス
マスタ103はバス獲得要求候補信号161−3を負論
理のアンドゲート142・143とバス要求デイジーチ
ェーン105とに、バス許可応答候補信号170一3を
負論理のオアゲートl08へそれぞれ出力する。バスマ
スタ104はバス獲得要求候補信号−20− 161−4を負論理のアンドゲート152・153とバ
ス要求デイジーチェーン105とに、バス許可応答候補
信号170−4を負論理のオアゲートl08へそれぞれ
出力する。負論理のオアゲート108はメインプロセッ
サ115へのバス許可応答信号171を出力する。メイ
ンプロセッサ115へのバス許可応答信号171はカウ
ンタ110へ入力されて前記カウンタ110の入カクロ
ックとしても使用され、またバスマスク101〜105
へそれぞれ入力されて前記バスマスタ101〜105が
他のバスマスタのバス放棄を確認するためのモニタ信号
としても使用される。バス要求デイジーチェーン105
はメインプロセッサ115からのバス許可信号168と
バスマスタ101〜104のバス獲得要求候補信号16
1−1〜161−4の入力をもとに、バスマスタ101
〜104に対しバス許可候補信号169−1〜169−
4のいずれかを有効(Lo)にする。負論理のオアゲー
ト106は負論理のアンドゲート122の出力163−
1と、負論理のアンドゲート13−21ー 2の出力163−2と、負論理のアンドゲート142の
出力163−3と、負論理のアンドゲート152の出力
163−4とを入力として、それらの入力のうち1つで
も有効(Lo)であれば負論理のオアゲート112に対
しバス獲得要求信号(A)166を有効(Lo)にする
。負論理のオアゲート107は負論理のアンドゲート1
23の出力162−1と、負論理のアンドゲート133
の出力162−2と、負論理のアンドゲート143の出
力162−3と、負論理のアンドゲート153の出力1
62−4とを入力として、それらの入力のうち1つでも
有効(Lo)であれば負論理のアンドゲート113に.
対し演算結果を有効(Lo)にする。カウント制御回路
114はスイッチ回路120・130・140−150
に対しバス獲得要求選択信号178−1・178−2・
178−3・178−4をそれぞれ出力し、レジスタ1
09に対しレジスタラッチ信号172を、カウンタ11
0に対しカウンタリセット信号174とカウント動作/
中断信号175とをそれぞれ出力する。 ー22− 比較器111はレジスタ109からの最大バス獲得回数
173とカウンタ110からのバス獲得の延べ回数17
6とを比較し、最大バス獲得回数173とバス獲得の延
べ回数176とがともに同数となったときに、負論理の
アンドゲート113とカウント制御回路114とに対し
てそれまで有効(Hi)にしていたバス獲得要求生成の
許可信号179を無効(LO)にする。負論理のアンド
ゲ−ト113は演算結果が有効(Lo)であれば負論理
のオアゲート112への出力バス獲得要求信号(B)1
65を有効(Lo)にする。負論理のオアゲートl12
はバス獲得要求信号(A)166とバス獲得要求信号(
B)165とを入力として演算結果が有効(Lo)であ
ればメインプロセッサ115へのバス獲得要求信号16
7を有効(Lo)にする。その後メインプロセッサ11
5からバス要求デイジーチェーン105へのバス獲得要
求信号168が有効(LO)にされる。バス要求デイジ
ーチェーン105の動作は第9図で説明したとおりであ
る。仮にバスマスタ101とバス−詔一 マスタ102とがほぼ同時にバス獲得要求候補信号16
1−1・161−2をそれぞれ有効(LO)にしたとす
れば、バス要求デイジーチェーン105で選択された最
優先のバスマスタ101へのバス許可候補信号169−
1が有効(LO)にされる。バスマスタ101はアドレ
スストローブ信号180とデータ転送応答信号181と
バス許可応答信号171とがともに無効(Hi)、すな
わちメインプロセッサ115を含めた他のバスマスタが
バスを放棄したことを確認した後にバス許可応答候補信
号170−1を有効(Lo)にし、バス獲得要求候補信
号161−1を無効(H1)にする。バス許可応答候補
信号170−1は負論理のオアゲート108を通過して
、メインプロセッサ115へのバス許可応答信号171
となる。またほぼ同時にバス獲得要求候補信号161−
1・161−2をそれぞれ有効(Lo)にしていたため
バスマスタ102からのバス獲得要求信号161一2は
依然有効(r,o)のままであり、第10図で説明した
とおりバス要求のペンディング状態が一別一 発生する。従ってメインプロセッサ115がバス許可信
号168を無効(H1)としてから数クロックサイクル
経過の後に、再度バス許可信号168を有効(Lo)に
する。今度はバス要求デイジーチェーン105によりバ
ス許可候補信号169−2が有効(Lo)にされ、バス
マスタ102はバスマスタ101のバス放棄を待って引
続きバスを獲得する。第2図は第1図のバス要求デイジ
ーチェーン105の構成図であり、負論理のアンドゲー
ト201・202・203・204・211・212・
213と、インバータ221・222・223とを含む
。第1図のバスマスタ101〜104からのバス獲得要
求候補信号231−1〜231−4はそれぞれ第1図の
161−1〜161−4に、第1図のバスマスタ101
〜104へのバス許可候補信号232−1〜232−1
はそれぞれ第1図の169−1〜169−4に、メイン
プロセッサ115からのバス許可信号233は第1図の
168にそれぞれ対応している。バスマスタ101から
のバス獲得要求候補信号231−一市一 1は負論理のアンドゲート201とインバータ221と
に入力される。またインバータ221の出力は負論理の
アンドゲート211へ入力される。 バスマスタ102からのバス獲得要求候補信号231−
2は負論理のアンドゲート202とインバータ222と
に入力される。またインバータ222の出力は負論理の
アンドゲート212へ人力される。バスマスタ103か
らのバス獲得要求候補信号231−3は負論理のアンド
ゲート203とインバータ223とに入力される。また
インバータ223の出力は負論理のアンドゲート213
へ入力される。バスマスタ104からのバス獲得要求候
補信号231−4は負論理のアンドゲート204へ入力
される。メインプロセッサ115からのバス許可信号2
33は負論理のアンドゲート201・221とに入力さ
れる。負論理のアンドゲート211は演算結果を負論理
のアンドゲート202・212へ、負論理のアンドゲー
ト212は演算結果を負論理のアンドゲート203・2
13へ、負論理のアンドゲート213は演算結果を負−
26− 論理のアンドゲート204へそれぞれ出力する。 負論理のアンドゲート201は演算結果をバスマスタ1
01へのバス許可候補信号232−1として、負論理の
アンドゲート202は演算結果をバスマスタ102への
バス許可候補信号232−2として、負論理のアンドゲ
ート203は演算結果をバスマスタ103へのバス許可
候補信号232−3として、負論理のアンドゲート20
4は演算結果をバスマスタ104へのバス許可候補信号
232−4としてそれぞれ出力する。第3図はカウント
制御回路114の構成図であり、第1図のレジスタ10
9とカウンタ110とを制御するとともに、スイッチ回
路120・130・140・150の信号出力先の選択
を行う。カウント制御回路114はデコーダ301・3
02と、インバータ315と、フリップフロッグ303
と、2進パイナリカウンタ304と、デコーダ305・
306と、フリップフロップ307と、セレクタ308
と、ナンドゲート309と、デコーダ311・312・
313・314と、フリップフロップ3−27− 2l・322・323・324とを含む。レジスタラッ
チ信号351は第1図の172に、カウント動作/中断
信号352は第1図の175に、カウンタリセット信号
355は第1図の174に、バス獲得要求生成の許可信
号340は第1図の179に、バス獲得要求選択信号3
57−1〜357−4はそれぞれ第1図の178−1〜
178一4にそれぞれ対応している。デコーダ301は
メインプロセッサ115からのライト信号331とアド
レスバス332とをデコードし、演算結果が有効(Lo
)であればこれをインバータ315への入力とする。イ
ンバータ315はその出力を第1図のレジスタ109へ
のレジスタラッチ信号351とする。前記レジスタ10
9はレジスタラッチ信号172(第3図:351)が有
効(Hi)にされた時点のデータパスの内容をラッチし
、これを最大バス獲得回数173として比較器111へ
出力する。デコーダ302はメインプロセッサ115か
らのライト信号331とアドレスバス332とをデコー
ドし、演算結果が有効(Lo)で一衣ト あればフリップフロップ303への信号を有効(Lo)
にする。フリップフロップ303は前記信号が無効(H
i)になった時、すなわち信号の立ち上がった時のデー
タパスの特定ビット333をラッチし、第1図のカウン
タ110へのカウント継統/中断信号352を出力する
。カウンタ110はカウント継続/中断信号175(第
3図:352)がLoレベルならばバス許可応答信号l
71をクロック入力としたカウントアップを行い、カウ
ント継続/中断信号175(第3図:352)がHiレ
ベルならばカウントアップを中断する。 バス獲得要求生成の許可信号340(第1図:l79〉
は2進パイナリカウンタ304のリセット人力RO(1
)へ、システムクロック339はアンドゲート310の
一方へそれぞれ入力され、アンドゲートの出力は2進バ
イナリカウンタ304のクロック人力Aへ入力される。 2進パイナリカウンタ304はバス獲得要求生成の許可
信号340(第1図: 179)が無効(Hi)になっ
てからシステムクロック339を用いたカウントアッ−
29− プを開始する。2進パイナリカウンタ304の出力QA
〜QDが全てナンドゲート309への入力となっている
ため、前記出力QA−QDが全てHiになった時点でナ
ンドゲート309は出力を有効(LO)にする。ナンド
ゲート309の出力はカウンタリセット信号(A)35
3としてセレクタ308のAチャネルへ入力される。ま
たカウンタリセット信号(A)353はアンドゲート3
10へのもう一方の入力となっているため、カウンタリ
セット信号(A)353が有効(Lo)になればアンド
ゲート310の出力は常にLoとなり2進バイナリカウ
ンタ304へクロックを出力しない。デコーダ305は
メインプロセッサ115からのライト信号331とアド
レスバス332とをデコードする。デコーダ305の出
力はカウンタリセット信号(B)354としてセレクタ
308のBチャネルへ入力される。デコーダ306はメ
インプロセッサ115からのライト信号331とアドレ
スバス332をデコードし、演算結果が有効であればフ
リップフロップ307への信号を−30− 有効(Lo)にする。フリップフロップ307は前記信
号が無効(Hi)になった時のデータパスの特定ビット
334をラッチし、これを選択信号356とする。フリ
ップフロップ307がリセットされれば前記選択信号3
56はLOレベルとなり、フリップフロップ307がセ
ットされれば前記選択信号356はHiレベルとなる。 フリップフロップ307が出力する選択信号356はセ
レクタ308へ入力され、セレクタ308は選択信号3
56がLOレベルならばAチャネルへ入力されたカウン
タリセット信号(A)353をカウンタリセット信号3
55として、選択信号356がLOレベルならばBチャ
ネルへ入力されたカウンタリセット信号(B)354を
カウンタリセット信号355として出力する。第1図の
カウンタ110はカウンタリセット信号174(第3図
:355)が有効(Lo)になればカウンタの内容をリ
セットする。したがってプログラムによりフリップフロ
ップ307をセットしておけば、デコーダ305をライ
トアクセスしてカウンタリセット−31ー 信号(B)354を出力させるまでカウンタリセット信
号174(第1図: 355)は発生しない。 従って比較器111が一旦無効としたバス獲得要求生成
の許可信号179は、メインプロセッサ115がデコー
ダ305をライトアクセスしてカウンタ110の内容を
リセットするまで無効のままであることから、メインプ
ロセッサ115が任意の時間バスを獲得し続けることが
可能となる。デコーダ311はメインプロセッサ115
からのライト信号331とアドレスバス332とをデコ
ードし、演算結果が有効であればフリツプフロツプ32
1への信号を有効(Lo)にする。フリツプフロップ3
21は前記出力信号が無効(Hi)になった時のデータ
パスの特定ビット335をラッチし、その内容をバス獲
得要求選択信号357一1(第1図:178−1)とし
て第1図の負論理のアンドゲート123とインバータ1
24とに入力する。同様にデコーダ312とフリツブフ
ロツプ322との組は第1図の負論理のアンドゲート1
33とインバータ134とに入力するバス獲得−32− 要求選択信号357−2 (第1図: 178−2)を
、デコーダ313とフリップフロップ323との組は第
1図の負論理のアンドゲート143とインバータ144
とに入力するバス獲得要求選択信号357−3 (第1
図7 178−3)を、デコーダ314とフリップフロ
ップ324との組は第1図の負論理のアンドゲー115
3とインバータ154とに入力するバス獲得要求選択信
号357一4(第1図7 178−4)をそれぞれ出力
する。 バス獲得制御回路の初期設定時にフリップフロツブ32
1・322・323・324をリセット状態もしくはセ
ット状態に設定することにより第1図のバスマスタ10
1〜104のバス獲得要求候補信号161−1〜161
−4は前記フリップフロップ321・322・323・
324がリセット状態、すなわちLoレベルであれば負
論理のオアゲート106へ、前記フリップフロップ32
1・322・323・324がセット状態、すなわちH
iレベルであれば負論理のオアゲート107へ出力され
る。仮にフリッグフロップ321・3−33− 22がリセットされたものとして説明する。バスマスタ
101とバスマスタ102とがほぼ同時にバス獲得要求
候補信号161−1−161−2をそれぞれ有効(LO
)にすれば、負論理のアンドゲート123・133をそ
れぞれ通遇し162−1・162−2として負論理のオ
アゲート107へそれぞれ入力される。また負論理のア
ンドゲート122・132の出力163−1・163−
2はともに無効(Hi)のままである。負論理のオアゲ
ート107の出力は負論理のアンドゲートl13と負論
理のオアゲート112とを通過してメインプロセッサ1
15へのバス獲得要求信号167となる。一方第1図の
バスマスタ101が同期式DMA転送を行うデバイスで
あったとして、バス獲得要求選択信号178−1をHi
レベルにしておけばバスマスタ101が有効(Lo)に
するバス獲得要求候補信号161−1は負論理のアンド
ゲート122と負論理のオアゲート106と同112を
通過して、メインプロセッサ115への入力となり、レ
ジスタ109とカウンタ110と−34− 比較器111と負論理のアンドゲート113とを用いた
バス獲得要求信号の制限を受けずに、バスマスタ101
が自由にバス獲得要求信号を有効にすることが可能とな
る。第4図は第3図のフリップフロップ307をLoレ
ベルにし、カウンタリセット信号(A)353によりカ
ウンタ110をリセットした場合のバス獲得制御回路の
動作を示すタイミングチャートである。第5図は前記フ
リップフロップ307をHiレベルにし、カウンタリセ
ット信号(B)354によりカウンタ110をリセット
した場合のバス獲得制御回路の動作を示すタイミングチ
ャートである。第4図と第5図の各信号について説明す
る。rCLK,はマルチバスシステムのシステムクロッ
クであり、rAS*」はアドレスストローブ信号であり
、rDSACKX*Jはデータ転送応答信号であり、r
ADD」はアドレスバスであり、rDATA,はデータ
パスであり、rWR*Jはメインプロセッサ1l5から
のライト信号である。「aSet」はレジスタラッチ信
号であり、第1図の172と第3−35− 図の351とにそれぞれ対応する。rathru」はバ
ス獲得要求生成の許可信号であり、第1図の179と第
3図の340とにそれぞれ対応する。 rarrst*」はカウンタリセット信号であり、第1
図の174と第3図の355とにそれぞれ対応する。r
aregJは最大バス獲得回数であり、第1図の173
に対応する。racnt」はバス獲得の延べ回数であり
、第1図の176に対応する。「abr*」はバス獲得
制御回路からメインプロセッサ115へのバス獲得要求
信号であり、第1図の167に対応する。rabr* 
(1)Jは第1図のバスマスタ101からバス獲得制御
回路へのバス獲得要求信号であり、第1図の161−1
と第2図の231−1にそれぞれ対応する。 rabr* (2)Jは第1図のバスマスタ102から
バス獲得制御回路へのバス獲得要求信号であり、第l図
の161−2と第2図の231−2にそれぞれ対応する
。rabr* (3)Jは第1図のバスマスタ103か
らバス獲得制御回路へのバス獲得要求信号であり、第1
図の161−3と第−36− 2図の231−3にそれぞれ対応する。rabr* (
4)Jは第1図のバスマスタ104からバス獲得制御回
路へのバス獲得要求信号であり、第1図の161−4と
第2図の231−4にそれぞれ対応する。rabg*」
はメインプロセッサ115からバス獲得制御回路へのバ
ス許可信号であり、第1図の168と第2図の233に
それぞれ対応する。rarbg* (1)Jは第工図の
バス獲得制御回路からバスマスタ101へのバス許可信
号であり、第1図の169−1と第2図の232−1に
それぞれ対応する。rarbg* (2)Jは第1図の
バス獲得制御回路からバスマスタ102へのバス許可信
号であり、第1図の169−2と第2図の232−2に
それぞれ対応する。rarbg*(3)」は第1図のバ
ス獲得制御回路からバスマスタ103へのバス許可信号
であり、第l図の169−3と第2図の232−3にそ
れぞれ対応する。rarbg’k (4)Jは第1図の
バス獲得制御回路からバスマスタ104へのバス許可信
号であり、第1図の169−4と第2図の23−37− 2−4にそれぞれ対応ずる。「abaCk*」はバス獲
得制御回路からメインプロセッサ115へのバス許可応
答信号であり、第1図の171に対応する。rabac
k* (1)Jは第1図のバスマスタ101からバス獲
得制御回路へのバス許可応答信号であり、第1図の17
0−1に対応する。 raback* (2) 」は第1図のバスマスタ10
2からバス獲得制御回路へのバス許可応答信号であり、
第1図の170−2に対応する。raback* (3
)Jは第1図のバスマスタ103からバス獲得制御回路
へのバス許可応答信号であり、第1図の170−3に対
応する。raback*(4)」は第1図のバスマスタ
104からバス獲得制御回路へのバス許可応答信号であ
り、第1図の170−4に対応する。カウンタ110の
バス獲得の延べ回数racnt」(第1図: 176)
と最大バス獲得回数rareg」 (第1図:173)
とは既にゼロに、また第3図のフリップフロップ307
はリセット状態にそれぞれ設定済みとする。第4図の初
回メインプロセッサ・パスサイ−38− クルは第3図のデコーダ301に対し、アドレスバス3
32のデコードアドレス(第4図:401)とメインプ
ロセッサ115からのライト信号331とにより、第1
図のレジスタ109へのレジスタラッチ信号351を有
効(Lo)にしている。 第1図のレジスタ109はレジスタラツチ信号「ase
t」 (第1図: 172)の立ち上がり時のデータパ
スの値を最大バス獲得回数raregJ(第1図:17
3)としてラッチする。ここでは最大バス獲得回数とし
て「2」をラッチしており、この時点からバス獲{q要
求生成の許可信号rathru」(第1図: 179)
が有効(LO)になる。第4図の「TO」において第1
図のバスマスタ101とバスマスタ102とがそれぞれ
バス獲得要求償号rabrl (1)J (第1図:1
61−1)とrabrl(2)J (第1図:161−
2)とを有効(L○)にすることで、メインプロセッサ
へ115のバス獲得要求償号1’abr*」(第1図:
 167)が有効(Lo)にされる。続いて第4図の「
T1」に示すとおりメイングロセ一39− ッサ115からのバス許可信号rabg*」 (第1図
: 168)が有効(Lo)にされ、第1図のバス要求
デイジーチェーン105を経由してバスマスタ101へ
のバス許可信号rarbg’l’ (1)」(第1図:
 169−1)が有効(Lo)にされる。第4図の「T
2」に示すとおり第工図のバスマスタ101はアドレス
ストローブ信号rAs *J(第1図:1’80)とバ
ス転送応答信号rDsACKX*」 (第1図: 18
1)とバス許可応答信号「BGACK*」(第1図:1
68)とがともに無効(Hi)になったことを確認した
後、バス許可応答信号raback* (1)J (第
1図:170−1)を有効(Lo)にし、バスマスタ1
のバスサイクルを開始する。第4図ではバスマスタ10
1のバスサイクル実行中に411と412とを転送して
いる。412の転送終了後、第4図の「T3」において
バスマスタ101はバス許可応答信号raback* 
(1)J (第1図=170−1)を無効(Hi)にし
て、バスサイクルの放棄をメインプロセッサ115へ知
らせる。この−40− ときメインプロセッサ115へのバス許可応答信号ra
baCk*」(第1図: 171)の立ち上がり時にカ
ウンタ110のバス獲得の延べ回数「acnt,1 (
第1図:176)が1だけ加算される。この間バスマス
タ101がバス獲得中にバスマスタ102によるバス要
求のペンディング状態が発生したためメインプロセッサ
115は再度バス許可信号「abg*」(第1図: 1
68)を第4図のrT2a」において有効(Lo)にし
、バスマスタ102はバスマスタ101のバス放棄を待
っている。第4図の「T3」におけるバスマスタ101
のバス放棄により、第4図の「T4」においてバスマス
タ102のバスサイクルが開始される。第4図ではバス
マスタ102のバスサイクル実行中に413を転送して
いる。413の転送終了後、第4図の「T5』において
バスマスタ102はバス許可応答信号raback+*
 (2)J(第1図i 170−2)を無効(Hi)に
して、バスサイクルの放棄をメインプロセッサ115へ
知らせる。このときメインプロセッサ115への−41
− バス許可応答信号ra.back*」(第1図=171
)の立ち上がり時にカウンタ110のバス獲得の延べ回
数「aCnt」(第1図: 176)が1だけ加算され
、バス獲得の延べ回数racnt」(第1図: 176
)は最大バス獲得回数rareg」 (第1図: 17
3)と同じ「2」となり比較器111がバス獲得要求生
成の許可信号rathru,1 (第1図: 179)
を無効(LO)にする。 この時点から第3図の2進パイナリカウンタ304のシ
ステムクロック339によりカウントアップが開始され
る。2回目のメインプロセッサ115のバスサイクルは
第4図の「T6』〜「T7」の間に命令のフェッチ動作
を2回とrDATA4Jの転送を行なう。第4図の「T
8」において第3図の2進パイナリカウンタ304によ
るカウントアップが終了しカウンタリセット信号rar
rst*』(第1図:174)が出力され、バス獲得の
延べ回数racnt」(第1図:176)がゼロクリア
される。前記racnt」がゼロクリアされた時点から
バス獲得要求生成の許可信号「a−42− thru」 (第1図: 179)が有効(Hi)にな
る。第4図の「T6」〜「T7」の間に第1図のバスマ
スタ103とバスマスタ104とがバス獲得要求信号r
abr* (3)J  (第1図:161−3)とra
br* (4)J (第1図:161−4)とを有効(
Lo)にしても、第1図の負論理のアンドゲート113
の一方の入力であるバス獲得要求生成の許可信号rat
hru」 (第1図:179)が無効(Lo)であるた
め負論理のアンドゲート113の出力165は無効(H
i)のままである。従ってメインプロセッサ115への
バス獲得要求償号rabr*」(第1図:167)は有
効(Lo)にならず、メインプロセッサ115はバスを
放棄しない。第3図の2進パイナリカウンタ304はバ
ス獲得要求生成の許可信号「athru」 (第1図:
 179)が無効(Hi)になってから16クロツク後
の第4図の「T8a」においてカウンタリセット信号r
arrst*,+(第1図=174、第3図: 355
)を有効(LO)にし、バス獲得要求生成の許可信号r
ath−43ー ru」 (第1図:179)は再度有効(Hi)になる
。バス獲得要求生成の許可信号rathr+g(第1図
: 179)が有効(H1)となった直後、メインプロ
セッサ115へのバス獲得要求信号「abrlJ (第
1図:167)が有効(Lo)にされる。以降バスマス
タ103とバスマスタ104のバスサイクルが実行され
る。第5図の初回のメインプロセッサ・バスサイクルと
、バスマスタ101のバスサイクルと、バスマスタ10
2のバスサイクルは第4で説明したとおりである。2回
目のメインプロセッサ115のバスサイクルは命令のフ
ェッチ動作を2回行った後、第4図の「T10」におい
て第3図のデコーダ305に対しアドレスバス332の
デコードアドレス(第5図:506)とメインプロセッ
サ115がらのライト信号331とにより、カウンタリ
セット信号「arrst*」(第1図:174、第3図
:355)を有効(Lo)にさせてカウンタ110をゼ
ロクリアし、バス獲得要求生成の許可信号rathru
」(第1図: 179)を再度有効(Hi)にし−44
− ている。メインプロセッサ115の操作にまりカウンタ
110をゼロクリアしている点が第4図の例と異なって
いる。第5図のメインプロセッサ115によるカウンタ
リセットを行うにはバス獲得要求生成の許可信号179
の立ち上がりをトリガとした割り込みを用いるのがメイ
ンプロセッサの負担を軽減する観点から最適と考えられ
る。 [発明の効果] 以上説明した本発明のバス獲得制御方式を有する情報機
器によれば、メインプロセッサがバスマスタのバス獲得
をプログラマブルに制御することで、メインプロセッサ
が自らのバスサイクルを確保することによりプログラム
の処理速度の大幅な低下を回避することが可能となる。
[2. The bus permission response signal 933 to the main processor 8o1 in FIG. 8 is sent to the bus acquisition request candidate signal 9 from each bus master 802 to 805 in FIG.
41-1 to 941-4 are respectively 831-1 to 831-1 in Fig. 8.
831-4, bus permission candidate signals 942-1 to 942-4 to each bus master 802 to 805 in FIG. 8 are respectively sent to 832-1 to 832-4 in FIG. Bus permission response candidate signal 943 from 805
-1 to 943-4 are 833-l to 83 in Figure 8, respectively.
3-4 respectively. A bus acquisition request candidate signal 941-1 from the bus master 802 in FIG. 8 is input to a negative logic OR gate 901, a negative logic AND gate 903, and an inverter 923, respectively. Further, the output of inverter 923 is input to AND gate 913 of negative logic. Bus master 80 in Figure 8
The bus acquisition request candidate signal 941-2 from No. 3 is input to a negative logic OR gate 901, a negative logic AND gate 904, and an inverter 924, respectively. Further, the output of inverter 924 is input to AND gate 914 of negative logic. A bus acquisition request candidate signal 941-3 from the bus master 804 in FIG. 8 is input to a negative logic OR gate 901, a negative logic AND gate 905, and an inverter 925, respectively. Further, the output of inverter 925 is input to AND gate 915 of negative logic. The bus acquisition request candidate signal 941-4 from the bus master 805 in FIG.
is input. A bus grant signal 932 from the main processor 801 in FIG. 8 is input to negative logic AND gates 903 and 913. If the operation result is valid, the negative logic AND gate 913 connects the negative logic AND gates 904 and 9.
The signal connected to 14 is enabled (Lo). If the operation result is valid, the negative logic AND gate 914 makes the signals connected to the negative logic AND gates 905 and 915 valid (Lo). If the operation result is valid, the negative logic AND gate 915 makes the signal connected to the negative logic AND gate 906 valid (LO). If the operation result is valid, the negative logic AND gate 903 makes the signal connected to the bus permission candidate signal 942-1 to the bus master 802 in FIG. 8 valid (Lo). Negative logic AND gate 90
4 is the bus master 803 in FIG. 8 if the calculation result is valid.
The bus permission candidate signal 942-2 is enabled (Lo). If the operation result is valid, the negative logic AND gate 905 outputs the bus permission candidate signal 94 to the bus master 804 in FIG.
2-3 is enabled (Lo). If the operation result is valid, the negative logic AND gate 906 sends a bus permission candidate signal 942 to the bus master 805 in FIG.
-4 is enabled (Lo). Negative logic OR gate 902
is sent to the main processor-IO-801 in FIG. 8 if at least one of the bus permission response candidate signals 943-1 to 943-4 from each of the four bus masters 802 to 805 in FIG. 8 becomes valid (Lo). bus permission response signal 933 is enabled (Lo). A negative logic OR gate 901 receives a bus acquisition request signal 941- from each of the four bus masters 802 to 805 in FIG.
At least one of 1 to 941-4 is valid (Lo)
When this happens, the bus acquisition request signal 931 to the main processor 801 in FIG. 8 is enabled (Lo). As explained in FIG. 6, after the bus acquisition request cancellation signal 931 to the main processor 801 in FIG. 8 is enabled (LO), the input bus permission signal 932 from the main processor 801 in FIG. )become. Negative logic AND gate 913.9
The daisy chain consisting of 14, 915 and inverters 923, 924, and 925 receives the bus permission signal 932 from the main processor 801 in FIG.・In order to perform the interruption, if the bus acquisition request candidate signal 9
If the bus permission signal 932 is enabled (Lo) after both 4l-1 and 941-2 are enabled (Lo), the output of the negative logic AND gate 903 becomes L-11-O, as shown in FIG. The output bus permission candidate signal 942-1 to the bus master 802 becomes valid (Lo), but the output of the negative logic AND gate 904 remains Hi, and the bus permission candidate signal 942-1 to the bus master 803 in FIG. 2 remains invalid (Hi). The bus master 802 in FIG. 8 has a bus permission candidate signal 942-
1 is enabled (Lo), the address strobe signal 824, data transfer response signal 825, and bus permission response signal 823 are all disabled (H) as explained in FIG.
i), the bus permission response candidate signal 943-1 is enabled (LO), and then the bus acquisition request candidate signal 941-1 is disabled (Hi). But the 8th
Bus acquisition request candidate signal 94 from bus master 803 in the figure
Since 1-2 is still enabled (Lo),
11 request redemption code 931 also remains valid (LO), which is referred to as a bus request pending state. FIG. 10 is a timing chart showing the pending state of the bus request. The signal names are the same as in FIG. As shown in "T6"-12-1 in FIG. 10, the main processor outputs the bus permission signal "BG*".
At the time of invalidating J, the bus acquisition request signal r is still
If the input of BR*J is continued, it is recognized that the bus request is in a pending state, and after several clock cycles, the bus permission signal "BG*" is enabled again, and the After the bus cycle of bus master 802 in the figure ends, it is notified that the bus will continue to be handed over. Therefore, bus usage rights are transferred between bus masters. However, in a multi-bus master system, if such a pending state of bus requests occurs frequently, the main processor continues to relinquish the bus to each bus master, significantly reducing the program execution speed. Furthermore, if the main processor is abandoning the bus, even if an interrupt request is received, it will not be accepted and there is a risk that a buffer overflow of data from the interrupt requesting device will occur. FIG. 11 is a block diagram of a bus acquisition control circuit according to the prior art in which the bus acquisition control circuit of FIG. 9 is modified and restrictions are added to the generation of a bus acquisition request signal to the main processor. Or Gate 1101/1102
and negative logic AND gates l103, 1104, 110
5, 1106, 1113, 1114, and l115, inverters 1123, 1124, and 1125, a NAND gate 113l, and an inverter 1132. The bus acquisition request compensation code 1131 to the main processor 801 in FIG. 8 is sent to 931 in FIG. 9, and the bus grant signal 1132 from the main processor 801 in FIG. Bus grant response signal 113 to 801
3 corresponds to 933 in FIG. 9, and each bus master 802 to 802 in FIG.
Bus acquisition request candidate signals 1141-1 to 1141-11 from 805
41-4 are respectively 941-1 to 941-4 in FIG. 9, and bus permission candidate signals 1142-1 to 1142-4 to each bus master 802 to 805 in FIG. 8 are respectively 942-1 to 942-1 in FIG. 942-4, each bus master 80 in FIG.
Bus permission response candidate signal 1143-1 from 2 to 805
1143-4 are 943-1 to 943- in Fig. 9, respectively.
4 respectively. The configuration and operation of this circuit are as described in FIG. 9, except for the N-14 gate 1131 and the inverter 1132. The output of the negative logic OR gate 1101, that is, the bus acquisition request code 931 to the main processor 801 of FIG. 8, referred to in FIG.
The output of 132 is input to a NAND gate 1131. The output of the negative logic OR gate 1102 is the bus grant response signal 33 to the main processor 801 in FIG. 8, and is also input to the NAND gate 1131. If the operation result is valid, the NAND gate 1131 issues an output bus acquisition request code 1 to the main processor 801 in FIG.
Enable l31 (Lo). The NAND gate 1131 makes any of the bus acquisition request candidate signals 1141-1 to 1141-4 from each of the bus masters 802 to 805 in FIG. 8 valid (Lo), and bus permission from the bus masters 802 to 805 in FIG. Response candidate signal 1143-
When all of 1 to 1143-4 are invalid (Hi), that is, when all bus masters have given up the bus, the bus acquisition request redemption code 1131 to the main processor 801 in FIG. 8 is valid. (Lo), the 10th
The bus request pending state shown in the figure does not occur. However, if multiple bus masters request bus acquisition at the same time or in close proximity, the bus master connected higher up in the daisy chain will always acquire the bus. The controller performs DM from the generation of a bus acquisition request.
Synchronous DM with a specified maximum time until the start of A transfer
When attempting to perform A transfer, the data buffer
There is a risk of overflow. [Problems to be Solved by the Invention] However, as explained above, in an information device including a conventional bus acquisition control circuit, when the bus acquisition control circuit shown in FIG. 9 is used,
In situations where bus acquisition requests from the bus master occur frequently, the main processor unconditionally hands over the right to use the bus to the bus master, making it impossible to secure bus cycles for the main processor, resulting in a significant drop in program processing speed. There is also a risk of buffer overflow of data from the interrupt requesting device. Further, when the bus acquisition control circuit shown in FIG. 11 is used, if the bus master is a device that performs synchronous DMA transfer, there is a risk that buffer overflow of data to be DMA transferred may occur. Therefore, in order to eliminate the above-mentioned drawbacks, the present invention provides a circuit that suspends a bus acquisition request from a bus master for a certain period of time when the total number of bus acquisitions from the bus master reaches a preset number. An object of the present invention is to provide an information device having a bus acquisition control circuit that avoids a significant decrease in program processing speed by securing bus cycles. [al! Means for Solving Problem I] An information device of the present invention includes a multi-bus master system including a main processor and a plurality of bus masters, and includes a counter for counting the total number of bus acquisitions by the bus master. , a maximum bus acquisition count setting register that can be set by a main processor; a comparator that compares the value of the counter with the setting register; and when the value of the counter reaches the value of the setting register, the bus acquisition of the bus master is performed. The bus acquisition control circuit includes means for temporarily holding the bus. [Embodiment] FIG. 1 is a block diagram of a multi-bus master system including a bus acquisition control circuit according to the present invention.
20, 130, 140, 150, bus request daisy chain 105, and negative logic OR gates 106, 107,
108, a register 109, a counter 110, a comparator 111 that compares the register and the counter, a count control circuit 114 that controls the register and the counter, a negative logic OR gate 112, and a negative logic AND gate 11.
3 and a main processor 115. The block shown in FIG. 1 excluding the bus masters 101-105 and the main processor 115 is the bus acquisition control circuit 18-. All the signals are negative logic except for the register latch signal 172 and the bus acquisition request generation permission signal 179. The address strobe signal 180 and data transfer response signal 181 are transmitted to the main processor 115 and the bus mask 10.
This is a common signal with 1 to 105. Bus master 101-1
Bus acquisition request supplementary signals 161-1 to 161- from 04
4 indicates bus permission candidate signals 169-1 to bus masters 101 to 104, respectively, to 941-1 to 941-4 in FIG.
~169-4 are 942-1 to 942- in FIG. 9, respectively.
4, the bus permission response candidate signals 170-1 to 170-4 from the bus masters 101 to 104 are respectively 94 in FIG.
3-1 to 943-4, the bus acquisition request signal 167 to the main processor 115 is sent to 931 in FIG. 9, and the bus grant response signal 171 to the main processor 115 is sent to 9 in FIG.
33, the bus grant signal 1 from the main processor 115
68 corresponds to 932 in FIG. 9, respectively. The switch circuit 120 includes negative logic AND gates 122 and 123,
and an inverter 124. SW-19- The Tsuji circuit 130 includes negative logic AND gates 132 and 13.
3 and an inverter 134. switch circuit 140
includes negative logic AND gates 142 and 143 and an inverter 144. Switch circuit 150 includes negative logic AND gates 152 and 153 and an inverter 154. The bus master 101 sends the bus acquisition request candidate 161-1 to the negative logic AND gates 122 and 123 and the bus request candidate signal 170-1.
1 is output to each negative logic OR gate 108. The bus master 102 sends the bus acquisition request candidate signal 161-2 to the negative logic AND gates 132 and 133 and the bus request daisy chain 105, and sends the bus grant response candidate signal 170-2 to the bus request daisy chain 105.
are output to the negative logic OR gate 108, respectively. The bus master 103 outputs the bus acquisition request candidate signal 161-3 to the negative logic AND gates 142 and 143 and the bus request daisy chain 105, and outputs the bus grant response candidate signal 170-3 to the negative logic OR gate l08. The bus master 104 outputs the bus acquisition request candidate signal -20-161-4 to the negative logic AND gates 152 and 153 and the bus request daisy chain 105, and outputs the bus grant response candidate signal 170-4 to the negative logic OR gate l08. . Negative logic OR gate 108 outputs a bus grant response signal 171 to main processor 115. A bus grant response signal 171 to the main processor 115 is input to the counter 110 and is also used as an input clock for the counter 110, and is also used as an input clock for the counter 110.
The bus masters 101 to 105 also use the signals as monitor signals for confirming that other bus masters have abandoned the bus. Bus request daisy chain 105
are the bus permission signal 168 from the main processor 115 and the bus acquisition request candidate signal 16 from the bus masters 101 to 104.
Based on the inputs from 1-1 to 161-4, the bus master 101
Bus permission candidate signals 169-1 to 169- for ~104
4 is enabled (Lo). The negative logic OR gate 106 is the output 163- of the negative logic AND gate 122.
1, the output 163-2 of the negative logic AND gate 13-21-2, the output 163-3 of the negative logic AND gate 142, and the output 163-4 of the negative logic AND gate 152. If even one of the inputs is valid (Lo), the bus acquisition request signal (A) 166 is made valid (Lo) for the negative logic OR gate 112. Negative logic OR gate 107 is negative logic AND gate 1
23 output 162-1 and negative logic AND gate 133
output 162-2 of negative logic AND gate 143, and output 1 of negative logic AND gate 153.
62-4 as an input, and if even one of these inputs is valid (Lo), it is input to the negative logic AND gate 113.
On the other hand, the calculation result is made valid (Lo). The count control circuit 114 includes switch circuits 120, 130, 140-150.
Bus acquisition request selection signals 178-1, 178-2, and
178-3 and 178-4 respectively, and register 1
register latch signal 172 for counter 11
Counter reset signal 174 and counting operation for 0/
and an interrupt signal 175, respectively. -22- The comparator 111 calculates the maximum number of bus acquisitions 173 from the register 109 and the total number of bus acquisitions 17 from the counter 110.
6, and when the maximum number of bus acquisitions 173 and the total number of bus acquisitions 176 are both the same number, the negative logic AND gate 113 and the count control circuit 114 are set to be valid (Hi). The permission signal 179 for generating a bus acquisition request is invalidated (LO). If the operation result is valid (Lo), the negative logic AND gate 113 sends an output bus acquisition request signal (B) 1 to the negative logic OR gate 112.
65 is enabled (Lo). Negative logic OR gate l12
is the bus acquisition request signal (A) 166 and the bus acquisition request signal (A) 166
B) 165 is input, and if the calculation result is valid (Lo), a bus acquisition request signal 16 is sent to the main processor 115.
7 is enabled (Lo). Then main processor 11
5 to the bus request daisy chain 105 is asserted (LO). The operation of the bus request daisy chain 105 is as described in FIG. Suppose that the bus master 101 and the bus master 102 receive the bus acquisition request candidate signal 16 almost simultaneously.
1-1 and 161-2 are respectively enabled (LO), the bus permission candidate signal 169- to the bus master 101 with the highest priority selected in the bus request daisy chain 105
1 is enabled (LO). The bus master 101 responds with a bus grant after confirming that the address strobe signal 180, data transfer response signal 181, and bus grant response signal 171 are all invalid (Hi), that is, other bus masters including the main processor 115 have abandoned the bus. The candidate signal 170-1 is enabled (Lo), and the bus acquisition request candidate signal 161-1 is disabled (H1). The bus grant response candidate signal 170 - 1 passes through the negative logic OR gate 108 and outputs the bus grant response signal 171 to the main processor 115 .
becomes. Also, almost at the same time, the bus acquisition request candidate signal 161-
1 and 161-2 are enabled (Lo), the bus acquisition request signals 161-2 from the bus master 102 are still enabled (r, o), and the bus request is in the pending state as explained in FIG. occurs one by one. Therefore, after several clock cycles have elapsed since the main processor 115 disabled the bus permission signal 168 (H1), it again enables the bus permission signal 168 (Lo). This time, the bus request daisy chain 105 makes the bus grant candidate signal 169-2 valid (Lo), and the bus master 102 waits for the bus master 101 to relinquish the bus and continues to acquire the bus. FIG. 2 is a block diagram of the bus request daisy chain 105 shown in FIG.
213, and inverters 221, 222, and 223. The bus acquisition request candidate signals 231-1 to 231-4 from the bus masters 101 to 104 in FIG. 1 are sent to the bus masters 101 to 161-4 in FIG.
Bus permission candidate signals 232-1 to 232-1 to ~104
correspond to 169-1 to 169-4 in FIG. 1, respectively, and the bus permission signal 233 from the main processor 115 corresponds to 168 in FIG. The bus acquisition request candidate signal 231-1 city 1 from the bus master 101 is input to the negative logic AND gate 201 and the inverter 221. Further, the output of the inverter 221 is input to the AND gate 211 of negative logic. Bus acquisition request candidate signal 231- from bus master 102
2 is input to a negative logic AND gate 202 and an inverter 222. Further, the output of the inverter 222 is inputted to the AND gate 212 of negative logic. The bus acquisition request candidate signal 231-3 from the bus master 103 is input to the negative logic AND gate 203 and the inverter 223. In addition, the output of the inverter 223 is output from the AND gate 213 of negative logic.
is input to. The bus acquisition request candidate signal 231-4 from the bus master 104 is input to the negative logic AND gate 204. Bus grant signal 2 from main processor 115
33 is input to AND gates 201 and 221 of negative logic. The negative logic AND gate 211 sends the operation result to the negative logic AND gates 202 and 212, and the negative logic AND gate 212 sends the operation result to the negative logic AND gates 203 and 2.
13, the negative logic AND gate 213 converts the operation result into a negative
26- Output to each logic AND gate 204. The negative logic AND gate 201 sends the operation result to the bus master 1.
The negative logic AND gate 202 sends the operation result to the bus master 102 as the bus permission candidate signal 232-1 to 01, and the negative logic AND gate 203 sends the operation result to the bus master 103 as the bus permission candidate signal 232-1. A negative logic AND gate 20 is used as the permission candidate signal 232-3.
4 outputs the calculation results to the bus master 104 as a bus permission candidate signal 232-4. FIG. 3 is a block diagram of the count control circuit 114, and the register 10 in FIG.
9 and the counter 110, and also selects the signal output destination of the switch circuits 120, 130, 140, and 150. The count control circuit 114 is connected to the decoder 301/3
02, inverter 315, and flip frog 303
, a binary pinary counter 304, and a decoder 305.
306, flip-flop 307, and selector 308
, NAND gate 309, and decoders 311, 312,
313, 314, and flip-flops 3-27-2l, 322, 323, and 324. The register latch signal 351 is connected to 172 in FIG. 1, the count operation/interruption signal 352 is connected to 175 in FIG. 1, the counter reset signal 355 is connected to 174 in FIG. 179, the bus acquisition request selection signal 3
57-1 to 357-4 are respectively 178-1 to 178-1 in Figure 1.
178-4, respectively. The decoder 301 decodes the write signal 331 from the main processor 115 and the address bus 332, and the operation result is valid (Lo
), this is the input to the inverter 315. Inverter 315 uses its output as register latch signal 351 to register 109 in FIG. The register 10
9 latches the contents of the data path at the time when the register latch signal 172 (FIG. 3: 351) is enabled (Hi), and outputs this to the comparator 111 as the maximum number of bus acquisition times 173. The decoder 302 decodes the write signal 331 from the main processor 115 and the address bus 332, and if the operation result is valid (Lo), it makes the signal to the flip-flop 303 valid (Lo).
Make it. The flip-flop 303 indicates that the signal is invalid (H
i), that is, when the signal rises, the specific bit 333 of the data path is latched and a count continuation/suspension signal 352 is output to the counter 110 in FIG. If the count continuation/interruption signal 175 (Fig. 3: 352) is at Lo level, the counter 110 receives a bus permission response signal l.
71 as a clock input, and if the count continuation/interruption signal 175 (FIG. 3: 352) is at Hi level, the count-up is interrupted. Bus acquisition request generation permission signal 340 (Figure 1: l79)
is the manual reset of the binary pinary counter 304 (RO(1)
), the system clock 339 is input to one of the AND gates 310, and the output of the AND gate is input to the clock input A of the binary counter 304. The binary binary counter 304 starts counting up using the system clock 339 after the bus acquisition request generation permission signal 340 (179 in FIG. 1) becomes invalid (Hi).
29- Start the process. Output QA of binary pinary counter 304
Since ~QD are all input to the NAND gate 309, the NAND gate 309 makes the output valid (LO) when all the outputs QA-QD become Hi. The output of the NAND gate 309 is the counter reset signal (A) 35
3 and is input to the A channel of the selector 308. Also, the counter reset signal (A) 353 is the AND gate 3
Since it is the other input to the binary counter 304, when the counter reset signal (A) 353 becomes valid (Lo), the output of the AND gate 310 is always Lo and does not output a clock to the binary counter 304. Decoder 305 decodes write signal 331 from main processor 115 and address bus 332. The output of the decoder 305 is input to the B channel of the selector 308 as a counter reset signal (B) 354. The decoder 306 decodes the write signal 331 from the main processor 115 and the address bus 332, and if the operation result is valid, makes the signal to the flip-flop 307 -30- valid (Lo). The flip-flop 307 latches a specific bit 334 of the data path when the signal becomes invalid (Hi), and uses this as a selection signal 356. If the flip-flop 307 is reset, the selection signal 3
56 becomes LO level, and when flip-flop 307 is set, the selection signal 356 becomes Hi level. The selection signal 356 output from the flip-flop 307 is input to the selector 308, and the selector 308 receives the selection signal 3.
56 is at LO level, the counter reset signal (A) 353 input to the A channel is used as the counter reset signal 3.
55, if the selection signal 356 is at LO level, the counter reset signal (B) 354 input to the B channel is output as the counter reset signal 355. The counter 110 in FIG. 1 resets the contents of the counter when the counter reset signal 174 (355 in FIG. 3) becomes valid (Lo). Therefore, if the flip-flop 307 is set by a program, the counter reset signal 174 (355 in FIG. 1) will not be generated until the decoder 305 is accessed for writing and the counter reset signal (B) 354 is output. Therefore, the bus acquisition request generation permission signal 179 that was once invalidated by the comparator 111 remains invalid until the main processor 115 performs write access to the decoder 305 and resets the contents of the counter 110. It becomes possible to continue acquiring buses for an arbitrary period of time. The decoder 311 is the main processor 115
The write signal 331 from the address bus 332 is decoded, and if the operation result is valid, the flip-flop 32 is decoded.
Enable the signal to 1 (Lo). flip flop 3
21 latches the specific bit 335 of the data path when the output signal becomes invalid (Hi), and uses the contents as the bus acquisition request selection signal 357-1 (FIG. 1: 178-1) in FIG. Negative logic AND gate 123 and inverter 1
Enter 24. Similarly, the pair of decoder 312 and flip-flop 322 is the negative logic AND gate 1 of FIG.
The bus acquisition signal 357-2 (FIG. 1: 178-2) input to the bus acquisition signal 33 and the inverter 134 is connected to the negative logic AND gate 143 of FIG. and inverter 144
bus acquisition request selection signal 357-3 (first
178-3) in FIG. 7, the set of decoder 314 and flip-flop 324 is
3 and inverter 154, respectively. When initializing the bus acquisition control circuit, the flip-flop 32
1, 322, 323, and 324 to the reset state or set state, the bus master 10 in FIG.
1 to 104 bus acquisition request candidate signals 161-1 to 161
-4 is the flip-flop 321, 322, 323,
324 is in the reset state, that is, at Lo level, the flip-flop 32 is sent to the negative logic OR gate 106.
1, 322, 323, and 324 are set, that is, H
If it is at i level, it is output to OR gate 107 of negative logic. The following explanation assumes that the flip-flops 321 and 3-33-22 have been reset. The bus master 101 and the bus master 102 enable the bus acquisition request candidate signals 161-1-161-2 almost simultaneously (LO
), the signals are passed through the negative logic AND gates 123 and 133, respectively, and inputted to the negative logic OR gate 107 as 162-1 and 162-2, respectively. In addition, the outputs 163-1 and 163- of the negative logic AND gates 122 and 132
2 remain invalid (Hi). The output of the negative logic OR gate 107 passes through the negative logic AND gate 113 and the negative logic OR gate 112 to the main processor 1.
This becomes a bus acquisition request signal 167 to 15. On the other hand, assuming that the bus master 101 in FIG. 1 is a device that performs synchronous DMA transfer, the bus acquisition request selection signal 178-1 is set to Hi.
If set to the level, the bus acquisition request candidate signal 161-1, which is enabled (Lo) by the bus master 101, passes through the negative logic AND gate 122, the negative logic OR gate 106, and the same 112, and becomes input to the main processor 115. , the register 109, the counter 110, the comparator 111, and the negative logic AND gate 113.
can freely enable the bus acquisition request signal. FIG. 4 is a timing chart showing the operation of the bus acquisition control circuit when the flip-flop 307 of FIG. 3 is set to Lo level and the counter 110 is reset by the counter reset signal (A) 353. FIG. 5 is a timing chart showing the operation of the bus acquisition control circuit when the flip-flop 307 is set to Hi level and the counter 110 is reset by the counter reset signal (B) 354. Each signal in FIGS. 4 and 5 will be explained. rCLK is the system clock of the multi-bus system, rAS* is the address strobe signal, rDSACKX*J is the data transfer response signal, and r
ADD" is an address bus, rDATA is a data path, and rWR*J is a write signal from the main processor 1l5. "aSet" is a register latch signal, and corresponds to 172 in FIG. 1 and 351 in FIG. 3-35, respectively. "rathru" is a permission signal for generating a bus acquisition request, and corresponds to 179 in FIG. 1 and 340 in FIG. 3, respectively. ``rarrst*'' is a counter reset signal, and the first
This corresponds to 174 in the figure and 355 in FIG. 3, respectively. r
aregJ is the maximum number of bus acquisitions, and is 173 in Figure 1.
corresponds to racnt" is the total number of bus acquisitions, and corresponds to 176 in FIG. "abr*" is a bus acquisition request signal sent from the bus acquisition control circuit to the main processor 115, and corresponds to 167 in FIG. rabr*
(1) J is a bus acquisition request signal sent from the bus master 101 in FIG. 1 to the bus acquisition control circuit, and 161-1 in FIG.
and 231-1 in FIG. 2, respectively. rabr* (2) J is a bus acquisition request signal from the bus master 102 in FIG. 1 to the bus acquisition control circuit, and corresponds to 161-2 in FIG. 1 and 231-2 in FIG. 2, respectively. rabr* (3) J is a bus acquisition request signal sent from the bus master 103 to the bus acquisition control circuit in FIG.
This corresponds to 161-3 in the figure and 231-3 in Fig. 36-2, respectively. rabr* (
4) J is a bus acquisition request signal from the bus master 104 in FIG. 1 to the bus acquisition control circuit, and corresponds to 161-4 in FIG. 1 and 231-4 in FIG. 2, respectively. rabg*”
are bus grant signals sent from the main processor 115 to the bus acquisition control circuit, and correspond to 168 in FIG. 1 and 233 in FIG. 2, respectively. rarbg* (1) J is a bus permission signal sent from the bus acquisition control circuit in the engineering drawing to the bus master 101, and corresponds to 169-1 in FIG. 1 and 232-1 in FIG. 2, respectively. rarbg* (2) J is a bus grant signal sent from the bus acquisition control circuit in FIG. 1 to the bus master 102, and corresponds to 169-2 in FIG. 1 and 232-2 in FIG. 2, respectively. rarbg*(3)'' is a bus permission signal sent from the bus acquisition control circuit in FIG. 1 to the bus master 103, and corresponds to 169-3 in FIG. 1 and 232-3 in FIG. 2, respectively. rarbg'k (4) J is a bus permission signal sent from the bus acquisition control circuit in FIG. 1 to the bus master 104, and corresponds to 169-4 in FIG. 1 and 23-37-2-4 in FIG. 2, respectively. . "abaCk*" is a bus grant response signal from the bus acquisition control circuit to the main processor 115, and corresponds to 171 in FIG. rabac
k* (1) J is a bus grant response signal from the bus master 101 in FIG. 1 to the bus acquisition control circuit, and 17 in FIG.
Corresponds to 0-1. raback* (2)” is the bus master 10 in Figure 1.
2 to the bus acquisition control circuit;
This corresponds to 170-2 in FIG. raback* (3
)J is a bus grant response signal from the bus master 103 in FIG. 1 to the bus acquisition control circuit, and corresponds to 170-3 in FIG. raback*(4)'' is a bus grant response signal from the bus master 104 in FIG. 1 to the bus acquisition control circuit, and corresponds to 170-4 in FIG. "Total number of bus acquisitions of counter 110 racnt" (Figure 1: 176)
and the maximum number of bus acquisitions rareg” (Figure 1: 173)
is already zero, and the flip-flop 307 in FIG.
are set to the reset state. The initial main processor pass cycle 38 in FIG.
32 decode address (401 in FIG. 4) and the write signal 331 from the main processor 115, the first
The register latch signal 351 to the register 109 in the figure is enabled (Lo). The register 109 in FIG.
t'' (Figure 1: 172) is the maximum bus acquisition number raregJ (Figure 1: 17).
3) to latch. Here, "2" is latched as the maximum number of bus acquisitions, and from this point on, the bus acquisition {q request generation permission signal ratru'' (Figure 1: 179)
becomes valid (LO). In “TO” in Figure 4, the first
Bus master 101 and bus master 102 in the figure each have a bus acquisition request redemption code rabrl (1)J (Figure 1: 1
61-1) and rabrl(2)J (Figure 1: 161-
2) is enabled (L○), the bus acquisition request code 1'abr* of 115 is sent to the main processor (Figure 1:
167) is enabled (Lo). Next, in Figure 4, “
As shown in "T1", the bus permission signal "RABG*" (168 in FIG. 1) from the main processor 115 is enabled (Lo), and the bus master 101 is sent via the bus request daisy chain 105 in FIG. bus permission signal rarbg'l'(1)'' (Figure 1:
169-1) is enabled (Lo). “T” in Figure 4
2, the bus master 101 in the construction drawing sends an address strobe signal rAs*J (Figure 1: 1'80) and a bus transfer response signal rDsACKX* (Figure 1: 18).
1) and the bus permission response signal “BGACK*” (Figure 1: 1
68) are both disabled (Hi), the bus permission response signal raback* (1) J (Figure 1: 170-1) is enabled (Lo), and the bus master 1
start a bus cycle. In Figure 4, bus master 10
411 and 412 are transferred during execution of one bus cycle. 412, the bus master 101 sends the bus permission response signal raback* at "T3" in FIG.
(1) J (FIG. 1 = 170-1) is disabled (Hi) to notify the main processor 115 of abandonment of the bus cycle. At this time, the bus permission response signal ra to the main processor 115 is
At the rise of "baCk*" (FIG. 1: 171), the total number of bus acquisitions "acnt,1 (
Figure 1: 176) is added by 1. During this time, while the bus master 101 was acquiring the bus, a pending state of a bus request by the bus master 102 occurred, so the main processor 115 again issued the bus permission signal "abg*" (FIG. 1: 1).
68) is enabled (Lo) at "rT2a" in FIG. 4, and the bus master 102 is waiting for the bus master 101 to relinquish the bus. Bus master 101 at “T3” in FIG.
As a result of the bus abandonment, the bus cycle of the bus master 102 is started at "T4" in FIG. In FIG. 4, 413 is transferred while the bus master 102 is executing a bus cycle. 413, the bus master 102 sends the bus permission response signal raback+* at "T5" in FIG.
(2) Disable (Hi) J (i 170-2 in FIG. 1) to notify the main processor 115 of abandonment of the bus cycle. At this time, -41 to the main processor 115
- bus grant response signal ra. back*” (Figure 1 = 171
) rises, the total number of bus acquisitions ``aCnt'' (176 in Figure 1) of the counter 110 is incremented by 1, and the total number of bus acquisitions ``racnt'' (176 in Figure 1) is increased by 1.
) is the maximum number of bus acquisitions rareg” (Figure 1: 17
3), and the comparator 111 outputs the bus acquisition request generation permission signal ratru, 1 (Fig. 1: 179).
Disable (LO). From this point on, counting up is started by the system clock 339 of the binary pinary counter 304 in FIG. In the second bus cycle of the main processor 115, an instruction fetch operation is performed twice and rDATA4J is transferred between "T6" and "T7" in FIG. “T” in Figure 4
8'', the count-up by the binary pinary counter 304 in FIG. 3 is completed and the counter reset signal rar is
rst* (FIG. 1: 174) is output, and the total number of bus acquisitions racnt'' (FIG. 1: 176) is cleared to zero. From the time when the above-mentioned "racnt" is cleared to zero, the bus acquisition request generation permission signal "a-42-thru" (179 in FIG. 1) becomes valid (Hi). Between "T6" and "T7" in FIG. 4, the bus master 103 and the bus master 104 in FIG.
abr* (3) J (Fig. 1: 161-3) and ra
br* (4) J (Fig. 1: 161-4) and valid (
Lo), the negative logic AND gate 113 in FIG.
The bus acquisition request generation permission signal rat is one input of
hru” (Fig. 1: 179) is invalid (Lo), the output 165 of the negative logic AND gate 113 is invalid (H
i) remains the same. Therefore, the bus acquisition request redemption signal RABR* (167 in FIG. 1) to the main processor 115 does not become valid (Lo), and the main processor 115 does not relinquish the bus. The binary pinary counter 304 in FIG. 3 receives a bus acquisition request generation permission signal "athru" (FIG. 1:
179) becomes invalid (Hi), at "T8a" in FIG. 4, 16 clocks after the counter reset signal r
arrst*, + (Figure 1 = 174, Figure 3: 355
) is enabled (LO) and the bus acquisition request generation permission signal r
ath-43-ru” (Figure 1: 179) becomes valid (Hi) again. Immediately after the bus acquisition request generation permission signal rathr+g (FIG. 1: 179) becomes valid (H1), the bus acquisition request signal ``abrlJ'' (FIG. 1: 167) to the main processor 115 becomes valid (Lo). After that, bus cycles of bus master 103 and bus master 104 are executed.
The second bus cycle is as described in the fourth section. In the second bus cycle of the main processor 115, after performing the instruction fetch operation twice, at "T10" in FIG. 4, the decode address (506 in FIG. 5) of the address bus 332 is sent to the decoder 305 in FIG. and the write signal 331 from the main processor 115, the counter reset signal "arrst*" (174 in FIG. 1, 355 in FIG. 3) is enabled (Lo), the counter 110 is cleared to zero, and a bus acquisition request is generated. permission signal ratru
” (Figure 1: 179) is re-enabled (Hi) -44
− I am. This example differs from the example shown in FIG. 4 in that the counter 110 is cleared to zero due to the operation of the main processor 115. In order to reset the counter by the main processor 115 in FIG.
It is considered optimal to use an interrupt triggered by the rising edge of , from the perspective of reducing the burden on the main processor. [Effects of the Invention] According to the information device having the bus acquisition control method of the present invention described above, the main processor programmably controls the bus acquisition of the bus master, so that the main processor secures its own bus cycle. It is possible to avoid a significant decrease in program processing speed.

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

第1図は、本発明によるマルチバスマスタシステムのブ
ロック図、 第2図は、本発明による第1図のバス要求デイジーチェ
ーンの構成図、 −45− 第3図は、本発明による第1図のカウント制御回路の構
成図、 第4図は、本発明による第1図の回路の動作を示すタイ
ミングチャート例1の図、 第5図は、本発明による第1図の回路の動作を示すタイ
ミングチャート例2の図、 第6図は、従来例によるメインプロセッサのバス調停の
プロトコルを示したタイミングチャートの図、 第7図は、第6図の各信号の入出力関係を示すマルチバ
スシステムのブロック図、 第8図は、バスマスタが複数存在する場合の各信号の入
出力関係を示すマルチバスシステムのブロック図、 第9図は、従来例1のバス獲得制御回路構成図、第10
図は、バス要求のペンディング状態が発生した時のメイ
ンプロセッサのバス調停のプロトコルを示したタイミン
グチャートの図、 第11図は、従来例2のバス獲得制御回路構成図である
。 −46− バスマスタ:l01・102・103・104、スイッ
チ回路:120・130・140・150、バス要求デ
イジーチェーン:105、負論理のオアゲート=106
・107・108・112、レジスタ:109、カウン
タ:110,比較器:111、負論理のアンドゲート:
113、カウンタ制御回路:114、負論理のアンドゲ
ート:122・123・132・133・142・14
3・152・153、インバータ:124・134・1
44・154、負論理のアンドゲート:201・202
・203・204・211・212・213、インバー
タ:221・222・223、デコーダ:301・30
2・306、フリップフロップ:303・305・30
7、2進パイナリカウンタ:304、セレクタ:308
、ナンドゲート:309、デコーダ=311・312・
313・314、インバータ:315、フリップフロッ
プ:321・322・323・324、デコーダ301
のアドレス:401・501、データ転送先アドレス1
:402・502、データ転送先ア−47− ドレス2:403・503、命令読み込み元アドレス1
:404・504、命令読み込み元アドレス2:405
・505、デコーダ305のアドレス:506、データ
転送先アドレス3:406・507、データ転送先アド
レス4:407・508、データ1:411・511、
データ2:412・512、データ3: 413・51
3、命令コード1: 414・514、命令コード2:
415・515、任意の値=516、データ4: 41
6・517、データ5:417・518、メインプロセ
ッサ:701,バスマスタ:702、メインプロセッサ
=801、バスマスタ:802・803・804・80
5、バス獲得制御回路:806、負論理のオアゲート:
901・902、負論理のアンドゲート:903・90
4・905・906・913・914・915、インバ
ータ:923・924・925、負論理のオアゲート:
1101、負論理のオアゲート:1102、負論理のア
ンドゲート:1103・1104・1105・1106
・1113・1114・1115、インバ−48− ータ:1123・1124・1125、ナンドゲート:
1131、インバータ:1132、システムクロヅク:
 CKL・339、アドレスストローブ信号:AS*・
180・724・824、データ転送応答信号=DSA
CKX*・181・725・825、バス獲得要求信号
:BR*・abr*・721・821・931・113
1・167、バス獲得要求候補信号: abr* (1
)〜abr*(4)・831−1〜831−4・941
−1〜941−4・1141−1〜1141−4・16
1−1〜161−4・231−1〜231−4、バス許
可信号:BG*・abg*・722・822・932・
l132・233、バス許可候補信号: abg* (
1) 〜abg* (4) ・832 −1〜832−
4・942−1〜942−4・1142−1〜1142
−4・168・169−1〜169−4・232−1〜
232−4、バス許可応答信号: BGACK* ・a
back* − 723・823・933・1133・
171、バス許可応答候補信号: abackホ(1)
〜abaCk−49− * (4)・833−1〜833−4・943−1〜9
43−4  ・ 1143−1〜1143−4  ・ 
170−1〜170−4、バス獲得要求選択信号:17
8−1〜178−4・357−1〜357一4、レジス
タラッチ信号: aset・172・351、最大バス
獲得回数: areg・173、カウンタリセット信号
: arr’st’+’・174・355、カウント継
続/中断信号;175・352、バス獲得の延べ回数:
 acnt・176、バス獲得要求生成の許可信号: 
athru・179、セレクタの選択信号:356、メ
インプロセッサからのライト信号:WR*・331、ア
ドレスバス:ADD・332、データパス: DATA
・333・334・335・336・337・338、
以上
FIG. 1 is a block diagram of a multi-bus master system according to the present invention. FIG. 2 is a block diagram of a bus request daisy chain of FIG. 1 according to the present invention. -45- FIG. A configuration diagram of a count control circuit. FIG. 4 is a timing chart example 1 showing the operation of the circuit of FIG. 1 according to the present invention. FIG. 5 is a timing chart showing the operation of the circuit of FIG. 1 according to the present invention. Figure 6 is a timing chart diagram showing the bus arbitration protocol of the main processor according to the conventional example; Figure 7 is a block diagram of a multi-bus system showing the input/output relationship of each signal in Figure 6. 8 is a block diagram of a multi-bus system showing the input/output relationship of each signal when there are multiple bus masters, FIG. 9 is a block diagram of a bus acquisition control circuit of conventional example 1, and FIG.
1 is a timing chart showing a bus arbitration protocol of the main processor when a bus request pending state occurs. FIG. 11 is a block diagram of a bus acquisition control circuit of conventional example 2. -46- Bus master: l01, 102, 103, 104, switch circuit: 120, 130, 140, 150, bus request daisy chain: 105, negative logic OR gate = 106
・107・108・112, Register: 109, Counter: 110, Comparator: 111, Negative logic AND gate:
113, Counter control circuit: 114, Negative logic AND gate: 122, 123, 132, 133, 142, 14
3.152.153, inverter: 124.134.1
44/154, negative logic AND gate: 201/202
・203, 204, 211, 212, 213, Inverter: 221, 222, 223, Decoder: 301, 30
2.306, flip-flop: 303.305.30
7. Binary pinary counter: 304, selector: 308
, NAND gate: 309, decoder = 311・312・
313, 314, inverter: 315, flip-flop: 321, 322, 323, 324, decoder 301
Address: 401/501, data transfer destination address 1
:402/502, data transfer destination address 47- address 2:403/503, instruction reading source address 1
:404/504, instruction reading source address 2:405
・505, address of decoder 305: 506, data transfer destination address 3: 406/507, data transfer destination address 4: 407/508, data 1: 411/511,
Data 2: 412/512, Data 3: 413/51
3. Instruction code 1: 414/514, instruction code 2:
415/515, arbitrary value = 516, data 4: 41
6/517, data 5:417/518, main processor: 701, bus master: 702, main processor = 801, bus master: 802/803/804/80
5. Bus acquisition control circuit: 806, negative logic OR gate:
901/902, negative logic AND gate: 903/90
4, 905, 906, 913, 914, 915, Inverter: 923, 924, 925, Negative logic OR gate:
1101, Negative logic OR gate: 1102, Negative logic AND gate: 1103, 1104, 1105, 1106
・1113/1114/1115, Inverter: 1123/1124/1125, NAND gate:
1131, Inverter: 1132, System Kurozuku:
CKL・339, address strobe signal: AS*・
180/724/824, data transfer response signal = DSA
CKX*・181・725・825, bus acquisition request signal: BR*・abr*・721・821・931・113
1.167, bus acquisition request candidate signal: abr* (1
)~abr*(4)・831-1~831-4・941
-1~941-4・1141-1~1141-4・16
1-1 to 161-4, 231-1 to 231-4, bus permission signal: BG*, abg*, 722, 822, 932,
l132/233, bus permission candidate signal: abg* (
1) ~abg* (4) ・832 -1~832-
4・942-1~942-4・1142-1~1142
-4・168・169-1~169-4・232-1~
232-4, bus permission response signal: BGACK* ・a
back* - 723・823・933・1133・
171, bus permission response candidate signal: aback ho (1)
~abaCk-49- * (4)・833-1~833-4・943-1~9
43-4 ・ 1143-1 to 1143-4 ・
170-1 to 170-4, bus acquisition request selection signal: 17
8-1~178-4・357-1~357-4, Register latch signal: aset・172・351, Maximum number of bus acquisitions: areg・173, Counter reset signal: arr'st'+'・174・355, Counting continuation/interruption signal; 175/352, total number of bus acquisitions:
acnt・176, bus acquisition request generation permission signal:
athru・179, selector selection signal: 356, write signal from main processor: WR*・331, address bus: ADD・332, data path: DATA
・333・334・335・336・337・338,
that's all

Claims (1)

【特許請求の範囲】[Claims] メインプロセッサと複数のバスマスタからなるマルチバ
スマスタシステムを含む情報機器において、前記バスマ
スタのバス獲得の延べ回数をカウントするカウンタと、
メインプロセッサにより設定可能な最大バス獲得回数設
定レジスタと、前記カウンタの値と前記設定レジスタを
比較する比較器と、前記カウンタの値が前記設定レジス
タの値に達したときには前記バスマスタのバス獲得を一
時保留せしめる手段とを含むバス獲得制御回路を有する
ことを特徴とする情報機器。
In an information device including a multi-bus master system including a main processor and a plurality of bus masters, a counter that counts the total number of bus acquisitions by the bus master;
a maximum bus acquisition count setting register that can be set by the main processor; a comparator that compares the value of the counter with the setting register; and a comparator that temporarily stops the bus master from acquiring the bus when the value of the counter reaches the value of the setting register. 1. An information device comprising a bus acquisition control circuit including means for holding the bus.
JP30145289A 1989-11-20 1989-11-20 Information apparatus Pending JPH03161856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30145289A JPH03161856A (en) 1989-11-20 1989-11-20 Information apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30145289A JPH03161856A (en) 1989-11-20 1989-11-20 Information apparatus

Publications (1)

Publication Number Publication Date
JPH03161856A true JPH03161856A (en) 1991-07-11

Family

ID=17897062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30145289A Pending JPH03161856A (en) 1989-11-20 1989-11-20 Information apparatus

Country Status (1)

Country Link
JP (1) JPH03161856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009962A (en) * 2006-06-02 2008-01-17 Matsushita Electric Ind Co Ltd Resource use management device, resource use management system and control method for resource use management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009962A (en) * 2006-06-02 2008-01-17 Matsushita Electric Ind Co Ltd Resource use management device, resource use management system and control method for resource use management device

Similar Documents

Publication Publication Date Title
EP0581335B1 (en) Data processing system having units competing for access to shared resources and arbitration unit responsive to the status of the shared resources
CA1158737A (en) Shared synchronous memory multiprocessing arrangement
US5253347A (en) Centralized arbitration system using the status of target resources to selectively mask requests from master units
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
US5263146A (en) Multiprocessor system including an exclusive access controller with lock request holding and grant circuits
JP2000040061A (en) Bus usage right arbitration system
US20030126381A1 (en) Low latency lock for multiprocessor computer system
EP0492817A2 (en) Data processing system and memory controller for lock semaphore operations
US5894562A (en) Method and apparatus for controlling bus arbitration in a data processing system
JPH03161856A (en) Information apparatus
JPH10283310A (en) Method and device for bus arbitration of multiprocessor system
JP2004062910A (en) Method for realizing semaphore to multi-core processor and controlling access to common resource
JPH05204833A (en) Direct memory access transfer controller
JPH10320349A (en) Processor and data transfer system using the processor
JPS63175964A (en) Shared memory
EP0363905A2 (en) I/O Apparatus for programmable controller
JPH0830549A (en) Bus control device
WO1992006432A1 (en) Device for controlling bus
JPH01223553A (en) Bus access competition arbitrating circuit
JPH03265058A (en) Bus using right control system
JPH08137785A (en) Dma controller
JPH0227461A (en) Data transfer controller
JPH04250553A (en) Programmable controller
JPH09204409A (en) Lock transfer control system
JPH04199254A (en) Lock access control system