JPH05242017A - Bus control system - Google Patents
Bus control systemInfo
- Publication number
- JPH05242017A JPH05242017A JP7627292A JP7627292A JPH05242017A JP H05242017 A JPH05242017 A JP H05242017A JP 7627292 A JP7627292 A JP 7627292A JP 7627292 A JP7627292 A JP 7627292A JP H05242017 A JPH05242017 A JP H05242017A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- command
- unit
- data
- transfer
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 26
- 238000000034 method Methods 0.000 claims description 16
- 230000010365 information processing Effects 0.000 claims description 4
- 238000007781 pre-processing Methods 0.000 abstract description 12
- 230000008054 signal transmission Effects 0.000 description 12
- 238000013500 data storage Methods 0.000 description 6
- 102100032305 Bcl-2 homologous antagonist/killer Human genes 0.000 description 3
- 101001026208 Bos taurus Potassium voltage-gated channel subfamily A member 4 Proteins 0.000 description 3
- 101000798320 Homo sapiens Bcl-2 homologous antagonist/killer Proteins 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【0001】[0001]
【技術分野】本発明はバス制御システムに関し、特に複
数のマスタが共通バスを介してスレーブに対してデータ
送受を行う場合のバス制御システムに関するものであ
る。TECHNICAL FIELD The present invention relates to a bus control system, and more particularly to a bus control system in the case where a plurality of masters send and receive data to and from a slave via a common bus.
【0002】[0002]
【従来技術】情報処理装置を構成する場合、中央処理装
置、主記憶装置、入出力装置等の複数の装置間でのデー
タ転送を行うために、各装置を共通使用可能なバスに接
続して制御することがある。2. Description of the Related Art When configuring an information processing apparatus, in order to transfer data between a plurality of devices such as a central processing unit, a main storage device, an input / output device, etc., each device is connected to a commonly usable bus. To control.
【0003】従来のバス制御においては、データ転送を
行うマスタ装置はバス使用要求を行い、調停に従ってバ
ス使用許可がなされると、バスを専有する。そして、転
送命令の発行及び転送データの送信あるいは受信を行
い、転送終了後バスを解放し1回の転送サイクルを終了
する制御を行っている。In conventional bus control, when a master device for data transfer makes a bus use request and is permitted to use the bus in accordance with arbitration, the master device monopolizes the bus. Then, the transfer command is issued and the transfer data is transmitted or received, and after the transfer is completed, the bus is released to control one transfer cycle.
【0004】従って、スレーブ装置がマスタ装置から発
行されたコマンドを受信し処理する間、マスタ装置はバ
スを専有した状態であり、その間他のマスタはバスを使
用できないといういわゆる排他的バス使用システムとな
っている。Therefore, while the slave device receives and processes the command issued from the master device, the master device is in a state of monopolizing the bus, and other masters cannot use the bus during the so-called exclusive bus use system. Is becoming
【0005】前述した従来のバス制御方式では、1つの
マスタ装置がバスを使用する場合バスの使用要求を行い
バスの使用が許可されるとバスを専有し、コマンドの発
行及びデータの送受信を1回のバス使用サイクル中に行
う。従って、スレーブ装置でのコマンド及びデータの処
理に要する時間が長くなると、1回のバス使用サイクル
が長くなり、かつスレーブ装置の内部処理中は実際には
バスのデータ転送は行われない待ち時間となり、転送効
率が低下するという問題点がある。In the above-described conventional bus control method, when one master device uses the bus, it requests the use of the bus, and when the use of the bus is permitted, the bus monopolizes the bus and issues commands and sends and receives data. Performed during one bus usage cycle. Therefore, if the time required for command and data processing in the slave device becomes long, one bus use cycle becomes long, and there is a waiting time during which data transfer on the bus is not actually performed during internal processing of the slave device. However, there is a problem that transfer efficiency is reduced.
【0006】[0006]
【発明の目的】本発明の目的は、バス転送効率の向上を
図ったバス制御システムを提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide a bus control system which improves bus transfer efficiency.
【0007】[0007]
【発明の構成】本発明によれば、データ転送用のコマン
ドを発行する複数のマスタと、前記マスタに対して共通
のデータ伝送バスと、前記バスを介して送出されるコマ
ンドに応じてデータ送受信処理を行うスレーブとを含む
情報処理装置のバス制御システムであって、前記マスタ
の1つによる前記コマンドの受信に応答した前記スレー
ブの前記コマンド処理の間、前記バスの解放を制御する
手段を設けたことを特徴とするバス制御システムが得ら
れる。According to the present invention, a plurality of masters for issuing a command for data transfer, a data transmission bus common to the masters, and data transmission / reception according to a command sent via the bus A bus control system for an information processing apparatus including a slave for performing processing, comprising means for controlling release of the bus during command processing of the slave in response to reception of the command by one of the masters. A bus control system characterized by the above is obtained.
【0008】[0008]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0009】図1は本発明の実施例のブロック図であ
る。図において、マスタ1〜3は共通バス6,7を介し
てスレーブ4に接続され、バス調停部5によりマスタ1
〜3のバス使用の調停が行われる。FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, masters 1 to 3 are connected to a slave 4 via common buses 6 and 7, and a master 1 is connected by a bus arbitration unit 5.
Arbitration for bus usage of ~ 3 is performed.
【0010】マスタ1〜3は同一構成であり、マスタ1
についてのみ示す。マスタ1は、コマンド/データバス
7の転送制御以外の基本処理を行う主処理部m1、バス
の使用要求を行うバス使用要求部m2、バスの転送制御
信号の送受信及び制御を行う制御信号送受信部m3、バ
スに対してコマンド及びデータを送信するコマンド・デ
ータ送信部m4、マスタ自身がバスに送出したコマンド
に対するスレーブ4からの応答を認識して受信する応答
受信部m5、スレーブ4からの応答と共にデータが送信
される場合このデータを受信するデータ受信部m6、主
処理部からの転送要求に従ってバスの転送を制御しバス
に対する転送要求を受付けると転送が終了するまで新た
な転送要求を受付けない制御を行う転送制御部m7によ
り構成される。Masters 1 to 3 have the same structure, and master 1
Is only shown. The master 1 includes a main processing unit m1 that performs basic processing other than transfer control of the command / data bus 7, a bus use request unit m2 that requests use of the bus, and a control signal transmission / reception unit that transmits / receives and controls transfer control signals of the bus. m3, a command / data transmitting unit m4 for transmitting a command and data to the bus, a response receiving unit m5 for recognizing and receiving a response from the slave 4 to the command sent by the master to the bus, and a response from the slave 4 When data is transmitted, the data reception unit m6 that receives this data controls the transfer of the bus in accordance with the transfer request from the main processing unit, and when the transfer request for the bus is accepted, the new transfer request is not accepted until the transfer is completed. The transfer control unit m7 is configured to perform.
【0011】主処理部m1は転送制御部m7に対する転
送要求m8及び転送制御部m7からの転送許可及び終了
通知m9により転送制御部m7に接続され、データ受信
部m6からデータを受取りかつコマンドデータ送信部m
4に対し、コマンド/データを送るための内部コマンド
/データバスm10に接続されている。The main processing unit m1 is connected to the transfer control unit m7 by the transfer request m8 to the transfer control unit m7 and the transfer permission and end notification m9 from the transfer control unit m7, receives data from the data receiving unit m6 and transmits command data. Part m
4 is connected to an internal command / data bus m10 for sending a command / data.
【0012】転送制御部m7は、バス使用要求m11及
びバス使用許可通知m12によりバス使用要求部m2
に、送受信制御m13により制御信号送受信部m3に、
コマンド/データ送信要求m14によりコマンドデータ
送信部m4に、受信データ転送m15によりデータ受信
部m6に、サイクル終了通知m16により応答受信部m
5に夫々接続されている。The transfer control unit m7 receives the bus use request m11 and the bus use permission notification m12 to request the bus use request unit m2.
Then, the transmission / reception control m13 causes the control signal transmission / reception unit m3 to
In response to the command / data transmission request m14, the command data transmission unit m4, in the reception data transfer m15 to the data reception unit m6, and in the cycle end notification m16, the response reception unit m4.
5 are connected respectively.
【0013】応答受信部m5はサイクル終了指示m17
及び応答受信タイミングm18により制御信号送受信部
m3に、データ受信タイミングm19によりデータ受信
部m6に夫々接続されている。The response receiving unit m5 instructs the cycle end instruction m17.
Also, it is connected to the control signal transmission / reception unit m3 at the response reception timing m18 and to the data reception unit m6 at the data reception timing m19.
【0014】バス使用要求部m2はバス使用要求信号b
1及びバス使用許可信号b2によりバス調停部5に接続
され、制御信号送受信部m3は制御信号送受信b3によ
り制御バス6に接続され、コマンドデータ送受信部m
4、応答受信部m5、データ受信部m6はコマンド/デ
ータ送受信b4によりコマンドデータバス7に接続され
ている。The bus use request part m2 is a bus use request signal b.
1 and the bus use permission signal b2 are connected to the bus arbitration unit 5, the control signal transmission / reception unit m3 is connected to the control bus 6 by the control signal transmission / reception b3, and the command data transmission / reception unit m is connected.
4, the response receiver m5 and the data receiver m6 are connected to the command data bus 7 by the command / data transmission / reception b4.
【0015】スレーブ4は、マスタ1〜3から送られた
コマンドの実行処理を行う主処理部s1、主処理部に渡
す前のパイプライン動作可能な処理を行う前処理部s
2、マスタから送信されたコマンドを一時的に記憶する
コマンド記憶部s3、マスタから送信されたデータを一
時的に記憶するデータ記憶部s4、マスタから送信され
たコマンドを受信した順序で処理する制御を行う順序転
送制御部s5、バスの転送制御信号の送受信及び制御を
行う制御信号送受信部s7、バスの使用要求を行うバス
使用要求部s6、マスタから送信されたコマンドを受信
しコマンド記憶部s3に送るコマンド受信部s8、マス
タから送信されたデータを受信しデータ記憶部s4に送
るデータ受信部s9、マスタから送信されたコマンドの
処理終了後マスタに対する処理終了の応答を送信する応
答送信部s10、コマンドを主処理部s1で処理した結
果マスタに対してデータ送信するデータ送信部s11に
より構成される。The slave 4 has a main processing unit s1 for executing the execution process of the commands sent from the masters 1 to 3, and a pre-processing unit s for executing the pipeline operable process before passing it to the main processing unit.
2. A command storage unit s3 that temporarily stores commands transmitted from the master, a data storage unit s4 that temporarily stores data transmitted from the master, and a control that processes commands transmitted from the master in the order received. An in-order transfer control unit s5, a control signal transmission / reception unit s7 for transmitting / receiving and controlling a transfer control signal of the bus, a bus use request unit s6 for making a bus use request, and a command storage unit s3 for receiving a command sent from the master. Command receiving section s8, a data receiving section s9 that receives data transmitted from the master and sends it to the data storage section s4, and a response transmitting section s10 that transmits a processing end response to the master after the processing of the command transmitted from the master is completed. , The command is processed by the main processing unit s1, and the data transmission unit s11 transmits data to the master.
【0016】主処理部s1は実行命令転送s12及び実
行データ転送s13に接続され、処理終了通知s14に
より順序転送制御部s5に、内部送信データバスs15
でデータ送信部s11に夫々接続される。The main processing unit s1 is connected to the execution instruction transfer s12 and the execution data transfer s13, and the processing end notification s14 informs the sequential transfer control unit s5 to the internal transmission data bus s15.
Are connected to the data transmission section s11.
【0017】前処理部s2は記憶コマンド転送s16に
よりコマンド記憶部s3に、記憶データ転送s17によ
りデータ記憶部s4に、処理受付可通知s18により順
序転送記憶部s5に夫々接続される。コマンド記憶部s
3は順序転送制御部s5からの記憶コマンド転送指示s
19に、コマンド受信部s8からの受信コマンド転送s
20に夫々接続されている。The preprocessing unit s2 is connected to the command storage unit s3 by the stored command transfer s16, to the data storage unit s4 by the stored data transfer s17, and to the order transfer storage unit s5 by the process acceptability notification s18. Command storage s
3 is a storage command transfer instruction s from the sequential transfer control unit s5
19, the received command transfer s from the command receiving unit s8
20 are connected to each.
【0018】データ記憶部s4は順序転送制御部s5か
らの記憶データ転送指示s21に、データ受信部s9か
らの受信データ転送s22に夫々接続されている。順序
転送制御部s5はバス使用要求s23及びバス使用許可
通知s24によりバス使用要求部s6に、送受信制御s
25により制御信号送受信部s7に、データ送信指示s
26によりデータ送受信部s11に、応答送信指示s2
7により応答送信部s10に夫々接続されている。The data storage section s4 is connected to the stored data transfer instruction s21 from the sequential transfer control section s5 and to the received data transfer s22 from the data receiving section s9, respectively. The sequential transfer control unit s5 notifies the bus use request unit s6 of the transmission / reception control s6 by the bus use request s23 and the bus use permission notification s24.
25, the control signal transmitting / receiving unit s7 is instructed to send data s
26, the data transmission / reception unit s11 is instructed to send a response transmission instruction s2.
7 are connected to the response transmission unit s10.
【0019】制御信号送受信部s7はコマンド受信タイ
ミングs28及びコマンドサイクル終了指示s29によ
りコマンド受信部s8に接続されている。コマンド受信
部s8はデータ受信タイミングs30によりデータ受信
部s9に接続されている。The control signal transmission / reception unit s7 is connected to the command reception unit s8 by the command reception timing s28 and the command cycle end instruction s29. The command reception unit s8 is connected to the data reception unit s9 at the data reception timing s30.
【0020】バス使用要求部s6はバス使用要求信号a
1及びバス使用許可信号a2によりバス調停部5に接続
され、制御信号送受信部s7は制御信号送受信a3によ
り制御バス6に接続され、コマンド受信部s8、データ
受信部s9、応答送信部s10、データ送信部s11は
コマンド/データ送受信a4によりコマンド/データバ
ス7に接続されている。The bus use request section s6 is a bus use request signal a.
1 and the bus use permission signal a2 are connected to the bus arbitration unit 5, the control signal transmitting / receiving unit s7 is connected to the control bus 6 by the control signal transmitting / receiving a3, the command receiving unit s8, the data receiving unit s9, the response transmitting unit s10, and the data. The transmission unit s11 is connected to the command / data bus 7 by the command / data transmission / reception a4.
【0021】次にこのように構成された本実施例の動作
を説明する。マスタ1内の主処理部m1でバスの使用要
求が発生すると、主処理部m1は転送制御部m7が現在
処理中のバスの転送がないことを転送要求m8で通知し
ていれば、転送制御部m7に対して転送要求を行うと共
に、コマンドデータ送信部m4にコマンド及びデータを
送る。Next, the operation of the present embodiment configured as described above will be described. When a bus use request is generated in the main processing unit m1 in the master 1, the main processing unit m1 transfers the transfer control if the transfer control unit m7 notifies that there is no transfer of the bus currently being processed by the transfer request m8. The transfer request is sent to the part m7, and the command and data are sent to the command data sending part m4.
【0022】転送制御部m7は転送要求によりバス使用
要求部m2を制御し、このバス使用要求部m2はバス調
停部5にバス使用要求を行う。バス調停部5は使用要求
の調停を行い、この要求の許可をバス使用要求部m2に
通知する。バス使用要求部m2から転送制御部m7にバ
スの使用許可が通知されると、転送制御部m7はコマン
ドデータ送信部m4を制御しコマンド及びデータをバス
7に送出すると共に制御信号送受信部m3を制御し、バ
ス6にバスの制御信号を送出させる。The transfer control unit m7 controls the bus use request unit m2 in response to the transfer request, and the bus use request unit m2 makes a bus use request to the bus arbitration unit 5. The bus arbitration unit 5 arbitrates the usage request and notifies the bus usage request unit m2 of permission of this request. When the bus use request unit m2 notifies the transfer control unit m7 that the use of the bus is permitted, the transfer control unit m7 controls the command data transmission unit m4 to send the command and data to the bus 7 and the control signal transmission / reception unit m3. It controls and causes the bus 6 to send a control signal of the bus.
【0023】バス7にコマンドが送出されると、制御信
号送受信部s7はバスa3から受信するバスの制御信号
によりコマンド受信タイミングをコマンド受信部s8に
送り、このタイミングでコマンド受信部s8はコマンド
を受信する。さらにコマンド受信部s8から送られるデ
ータ受信タイミングによりデータ受信部s9はバスa4
を介してデータを受信する。コマンド受信部s8はコマ
ンドを受信すると、制御信号送受信部s7を制御しコマ
ンドサイクル終了通知を制御バス6に送出する。When the command is sent to the bus 7, the control signal transmitting / receiving unit s7 sends a command receiving timing to the command receiving unit s8 by the control signal of the bus received from the bus a3, and the command receiving unit s8 sends the command at this timing. To receive. Further, the data receiving unit s9 is connected to the bus a4 according to the data reception timing sent from the command receiving unit s8
To receive data via. Upon receiving the command, the command receiving unit s8 controls the control signal transmitting / receiving unit s7 and sends a command cycle end notification to the control bus 6.
【0024】制御信号送受信部m3はコマンドサイクル
終了通知を受信しサイクルを終了させバスは解放され
る。コマンドの転送が終了すると、転送制御部m7はス
レーブからの応答待ちとなる。応答を受信し転送が終了
するまでの間転送制御部m7からの転送許可はされなく
なり新たな要求は受付けない。The control signal transmitting / receiving unit m3 receives the command cycle end notification, ends the cycle, and releases the bus. When the command transfer is completed, the transfer control unit m7 waits for a response from the slave. Until the response is received and the transfer is completed, the transfer control unit m7 does not permit the transfer and does not accept a new request.
【0025】スレーブ4では、コマンド受信部s8が受
信したコマンドはコマンド記憶部s3に送られ、データ
受信部s9が受信したデータもデータ記憶部s4に送ら
れる。前処理部s2から処理受付け可の通知がされてい
ると、順序転送制御部s5はコマンド記憶部s3を制御
し前処理部s2にコマンドを送らせ、コマンドに対応す
るデータがある場合、データ記憶部s4を制御し前処理
部s2にデータを送らせる。前処理部s2はパイプライ
ン動作が可能であり、主処理部s1にコマンド/データ
を送る前に次のコマンド/データを処理することができ
る。In the slave 4, the command received by the command receiving section s8 is sent to the command storing section s3, and the data received by the data receiving section s9 is also sent to the data storing section s4. When the pre-processing unit s2 notifies that the process can be accepted, the order transfer control unit s5 controls the command storage unit s3 to send the command to the pre-processing unit s2. If there is data corresponding to the command, the data storage The part s4 is controlled to send data to the preprocessing part s2. The pre-processing unit s2 is capable of pipeline operation and can process the next command / data before sending the command / data to the main processing unit s1.
【0026】次のコマンド/データの処理が可能となれ
ば、順序転送制御部s5に通知する。次に処理すべき命
令がコマンド記憶部s3にあれば、順序転送制御部s5
は続けて前処理部s2に送らせる。前処理部s2から実
行命令s13を介して実行データが主処理部s1に送ら
れ実行処理が行われる。主処理部s1は排他的に動作
し、1つの処理実行中は次の命令は受付けない。When the next command / data can be processed, the sequential transfer control unit s5 is notified. If the command storage unit s3 has an instruction to be processed next, the sequential transfer control unit s5
Is continuously sent to the preprocessing unit s2. The execution data is sent from the pre-processing unit s2 to the main processing unit s1 via the execution instruction s13, and the execution process is performed. The main processing unit s1 operates exclusively and does not accept the next instruction during execution of one process.
【0027】主処理部s1の処理が終了すると、順序転
送制御部s5に処理終了を通知し、処理命令がスレーブ
からのデータ読出しである場合、主処理部s1は応答送
信部s10にデータを送る。順序転送制御部s5は主処
理部s1からの処理終了通知を受けると、バス使用要求
部s6を制御し、バス使用要求部s6はバス調停部5に
バス使用要求を行う。When the processing of the main processing section s1 is completed, the order transfer control section s5 is notified of the completion of the processing. When the processing instruction is data read from the slave, the main processing section s1 sends the data to the response transmission section s10. .. When the sequential transfer control unit s5 receives the processing end notification from the main processing unit s1, it controls the bus use requesting unit s6, and the bus use requesting unit s6 makes a bus use request to the bus arbitration unit 5.
【0028】バス調停部5で調停されバス使用が許可さ
れると、順序転送制御部s5は応答送信部s10を制御
し応答をコマンド/データバス7に送出すると共に制御
信号送受信部s7を制御し、制御信号を制御バス6に送
出する。When the bus arbitration unit 5 arbitrates to permit use of the bus, the sequential transfer control unit s5 controls the response transmission unit s10 to send a response to the command / data bus 7 and the control signal transmission / reception unit s7. , And sends control signals to the control bus 6.
【0029】また、スレーブ4からのデータ読出しの場
合は、順序転送制御部s5はデータ送信部s11を制御
し、バス7にデータを送出する。バスに応答命令が送出
されると、制御信号送受信部m3は制御信号を受信して
応答受信タイミングを応答受信部m5に送る。このタイ
ミングにより応答受信部m5は応答を受信し、さらにス
レーブからの読出し命令の場合は、データ受信タイミン
グをデータ受信部m6に送り、このタイミングでデータ
受信部m6は送られてくるデータを受信する。When reading data from the slave 4, the sequential transfer control unit s5 controls the data transmission unit s11 to send the data to the bus 7. When the response command is sent to the bus, the control signal transmission / reception unit m3 receives the control signal and sends the response reception timing to the response reception unit m5. At this timing, the response receiving unit m5 receives the response, and in the case of a read command from the slave, sends the data receiving timing to the data receiving unit m6, and at this timing the data receiving unit m6 receives the sent data. ..
【0030】応答受信部m5は応答を受信すると、応答
サイクルの終了指示を行い、制御信号送受信部m3は応
答サイクル終了通知をバス6に送出する。制御信号送受
信部s7はこの応答サイクル終了通知を受信し、サイク
ルを終了させバスを解放する。When the response receiving section m5 receives the response, it gives an instruction to end the response cycle, and the control signal transmitting / receiving section m3 sends a response cycle end notification to the bus 6. The control signal transmitting / receiving unit s7 receives the response cycle end notification, ends the cycle, and releases the bus.
【0031】応答受信部m5は応答を受信すると、これ
を転送制御部m7に通知し、転送制御部m7は主処理部
m1に通知すると共に、スレーブ4からの読出し命令の
場合、データ受信部m6を制御し主処理部m1にデータ
を転送させる。When the response receiving unit m5 receives the response, the response receiving unit m5 notifies the transfer controlling unit m7, and the transfer controlling unit m7 notifies the main processing unit m1. In the case of a read command from the slave 4, the data receiving unit m6. Is controlled to cause the main processing unit m1 to transfer the data.
【0032】以上の様にマスタ1はコマンド発行後バス
を解放し、他のマスタのバス使用を許可し、スレーブ4
はコマンド受信後内部処理が終了するとバス使用要求を
行い、応答を送信する制御を行う。従って、マスタ1か
らのコマンド処理中に他のマスタ2,3からもコマンド
を受信し記憶し、受信した順序で処理を実行し、処理終
了後各マスタに対して応答を送信する制御が行われる。As described above, the master 1 releases the bus after issuing the command, permits the use of the bus by another master, and the slave 4
When the internal processing is completed after receiving the command, makes a bus use request and controls to send a response. Therefore, during command processing from the master 1, commands are also received and stored from other masters 2 and 3, the processes are executed in the order in which they are received, and a control is performed to send a response to each master after the process is completed. ..
【0033】次にタイミングチャートを用いて説明を行
う。図2は本実施例のタイミングチャートである。CLK
はクロック信号、BRQ1〜BRQ4マスタ1〜3、スレーブ4
の各バス使用要求信号、BAK1〜BAK4はマスタ1〜3、ス
レーブ4の各バス使用許可信号である。CMD はバスにコ
マンドが送出されるタイミング信号、DAT はバスに応答
が送出されていることを示すタイミング信号、EOC はコ
マンドあるいは応答の転送終了を通知するタイミング信
号、CAD はバスに送出されるコマンド及びデータを夫々
示す。Next, a description will be given using a timing chart. FIG. 2 is a timing chart of this embodiment. CLK
Is a clock signal, BRQ1 to BRQ4 masters 1 to 3 and slave 4
Bus use request signals BAK1 to BAK4 are bus use permission signals for masters 1 to 3 and slave 4. CMD is a timing signal for sending a command to the bus, DAT is a timing signal for indicating that a response is being sent to the bus, EOC is a timing signal for notifying the end of transfer of a command or response, and CAD is a command for sending to the bus. And data are shown respectively.
【0034】マスタ1は2-11のタイミングでBRQ1をアク
ティブ(Lレベル)にする。BAK1が2-12のタイミングで
アクティブ(Lレベル)になりバスの使用が許可される
と、2-13のタイミングでCMD をアクティブ(Lレベル)
にすると共に、バスにコマンドc1を送出し、BRQ1をイ
ンアクティブ(Hレベル)にする。BRQ1がインアクティ
ブ(Hレベル)になるとBAK1もインアクティブ(Hレベ
ル)になる。The master 1 activates BRQ1 (L level) at timing 2-11. When BAK1 becomes active (L level) at the timing of 2-12 and use of the bus is permitted, CMD becomes active (L level) at the timing of 2-13.
At the same time, the command c1 is sent to the bus to make BRQ1 inactive (H level). When BRQ1 becomes inactive (H level), BAK1 also becomes inactive (H level).
【0035】スレーブ4はコマンドc1を受信するとEO
C をアクティブ(Lレベル)にし、コマンドサイクルを
終了しバスを解放する。マスタ2は2-21のタイミングで
BRQ2をアクティブ(Lレベル)にする。BAK2が2-22のタ
イミングでアクティブ(Lレベル)になりバスの使用が
許可されると、2-23のタイミングでCMD をアクティブ
(Lレベル)にすると共に、バスにコマンドc2を送出
し、BRQ2をインアクティブ(Hレベル)にする。BRQ2が
インアクティブ(Hレベル)になるとBAK2もインアクテ
ィブ(Hレベル)になる。When the slave 4 receives the command c1, it becomes EO.
Activates C (L level), completes the command cycle, and releases the bus. Master 2 is timing 2-21
Make BRQ2 active (L level). When BAK2 becomes active (L level) at the timing of 2-22 and use of the bus is permitted, CMD becomes active (L level) at the timing of 2-23 and command c2 is sent to the bus and BRQ2 Is made inactive (H level). When BRQ2 becomes inactive (H level), BAK2 also becomes inactive (H level).
【0036】さらに、コマンドc2に続けてデータd2
をバスに送出する。スレーブ4はコマンドc2を受信す
ると、EOC をアクティブ(Lレベル)にしてコマンドサ
イクルを終了しバスを解放する。さらにデータd2を受
信する。Further, the command d2 is followed by the data d2.
To the bus. When the slave 4 receives the command c2, it makes EOC active (L level), ends the command cycle, and releases the bus. Further, the data d2 is received.
【0037】マスタ3はマスタ1と同様の処理を行う。
BRQ3によりバス使用要求を行い、BAK3でバスの使用が許
可されると、バスにコマンドc3を送出しバスを解放す
る。The master 3 performs the same processing as the master 1.
When the bus use request is made by BRQ3 and the bus use is permitted by BAK3, the command c3 is sent to the bus and the bus is released.
【0038】コマンドc1は2-t11 時間の前処理が及び
2-t12 時間の主処理により処理を終了する。処理が終了
すると、スレーブ4は2-41のタイミングでBRQ4をアクテ
ィブ(Lレベル)にし、BRK4が2-42のタイミングでアク
ティブ(Lレベル)になりバスの使用が許可されると、
2-43のタイミングでDAT をアクティブ(Lレベル)にす
ると共に、バスに応答r1を送出し、BRQ4をインアクテ
ィブ(Hレベル)にする。BRQ4がインアクティブ(Hレ
ベル)になると、BAK4もインアクティブ(Hレベル)に
なる。The command c1 is preprocessed for 2-t11 hours.
2-t 12-hour main processing ends the processing. When the processing is completed, the slave 4 activates BRQ4 (L level) at the timing of 2-41, BRK4 becomes active (L level) at the timing of 2-42, and the use of the bus is permitted,
At the timing of 2-43, DAT is made active (L level), the response r1 is sent to the bus, and BRQ4 is made inactive (H level). When BRQ4 becomes inactive (H level), BAK4 also becomes inactive (H level).
【0039】さらに応答r1に続けてデータd1を送信
する。マスタ1はr1が自身の発行したコマンドc1に
対する応答であると認識すると、2-44のタイミングでEO
C をアクティブ(Lレベル)にし応答サイクルを終了
し、バスを解放すると共に、スレーブ4から送られたデ
ータd1を受信する。Further, the data d1 is transmitted following the response r1. When the master 1 recognizes that r1 is a response to the command c1 issued by itself, EO at the timing 2-44.
C is made active (L level), the response cycle is completed, the bus is released, and the data d1 sent from the slave 4 is received.
【0040】コマンドc2は2-t21 時間の前処理及び2-
t22 時間の主処理により処理を終了する。前処理はパイ
プライン動作が可能であり、パイプライン処理の待ち時
間を2-tpとするとc1の処理開始し2-tp時間後にc2の
処理が実行可能となる。Command c2 is 2-t21 pre-processing and 2-
The processing is completed by the main processing for t22 hours. The pre-processing can be pipelined, and if the waiting time of the pipeline processing is 2-tp, the processing of c1 is started and the processing of c2 can be executed after 2-tp time.
【0041】c2の処理が終了するとスレーブ4は2-51
のタイミングでBRQ4をアクティブ(Lレベル)にし、BA
K4が2-52のタイミングでアクティブ(Lレベル)になり
バスの使用が許可されると、2-53のタイミングでDAT を
アクティブ(Lレベル)にすると共に、バスに応答r2
を送出しBRQ4をインアクティブ(Hレベル)にする。BR
Q4がインアクティブ(Hレベル)になると、BAK4もイン
アクティブ(Hレベル)になる。When the processing of c2 is completed, the slave 4 becomes 2-51
BRQ4 becomes active (L level) at the timing of
When K4 becomes active (L level) at the timing of 2-52 and the use of the bus is permitted, DAT becomes active (L level) at the timing of 2-53 and a response r2 is sent to the bus.
To make BRQ4 inactive (H level). BR
When Q4 becomes inactive (H level), BAK4 also becomes inactive (H level).
【0042】マスタ2はr2が自身の発行したコマンド
c2に対する応答であると認識すると、2-54のタイミン
グでEOC をアクティブにし応答サイクルを終了しバスを
解放する。同様に、マスタ3の発行したコマンドc3は
コマンドc2の処理を開始し2-tp時間後に処理実行可能
となり、2-t31 時間の前処理及び2-t32 時間の主処理に
より処理終了し、応答がマスタ3に対して送信される。When the master 2 recognizes that r2 is a response to the command c2 issued by itself, the master 2 activates EOC at the timing 2-54 to end the response cycle and release the bus. Similarly, the command c3 issued by the master 3 starts the process of the command c2, and can be executed after 2-tp time, and is completed by the pre-process of 2-t31 time and the main process of 2-t32 time, and the response is returned. It is transmitted to the master 3.
【0043】以降、マスタ1〜3は動作可能な最短のサ
イクル間隔でバスをアクセスするものとしてバスの転送
性能を試算する。After that, the masters 1 to 3 make a trial calculation of the transfer performance of the bus assuming that the bus is accessed at the shortest operable cycle interval.
【0044】マスタ1の1回の転送を行う時間を、BRQ1
をアクティブ(Lレベル)にする2-11から発行したコマ
ンドに対する応答がスレーブから送出されEOC がアクテ
ィブ(Lレベル)になる2-44までとすると、CLK の1回
のパルスを1Tでカウントすると、CT1 で示す12Tと
なる。1回の転送サイクルでワード転送すれば、12T
/1ワードの転送時間となる。The time for performing one transfer of the master 1 is BRQ1
If the response to the command issued from 2-11 is sent from the slave and EOC becomes active (L level) until 2-44, counting one pulse of CLK with 1T: It becomes 12T shown by CT1. 12T if word transfer is performed in one transfer cycle
The transfer time is one word.
【0045】他のマスタも同一の転送時間を要し、本実
施例における効果がない場合、前述の転送時間が最大の
転送能力となる。The other masters also need the same transfer time, and when the effect of this embodiment is not obtained, the above transfer time has the maximum transfer capability.
【0046】本実施例においては、マスタ1〜3が最短
の処理時間で動作すると、マスタ1がBRQ 1をアクティ
ブ(Lレベル)にする2-11からマスタ3が自身の発行し
たコマンドに対する応答を受信したEOC がアクティブ
(Lレベル)になる2-64までの時間CT2 の間に、マスタ
1〜3の3回の転送サイクルが実行される。従って、1
回のサイクルで1ワードが転送されると、18T/3ワ
ード=6T/1ワードとなる。In this embodiment, when the masters 1 to 3 operate in the shortest processing time, the master 1 activates the BRQ 1 (L level) 2-11 and the master 3 responds to the command issued by itself. During the time CT2 until 2-64 when the received EOC becomes active (L level), three transfer cycles of masters 1 to 3 are executed. Therefore, 1
When one word is transferred in one cycle, 18T / 3 word = 6T / 1 word.
【0047】[0047]
【発明の効果】以上説明したように本発明は、情報処理
装置において使用されるデータ伝送バスに複数のマスタ
が接続される場合に、マスタが発行した命令をスレーブ
が実行している間に他のマスタはバスを使用可能であ
り、スレーブに対する命令を続けて発行できるため、ス
レーブの命令処理により生じる待ち時間中にコマンドを
発行することによりバスの使用効率が向上する効果があ
る。As described above, according to the present invention, when a plurality of masters are connected to the data transmission bus used in the information processing apparatus, while the slave is executing the instruction issued by the master, Since the master can use the bus and can continuously issue commands to the slave, issuing commands during the waiting time generated by the slave's command processing has the effect of improving bus usage efficiency.
【図1】本発明の実施例のシステムブロック図である。FIG. 1 is a system block diagram of an embodiment of the present invention.
【図2】図1のブロックの動作を示すタイミングチャー
トである。FIG. 2 is a timing chart showing an operation of the block of FIG.
1〜3 マスタ 4 スレーブ 5 バス調停部 6 制御バス 7 コマンド/データバス m1 主処理部 m2 バス使用要求部 m3 制御信号送受信部 m4 コマンドデータ送信部 m5 応答受信部 m6 データ受信部 m7 転送制御部 s1 主処理部 s2 前処理部 s3 コマンド記憶部 s4 データ記憶部 s5 順序転送制御部 s6 バス使用要求部 s7 制御信号送受信部 s8 コマンド受信部 s9 データ受信部 s10 応答送信部 s11 データ送信部 1 to 3 master 4 slave 5 bus arbitration unit 6 control bus 7 command / data bus m1 main processing unit m2 bus use request unit m3 control signal transmission / reception unit m4 command data transmission unit m5 response reception unit m6 data reception unit m7 transfer control unit s1 Main processing unit s2 Pre-processing unit s3 Command storage unit s4 Data storage unit s5 Sequence transfer control unit s6 Bus use request unit s7 Control signal transmission / reception unit s8 Command reception unit s9 Data reception unit s10 Response transmission unit s11 Data transmission unit
Claims (1)
のマスタと、前記マスタに対して共通のデータ伝送バス
と、前記バスを介して送出されるコマンドに応じてデー
タ送受信処理を行うスレーブとを含む情報処理装置のバ
ス制御システムであって、前記マスタの1つによる前記
コマンドの受信に応答した前記スレーブの前記コマンド
処理の間、前記バスの解放を制御する手段を設けたこと
を特徴とするバス制御システム。1. A plurality of masters for issuing a command for data transfer, a common data transmission bus for the master, and a slave for performing a data transmission / reception process according to a command transmitted via the bus. A bus control system for an information processing apparatus including, characterized in that means for controlling the release of the bus is provided during the command processing of the slave in response to the reception of the command by one of the masters. Bus control system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7627292A JPH05242017A (en) | 1992-02-27 | 1992-02-27 | Bus control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7627292A JPH05242017A (en) | 1992-02-27 | 1992-02-27 | Bus control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05242017A true JPH05242017A (en) | 1993-09-21 |
Family
ID=13600615
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7627292A Pending JPH05242017A (en) | 1992-02-27 | 1992-02-27 | Bus control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05242017A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6029218A (en) * | 1997-07-29 | 2000-02-22 | Nec Corporation | Data transfer method and data transfer device |
-
1992
- 1992-02-27 JP JP7627292A patent/JPH05242017A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6029218A (en) * | 1997-07-29 | 2000-02-22 | Nec Corporation | Data transfer method and data transfer device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5001624A (en) | Processor controlled DMA controller for transferring instruction and data from memory to coprocessor | |
| JP2829091B2 (en) | Data processing system | |
| US5210828A (en) | Multiprocessing system with interprocessor communications facility | |
| JPH08255124A (en) | System and method for data processing | |
| JPH0775018B2 (en) | Method and apparatus for optimizing instruction transfer between processors | |
| JP2734246B2 (en) | Pipeline bus | |
| JPH05242017A (en) | Bus control system | |
| JPH06149730A (en) | System bus, bus control system, and its bus converting device | |
| JPS6329867A (en) | Dma controller | |
| JPH08249267A (en) | DMA controller | |
| JPH02500692A (en) | Integration of computational elements in multiprocessor computers | |
| JPS581454B2 (en) | Input/output control method | |
| JP2687716B2 (en) | Information processing device | |
| JPH05173936A (en) | Data transfer processing device | |
| JPH04109351A (en) | Dma controller | |
| JPH01106158A (en) | Data communication control method between processors | |
| JPH04225458A (en) | Computer | |
| JPS6143369A (en) | Multi-processor system | |
| JPH1115792A (en) | Multi-microprocessor system | |
| JP2925710B2 (en) | Communication control system | |
| JPS63201822A (en) | Data processing system | |
| JPS6121559A (en) | System for transferring data directly between memories | |
| JPS6252900B2 (en) | ||
| JPH02730B2 (en) | ||
| JPS6041786B2 (en) | interrupt control system |