CA2050129C - Dynamic bus arbitration with grant sharing each cycle - Google Patents

Dynamic bus arbitration with grant sharing each cycle

Info

Publication number
CA2050129C
CA2050129C CA002050129A CA2050129A CA2050129C CA 2050129 C CA2050129 C CA 2050129C CA 002050129 A CA002050129 A CA 002050129A CA 2050129 A CA2050129 A CA 2050129A CA 2050129 C CA2050129 C CA 2050129C
Authority
CA
Canada
Prior art keywords
bus
arbitration
clock
priority
cycle
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 - Fee Related
Application number
CA002050129A
Other languages
French (fr)
Other versions
CA2050129A1 (en
Inventor
George Bohoslaw Marenin
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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of CA2050129A1 publication Critical patent/CA2050129A1/en
Application granted granted Critical
Publication of CA2050129C publication Critical patent/CA2050129C/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • 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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • G06F13/30Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal with priority control
    • 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

Apparatus and method for optimizing bus arbitration during direct memory access (DMA) data transfers across a nondedicated bus between a memory and/or a plurality of external devices each master having an arbitration priority. At least two nonoverlapping clocks are provided per transfer cycle and there is at least one transfer cycle per arbitration cycle. Arbitration priority requests are transmitted from each external device to an arbitration bus only at the rise of the first clock. At the end of the last clock, the priority code of the external device having the highest priority is determined to designate the external device which is to become bus master. Addresses and data are transferred between the designated bus master and the memory or another of the external devices via the nondedicated bus during the next cycle after a then active bus master relinquishes control. The priorities of the external devices can be changed dynamically. Arbitration cycles are pipelined in such manner that there is no loss of address or data transfer cycles. The then active bus master may extend the number of cycles during which it communicates with one or more external devices. A device designated as next in line as bus master may be preempted under a certain condition.

Description

~9-90-030 - 205~3129 DYNAMIC BUS ARBITRATION WITH GRANT SHARING EACH CYCLE

This invention relates to apparatus for managing data transfers across a nondedicated bus between a memory and/or a plurality of external devices (including processors) and more particularly to means incorporated therein to arbitrate priority between such devices more efficiently by eliminating wasted arbitration cycles and large burst buffers and making the full bandwidth available for data transfer.

Background of the Invention The IBM~ Micro Channel~ Architecture Supplement for the PS/2~ hardware interface technical reference, dated November 1989, describes a channel architecture in current widespread use. It discusses, at pages 30-33, burst transfer and local arbitration and preemption between bus masters. This and other currently used methods and means for channel bus arbitration for direct memory access (DMA) require a number of cycles to arbitrate priority between multiple external devices to determine the winner. This reduces the time available for data transfer.
In systems heretofore proposed, no granting of bus control is permitted during these arbitration cycles.
These arbitratjon cycles constitute overhead which reduces bandwidth availability. To reduce this overhead, a current, but inefficient, solution is to group data transfers into bursts of back-to-back (i.e., successive, uninterrupted) cycles. But this undesirably requires additional hardware in the form of large memory buffers and their control circuitry, whose operation has to be interrupted at variable intervals so as not to overrun other DMA transferring devices of higher priority which must be allowed to preempt. To avoid hogging of the bus by an external device, elaborate fairness algorithms have been devised that add still further to logic complexity and only slightly relieve the symptom instead of eliminating the problem.

20~0129 No prior art of which applicant is aware describes apparatus which optimizes bus arbitration between multiple external devices by using a minimum of arbitration logic that (1) eliminates large burst buffers and wasted arbitration cycles, (2) permits data transfer in a multiplexed continuous sequential stream from different external devices, and yet, (3) like the prior art, permits the priorities of the respective external devices to be changed dynamically.

Summary of the Invention A computer bus management apparatus is provided in which wait arbitration cycles and burst mode latency are eliminated. Bus interfacing protocol is simplified by obviating the need for the data streaming buffers and arbitration logic previously required. External devices know in advance when bus access will be granted, permitting faster pipelined operation. Also, since the highest requesting devices will always be granted bus mastership in sequence until all devices are serviced, problems of hogging and fairness are automatically resolved on a priority basis because long burst transfers are no longer required.
These advantages are achieved by providing, in accordance with one aspect of the subject invention, an apparatus for optimizing, without requiring data latency buffers, bus arbitration during direct memory access (DMA) data transfers across a nondedicated bus interconnecting a memory and a plurality of external devices each having an arbitration priority, comprising a single arbitration bus connected to each of the external devices; clock generating means connected to the non-dedicated bus for providing successive sequences of two nonoverlapping clock signals (Cl,C2) per clock cycle, and data transfer cycles equal to the number of clock cycles required for a responding one of the devices to acknowledge completion of a data transfer, and an arbitration cycle equal to preselected number of clock cycles; means, operatively connected to the clock generating means and arbitration bus, responsive to only the beginning edge of the first of said clock signals in one sequence for transmitting arbitration priority bus requests SA9--90--030 3 2 0 5 01~ 9 from each external device to the arbitration bus; means, operatively connected to the clock generating means and each device, responsive to the ending edge of the last of said clock signals of an arbitration cycle in that same said one sequence for dynamically conditioning the external device having the highest bus priority to designate itself as the next external device which is to become bus master; and transferring means including first latch means, operatively connected to the clock generating means and nondedicated bus, responsive to the beginning of the first clock signal of a cycle during said one sequence for transferring addresses and responsive to the beginning of the first clock signal during the next cycle following said one sequence for transferring data for a single data transfer or variable burst length data transfer between the designated bus master and the memory or another of the external devices via the nondedicated bus starting on the next clock cycle, after which a then active bus master relinquishes control.
Another aspect of the subject invention is a method for optimizing a bus arbitration pass during direct memory access (DMA) data transfers across a nondedicated bus between a memory and/or a plurality of external devices each having an arbitration priority, comprising the steps of providing successive sequences of two nonoverlapping clock signals (C1, C2) per clock cycle; and data transfer cycles equal to the number of clock cycles required for a responding one of the devices to acknowledge completion of a data transfer, and an arbitration cycle equal to a preselected number of clock cycles; transmitting arbitration priority bus requests for the external devices to a single arbitration bus only at the beginning edge of the first of said clock signals in one of said sequences; at the end of the last of said clock signals in said one sequence, dynamically conditioning the external device then having the highest bus priority code to automatically designate itself as the next external device to become bus master, thereby constituting a priority bus grant to said next external device; continually repeating the arbitration pass to allow any higher priority device to preempt a then currently designated priority device until a then active bus master sAs-so-030 3A 2050129 relinquishes control of the nondedicated bus; and transferring addresses and data between the designated bus master and the memory of another of the external devices via the nondedicated bus during the next cycle after said then active bus master relinquishes control.

Brief Description of the Drawings Fig. 1 is a block diagram of a computer bus management apparatus which incorporates the invention;
Fig. 2 is a schematic diagram of circuitry associated with each external device for generating two nonoverlapping clock cycles from a single source for implementing the invention;
Fig. 3 is a timing diagram showing the nonoverlapping clock cycles generated by the circuitry of Fig. 2;
Fig. 4 is a schematic diagram of arbitration circuitry that grants a bus master at the end of the last of said clock cycles according to a fixed priority, illustratively assumed as "5" (0101);
Fig. 5 is a schematic diagram that can be substituted in a portion of Fig. 4 to provide circuitry that grants a bus master at the end of the last of said clock cycles according to a priority that can be set dynamically; and Fig. 6 is a timing diagram illustrating the pipelining of bus requests, bus grants, addresses, data transfers and interlocks to provide successive burst or stream read/write operations.

Description of Preferred Embodiments As illustrated in Fig. 1, the bus management apparatus embodying the invention comprises a central processing unit (CPU) 10 that communicates over a system bus 12 with a main memory 11 and with a plurality of external devices, such as 13,14. The term "external devices", as herein used, is intended generically to cover other CPUs and peripheral devices such as disk files, printers, etc. A signal source, such as an oscillator 15, provides square wave signals to each external device. As illustrated, oscillator 15 is separate from the CPU; but, if preferred, its signal-providing function may be supplied by the CPU.

`9-90-030 4 2~i0~9 Note that, according to a feature of the invention, no bus controller or DMA controller is required.
As illustrated in Fig. 2, each external device 13,14 includes a pair of inverters 20,21 and a pair of buffer drivers 22,23. When the oscillator- 15 goes positive, it causes a rise of the signal in line 24. This signal is applied directly to AND gate 25, and also indirectly to said AND gate by being inverted and then reinverted by inverters 20,21 to provide a time delay. At the end of the time delay, the signal gated out from AND gate 25 is inverted by OR gate 26 and causes buffer driver 22 to drive clock Cl positive. Meanwhile, the output of OR
gate 26 will be ANDed at 27 with the somewhat delayed output from inverter 20 and cause OR gate 28 to invert the signal and cause buffer driver 23 to drive clock C2 positive. Gates 25,26 are identical with gates 27,28.
The timing of the positive and negative cycles of the respective clocks Cl and C2 is depicted in Fig. 3.
Clocks Cl and C2 are 180 out of phase. However, according to a feature of the invention, because of the delay through inverter 21, the cycle length of clock Cl is slightly shorter than that of clock C2 to render the clock cycles nonoverlapping. For example, assuming the cycle length of oscillator 15 is 100 nanoseconds (ns), then the phase length of positive clock Cl is 49 ns based on a 2 1/2 ns delay from the leading edge and a 1 1/2 ns delay added to the trailing edge; and this results in a phase length of 51 ns for the negative clock Cl.
However, positive clock C2 has a slightly longer phase length of 49.5 ns, based on a 2 1/2 ns delay from the leading edge and a delay of 2 ns added to the trailing edge, which results in a phase length of 50.5 ns for negative clock C2.
The broken lines 29,30,31 (Fig. 2~ are connections that are preferably provided for diagnostic test purposes, are normally inactive, and are shown here only for purposes of completeness. A negative signal in line 29 will suppress clock Cl, resulting in only clock C2 being active. Similarly, a negative signal in line 30 will suppress clock C2, resulting in only clock Cl being ~9_90_030 5 ~05~29 active. A positive signal in line 31 will condition the inverting OR gates 26,28 to maintain both clocks C1 and C2 positive continuously.
According to another feature of the invention, every external device 13,14 knows at the same preselected time early in the cycle - namely, at the rise of the first clock, C1 -- when it is to become the bus master.
Arbitration requests can only be changed on an encoded arbitration bus 40 (Fig. 4) at the rise of clock C1 and thereafter will be stable for granting a bus master at the fall of the last clock, C2.
Referring now to Fig. 4, the lines AR0, AR1, AR2, AR3 and -Lock are OR dot connected to arbitration bus 40.
Any external device 13,14 wishing to get access to bus 12 records its Read or Write request into a latch (not shown) set by clock C2. This request is passed through an Own Bus Request polarity hold latch 41 clocked by clock C1. Latch 41 has a positive output that goes to circuit 42. If there is no higher priority on arbitration bus 40, the level of AR0 is positive, and the OR circuit 42 acts as an inverter that provides a negative output. This output is inverted at 43 and becomes a positive Bus Request Highest 1. This request is inverted by inverting driver 44, putting a negative AR1 level on arbitration bus 40. This request together with Bus Request Highest 3 will pass through, and the requesting device 13 or 14 will become the bus master.
If another device on the arbitration bus 40 has the highest level AR~ active, the signal in the AR0 line from the bus to OR-invert circuit 42 will be negative resulting in a positive output from circuit 42 that blocks any output from the bus requests on lines AR1 and AR3. The positive output from circuit 42 will also cause AND-invert circuit 45 to block any passthrough of requests to the AR3 branch of arbitration bus 40.
As illustrated in Fig. 4, the priority is fixed at 5. Hence, for code 5, the Own Priority in a four-bit code are the bits AR1 and AR3, with AR3 being the least significant bit.

~9_90_030 6 2~5~9 If the AR2 higher priority bit from an external device is active, it will be inverted at 46 and change the polarity at the input to the AND-invert circuit 45 to positive. If either one of these inputs to AND-invert circuit 45 is positive, the output of said circuit will be negative; and in such case, through inverter driver 47, no negative output can appear at AR3.
If there are no AR0 or AR2 priority requests from any other external devices, both inputs to the AND-invert circuit 45 will be negative. The output of circuit 45 will then render the Bus Request Highest 3 output positive. This output is inverted by inverter driver 47 and appears as an AR3 negative active output. The output of AND-invert circuit 45 (which is Bus Request Highest 3 in this case) is also the decode of its own priority and preconditions an Own Priority polarity hold latch 48 during clock C2. Latch 48 will latch according to the condition at the end of clock C2.
According to a feature of the invention, once the Own Priority latch 48 is latched, it can set the Own Bus Grant polarity hold latch 49 on the following cycle for granting the next cycle. The output of Own Priority latch 48 passes through AND gate 50 and is inverted by the OR-invert gate 51 and will be latched by Own Bus Grant latch 49 at the beginning of clock Cl. This signals the particular device that it is the bus master for that cycle.
The previous device that had been bus master before this priority determination may extend its cycle even though the Own Priority latch (like 48) of another external device has been latched. This delays the next cycle until the previous master releases the bus 12. The delay function is controlled by the second input to AND
gate 50 which is the output from Any Lock polarity hold latch 52. Latch 52 will have been latched up by the previous clock C2 from the -Lock signal on bus 40. The delay may be for any number of cycles of clock C2.
As soon as the extended cycles are complete, the -Lock signal will be freed by the previous bus master at the clock Cl time. This will allow the Own Bus Grant 7 205C~1~9 latch 49 to proceed in a pipelined fashion at the next clock C1 controlled by the Any Lock latch 52 releasing at clock C2, provided no higher priority re~uests are received in the meantime to preempt the current arbitration priority.
Assume now a device wishes to take two or more cycles in succession because of a slow slave receiver or because it wants to do a burst mode. The device will latch up its Own Lock polarity hold latch 53 at clock C2 through the AND-invert circuit 54. The Own Extend request must be set by clock C1 into another latch (not shown) before it also appears at the AND-invert circuit 54. The same output of AND-invert circuit 54 through inverter-driver 55 sets the Own Lock latch 52 and also drives the common -Lock signal on the arbitration bus 40.
As long as the Own Lock latch 53 remains set, its positive output will be ORed at OR-invert circuit 51 to hold the Own Bus Grant latch 49 on for multiple cycles.
Again, once the extended cycle is completed, the Own Lock latch 53 will be reset by clock C2 and the Own Bus Grant latch 49 will be reset by clock C1. This allows the -Lock signal to disappear. All the external devices will now be free to continue successive data transfers.
Inverter-drivers 56,57 are inactive internally and their inputs are tied to ground because they are not involved in generation of the priority code O101;
however, they remain active with external inputs from bus 40.
The pipelined timing for gating data on bus 12 is obtained by setting the positive output from Own Bus Grant latch 49 into an Own Grant Delayed latch 58 at clock C2, and setting the output of latch 58 into an Own Data Transfer latch 59 at clock C1. The output from latch 59 is the timing signal that gates data to or from bus 12.
Fig. 5 depicts circuitry that can be substituted for circuitry 65 (enclosed in broken lines in Fig. 4) to permit the priority code to be varied dynamically. A
four-bit priority code that provides up to 16 different priorities is set into a register 70 at the beginning of ~~9-9O-030 8 2~5~9 -an operation, such as at the time of Initial Program Load (IPL). This circuitry 65 includes four inverter drivers 71,72,73,74. These drivers are open collector or dotting drivers. They set up the arbitration bits AR0, ARl, AR2 and AR3, driven by AND gates 75,76,77,78, respectively.
These AND gates determine the highest priority by means of two complex logic gates 79,80, which are actually single circuits.
Gate 79 comprises two AND gates 81,82 and a three-way OR-invert gate 83. OR-invert gate 83 inhibits all the lower request lines ARl, AR2 and AR3. Gate 83 also inhibits Own Priority circuit 84 if a higher priority is externally active on the arbitration bus 40.
If AR0 is active and the polarity hold latch PR0 output of register 70 is not, AND gate 81 through OR-invert circuit 83 will inhibit the ARl, AR2 and AR3 and the Own Priority signals.
Similarly, with AND gate 82, if ARl is active and the polarity hold latch PRl is not, then ARl, AR2, AR3 and Own Priority signals will be inhibited; whereupon the arbitration will preclude the device from being the next to be serviced.
The last input to the invert gate 83 is the output of a Bus Request polarity hold latch (not shown) which is set by clock Cl and requests an arbitration cycle for data transfer. The +Bus Request polarity hold latch line will be negative if it is not active. This automatically will inhibit all the blocks 76, 77, 78 and 84. When the output of AND-invert circuit 84 is positive, it indicates that this is currently the highest priority device that has won the arbitration and can start transferring on the next sequence of cycles.
Complex logic gate 80 comprises AND gates 85 and 86, which operate similarly to gates 81 and 82 except that they deal with the two lower arbitration bus bits AR2 and AR3. Also, the OR-invert circuit 87 has the same function as circuit 83 for the lower two bits; but it does not require connection of the +Bus Request polarity hold latch (not shown) because that output is already controlled by circuit 83, the output of which already ~9 9O 030 9 2~ 9 goes to all the gates 76,77,78,84. The output of the OR-invert circuit 87 therefore only controls the lowest significant bit on the AR3 line of arbitration bus 40 and also its Own Priority gate 84 for latching.
The most significant bit on the AR0 line of arbitration bus 40 is the highest bit. Any device driving that bit will automatically have the highest priority. If the microprocessor-set priority in register 70 indicates that a particular device has a priority PR0 or higher bit active, then any -Bus Request polarity hold latch (not shown) which is also set by clock Cl will automatically drive the AR0 line of arbitration bus 40.
In this case, this bit will always be active and does not need to be inhibited.
Fig. 6 is a timing diagram depicting the pipelining of various operations based on the use of a free-running oscillator 15 (Fig. 1) that can be of any value depending upon the technology. Current technology uses a lOO ns cycle and future technologies already are planned for 50 ns. The Bus Request can always be changed at the beginning of clock Cl; i.e., the first half of the oscillator cycle. The Bus Request stays on until the following clock Cl. The Bus Grant is also set by clock Cl; but it follows the Bus Request cycle and therefore is pipelined always one cycle behind.
Fig. 6 shows a plurality of devices with different priorities - from A, the highest to H, the lowest.
Fig. 6 also indicates how these priorities form successive cycles, either as bursts or delayed by slow nonstreaming slaves so the slaves can receive data within their respective timings. "Slave", as herein used, refers generically to any device with which the bus master device wishes to communicate.
Every time a device wins the bus 12, it will latch internally its Own Bus Grant latch (like 49, Fig. 4).
This latch controls the current cycle for a device that wins the arbitration. At that time, that device is in charge of the cycle for communicating with the slave. It sends the address on the bus 12 during the Own Bus Grant cycle. It also indicates whether it wants to do a read ~9-90-030 10 2~

or write function on the +Read/-Write signal. The -Lock signal will also become active if the bus master wishes to operate in a burst mode; i.e., lock out other devices for a short burst of cycles before the next highest priority device can come in. If one data transfer has occurred and the slave then sees its own address repeated, it may wish to extend the time it needs to either receive or send data. It can do that in one or more increments of the basic bus cycle by setting the -Lock signal with logic similar to that shown in Fig. 4 used by bus masters. The response line from each device indicates that it has either sent or received the data on bus 12. The -Lock signal can also be a response on the following cycle from the slave indicating that it cannot take any successive cycle.
As shown in Fig. 6, a bus request is followed by a bus grant and addressing performed by the bus master; and the read or write function occurs as the third sequence of the pipelined operation.
Fig. 6 depicts writing and reading by various masters A-H to or from slaves P-W, in different types of operational mode.
As illustrated, the invention has been implemented with an address bus and a bidirectional data bus.
However, for faster pipelining, the invention may be implemented with a unidirectional outgoing bus for addresses and data multiplexed at half-cycle periods, and the data bus can be merely an incoming unidirectional data bus.
Or, if preferred, the invention can be implemented with a single nondedicated bidirectional bus. In such case, addresses will be sent only once at the beginning of a long transfer and during subsequent data transfer cycles, the addresses will be incremented sequentially unless a new nonsequential address is sent. More specifically, at the beginning of the long transfer, the device will take a burst of two cycles, sending the address during the first, and data during the second and subsequent cycles. Fig. 6 in this case would be modified to eliminate the address bus, and the arbitration bus 21~5~ 9 will then become an indirect address pointer for the multiplexed external devices.
While the invention has been shown and described with respect to preferred embodiments thereof, it will be understood by those skilled in the art that changes in form and detail may be made in these embodiments without departing from the scope and teaching of the invention.
Accordingly, the apparatus and method herein disclosed are to be considered merely as illustrative, and the invention is to be limited only as specified in the claims.

Claims (17)

1. Apparatus for optimizing, without requiring data latency buffers, bus arbitration during direct memory access (DMA) data transfers across a nondedicated bus (12) interconnecting a memory (11) and a plurality of external devices (13,14) each having an arbitration priority, comprising:
a single arbitration bus (40) connected to each of the external devices;
clock generating means connected to the non-dedicated bus for providing successive sequences of two nonoverlapping clock signals (C1,C2) per clock cycle, and data transfer cycles equal to the number of clock cycles required for a responding one of the devices to acknowledge completion of a data transfer, and an arbitration cycle equal to preselected number of clock cycles;
means, operatively connected to the clock generating means and arbitration bus, responsive to only the beginning edge of the first of said clock signals in one sequence for transmitting arbitration priority bus requests from each external device to the arbitration bus;
means, operatively connected to the clock generating means and each device, responsive to the ending edge of the last of said clock signals of an arbitration cycle in that same said one sequence for dynamically conditioning the external device having the highest bus priority to designate itself as the next external device which is to become bus master; and transferring means including first latch means (49,59), operatively connected to the clock generating means and nondedicated bus, responsive to the beginning of the first clock signal of a cycle during said one sequence for transferring addresses and responsive to the beginning of the first clock signal during the next cycle following said one sequence for transferring data for a single data transfer or variable burst length data transfer between the designated bus master and the memory or another of the external devices via the nondedicated bus starting on the next clock cycle, after which a then active bus master relinquishes control.
2. The apparatus of claim 1, including a register (70) operatively connected to the arbitration bus for storing a priority code designating the priority of at least one of the external devices, and a microprocessor connected via the nondedicated bus to the register for dynamically modifying said priority code for changing said priorities.
3. The apparatus of claim 1, including circuitry connected to the arbitration bus for preselecting and fixing a priority code establishing the priority of each of the respective external devices.
4. The apparatus of claim 1, including one means (41) connected to drive the arbitration bus and set by said beginning edge of first clock signal in said one sequence and another latch means (48) connected to the arbitration bus to receive the arbitration priority and set by said ending edge of said last clock signal in said one sequence for synchronizing all bus requests for bus master priority.
5. The apparatus of claim 1, including means operatively connected to the arbitration bus and clock generating means, responsive to a bus request from one of the devices initiated by the beginning of said first clock cycle for defining a first tier of pipelining of said arbitration cycles on said single arbitration bus and responsive to a priority bus grant to one of the devices at the end of said last clock cycles for defining a second tier of pipelining of said arbitration cycles in a two-tiered overlapping fashion with no lass of address or data transfer cycles due to arbitration, and means connected to the nondedicated bus for pipelining addresses and data transfers on said nondedicated bus up to a third tier of pipelining.
6. The apparatus of claim 1, wherein said transferring means is responsive to a burst transfer command from one of the external devices at a time to generate a signal for transferring data back-to-back without reduction in data transfer bandwidth in a multiplexed continuous sequential stream from different external devices one at a time over the nondedicated bus.
7. The apparatus of claim 1, including means that includes two latches, separate from said first latch means, operatively connected to said clock generating means and arbitration bus and responsive to the setting of one of these latches (Own Extend) by said first clock signal in said one sequence and to the setting of the other of these latches (53) by said last clock signal in the sequence immediately preceding said one sequence for permitting the then active bus master to retain communication with one of the external devices for an addition transfer cycle or cycles.
8. The apparatus of claim 1, including means connected to the devices and clock generating means for preempting a device that had been designated as next in line to be the bus master when (a) the then active bus master has retained bus mastership for more than one transfer cycle by initiating a locking period (by -Lock signal), and (b) a higher priority device gains arbitration priority during said locking period.
9. The apparatus of claim 1, wherein the nondedicated bus comprises a unidirectional bus for outgoing addresses and data multiplexed at half-cycle periods, and a data bus that is unidrectional incoming.
10. The apparatus of claim 1, wherein the nondedicated bus is a single bidirectional bus for addresses and data, and including means operatively connected to said clock generating means and nondedicated bus for sending addresses only at the beginning of a long transfer, and during subsequent data transfer cycles, incrementing the addresses sequentially as long as the addresses constitute a continuous sequence.
11. A method for optimizing a bus arbitration pass during direct memory access (DMA) data transfers across a nondedicated bus between a memory and/or a plurality of external devices each having an arbitration priority, comprising the steps of:
providing successive sequences of two nonoverlapping clock signals (C1, C2) per clock cycle; and data transfer cycles equal to the number of clock cycles required for a responding one of the devices to acknowledge completion of a data transfer, and an arbitration cycle equal to a preselected number of clock cycles;
transmitting arbitration priority bus requests for the external devices to a single arbitration bus only at the beginning edge of the first of said clock signals in one of said sequences;
at the end of the last of said clock signals in said one sequence, dynamically conditioning the external device then having the highest bus priority code to automatically designate itself as the next external device to become bus master, thereby constituting a priority bus grant to said next external device;
continually repeating the arbitration pass to allow any higher priority device to preempt a then currently designated priority device until a then active bus master relinquishes control of the nondedicated bus; and transferring addresses and data between the designated bus master and the memory of another of the external devices via the nondedicated bus during the next cycle after said then active bus master relinquishes control.
12. The method of claim 11, including the step of using a microprocessor, dynamically changing the priorities of at least one of the external devices during initialization of a program.
13. The method of claim 11, including, during the step of transferring addresses and data, transferring data on the nondedicated bus from different external devices in a multiplexed continuous sequential stream and without sequence delays.
14. The method of claim 11, including the step of concurrently pipelining bus requests and bus grants of said arbitration cycles on said single arbitration bus independent of data transfers, thereby eliminating arbitration overhead.
15. The method of claim 11, including the step of permitting that one of the external devices with which the then bus master desired to communicate to elongate transfer cycles in increments of the cycle length of the two nonoverlapping clock signals to increase the time for slower external devices to complete a single data transfer.
16. The method of claim 11, including the step of automatically preempting the device designated as next in line as bus master, when (a) the then active bus master retains bus mastership for more than one transfer cycle by initiating a locking period, and (b) a higher priority device gains arbitration during said locking period.
17. The method of claim 11, wherein during the step of transferring addresses and data, data is transferred without requiring prior knowledge of the number of data transfer cycles required to complete a data transfer sequence.
CA002050129A 1990-09-21 1991-08-28 Dynamic bus arbitration with grant sharing each cycle Expired - Fee Related CA2050129C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US58634990A 1990-09-21 1990-09-21
US07/586,349 1990-09-21

Publications (2)

Publication Number Publication Date
CA2050129A1 CA2050129A1 (en) 1992-03-22
CA2050129C true CA2050129C (en) 1996-05-14

Family

ID=24345380

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002050129A Expired - Fee Related CA2050129C (en) 1990-09-21 1991-08-28 Dynamic bus arbitration with grant sharing each cycle

Country Status (18)

Country Link
US (1) US5195185A (en)
EP (1) EP0476990B1 (en)
JP (1) JPH0810445B2 (en)
KR (1) KR950014505B1 (en)
CN (1) CN1037553C (en)
AU (1) AU639589B2 (en)
BR (1) BR9103929A (en)
CA (1) CA2050129C (en)
CZ (1) CZ282214B6 (en)
DE (1) DE69132344T2 (en)
FI (1) FI914429A (en)
HU (1) HU215867B (en)
MX (1) MX173460B (en)
NO (1) NO913707L (en)
PL (1) PL167608B1 (en)
PT (1) PT99006A (en)
RU (1) RU2110838C1 (en)
SG (1) SG42853A1 (en)

Families Citing this family (64)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559962A (en) * 1989-10-09 1996-09-24 Yamaha Corporation Data transmission system selecting both source and destination using addressing mechanism
US5461723A (en) * 1990-04-05 1995-10-24 Mit Technology Corp. Dual channel data block transfer bus
FR2675286B1 (en) * 1991-04-15 1993-06-18 Bull Sa INTEGRATED CIRCUIT ARBITRATOR OF MCA BUS AND USES OF SUCH A CIRCUIT.
US5454082A (en) * 1991-09-18 1995-09-26 Ncr Corporation System for preventing an unselected controller from transferring data via a first bus while concurrently permitting it to transfer data via a second bus
JPH05165762A (en) * 1991-12-13 1993-07-02 Toshiba Corp Dma controller
EP0559409B1 (en) * 1992-03-04 1998-07-22 Motorola, Inc. A method and apparatus for performing a bus arbitration protocol in a data processing system
DE69320508T2 (en) * 1992-03-04 1999-03-04 Motorola Inc Method and device for performing bus arbitration with an arbiter in a data processing system
US5341480A (en) * 1992-04-09 1994-08-23 Apple Computer, Inc. Method and apparatus for providing a two conductor serial bus
JPH05342178A (en) * 1992-06-10 1993-12-24 Hitachi Ltd Arbitration circuit and data processor using the circuit
US5313591A (en) * 1992-06-25 1994-05-17 Hewlett-Packard Company Computer bus arbitration for N processors requiring only N unidirectional signal leads
US5596749A (en) * 1992-09-21 1997-01-21 Texas Instruments Incorporated Arbitration request sequencer
US5553248A (en) * 1992-10-02 1996-09-03 Compaq Computer Corporation System for awarding the highest priority to a microprocessor releasing a system bus after aborting a locked cycle upon detecting a locked retry signal
US5535395A (en) * 1992-10-02 1996-07-09 Compaq Computer Corporation Prioritization of microprocessors in multiprocessor computer systems
US5553310A (en) * 1992-10-02 1996-09-03 Compaq Computer Corporation Split transactions and pipelined arbitration of microprocessors in multiprocessing computer systems
US5299196A (en) * 1992-11-12 1994-03-29 International Business Machines Corporation Distributed address decoding for bus structures
JPH06282528A (en) * 1993-01-29 1994-10-07 Internatl Business Mach Corp <Ibm> Method and system for transfer of data
US5546548A (en) * 1993-03-31 1996-08-13 Intel Corporation Arbiter and arbitration process for a dynamic and flexible prioritization
EP0619547A1 (en) * 1993-04-05 1994-10-12 Motorola, Inc. A method of requesting data and apparatus therefor
CA2115731C (en) * 1993-05-17 2000-01-25 Mikiel Loyal Larson Dynamically programmable bus arbiter with provisions for historical feedback and error detection and correction
US5517671A (en) * 1993-07-30 1996-05-14 Dell Usa, L.P. System for designating a plurality of I/O devices to a plurality of I/O channels and connecting and buffering the plurality of I/O channels to a single system bus
US5600839A (en) * 1993-10-01 1997-02-04 Advanced Micro Devices, Inc. System and method for controlling assertion of a peripheral bus clock signal through a slave device
US6163848A (en) * 1993-09-22 2000-12-19 Advanced Micro Devices, Inc. System and method for re-starting a peripheral bus clock signal and requesting mastership of a peripheral bus
US5524215A (en) * 1993-10-05 1996-06-04 Motorola, Inc. Bus protocol and method for controlling a data processor
EP0654743A1 (en) * 1993-11-19 1995-05-24 International Business Machines Corporation Computer system having a DSP local bus
US6026455A (en) * 1994-02-24 2000-02-15 Intel Corporation Architecture and method for providing guaranteed access for a retrying bus master to a data transfer bridge connecting two buses in a computer system
US5519838A (en) * 1994-02-24 1996-05-21 Hewlett-Packard Company Fast pipelined distributed arbitration scheme
US5533205A (en) * 1994-03-30 1996-07-02 International Business Machines Corporation Method and system for efficient bus allocation in a multimedia computer system
US5572687A (en) * 1994-04-22 1996-11-05 The University Of British Columbia Method and apparatus for priority arbitration among devices in a computer system
US5526496A (en) * 1994-04-22 1996-06-11 The University Of British Columbia Method and apparatus for priority arbitration among devices in a computer system
US5758106A (en) * 1994-06-30 1998-05-26 Digital Equipment Corporation Arbitration unit which requests control of the system bus prior to determining whether such control is required
US6256694B1 (en) * 1994-06-30 2001-07-03 Compaq Computer Corporation Distributed early arbitration
US5568614A (en) * 1994-07-29 1996-10-22 International Business Machines Corporation Data streaming between peer subsystems of a computer system
US5598542A (en) * 1994-08-08 1997-01-28 International Business Machines Corporation Method and apparatus for bus arbitration in a multiple bus information handling system using time slot assignment values
US5634060A (en) * 1994-08-09 1997-05-27 Unisys Corporation Method and apparatus for high-speed efficient bi-directional communication between multiple processor over a common bus
US5559969A (en) * 1994-08-09 1996-09-24 Unisys Corporation Method and apparatus for efficiently interfacing variable width data streams to a fixed width memory
US6434638B1 (en) 1994-12-09 2002-08-13 International Business Machines Corporation Arbitration protocol for peer-to-peer communication in synchronous systems
KR0155269B1 (en) * 1995-01-16 1998-11-16 김광호 Bus arbitrating method and its apparatus
JP3320233B2 (en) * 1995-02-06 2002-09-03 キヤノン株式会社 Recording device
US5701313A (en) * 1995-02-24 1997-12-23 Unisys Corporation Method and apparatus for removing soft errors from a memory
US5511164A (en) 1995-03-01 1996-04-23 Unisys Corporation Method and apparatus for determining the source and nature of an error within a computer system
US5740383A (en) * 1995-12-22 1998-04-14 Cirrus Logic, Inc. Dynamic arbitration priority
KR100201325B1 (en) * 1996-03-30 1999-06-15 유기범 Method of rising frequency of bus clock in a multiprocessor system
US5842025A (en) * 1996-08-27 1998-11-24 Mmc Networks, Inc. Arbitration methods and apparatus
US5970253A (en) * 1997-01-09 1999-10-19 Unisys Corporation Priority logic for selecting and stacking data
US5822766A (en) * 1997-01-09 1998-10-13 Unisys Corporation Main memory interface for high speed data transfer
US5859986A (en) * 1997-02-20 1999-01-12 International Business Machines Corporation Bandwidth efficient method and means for resynchronizing a master and slave over a clocked, arbitrated, bidirectional multistate parallel bus using local data recirculation, wait states, and cycle stealing
US5862353A (en) * 1997-03-25 1999-01-19 International Business Machines Corporation Systems and methods for dynamically controlling a bus
US5996037A (en) * 1997-06-03 1999-11-30 Lsi Logic Corporation System and method for arbitrating multi-function access to a system bus
US6006303A (en) * 1997-08-28 1999-12-21 Oki Electric Industry Co., Inc. Priority encoding and decoding for memory architecture
JP4019333B2 (en) * 1998-02-13 2007-12-12 富士通株式会社 Head IC circuit and recording apparatus
US6047336A (en) * 1998-03-16 2000-04-04 International Business Machines Corporation Speculative direct memory access transfer between slave devices and memory
US6182112B1 (en) 1998-06-12 2001-01-30 Unisys Corporation Method of and apparatus for bandwidth control of transfers via a bi-directional interface
US6199135B1 (en) 1998-06-12 2001-03-06 Unisys Corporation Source synchronous transfer scheme for a high speed memory interface
US6330646B1 (en) * 1999-01-08 2001-12-11 Intel Corporation Arbitration mechanism for a computer system having a unified memory architecture
US6519666B1 (en) 1999-10-05 2003-02-11 International Business Machines Corporation Arbitration scheme for optimal performance
US8834864B2 (en) * 2003-06-05 2014-09-16 Baxter International Inc. Methods for repairing and regenerating human dura mater
KR101034493B1 (en) * 2004-01-09 2011-05-17 삼성전자주식회사 Image transforming apparatus, dma apparatus for image transforming, and camera interface supporting image transforming
JP2006155387A (en) * 2004-11-30 2006-06-15 Yamaha Corp Computer system
KR101283524B1 (en) * 2006-06-27 2013-07-15 톰슨 라이센싱 Method and apparatus for performing arbitration
GB2473505B (en) * 2009-09-15 2016-09-14 Advanced Risc Mach Ltd A data processing apparatus and a method for setting priority levels for transactions
US8713277B2 (en) * 2010-06-01 2014-04-29 Apple Inc. Critical word forwarding with adaptive prediction
CN111478840A (en) * 2020-04-15 2020-07-31 联合华芯电子有限公司 Double-rate arbitration relay device for bus system
CN113821470A (en) * 2020-06-19 2021-12-21 平头哥(上海)半导体技术有限公司 Bus device, embedded system and system on chip
RU2749911C1 (en) * 2020-12-25 2021-06-21 Акционерное Общество "Крафтвэй Корпорэйшн Плс" Hardware implementation of mechanism for using the same memory by multiple devices

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4481580A (en) * 1979-11-19 1984-11-06 Sperry Corporation Distributed data transfer control for parallel processor architectures
US4453211A (en) * 1981-04-28 1984-06-05 Formation, Inc. System bus for an emulated multichannel system
EP0340347B1 (en) * 1983-09-22 1994-04-06 Digital Equipment Corporation Bus arbitration system
US4967344A (en) * 1985-03-26 1990-10-30 Codex Corporation Interconnection network for multiple processors
US4837677A (en) * 1985-06-14 1989-06-06 International Business Machines Corporation Multiple port service expansion adapter for a communications controller
US4924427A (en) * 1985-11-15 1990-05-08 Unisys Corporation Direct memory access controller with direct memory to memory transfers
US4949301A (en) * 1986-03-06 1990-08-14 Advanced Micro Devices, Inc. Improved pointer FIFO controller for converting a standard RAM into a simulated dual FIFO by controlling the RAM's address inputs
JPS6366654A (en) * 1986-09-08 1988-03-25 Matsushita Electric Ind Co Ltd Synchronous bus
US4947368A (en) * 1987-05-01 1990-08-07 Digital Equipment Corporation Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers
DE3782500T2 (en) * 1987-12-23 1993-05-06 Ibm SHARED STORAGE INTERFACE FOR DATA PROCESSING SYSTEM.
US5001625A (en) * 1988-03-24 1991-03-19 Gould Inc. Bus structure for overlapped data transfer
US5016162A (en) * 1988-03-30 1991-05-14 Data General Corp. Contention revolution in a digital computer system
US4987529A (en) * 1988-08-11 1991-01-22 Ast Research, Inc. Shared memory bus system for arbitrating access control among contending memory refresh circuits, peripheral controllers, and bus masters
US5006982A (en) * 1988-10-21 1991-04-09 Siemens Ak. Method of increasing the bandwidth of a packet bus by reordering reply packets

Also Published As

Publication number Publication date
US5195185A (en) 1993-03-16
NO913707D0 (en) 1991-09-20
EP0476990A3 (en) 1993-08-04
CN1060166A (en) 1992-04-08
BR9103929A (en) 1992-05-26
CS287491A3 (en) 1992-04-15
DE69132344T2 (en) 2001-02-15
KR950014505B1 (en) 1995-12-02
HUT58931A (en) 1992-03-30
KR920006858A (en) 1992-04-28
SG42853A1 (en) 1997-10-17
CA2050129A1 (en) 1992-03-22
PL167608B1 (en) 1995-09-30
HU215867B (en) 1999-03-29
EP0476990A2 (en) 1992-03-25
HU913024D0 (en) 1992-01-28
PL291778A1 (en) 1992-06-01
CZ282214B6 (en) 1997-06-11
PT99006A (en) 1993-10-29
AU8261291A (en) 1992-03-26
MX173460B (en) 1994-03-04
EP0476990B1 (en) 2000-08-02
JPH0810445B2 (en) 1996-01-31
NO913707L (en) 1992-03-23
AU639589B2 (en) 1993-07-29
FI914429A0 (en) 1991-09-20
FI914429A (en) 1992-03-22
JPH04246758A (en) 1992-09-02
RU2110838C1 (en) 1998-05-10
DE69132344D1 (en) 2000-09-07
CN1037553C (en) 1998-02-25

Similar Documents

Publication Publication Date Title
CA2050129C (en) Dynamic bus arbitration with grant sharing each cycle
US4257095A (en) System bus arbitration, circuitry and methodology
US4449183A (en) Arbitration scheme for a multiported shared functional device for use in multiprocessing systems
US4050097A (en) Synchronization technique for data transfers over an asynchronous common bus network coupling data processing apparatus
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JP2510799B2 (en) Data processing device and memory controller
US3940743A (en) Interconnecting unit for independently operable data processing systems
US6314484B1 (en) Computer system with a bus having a segmented structure
JP3084218B2 (en) Communication method and synchronous communication system
JPH0218657A (en) Multiple bus microcomputer system
JPH0449144B2 (en)
US5859986A (en) Bandwidth efficient method and means for resynchronizing a master and slave over a clocked, arbitrated, bidirectional multistate parallel bus using local data recirculation, wait states, and cycle stealing
US5255373A (en) Decreasing average time to access a computer bus by eliminating arbitration delay when the bus is idle
US3961312A (en) Cycle interleaving during burst mode operation
US6504854B1 (en) Multiple frequency communications
US5377334A (en) Fast asynchronous resource master-slave combination
JPS6290742A (en) Method and apparatus for upgrading performance of cpu
JP3240863B2 (en) Arbitration circuit
KR100487218B1 (en) Apparatus and method for interfacing an on-chip bus
KR100243868B1 (en) Arbiter logic in main computer system
JPS63184859A (en) Shared memory transfer device
JPS6341973A (en) Multi-processor system
JPS6051151B2 (en) data processing system
JPH0754501B2 (en) Access request signal processing circuit
JPH11143825A (en) Bus arbitration mechanism

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed