GB2131581A - Dual processor arrangement - Google Patents

Dual processor arrangement Download PDF

Info

Publication number
GB2131581A
GB2131581A GB08329805A GB8329805A GB2131581A GB 2131581 A GB2131581 A GB 2131581A GB 08329805 A GB08329805 A GB 08329805A GB 8329805 A GB8329805 A GB 8329805A GB 2131581 A GB2131581 A GB 2131581A
Authority
GB
United Kingdom
Prior art keywords
access
microprocessor
bus
processor
resource
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.)
Granted
Application number
GB08329805A
Other versions
GB2131581B (en
GB8329805D0 (en
Inventor
Richard John Ogden
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 Services Ltd
Original Assignee
Fujitsu Services 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 Services Ltd filed Critical Fujitsu Services Ltd
Priority to GB08329805A priority Critical patent/GB2131581B/en
Publication of GB8329805D0 publication Critical patent/GB8329805D0/en
Publication of GB2131581A publication Critical patent/GB2131581A/en
Application granted granted Critical
Publication of GB2131581B publication Critical patent/GB2131581B/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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/405Coupling between buses using bus bridges where the bridge performs a synchronising function
    • G06F13/4054Coupling between buses using bus bridges where the bridge performs a synchronising function where the function is bus cycle extension, e.g. to meet the timing requirements of the target bus
    • 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

Abstract

A data processing system includes microprocessors 10 and 11. The microprocessor 10 normally accesses a bus 12 but sometimes needs to access a bus 13. The microprocessor 11 only accesses the bus 13. When it wishes to do so it issues a request signal REQ on a line 18 and proceeds with the access when it receives an acknowledgement signal ACK on a line 19. During the times when the microprocessor 10 does not wish to access the bus 13 it sets a bistable 20 and subsequent request signals from the microprocessor 11 are switched straight back as the acknowledgement signal by a gate 21 which connects the line 18 to the 19. When the microprocessor 10 wishes to access the bus 13 it tests for the presence of a request signal from the microprocessor 11 (which is maintained during an access) and only if it is absent clears the bistable 20, prevent subsequent requests being acknowledged and allowing the microprocessor 10 to access the bus 11. <IMAGE>

Description

SPECIFICATION Data processing system Background to the invention This invention relates to data processing systems. The invention is particularly con cerned with a system comprising two proces sors which share some resource (e.g. a bus or a a memory).
In such an arrangement, some means must usually be provided for controlling access to the shared resource, so as to ensure that only one of the processors can access it at any given time.
One way of achieving this would be for one of the processors to act as a master and the other as a slave in the following manner.
Normally, only the master is allowed to access the shared resource. When the slave requires to access the resource, it sends a request signal to the master. If the master does not currently require to use the resource, it responds with an acknowledgement signal, permitting the slave to go ahead and access the resource. However, a disadvantage of such an arrangement is that operation of the master may continually be interrupted by the slave, and the slave is delayed while waiting for the master to process the interrupt and determine if it may grant the request.
One object of the present invention is to avoid this disadvantage.
Summary of the invention According to the invention there is provided a data processing system comprising first and second processors connected to a shared resource, the second processor having a request output for producing a request signal when it wishes to access the resource and an acknowledgement input for receiving an acknowledgement signal permitting it to access the resource, a bistable element which is set by the first processor whenever it does not require to use the resource, and switching means controlled by the bistable element in such a manner that, when the bistable element is set, the switching means connects the request output of the second processor to its acknowledgement input.
Thus, it can be seen that when the bistable element is set, the switching means feeds each request signal without delay back to the second processor as an acknowledgement, permitting the second processor to access the resource without interrupting the first processor.
In a preferred embodiment of the invention, one or each processor may compose a microprocessor.
Preferably a request signal produced when the second processor wishes to access the resource continues to be produced until after the requested access has been completed and the first processor has means for inspecting the request output of the second processor to determine whether a request signal is present.
This permits the first processor to check whether the second processor is currently ac cessing the resource, before resetting the bis table element, so as to avoid interrupting the second processor in the middle of some oper ation.
Brief description of the drawing One embodiment of the invention will now be described by way of example with refer ence to the accompanying drawing which is a block diagram of a data processing system in accordance with the invention.
Description of the embodiment of the inven tion Referring to the drawing, the data process ing system comprises first and second micro processors 10 and 11, connected to respec tive busses 12 and 13. The busses are coup led together by means of a buffer 14, permit ting the inicroprocessor 10 to access the bus 13 by way of the bus 12. Other devices 15, 16 are connected to the busses as shown; these devices may for example be memories, communications controllers or peripheral de vice controllers.
The internal structure of the microproces sors 10, 11 and the devices 15, 16 forms no part of the present invention and in any case such units are well known in the art, and so it is not necessary to describe any of these units in detail herein.
In operation, the first microprocessor 10 normally uses only the first bus 12, but may from time to time require to access the second bus 13, to enable it to communicate with one of the devices 16 connected to that bus. The second microprocessor 11 may only access the second bus 13. The bus 13 is thus a resource which is shared between the two microprocessors.
When the second microprocessor 11 re quires to use the bus 13, it issues a request signal REQ from a request output 18. This microprocessor is permitted to use the bus 13 only when it receives an acknowledgement signal ACK at an input 19.
When the first microprocessor 10 does not require to use the bus 13, it sets a bistable 20. This enables an AND gate 21, which connects the request output 18 of the second microprocessor to its acknowledgement input 19. Thus whenever the second microproces sor issues a request signal REQ, it immedi ately receives an acknowledgement signal ACK, permitting it to go ahead and access the bus 13, without interrupting the first micro processor. The request signal is maintained until the bus access has been completed.
When the first microprocessor 10 requires to use the bus 13, it first produces a test signal TEST. This enables an AND gate 22, connecting the request output 18 of the second microprocessor to a line 23 which leads back to the first microprocessor. Thus, the first microprocessor can inspect the state of the request output 18, to find out whether the second microprocessor is currently using the bus 13. If it is, the first microprocessor waits until the request signal is no longer produced at the request output 18. Microprocessor 10 then resets the bistable 20 (by a line not shown), preventing the reception of any acknowledgement signals at the input 19, and then proceeds to access the bus 13 as required.
When the first microprocessor is finished with using the bus 13, it sets the bistable 20 again and, as before, the second microprocessor can now access the bus 13 whenever it produces a request signal.
As the system has been described so far, it has been assumed that the microprocessors 10 and 11 have been provided with specialpurpose output terminals. However, if such terminals are not provided the appropriate signals may be obtained by providing logic to decode address signals produced by the microprocessor concerned. This approach is especially convenient in the case of the microprocessor 10, because it allows the bistable 20 to be set (and cleared in a similar manner) without the need to dedicate terminals for the purpose.
The lines 19 and 23 may on many microprocessors be applied to a READY input provided to allow a memory or peripheral to indicate that it is ready to receive or send data.

Claims (4)

1. A data processing system comprising first and second processors connected to a shared resource, the second processor having a request output for producing a request signal when it wishes to access the resource and an acknowledgement input for receiving an acknowledgement signal permitting it to access the resource, a bistable element which is set by the first processor when ever it does not require to use the resource, and switching means controlled by the bistable element in such a manner that, when the bistable element is set, the switching means connects the request output of the second processor to its acknowledgement input.
2. A system as claimed in Claim 1, in which one or each processor comprises a microprocessor.
3. A system as claimed in Claim 1 or Claim 2, in which a request signal produced when the second processor wishes to access the resource continues to be produced until after the requested access has been com pleted and the first processor has means for inspecting the request output to determine whether a request signal is present.
4. A data processing systemsubstantially as hereinbefore described with reference to and as shown in the accompanying drawing.
GB08329805A 1982-11-20 1983-11-08 Dual processor arrangement Expired GB2131581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB08329805A GB2131581B (en) 1982-11-20 1983-11-08 Dual processor arrangement

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB8233182 1982-11-20
GB08329805A GB2131581B (en) 1982-11-20 1983-11-08 Dual processor arrangement

Publications (3)

Publication Number Publication Date
GB8329805D0 GB8329805D0 (en) 1983-12-14
GB2131581A true GB2131581A (en) 1984-06-20
GB2131581B GB2131581B (en) 1986-11-19

Family

ID=26284459

Family Applications (1)

Application Number Title Priority Date Filing Date
GB08329805A Expired GB2131581B (en) 1982-11-20 1983-11-08 Dual processor arrangement

Country Status (1)

Country Link
GB (1) GB2131581B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2181872A (en) * 1985-10-18 1987-04-29 Int Standard Electric Corp Dual-port memory
EP0564116A1 (en) * 1992-03-26 1993-10-06 International Business Machines Corporation Arbitratian control between host system and connected subsystem
WO1999066417A1 (en) * 1998-06-15 1999-12-23 Sun Microsystems, Inc. Bus controller with cycle termination monitor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1129988A (en) * 1964-12-07 1968-10-09 Western Electric Co Digital computers
GB1132827A (en) * 1965-03-19 1968-11-06 Hughes Aircraft Co Improvements in and relating to computer systems
GB2015217A (en) * 1978-02-22 1979-09-05 Ibm Data processing apparatus
EP0032182A1 (en) * 1979-12-03 1981-07-22 HONEYWELL INFORMATION SYSTEMS ITALIA S.p.A. Apparatus for accessing to common resources by several processors in a multiprocessor system
EP0034903A1 (en) * 1980-02-25 1981-09-02 Western Electric Company, Incorporated Resource allocation system
GB2073457A (en) * 1980-02-26 1981-10-14 Tokyo Shibaura Electric Co Priority assignment circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1129988A (en) * 1964-12-07 1968-10-09 Western Electric Co Digital computers
GB1132827A (en) * 1965-03-19 1968-11-06 Hughes Aircraft Co Improvements in and relating to computer systems
GB2015217A (en) * 1978-02-22 1979-09-05 Ibm Data processing apparatus
EP0032182A1 (en) * 1979-12-03 1981-07-22 HONEYWELL INFORMATION SYSTEMS ITALIA S.p.A. Apparatus for accessing to common resources by several processors in a multiprocessor system
EP0034903A1 (en) * 1980-02-25 1981-09-02 Western Electric Company, Incorporated Resource allocation system
GB2073457A (en) * 1980-02-26 1981-10-14 Tokyo Shibaura Electric Co Priority assignment circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2181872A (en) * 1985-10-18 1987-04-29 Int Standard Electric Corp Dual-port memory
EP0564116A1 (en) * 1992-03-26 1993-10-06 International Business Machines Corporation Arbitratian control between host system and connected subsystem
WO1999066417A1 (en) * 1998-06-15 1999-12-23 Sun Microsystems, Inc. Bus controller with cycle termination monitor

Also Published As

Publication number Publication date
GB2131581B (en) 1986-11-19
GB8329805D0 (en) 1983-12-14

Similar Documents

Publication Publication Date Title
US5428799A (en) Redirection of interrupts to microprocessors
US4729090A (en) DMA system employing plural bus request and grant signals for improving bus data transfer speed
US6782439B2 (en) Bus system and execution scheduling method for access commands thereof
US6959354B2 (en) Effective bus utilization using multiple bus interface circuits and arbitration logic circuit
JPS6048791B2 (en) access control device
KR930002958A (en) Memory sharing device for interprocessor communication
KR940020230A (en) Upgradeable Data Processing System
GB2131581A (en) Dual processor arrangement
US5446847A (en) Programmable system bus priority network
US5805841A (en) Symmetric parallel multi-processing bus architeture
US4802087A (en) Multiprocessor level change synchronization apparatus
JPH0343804A (en) Sequence controller
KR980010798A (en) Interrupt processing device of multi-bus system
JPS59218531A (en) Information processor
JPS6341103B2 (en)
KR920000480B1 (en) Arbitration method of interrupt bus
JP2659248B2 (en) Bus arbitration processing method
JPH05204841A (en) Bus for information processor
KR100253790B1 (en) Method of interface for controller board in medium and large computer
KR19990079974A (en) Apparatus for controlling delayed request between two buses in multiprocessor system and its control method
JPS6097461A (en) Data bus control circuit
JPH03137754A (en) Access control system for shared memory
JPS61221954A (en) Access control system
KR200326854Y1 (en) Interrupt processor between processors
JPH06161951A (en) Bus control system

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee