JPS59216226A - Data bus control system - Google Patents

Data bus control system

Info

Publication number
JPS59216226A
JPS59216226A JP9066783A JP9066783A JPS59216226A JP S59216226 A JPS59216226 A JP S59216226A JP 9066783 A JP9066783 A JP 9066783A JP 9066783 A JP9066783 A JP 9066783A JP S59216226 A JPS59216226 A JP S59216226A
Authority
JP
Japan
Prior art keywords
bus
bus use
logic circuit
microprocessor
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9066783A
Other languages
Japanese (ja)
Inventor
Takeshi Takemoto
毅 竹本
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP9066783A priority Critical patent/JPS59216226A/en
Publication of JPS59216226A publication Critical patent/JPS59216226A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To reduce the processing overhead of a microprocessor to improve the processing efficiency by providing a bus use request suppressing logic circuit, which is controlled by a bus use inhibiting flag, in each logic unit. CONSTITUTION:When a data bus use request signal comes from a micro-processor 12, it is judged whether a bus busy FF 14 is set or not, and resetting is waited if the FF 14 is set; but if it is reset, it is judged whether a bus error signal 18 exists or not. If the signal 18 exists, it is judged whether a bus use inhibiting flag 13 is ''1'' or not; and if it is ''1'', the bus use inhibiting processing to operate a suppressing logic circuit 15 is executed. Thus, the circuit 15 controlled by the flag 13 is provided in each logic unit to suppress the bus use request which is outputted to a bus control unit from a logic circuit unit requesting the bus use. Consequently, the processing overhead of the microprocessor is reduced to improve the processing efficiency.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は複数の論理回路間を接続するデータバスを有す
るデータ処理装置のデータバス制御方式%式% 〔発明の背景〕 従来この種のデータバス制御方式は、第1図にそのフロ
ーチャートを示すように、データバス使用要求を行う論
理ユニットのデータバス制御を行うマイクロプロセッサ
は、バス使用禁止フラグが1”であるか否かを確認しく
ステップ31)、もし1″であればバス使用禁止処理を
行い(ステップ32)、もしO”であればデータバス要
求を出していた(ステップ33)。そしてデータバス要
求を出した場合は、バスビジーがセットされたままか否
か(応答があったか否か)を判断しくステップ34)、
セットされたままであったらリセットされるまで待期し
、リセットされたらバスエラーがあるか否かを判断しく
ステップ35)、バスエラーがあればパスエラー処理ヲ
行い(ステップ36 ) 、バスエラーがなければ通常
の処理を行っていた(ステップ37)。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a data bus control method for a data processing device having a data bus that connects a plurality of logic circuits. [Background of the Invention] Conventionally, this type of data bus As shown in the flowchart of FIG. 1, the control method is such that the microprocessor that controls the data bus of the logical unit that makes the data bus use request checks whether the bus use prohibition flag is 1" or not in step 31. ), if it is 1'', bus use prohibition processing is performed (step 32), and if it is O'', a data bus request is issued (step 33).If a data bus request is issued, bus busy is set. Step 34)
If it remains set, wait until it is reset, and when it is reset, determine whether there is a bus error (step 35). If there is a bus error, perform path error processing (step 36); if there is no bus error, perform path error processing (step 36). Normal processing was being performed (step 37).

上記のように従来のデータバス制御方式では、データバ
ス制御を行うマイクロプロセッサが、ノ(ス使用禁止フ
ラグを確認した後に、)くス使用要求を出プルていプこ
、しかしながら、一般にノくス使用禁止フラグは、バス
の@湊時や、データ転送の相手方ユニット内のステータ
スに起因してセットされるものであり、バス使用禁止フ
ラグが1”である確率は小さい。
As mentioned above, in the conventional data bus control method, the microprocessor that controls the data bus issues a request to use the bus (after checking the bus use prohibition flag). The use prohibition flag is set when the bus is @minato or due to the status in the other party unit of data transfer, and the probability that the bus use prohibition flag is 1'' is small.

従って上記従来のバス制御方式では、通當はノくス使用
禁止フラグが0″であるにもかかわらず、必ずバス使用
要求前に、該フラグが0″であることを確認するため、
第1図に示すようにノく系制御にオーバーヘッドを伴い
マイクロプロセッサの処理効率を低下させるという欠点
があった。、〔発明の目的〕 本発明は上述の点にかんがみてなされたもので、データ
処理装置内のデータ転送等の輻輳が生じていない通常時
、すなわちバス使用禁止フラグが”0″の場合に、論理
ユニット内のマイクロプロセッサの処理オーバーヘッド
を減少させ、マイクロプロセッサの処理効率を向上させ
るようにしたデータバス制御方式を提供することを目的
とする。
Therefore, in the conventional bus control method described above, although the nox use prohibition flag is generally 0'', it is necessary to confirm that the flag is 0'' before requesting the use of the bus.
As shown in FIG. 1, there is a drawback in that system control involves overhead and reduces the processing efficiency of the microprocessor. , [Object of the Invention] The present invention has been made in view of the above-mentioned points. In normal times when there is no congestion such as data transfer within the data processing device, that is, when the bus use prohibition flag is "0", It is an object of the present invention to provide a data bus control method that reduces the processing overhead of a microprocessor in a logical unit and improves the processing efficiency of the microprocessor.

〔発明の概要〕[Summary of the invention]

本発明の要点は、論理ユニット内のマイクロプロセッサ
から出力するバス使用要求信号を、バス使用禁止フラグ
の出力で抑止して、バス制御ユニットに送出するように
し、マイクロプロセッサがバス使用要求に先立ってバス
使用禁止フラグのチェックをする必要がなく、バス制御
処理のオーツ(−ヘッドを伴わない効率のよいデータノ
く系制御方式にある。
The key point of the present invention is to suppress the bus use request signal output from the microprocessor in the logic unit by outputting a bus use prohibition flag and send it to the bus control unit, so that the microprocessor There is no need to check the bus use prohibition flag, and the bus control process is automatic.

〔発明の実施例〕[Embodiments of the invention]

以下本発明の実施例を図に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第2図はデータバスを何するデータ処理装置の構成を示
すブロック図である。同図において1−1〜1−nは論
理回路ユニット、2は前記論理回路ユニット1−1〜1
−nと共通的に接続するデータバス、3はデータバス市
り御ユニットである。
FIG. 2 is a block diagram showing the configuration of a data processing device that uses a data bus. In the figure, 1-1 to 1-n are logic circuit units, and 2 is the logic circuit unit 1-1 to 1.
3 is a data bus transfer unit commonly connected to the data bus -n.

1個の論理回路ユニットとデータバス制御ユニット3と
の間には複数の制御信号線4−1〜4−nが設けられて
いる。
A plurality of control signal lines 4-1 to 4-n are provided between one logic circuit unit and data bus control unit 3.

第3図は論理回路ユニットの構成を示すブロック図であ
る。同図において11は1個の論理回路ユニットを示し
ており、バス使用要求信号16、バス使用終了信号17
、バスエラー信号18、バス便用祭止指示信号四の各バ
ス制御信号がバス制御ユニット3と接続されている。1
2はバス制御を行うマイクロプロセッサ、13はバス使
用禁止フラグである。
FIG. 3 is a block diagram showing the configuration of the logic circuit unit. In the figure, 11 indicates one logic circuit unit, which includes a bus use request signal 16 and a bus use end signal 17.
, a bus error signal 18, and a bus stop instruction signal 4 are connected to the bus control unit 3. 1
2 is a microprocessor that performs bus control, and 13 is a bus use prohibition flag.

データバス制御ユニット3は、バスの輻濁検出時に、バ
ス匣用禁止指示(8号22により、前記バス使用禁止フ
ラグ13をセット−する。バス使用禁止フラグ13が1
0″の場合は、マイクロプロセッサ]2がバス使用要求
ン行なうと、バス使用狽氷指示信号るは抑止論理回路1
5ン通り、バスビジークリノンノロラン14をセットし
、バス使用値求イ6号10を出力する。
When bus congestion is detected, the data bus control unit 3 sets the bus use prohibition flag 13 according to the bus box use prohibition instruction (No. 8 22).
0'', if the microprocessor 2 makes a bus use request, the bus use instruction signal is sent to the inhibit logic circuit 1.
5, set the Bus Busy Clinon Nororan 14 and output the Bus Usage Value Request No. 6 10.

バス使用終了信号17が論理回路ユニット11に送出さ
れると、バスビジーノリッグンロソグ14はリセットさ
れるが、マイクロプロセッサザ12はこれを信号線16
aによつ壬監祝してい;boなお、何らかのバス制御エ
ラーが発生した場合、バス使用終了信号17と共にバス
エラー信号18が送られるためバスエラーフリップフロ
ップ21がセットされる。マイクロプロセッサ12はバ
スエラーフリップフロップ21から出力されるノくスエ
ラー検出信号加をチェックすると共に、さらにノくス使
用界止信号をもチェックする。この場合、ノ(ス使用県
止信号19は0”′である、バス使用禁止フラグ13が
61”)場合、マイクロプロセッサがノ(ス使用要求指
示信号z3を出しても、抑止論理回路15により)(ス
ビジーフリップフロツプ14はセットされな(Soまた
、この場合はバス便用禁止ツーラグ13によりバスエラ
ーフリップフロップ21はセットされるため、マイクロ
プロセッサ]2はノ(ス使用家止フラグ130tlll
+を識別することができる。
When the bus usage end signal 17 is sent to the logic circuit unit 11, the bus logic logic 14 is reset, but the microprocessor 12 sends this to the signal line 16.
Note that if any bus control error occurs, a bus error signal 18 is sent together with the bus use end signal 17, so that the bus error flip-flop 21 is set. The microprocessor 12 checks the noise error detection signal output from the bus error flip-flop 21, and also checks the noise delimitation signal. In this case, if the bus use prohibition signal 19 is 0"' and the bus use prohibition flag 13 is 61", even if the microprocessor issues the bus use request instruction signal z3, the inhibition logic circuit 15 )(busy flip-flop 14 is not set (So, in this case, the bus error flip-flop 21 is set by the bus prohibition flag 13, so the microprocessor) 2 is set to 130tllll
+ can be identified.

第4図は上記実施例の処理の流れを示すフローチャート
であ乞、マイクロプロセッサ12からのデータバス使用
要求指示信号乙があれば(、ステップ41)、バスビジ
ーフリッカ4がセットされたか否かを判断1〜、セット
されたf、まである場合はリセットを待ち、リセットさ
れた場合にはノ(スエラ−信号18があるか否か判断す
る(ステップ43)、もしバスエラー信号18がなかっ
たら通常の処理を行う(ステップ44)、バスエラー信
号18があったらバス使用禁止フラグJ3カケ1″であ
るか否かを判断しくステップ45)、もし1”でなかっ
たらバスニジ−処理を行い(ステップ46)、”1°′
であったら抑止論理回路15を作動させるバス使用禁止
処理をヤJう(ステップ47)。
FIG. 4 is a flowchart showing the processing flow of the above embodiment. If there is a data bus use request instruction signal B from the microprocessor 12 (step 41), it is determined whether the bus busy flicker 4 is set or not. Judgment 1 - If f is set, wait for reset, and if it is reset, determine whether there is a bus error signal 18 (step 43), if there is no bus error signal 18, it is normal If there is a bus error signal 18, it is determined whether or not the bus use prohibition flag J3 is 1'' (step 45), and if it is not 1'', the bus nozzle processing is performed (step 46). ), “1°′
If so, a bus use prohibition process that activates the inhibition logic circuit 15 is performed (step 47).

上記実施例に示すf−タバス制御方式によれば、バス使
用要求信号16を出力するのに先立ち、バス便用禁止フ
ラグ13をマイクロプロセッサJ2がチェックする必要
がなく、通常時すなわちバス使用禁止フラグ」3が′0
″のときにマ・イクロプロセッサJ2の処理能力を高め
ることが可能となる。従って第1図のフローチャートに
示すように、バス使用禁止フラグが1′′であるか否か
の判断をバス使用要求信号の出力するに先立って行うの
と異なり、マイクロプロセッサの1〜数命令ステツプが
削減され、単位時間当りのバス使用回数が多い程度、上
記実施例のデータバス制御方式は効果を発揮する。
According to the f-tabus control system shown in the above embodiment, there is no need for the microprocessor J2 to check the bus use prohibition flag 13 before outputting the bus use request signal 16, and the bus use prohibition flag '3 is '0
'', it is possible to increase the processing capacity of the microprocessor J2. Therefore, as shown in the flowchart of FIG. The data bus control method of the above embodiment is effective to the extent that one to several instruction steps of the microprocessor are reduced and the number of times the bus is used per unit time is large, unlike the case where the data bus control method is performed prior to outputting a signal.

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

以上説明したように本発明に係るデータバス制御方式は
、各論理ユニットにバス使用禁止フラグにより制御さn
るバス使用要求抑止論理回路を設   ′ゆ、バス使用
を要求する論理回路ユニットからバス制御ユニットに出
力されるバス使用要求を抑止するようにしたので、マイ
クロプロセッサの処理オーバヘッドを減少させることが
でき、マイクロプロセッサの処理効率向上に極めて優れ
た効果を有する。
As explained above, in the data bus control method according to the present invention, each logical unit is controlled by a bus use prohibition flag.
A bus use request suppression logic circuit is provided to suppress bus use requests output from the logic circuit unit requesting bus use to the bus control unit, thereby reducing the processing overhead of the microprocessor. , has an extremely excellent effect on improving the processing efficiency of microprocessors.

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

第1図は従来のデータバス制御方式のフローチャート図
、第2図はデータ処理装置の構成を示すブロック図、第
3図は論理回路ユニットの構成を示すブロック図、第4
図は本発明の一実施例をなすデータバス制御方式のフロ
ーチャート図である。 1−1〜1−n・・・論理回路ユニット、2・・・デー
タバス、3・・・データバス制御ユニット、4−1〜4
−n・・・データバス制御信号、11・・・論理回路ユ
ニット、】2・・・マイクロプロセッサ、13・・・バ
ス使用禁止フラグ、14・・・バスビジーフリップフロ
ップ、15・・・抑止論理回路、16・・・バス使用要
求信号、17・・・バス使用終了信号、18・・・バス
エラー信号、加・・・バスエラー検出信号、21・・・
バスエラーフリップフロップ、22・・・バス使用禁止
信号、乙・・・バス使用要求指示信号。 13 第3図 11
Fig. 1 is a flowchart of a conventional data bus control method, Fig. 2 is a block diagram showing the configuration of a data processing device, Fig. 3 is a block diagram showing the configuration of a logic circuit unit, and Fig. 4 is a block diagram showing the configuration of a logic circuit unit.
The figure is a flowchart of a data bus control method that constitutes one embodiment of the present invention. 1-1 to 1-n...Logic circuit unit, 2...Data bus, 3...Data bus control unit, 4-1 to 4
-n...Data bus control signal, 11...Logic circuit unit, ]2...Microprocessor, 13...Bus use prohibition flag, 14...Bus busy flip-flop, 15...Suppression logic Circuit, 16... Bus use request signal, 17... Bus use end signal, 18... Bus error signal, addition... Bus error detection signal, 21...
Bus error flip-flop, 22...Bus use prohibition signal, B...Bus use request instruction signal. 13 Figure 3 11

Claims (1)

【特許請求の範囲】[Claims] ニットからのバス使用要求信号を処理し一括してバス制
御を行うバス制御ユニットから構成され、前記各論理回
路ユニットにはパス使用要求信号の出力およびバス使用
杆町識別を行うマイクロプロ使用禁止フラグにより制御
されるバス使用要求抑止論理回路を設け、バス使用を要
求する論理回路ユニットから前記バス制御ユニットに出
力されるパス使用要求信号を抑止するようにしたことを
特徴とするデータバス制御方式。
It is composed of a bus control unit that processes bus use request signals from the unit and performs bus control all at once, and each logic circuit unit has a micropro use prohibition flag that outputs the path use request signal and identifies the bus use area. 1. A data bus control system comprising: a bus use request suppression logic circuit controlled by a bus use request suppressing logic circuit to suppress a path use request signal output from a logic circuit unit requesting bus use to the bus control unit.
JP9066783A 1983-05-25 1983-05-25 Data bus control system Pending JPS59216226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9066783A JPS59216226A (en) 1983-05-25 1983-05-25 Data bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9066783A JPS59216226A (en) 1983-05-25 1983-05-25 Data bus control system

Publications (1)

Publication Number Publication Date
JPS59216226A true JPS59216226A (en) 1984-12-06

Family

ID=14004883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9066783A Pending JPS59216226A (en) 1983-05-25 1983-05-25 Data bus control system

Country Status (1)

Country Link
JP (1) JPS59216226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04199254A (en) * 1990-11-26 1992-07-20 Pfu Ltd Lock access control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04199254A (en) * 1990-11-26 1992-07-20 Pfu Ltd Lock access control system

Similar Documents

Publication Publication Date Title
KR100380198B1 (en) Mechanism that performs interrupt destination redirection
US7051137B2 (en) Event delivery
JPS62227243A (en) Transmission control system
EP0217350B1 (en) Data transfer control unit and system
JPS59216226A (en) Data bus control system
US20040019722A1 (en) Method and apparatus for multi-core on-chip semaphore
JPH0320845A (en) Memory access control system
JPH0728748A (en) Bus control mechanism and computer system
JPS6149712B2 (en)
JPS6041157A (en) Bus contention control system
JPS634214B2 (en)
JPS58220536A (en) Communication controlling system between processors
JPS6134654A (en) Bus master control device
JP2842639B2 (en) Data transfer method
JPS60112162A (en) Control system of dual port memory
JPS6074069A (en) Common memory access processing system
JPS60230255A (en) Microprocessor
JPS6359179B2 (en)
JPH0573484A (en) Information processing system
JPH0736820A (en) I/o controller
JPH0354374B2 (en)
JPS6398049A (en) Bus control system in buffer nullifying processing
JPS61165172A (en) Memory access controlling system
JPS58155436A (en) Common bus controlling system of composite computer system
JP2019020766A (en) Electronic apparatus