Difference between revisions of "Bus grant"
(Redir to long name) |
m (+See also) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | A '''bus grant''' is when the [[Central Processing Unit|CPU]] (or '''bus arbiter''', in machines in which the two are separate) turns over a [[bus]] to a [[device controller]] so that the device can either start an [[interrupt]], or do [[Direct Memory Access|DMA]] transfer(s) to [[main memory]]. | |
+ | |||
+ | This obviously requires the computer to have a bus on which the devices can do more than simply respond to read and write requests from the CPU. Most do, although in some computers (e.g. some [[mainframe]]s, and now high-performance [[personal computer]]s), devices may have a private bus to main memory, which is [[multi-port memory]], so in those systems, DMA cycles will not need a bus grant. | ||
+ | |||
+ | If multiple devices all want to use the bus at the same time, then before a grant can be handed out, usually some sort of '''bus arbitration''' must be performed, to see which device will get the bus first. There are many ways to do this; the system might use [[bus grant line]]s, or there might be some sort of distributed arbitration. | ||
+ | |||
+ | ==See also== | ||
+ | |||
+ | * [[Bus Arbitration on the Unibus and QBUS]] | ||
+ | |||
+ | {{semi-stub}} | ||
+ | |||
+ | [[Category: Device Basics]] |
Latest revision as of 17:42, 11 November 2019
A bus grant is when the CPU (or bus arbiter, in machines in which the two are separate) turns over a bus to a device controller so that the device can either start an interrupt, or do DMA transfer(s) to main memory.
This obviously requires the computer to have a bus on which the devices can do more than simply respond to read and write requests from the CPU. Most do, although in some computers (e.g. some mainframes, and now high-performance personal computers), devices may have a private bus to main memory, which is multi-port memory, so in those systems, DMA cycles will not need a bus grant.
If multiple devices all want to use the bus at the same time, then before a grant can be handed out, usually some sort of bus arbitration must be performed, to see which device will get the bus first. There are many ways to do this; the system might use bus grant lines, or there might be some sort of distributed arbitration.