JPS607307B2 - Bus control method - Google Patents

Bus control method

Info

Publication number
JPS607307B2
JPS607307B2 JP18690480A JP18690480A JPS607307B2 JP S607307 B2 JPS607307 B2 JP S607307B2 JP 18690480 A JP18690480 A JP 18690480A JP 18690480 A JP18690480 A JP 18690480A JP S607307 B2 JPS607307 B2 JP S607307B2
Authority
JP
Japan
Prior art keywords
bus
access request
register
control
circuit
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.)
Expired
Application number
JP18690480A
Other languages
Japanese (ja)
Other versions
JPS57109026A (en
Inventor
智史 柴田
繁 橋本
正明 小林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18690480A priority Critical patent/JPS607307B2/en
Publication of JPS57109026A publication Critical patent/JPS57109026A/en
Publication of JPS607307B2 publication Critical patent/JPS607307B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system

Description

【発明の詳細な説明】 本発明は処理装置と入出力装置等との間の情報を転送す
るバスを制御するバス制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bus control method for controlling a bus that transfers information between a processing device, an input/output device, etc.

処理装置(以下CPUと呼ぶ)、主記憶レジスタ群、入
出力装置(以下1/0と呼ぶ)等が共通バスで結ばれた
処理システムにおけるDMA(直列メモリアクセス)制
御方式では、1/0側からのバスアクセス要求(主記憶
利用の)は処理装置側からのバスァクセス要求に優先す
る方式が一般に採用されている。
In a DMA (serial memory access) control method in a processing system in which a processing unit (hereinafter referred to as CPU), a main memory register group, an input/output device (hereinafter referred to as 1/0), etc. are connected by a common bus, the 1/0 side Generally, a system is adopted in which bus access requests from the processor (using the main memory) are given priority over bus access requests from the processing device.

従来方式において、処理装置からのバスアクセス要求の
一つにレジスタ群へのアクセスがあるが、レジスタ群に
はCPU制御レジスタと1/0制御レジスタとがあり、
前記バスアクセス要求は何れのレジス外こ関するものか
を判別する必要がある。この判別には例えば8仇s(ナ
ノ秒)を要するが、この例において、処理装置からのバ
ス要求を受付けてバスの使用を許諾するまでは少くも8
仇 s以上(判別所要時間)を要することになる。この
従来方式では、処理装置からのバス要求を受付けた直後
に1/0側からのバス要求があっても、これは待機せし
められる方式となっており、折角1/0側のバスアクセ
ス要求に優先権が与えられていても、それが生かされて
いない欠点があった。本発明は上記の欠点を解決するた
めになされたもので1/0側からのバスアクセス要求の
優先順位を、さらに高めるバス制御方式の提供を目的と
している。本発明は、処理装置(CPU)と、主記憶装
置と、バス制御部と、レジス夕群(CPU制御レジスタ
及び1/0制御レジスタ)とが共通バスで結ばれた処理
システムのバス制御方式において、前記バス制御部が前
記CPUから発せられた前記レジスタに対する第1のバ
スアクセス要求を受理し該第1のバスアクセス要求に対
し前記共通バスの許諾した後、アクセス要求がどの入出
力装置へのアクセス要求かを判別中に前記1/0制御レ
ジスタ側から発せられた第2のバスアクセス要求を検出
したとき、前記第1のバスアクセス要求に対する前記共
通バス使用の許諾を取消し、前記第2のバスアクセス要
求に対し該共通バス使用の許諾を与える手段を備えたこ
とを特徴とするバス制御方式である。
In the conventional system, one of the bus access requests from the processing device is access to a register group, and the register group includes a CPU control register and a 1/0 control register.
It is necessary to determine which register the bus access request relates to. This determination requires, for example, 8 seconds (nanoseconds), but in this example, it takes at least 8 nanoseconds to accept the bus request from the processing device and grant permission to use the bus.
This means that it will take more than s (time required for determination). In this conventional method, even if there is a bus request from the 1/0 side immediately after accepting a bus request from the processing device, it is put on standby, and the bus access request from the 1/0 side is made to wait. Even if priority was given, there was a drawback that it was not taken advantage of. The present invention has been made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a bus control system that further increases the priority of bus access requests from the 1/0 side. The present invention provides a bus control method for a processing system in which a processing unit (CPU), a main memory, a bus control unit, and a register group (CPU control register and 1/0 control register) are connected by a common bus. , after the bus control unit receives a first bus access request for the register issued from the CPU and grants access to the common bus in response to the first bus access request, it determines which input/output device the access request is directed to. When a second bus access request issued from the 1/0 control register side is detected while determining whether it is an access request, the permission to use the common bus for the first bus access request is canceled, and the second bus access request is canceled. This bus control system is characterized by comprising means for granting permission to use the common bus in response to a bus access request.

以下本発明を図面によって説明する。The present invention will be explained below with reference to the drawings.

第1図は本発明の一実施例を説明するブロック図、第2
図は本発明の一実施例を説明するタイムチャートであり
、1は処理装置(CPU)、2は主記憶装置、3はCP
U制御レジスタ、4,9はしジス夕、5は判別回路、6
は制御回路、7,10,12は検出回路、8は遅延回路
、11は1/0制御レジスタ、13はパルス回路、A,
Bは共通バス、CLはクロックパルス、Dは検出信号、
Eは制御信号、a,c,c,,c2はアクセス要求信号
、f,hは許諾信号、gは出力信号、t,,t2,t3
,し,t5,k‘ま時刻である。第1図における判別回
路5はその判別動作終了までに8仇s以上を必要とし、
このため遅延回路8の遅延時間は8仇sに設定しておく
。なお共通バスA(以下Aバスと呼ぶ)は共通バスB(
以下Bバスと呼ぶ)よりも高速のバスである。第1図に
おいて、CPUIから発するバスアクセス要求信号cに
は2種類あり、その第1はAバスのみに対するアクセス
要求c,(すなわち主記憶装置2又はCPU制御レジス
タ3に対するもの)であり、第2はBバスに対するアク
セス要求c2(1/0制御レジスタに対するもの)であ
る。従ってアクセス要求cが上記第l c,又は第2
c2の何れであるかを判別する必要があり、これを判別
するために判別回路5は8皿s以上を要する。第2図に
示すように、時刻t,にアドレス要求信号cがレジス夕
4にセットされると、検出回路7がこれを検出し許諾信
号fを時亥比2に発すると共に遅延回路8をトリガーす
る。一方、1/0側(1/0制御レジスタ11)からは
アクセス要求aが時刻りこ発せられ、これがレジスタ9
にセツトされる。検出回路12は、このアクセス要求a
を検出しても、許諾信号hの発信は保留する(Aバスに
対する許諾信号fが発信済みのため)。前記時亥比2よ
り8仇sを経過した時刻t4に、遅延回路8に出力信号
gが発せられ、これが検出回路10に入力される。検出
回路10は、この時点t4で、許諾信号f(発信済み)
としジスタ9のアクセス要求信号aとを検出すると検出
信号Dを発する。検出信号Dは検出回路7を制御して前
記許諾信号fを停止(時刻t5)せしめると共に、制御
回路6における制御信号Eの発生も停止せしめる。一方
、検出信号Dは検出回路12に達し許諾信号hを時刻k
‘こ発せしめ、1/0側に対しAバスの使用を許可する
。以上のように本発明は、CPU側と1/0側とからの
バスアクセス要求が競合し、僅かの時間遅れで1/0側
のアクセス要求が到来したときは、その遅れが所定時間
以内であれば、1/0側のアクセス要求を優先せしめる
ものであり、処理システムの処理効率を向上しうる利点
を有する。
FIG. 1 is a block diagram explaining one embodiment of the present invention, and FIG.
The figure is a time chart explaining one embodiment of the present invention, in which 1 is a processing unit (CPU), 2 is a main storage device, and 3 is a CPU.
U control register, 4, 9 register, 5 discriminator circuit, 6
is a control circuit, 7, 10, 12 is a detection circuit, 8 is a delay circuit, 11 is a 1/0 control register, 13 is a pulse circuit, A,
B is a common bus, CL is a clock pulse, D is a detection signal,
E is a control signal, a, c, c,, c2 are access request signals, f, h are permission signals, g is an output signal, t,, t2, t3
, t5, k' is the time. The discrimination circuit 5 in FIG. 1 requires more than 8 seconds to complete its discrimination operation,
Therefore, the delay time of the delay circuit 8 is set to 8 seconds. Note that common bus A (hereinafter referred to as A bus) is common bus B (hereinafter referred to as A bus).
This bus is faster than the B bus (hereinafter referred to as the B bus). In FIG. 1, there are two types of bus access request signals c issued from the CPUI. is an access request c2 (to the 1/0 control register) to the B bus. Therefore, the access request c is the above-mentioned access request lc, or
It is necessary to determine which one is c2, and in order to determine this, the determination circuit 5 requires eight plates or more. As shown in FIG. 2, when the address request signal c is set in the register 4 at time t, the detection circuit 7 detects this and issues the permission signal f at a time of 2, triggering the delay circuit 8. do. On the other hand, an access request a is issued from the 1/0 side (1/0 control register 11) at the time, and this is sent to the register 9.
is set to The detection circuit 12 detects this access request a
Even if this is detected, the transmission of the permission signal h is suspended (because the permission signal f for the A bus has already been transmitted). At time t4, when 8 seconds have elapsed since the time ratio 2, an output signal g is issued to the delay circuit 8, and this is input to the detection circuit 10. At this time t4, the detection circuit 10 outputs the permission signal f (already transmitted).
When detecting the access request signal a of the register 9, a detection signal D is generated. The detection signal D controls the detection circuit 7 to stop the permission signal f (time t5), and also causes the control circuit 6 to stop generating the control signal E. On the other hand, the detection signal D reaches the detection circuit 12 and transmits the permission signal h at time k.
'The 1/0 side is allowed to use the A bus. As described above, in the present invention, when bus access requests from the CPU side and the 1/0 side compete and an access request from the 1/0 side arrives with a slight time delay, the delay is within a predetermined time. If there is, priority is given to the access request on the 1/0 side, which has the advantage of improving the processing efficiency of the processing system.

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

第1図は本発明の一実施例を説明するブロック図、第2
図は本発明の一実施例を説明するタイムチャートであり
、図中に用いた符号は次の通りである。 1は処理装置(CPU)、2は主記憶装置、3はCPU
制御レジスタ、4,9はしジス夕、5は判別回路、6は
制御回路、7,10,12は検出回路、8は遅延回路、
11は1/0制御レジスタ、13はパルス回路、A,B
は共通バス、CLはクロックパルス、Dは検出信号、E
は制御信号、a’C’CI’C2はアクセス要求信号、
f,hは許諾信号、gは出力信号、ち,t2,上3,t
4,ヒ,t6は時刻を示す。 努ー図 第2図
FIG. 1 is a block diagram explaining one embodiment of the present invention, and FIG.
The figure is a time chart explaining one embodiment of the present invention, and the symbols used in the figure are as follows. 1 is the processing unit (CPU), 2 is the main memory, 3 is the CPU
Control register, 4 and 9 are registers, 5 is a discrimination circuit, 6 is a control circuit, 7, 10 and 12 are detection circuits, 8 is a delay circuit,
11 is a 1/0 control register, 13 is a pulse circuit, A, B
is a common bus, CL is a clock pulse, D is a detection signal, E
is a control signal, a'C'CI'C2 is an access request signal,
f, h are permission signals, g is output signals, t2, upper 3, t
4, H, and t6 indicate time. Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 処理装置(CPU)と、主記憶装置と、複数の入出
力装置とバス制御部とが共通バスで結ばれた処理システ
ムのバス制御方式において、前記バス制御部が前記処理
装置から発せられた第1のバスアクセス要求を受理し、
該第1のバスアクセス要求に対し前記共通バスの使用を
許諾したのち、前記バス制御部においてどの入出力装置
へのバスアクセス要求かを判別中に前記入出力装置から
発せられた第2のバスアクセス要求を受理したとき、前
記第1のバスアクセス要求に対する共通バスの使用を取
消し、前記第2のバスアクセス要求に対し、前記共通バ
ス使用の許諾を与える手段を備えたことを特徴とするバ
ス制御方式。
1. In a bus control method of a processing system in which a processing unit (CPU), a main storage device, a plurality of input/output devices, and a bus control unit are connected by a common bus, the bus control unit accepting the first bus access request;
After granting permission to use the common bus in response to the first bus access request, a second bus issued from the input/output device while the bus control unit is determining which input/output device the bus access request is directed to; A bus comprising means for canceling use of the common bus for the first bus access request and granting permission for use of the common bus for the second bus access request when an access request is received. control method.
JP18690480A 1980-12-26 1980-12-26 Bus control method Expired JPS607307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18690480A JPS607307B2 (en) 1980-12-26 1980-12-26 Bus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18690480A JPS607307B2 (en) 1980-12-26 1980-12-26 Bus control method

Publications (2)

Publication Number Publication Date
JPS57109026A JPS57109026A (en) 1982-07-07
JPS607307B2 true JPS607307B2 (en) 1985-02-23

Family

ID=16196711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18690480A Expired JPS607307B2 (en) 1980-12-26 1980-12-26 Bus control method

Country Status (1)

Country Link
JP (1) JPS607307B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4703420A (en) * 1985-02-28 1987-10-27 International Business Machines Corporation System for arbitrating use of I/O bus by co-processor and higher priority I/O units in which co-processor automatically request bus access in anticipation of need
JPH0777851B2 (en) * 1985-12-21 1995-08-23 トヨタ自動車株式会社 Vehicle drive output control device

Also Published As

Publication number Publication date
JPS57109026A (en) 1982-07-07

Similar Documents

Publication Publication Date Title
US5619661A (en) Dynamic arbitration system and method
EP0581335B1 (en) Data processing system having units competing for access to shared resources and arbitration unit responsive to the status of the shared resources
CA1231178A (en) Access-arbitration scheme
US6282598B1 (en) PCI bus system wherein target latency information are transmitted along with a retry request
CA2055962A1 (en) Bus arbitration system
US5083258A (en) Priority control system
KR0167726B1 (en) Bus priority selecting apparatus
US6697904B1 (en) Preventing starvation of agents on a bus bridge
US5218702A (en) System for selecting request for a resource before decoding of requested resource address and validating selection thereafter
KR960029991A (en) Bus arbitration method and device
JPS607307B2 (en) Bus control method
US6105082A (en) Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle
KR0139967B1 (en) Multi-frame transmission control circuit of global bus
JPS5672753A (en) Selective processor for occupation of common bus line
JP3145765B2 (en) Information processing device
JPH05282244A (en) Information processor
JPH09223106A (en) Exclusive control system
JP2806771B2 (en) Bus arbitration circuit
JPH0991194A (en) Mediation system and mediation method
JP2837893B2 (en) Microcomputer device
KR100244471B1 (en) Direct memory access controller and control method
JP2556290B2 (en) Bus arbitration device
JPH08263428A (en) Information processor for applying split transfer system and bus arbitrating method for same
JPS60167055A (en) Priority selection system
JPH05324543A (en) Bus arbiter device