JPH03166639A - Bus control system in microprocessor - Google Patents

Bus control system in microprocessor

Info

Publication number
JPH03166639A
JPH03166639A JP30829689A JP30829689A JPH03166639A JP H03166639 A JPH03166639 A JP H03166639A JP 30829689 A JP30829689 A JP 30829689A JP 30829689 A JP30829689 A JP 30829689A JP H03166639 A JPH03166639 A JP H03166639A
Authority
JP
Japan
Prior art keywords
bus
microprocessor
data
address
memory
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
JP30829689A
Other languages
Japanese (ja)
Inventor
Masanori Hirano
平野 正則
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP30829689A priority Critical patent/JPH03166639A/en
Publication of JPH03166639A publication Critical patent/JPH03166639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To eliminate the need of extending a different bus between other modules by constituting the system so that in the case a microprocessor reads out data from a memory, a bus can be allocated to other module after sending out an address to the bus. CONSTITUTION:A system bus controller 3 turns on a signal line 9 first in order to read out data from a memory 4, allows a microprocessor to receive only an address, informs a fact that desired data is transmitted after being read out, and also, turns on a signal line 6, and outputs a use request of a bus 5 to the microprocessor 2. The microprocessor 2 becomes a data reception waiting state, and also, stops sending out an address to the bus 5, turns on a signal line 7, and permits to use the bus 5 to the system bus controller. The system bus controller 3 uses the bus 5, reads out the contents of the memory 4, and sends out data to a system bus controller 3' through a system bus 100. In such a way, it becomes unnecessary to extend a different bus between other modules.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサにおけるバス制御方式に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control system in a microprocessor.

〔従来技術〕[Prior art]

従来、メモリからのデータの読みだし又はメモリへのデ
ータの書き込みを行なうバスを備えた従来のマイクロプ
ロセッサは、メモリからデータを読みだす場合,アドレ
スをバスに送出し,それに対する応答として所望のデー
タが送信されるまでバスを占有するバス制御方式をとっ
ている。このような従来のマイクロプロセッサを使用し
たシステム構成の一例を示し、従来のマイクロプロセッ
サの問題点を指摘する。
Conventionally, when a conventional microprocessor is equipped with a bus for reading data from or writing data to memory, when reading data from memory, it sends an address to the bus and, in response, returns the desired data. A bus control method is used in which the bus is occupied until a message is sent. An example of a system configuration using such a conventional microprocessor will be shown, and problems with the conventional microprocessor will be pointed out.

第2図は,従来のマイクロプロセッサを使用したシステ
ム構戊の一例を示す図であって,1、1′はプロセッサ
である。プロセッサ1、1′はマイクロプロセッサ2、
2′、システムバスコントローラ3、3′及びメモリ4
、4′から構成される。
FIG. 2 is a diagram showing an example of a system configuration using a conventional microprocessor, in which 1 and 1' are processors. Processors 1 and 1' are microprocessors 2,
2', system bus controller 3, 3' and memory 4
, 4'.

5、5′はマイクロプロセッサ2,2′のバスであり、
システムバスコントローラ3,3′及びメモリ4、4′
と接続されている。6、6′はシステムバスコントロー
ラ3、3′からマイクロプロセッサ2、2′にバス5、
5′を要求する信号線、7、7′はマイクロプロセッサ
2、2′がシステムバスコントローラ3、3′へバス5
、5″の使用許可を与える信号線、8、8″はマイクロ
プロセッサ2、2′からのメモリ読み出しアクセスに対
し、バス5、5′に所望のデータを送信していることを
示す信号線、100、200はプロセッサ1,1′を接
続するシステムバスである。
5 and 5' are buses for microprocessors 2 and 2';
System bus controller 3, 3' and memory 4, 4'
is connected to. 6, 6' are buses 5, 6, 6' from system bus controllers 3, 3' to microprocessors 2, 2'
The signal line 7, 7' requires the microprocessor 2, 2' to connect the bus 5 to the system bus controller 3, 3'.
, 5'', a signal line 8, 8'' indicating that desired data is being sent to the bus 5, 5' in response to memory read access from the microprocessor 2, 2'; System buses 100 and 200 connect the processors 1 and 1'.

第2図において、マイクロプロセッサ2がメモリ4′の
読みだし要求を出し、同時にマイクロプロセッサ2′が
メモリ4の読みだし要求を出した場合を考える。マイク
ロプロセッサ2はバス5にアドレスを送出し、システム
バスコントローラ3はこのアドレスを受信し,メモリ4
′へのアクセスであることを判断し、システムバス10
0を介してアドレスをシステムバスコントローラ3′に
送る。一方、マイクロプロセッサ2′はバス5′にアド
レスを送出し、システムバスコントローラ3′はこのア
ドレスを受信し、メモリ4へのアクセスであることを判
断し、システムバス200を介してアドレスをシステム
バスコントローラ3に送る。
In FIG. 2, consider the case where the microprocessor 2 issues a read request from the memory 4' and at the same time, the microprocessor 2' issues a read request from the memory 4. The microprocessor 2 sends an address to the bus 5, the system bus controller 3 receives this address, and the memory 4
', and determines that the access is to system bus 10.
0 to the system bus controller 3'. On the other hand, the microprocessor 2' sends an address to the bus 5', and the system bus controller 3' receives this address, determines that the access is to the memory 4, and sends the address to the system bus 5' via the system bus 200. Send to controller 3.

システムバスコントローラ3はメモリ4からデータを読
みだすため、信号線6をオンとし、マイクロプロセッサ
2にバス5の使用要求をだす。しかし、マイクロプロセ
ッサ2は先に発出した読みだしに対する応答がこないた
め,システムバスコントローラ3に対しバス使用許可信
号線7をオンとしない。このため,システムバスコント
ローラ3はバス5を使用して、メモリ4からデータを読
み出せないためマイクロプロセッサ2′からのメモリ4
の読みだしに対し所望のデータを返すことが出来ない.
同様にシステムバスコントローラ3′もメモリ4′から
の読みだしができないため、マイクロプロセッサ2から
のメモリ4′の読みだしに対し所望のデータを返すこと
ができない。すなわち、第2図のシステム構或ではデッ
トロックに陥る。これを解決するためには、システムバ
スコントローラ3、3′とメモリ4、4′の間に別の専
用バスを張り,バス5、5′を使用せず,システムバス
コントローラ3、3′からメモリ4、4′の内容が読み
だせるようにするなどの対策が必要である。
In order to read data from the memory 4, the system bus controller 3 turns on the signal line 6 and issues a request to the microprocessor 2 to use the bus 5. However, the microprocessor 2 does not turn on the bus use permission signal line 7 to the system bus controller 3 because there is no response to the previously issued read. Therefore, the system bus controller 3 uses the bus 5 to read data from the memory 4 from the microprocessor 2'.
It is not possible to return the desired data when reading.
Similarly, since the system bus controller 3' cannot read data from the memory 4', it cannot return desired data when the microprocessor 2 reads data from the memory 4'. That is, the system configuration shown in FIG. 2 falls into a deadlock. In order to solve this problem, another dedicated bus is installed between the system bus controllers 3, 3' and the memories 4, 4', and instead of using the buses 5, 5', the system bus controllers 3, 3' It is necessary to take measures such as making the contents of 4 and 4' readable.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前述したように、従来のマイクロプロセッサは、メモリ
からデータを読みだす場合、アドレスをバスに送出し、
それに対する応答としてメモリから読み出されたデータ
が送信されるまで占有するパス制御方式をとっているた
め、他の目的のためにこのバスを使用することができな
い。このため、マイクロプロセッサの周辺回路に余分の
物量が必要になるという問題があった。
As mentioned above, when a conventional microprocessor reads data from memory, it sends an address onto the bus and
In response to this, a path control method is adopted in which the bus is occupied until the data read from the memory is transmitted, so this bus cannot be used for other purposes. Therefore, there is a problem in that an extra amount of material is required for the peripheral circuits of the microprocessor.

本発明は,前記問題点を解決するためになされたもので
あり、 本発明の目的は、マイクロプロセッサが、メモリからデ
ータを読み出す場合、アドレスをバスに送出後、バスを
他モジュールに割当可能とすることができる技術を提供
することにある。
The present invention has been made to solve the above problems, and an object of the present invention is to enable a microprocessor to allocate the bus to another module after sending an address to the bus when reading data from the memory. Our goal is to provide technology that can.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するために、本発明は,メモリからのデ
ータの読みだし又はメモリへのデータの書き込みを行な
うバスを備えたマイクロプロセッサにおいて、前記バス
に接続された他モジュールからのバス使用要求に対し,
バス使用権を与える手段と、メモリからデータを読みだ
す場合、まず、アドレスをアドレスバスに送出し、それ
に対する応答として、所定のデータを送信する第1の送
信と、アドレスのみ受信し、所定のデータを読みだし後
送信する第2の送信の2通りの応答を受付可能とし、第
1の送信の応答の場合、送信されたデータを受信すると
ともに、アドレス送出を中止し、バスに接続された他モ
ジュールからのバス使用要求を受付可能とし、第2の送
信の応答の場合、マイク口プロセッサはバスへのアドレ
ス送出を中止し、データ受信待となり、バスに接続され
た他モジュールからのバス使用要求を受付可能とする手
段を備えたことを最も主要な特徴とする。
To achieve the above object, the present invention provides a microprocessor equipped with a bus for reading data from a memory or writing data to a memory, in response to bus use requests from other modules connected to the bus. On the other hand,
When reading data from memory, first, an address is sent to the address bus, and in response, a first transmission in which predetermined data is sent, and a first transmission in which only the address is received and a predetermined It is possible to accept two types of responses: a second transmission in which the data is read and then sent, and in the case of a response to the first transmission, the transmitted data is received, address transmission is stopped, and the It is possible to accept bus usage requests from other modules, and in the case of a second transmission response, the microphone port processor stops sending addresses to the bus, waits for data reception, and accepts bus usage requests from other modules connected to the bus. The most important feature is that it has a means for accepting requests.

〔作用〕[Effect]

前述の手段によれば,マイクロプロセッサがメモリから
データを読みだす場合、まずアドレスをアドレスバスに
送出し、それに対する応答として、■.所定のデータを
送信する第1の送信と、■.アドレスのみ受信し、所定
のデータは読みだし後送信する第2の送信、 の2通りの応答を受付可能とし、第1の送信■の応答の
場合,送信されたデータを受信するとともに、アドレス
送出を中止し、バスに接続された他モジュールからのバ
ス使用要求を受付可能とし、第2の送信■の応答の場合
、マイクロプロセッサはバスへのアドレス送出を中止し
、データ受信待となり,バスに接続された他モジュール
からのバス使用要求を受付可能とするので、マイクロプ
ロセッサが、メモリからデータを読み出す場合、アドレ
スをバスに送出後、バスを他モジュールに割当可能とす
ることことができる。
According to the above-mentioned means, when the microprocessor reads data from the memory, it first sends an address to the address bus, and in response: a first transmission of transmitting predetermined data; and ■. It is possible to accept two types of responses: a second transmission in which only the address is received, and the predetermined data is read out and then transmitted; in the case of a response to the first transmission (■), the transmitted data is received and the address is sent. The microprocessor stops sending addresses to the bus, waits for data reception, and makes it possible to accept bus use requests from other modules connected to the bus.In the case of a response to the second transmission, the microprocessor stops sending addresses to the bus, waits for data reception, and requests to use the bus from other modules connected to the bus. Since it is possible to accept requests for use of the bus from other connected modules, when the microprocessor reads data from the memory, the bus can be allocated to other modules after sending an address to the bus.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を用いて具体的に説明する
Embodiments of the present invention will be specifically described below with reference to the drawings.

第1図は、本発明のマイクロプロセッサにおけるバス制
御方式の一実施例の概略構或を示すブロック図であり、
1〜8、1′〜8′及び100,200は、第2図と同
じである。9、9′はマイクロプロセッサ2、2′から
のメモリ読み出しアクセスに対し、アドレスのみ受信し
、所望のデータは読み出し後送信することを通知する信
号線である。
FIG. 1 is a block diagram showing a schematic structure of an embodiment of a bus control method in a microprocessor of the present invention.
1-8, 1'-8' and 100, 200 are the same as in FIG. Reference numerals 9 and 9' indicate signal lines for notifying that, in response to memory read access from the microprocessors 2 and 2', only an address will be received and desired data will be transmitted after being read.

第1図において,マイクロプロセッサ2がメモリ4′の
読みだし要求を出し、同時にマイクロプロセッサ2′が
メモリ4の読みだし要求を出した場合を考える。マイク
ロプロセッサ2はバス5にアドレスを送出し、システム
パスコントローラ3このアドレスを受信し、メモリ4′
へのアクセスであることを判断し、システムバス100
を介してアドレスをシステムバスコントローラ3′に送
る。
In FIG. 1, consider the case where microprocessor 2 issues a read request from memory 4' and at the same time microprocessor 2' issues a read request from memory 4. The microprocessor 2 sends an address on the bus 5, the system path controller 3 receives this address, and the memory 4'
system bus 100.
The address is sent to the system bus controller 3' via.

一方,マイクプロセッサ2′はパス5′にアドレスを送
出し、システムバスコントローラ3′はこのアドレスを
受信し、メモリ4へのアクセスであることを判断し、シ
ステムバス200を介してアドレスをシステムバスコン
トローラ3に送る。システムバスコントローラ3はメモ
リ4からデータを読みだすため、まず、信号線9をオン
とし、マイクロプロセッサにアドレスのみ受信し、所望
のデータは読み出し後送信することを通知し、さらに、
信号線6をオンとし、マイクロプロセッサ2にバス5の
使用要求をだす。マイクロプロセッサ2はデータ受信待
状態になるとともに、バス5へのアドレス送出を中止し
、信号線7をオンとし、システムバスコントローラにバ
ス5の使用を許可する。システムバスコントローラ5は
バス5を使用し、メモリ4の内容を読み出し、システム
バス100を介してシステムバスコントローラ3′にデ
ータを送出する。同様に、システムバスコントローラ3
′もバス5′を獲得し、メモリ4″の内容を読み出しシ
ステムバス200を介してシステムバスコントローラ3
に送る。システムバスコントローラ3はバス5を介して
マイクロプロセッサへ所望のデータを送出する。同様に
、システムバスコントローラ3′はバス5′を介してマ
イクロプロセッサ2′へ所望のデータを送出する。
On the other hand, the microprocessor 2' sends an address to the path 5', and the system bus controller 3' receives this address, determines that the access is to the memory 4, and sends the address to the system bus 200 via the system bus 200. Send to controller 3. In order to read data from the memory 4, the system bus controller 3 first turns on the signal line 9, notifies the microprocessor that only the address will be received and that the desired data will be sent after reading, and further,
The signal line 6 is turned on and a request to use the bus 5 is issued to the microprocessor 2. The microprocessor 2 enters a data reception waiting state, stops sending addresses to the bus 5, turns on the signal line 7, and permits the system bus controller to use the bus 5. System bus controller 5 uses bus 5 to read the contents of memory 4 and sends the data to system bus controller 3' via system bus 100. Similarly, system bus controller 3
' also acquires the bus 5', reads the contents of the memory 4'', and sends it to the system bus controller 3 via the system bus 200.
send to System bus controller 3 sends desired data to the microprocessor via bus 5. Similarly, system bus controller 3' sends desired data to microprocessor 2' via bus 5'.

マイクロプロセッサ2がメモリ4からデータを読み出す
場合は、メモリ4は必要なデータをバス5に送出すると
ともに、信号線8をオンとしてマイクロプロセッサ2に
応答する。信号線8により応答する限り、バスの使用権
を獲得する必要がない。
When the microprocessor 2 reads data from the memory 4, the memory 4 sends the necessary data to the bus 5 and responds to the microprocessor 2 by turning on the signal line 8. As long as the response is made via the signal line 8, there is no need to acquire the right to use the bus.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上、説明したように、本発明によれば、マイクロプロ
セッサがメモリからデータを読みだす場合、アドレスを
バスに送出後、バスを他モジュールに割当可能とし、他
モジュールがバスを使用テきるので、マイクロプロセッ
サを使用してプロセッサシステムを構或する場合、他モ
ジュール間で別のバスを張る必要がなくなり、プロセッ
サシステムの経済化がはかれる。
As explained above, according to the present invention, when the microprocessor reads data from the memory, after sending the address to the bus, the bus can be allocated to other modules, and the other modules can use the bus. When constructing a processor system using a microprocessor, there is no need to establish a separate bus between other modules, making the processor system more economical.

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

第1図は,本発明のマイクロプロセッサにおけるバス制
御方式の一実施例の概略構或を示すブロック図, 第2図は、従来のマイクロプロセッサを使用したプロセ
ッサシステムの問題点を説明するための概略1或を示す
ブロック図である。 図中、1,1′・・・プロセッサ、2、2′・・・マイ
クロプロセッサ、3、3′・・・システムバスコントロ
ーラ、4,4′・・・メモリ、5、5′・・・バス、6
、6′,7、7″,8、8′,9、9′・・・信号線、
100, 200・・・システムバス。
FIG. 1 is a block diagram showing a schematic structure of an embodiment of a bus control method in a microprocessor of the present invention, and FIG. 2 is a schematic diagram for explaining the problems of a processor system using a conventional microprocessor. FIG. 1 is a block diagram showing one part. In the figure, 1, 1'... Processor, 2, 2'... Microprocessor, 3, 3'... System bus controller, 4, 4'... Memory, 5, 5'... Bus ,6
, 6', 7, 7'', 8, 8', 9, 9'... signal line,
100, 200... system bus.

Claims (1)

【特許請求の範囲】[Claims] (1)メモリからのデータの読みだし又はメモリへのデ
ータの書き込みを行なうバスを備えたマイクロプロセッ
サにおいて、前記バスに接続された他モジュールからの
バス使用要求に対し、バス使用権を与える手段と、メモ
リからデータを読みだす場合、まず、アドレスをアドレ
スバスに送出し、それに対する応答として、所定のデー
タを送信する第1の送信と、アドレスのみ受信し、所定
のデータを読みだし後送信する第2の送信の2通りの応
答を受付可能とし、第1の送信の応答の場合、送信され
たデータを受信するとともに、アドレス送出を中止し、
バスに接続された他モジュールからのバス使用要求を受
付可能とし、第2の送信の応答の場合、マイクロプロセ
ッサはバスへのアドレス送出を中止し、データ受信待と
なり、バスに接続された他モジュールからのバス使用要
求を受付可能とする手段を備えたことを特徴とするマイ
クロプロセッサにおけるバス制御方式。
(1) In a microprocessor equipped with a bus for reading data from or writing data to the memory, means for granting bus usage rights in response to bus usage requests from other modules connected to the bus; When reading data from memory, first, an address is sent to the address bus, and in response, a first transmission is performed in which predetermined data is sent, and only the address is received, and after reading the predetermined data, it is sent. It is possible to accept two types of responses to the second transmission, and in the case of a response to the first transmission, the transmitted data is received and address transmission is stopped,
The microprocessor is enabled to accept bus use requests from other modules connected to the bus, and in the case of a second transmission response, the microprocessor stops sending addresses to the bus, waits for data reception, and other modules connected to the bus 1. A bus control method for a microprocessor, characterized by comprising means for accepting a bus use request from a microprocessor.
JP30829689A 1989-11-27 1989-11-27 Bus control system in microprocessor Pending JPH03166639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30829689A JPH03166639A (en) 1989-11-27 1989-11-27 Bus control system in microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30829689A JPH03166639A (en) 1989-11-27 1989-11-27 Bus control system in microprocessor

Publications (1)

Publication Number Publication Date
JPH03166639A true JPH03166639A (en) 1991-07-18

Family

ID=17979335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30829689A Pending JPH03166639A (en) 1989-11-27 1989-11-27 Bus control system in microprocessor

Country Status (1)

Country Link
JP (1) JPH03166639A (en)

Similar Documents

Publication Publication Date Title
US4760521A (en) Arbitration system using centralized and decentralized arbitrators to access local memories in a multi-processor controlled machine tool
CA1221173A (en) Microcomputer system with bus control means for peripheral processing devices
JPS5878246A (en) Access regulating apparatus and method
JPS5837585B2 (en) Keisan Kisouchi
US6959354B2 (en) Effective bus utilization using multiple bus interface circuits and arbitration logic circuit
KR950010529B1 (en) Memory sharing for communicaiton between processors
US5968144A (en) System for supporting DMA I/O device using PCI bus and PCI-PCI bridge comprising programmable DMA controller for request arbitration and storing data transfer information
JPH07104826B2 (en) Transfer control device
JPH03166639A (en) Bus control system in microprocessor
JPH10307788A (en) Bus bridge
JPS60237566A (en) Interprocessor communication system
KR19990031220A (en) V. M. Bus Controls in V. M. Bus Systems
JPS6029139B2 (en) Connection method between processing units
KR100278805B1 (en) Data Mediation Device and Method in Multi-Processing System
KR100604569B1 (en) Apparatus for transceiving data between the processors and mobile terminal including the apparatus
JPH02100746A (en) Multiprocessor bus
JPH04106651A (en) Controller for system bus
JPS6332649A (en) Multi-processor system
JPH01108663A (en) Interruptive information transmission circuit
JP2001306486A (en) Shared memory access system
JPH04168557A (en) Bus arbitrating circuit
JPS635456A (en) Microprocessor system
JPH06208541A (en) Bus controller of multitask system
JPH01185755A (en) System for obtaining bus
JPH01265355A (en) Multi-processor system