Question and answer
What is the purpose and technique of DMA logic?
Direct memory access (DMA) is a feature of modern computers that allows certain hardware subsystems within the computer to access system memory independently of the central processing unit (CPU). Without DMA, [ when the CPU is using programmed input/output, it is typically fully occupied for the entire duration of the read or write operation, and is thus unavailable to perform other work. With
DMA, the CPU initiates the transfer, does other operations while the transfer is in progress, and receives an interrupt from the DMA controller when the operation is done. This feature is useful any time the CPU cannot keep up with the rate of data transfer, or where the CPU needs to perform useful work while waiting for a relatively slow I/O data transfer. Many hardware systems use DMA, including disk drive controllers, graphics cards, network cards and sound cards. DMA is also used for intra-chip data transfer in multi-core processors. Computers that have DMA channels can transfer data to and from devices with much less CPU overhead than computers without a DMA channel. Similarly, a processing element inside a multi-core processor can transfer data to and from its local memory without occupying its processor time, allowing computation and data transfer to proceed in parallel. ]
Expert answered|CroneDocuro|Points 20|
Question
Asked 10/1/2012 3:44:03 PM
0 Answers/Comments
Get an answer
New answers
Rating

There are no new answers.

Comments

There are no comments.

Add an answer or comment
Log in or sign up first.
Questions asked by the same visitor
Should DMA access to main memory be given higher priority than processor access to main memory?
Weegy: yes, Hence DMA has a higher priority than CPU. (More)
Question
Expert Answered
Asked 10/1/2012 1:46:48 PM
0 Answers/Comments
What is the purpose and technique of DMA logic?
Weegy: During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to be the master during that cycle and the component it is communicating with is said to be the slave. [ The CPU with its bus control logic is normally the master, but other specially designed components can gain control of the bus by sending a bus request to the CPU. After the current bus cycle is completed the CPU will return a bus grant signal and the component sending the request will become the master. Taking control of the bus for a bus cycle is called cycle stealing. Just like the bus control logic, a master must be capable of placing addresses on the address bus and directing the bus activity during a bus cycle. The components capable of becoming masters are processors (and their bus control logic) and DMA controllers. Sometimes a DMA controller is associated with a single interface, but they are often designed to accommodate more than one interface. The 8086 microprocessor receives bus requests through its HOLD pin and issues grants from the hold acknowledge (HLDA) pin. A request is made when a potential master sends a 1 to the HOLD pin. Normally, after the current bus cycle is complete the 8086 will respond by putting a 1 on the HLDA pin. When the requesting device receives this grant signal it becomes the master. It will remain master until it drops the signal to the HOLD pin, at which time the 8086 will drop the grant on the HLDA pin. One exception to the normal sequence is that if a word, which begins at an odd address is being accessed, then two bus cycles are required to complete the transfer and a grant will not be issued until after the second bus cycle. When a DMA controller becomes master it places an address on the address bus and sends the interface the necessary signals to cause it to put data on, or receive data from, the data bus. Since the DMA controller determines when the bus request is ... (More)
Question
Expert Answered
Asked 10/1/2012 3:07:13 PM
0 Answers/Comments
What is the purpose of DMA logic?
Weegy: The DMA logic unit controls the connection of selected one of the I/O peripheral devices to the memory subsystem for direct transfer or data therebetween, when the I/O peripheral devices place a request. [ The DMA logic unit includes a base address register, a base count register and a DMA controller. ] User: What is the purpose and technique of DMA logic? (More)
Question
Expert Answered
Updated 10/1/2012 4:10:09 PM
1 Answer/Comment
The techniques of DMA logic are:

- using caching techniques to keep data pinned as long as possible, producing overhead reductions for applications that repeatedly - communicate in the same memory area
pipelining memory pinning operations and data transfer (as done on Infiniband or Myrinet)
deferring memory pinning out of the critical path, thus hiding the latency increase
entirely removing the need for pinning (as Quadrics does)
Added 10/1/2012 4:10:13 PM
What are the differences between an interrupt and a trap? Provide an example of each. What is their importance?
Weegy: An interrupt is a hardware-generated event, usually caused by an I/O device requesting service. A trap, on the other and, is a software-generated interrupt. Traps are caused by 1) system calls and 2) exceptional software conditions (e.g. [ Divide by 0). Other than the source and function, processing of traps and interrupts is the same. ] (More)
Question
Expert Answered
Asked 10/1/2012 3:57:28 PM
0 Answers/Comments
17,423,509 questions answered
Popular Conversations
All of the following physical reactions occur when our ...
Weegy: What are your choices? User: A. dilating pupils B. increasing heartbeat C. increasing digestion D. increasing ...
9/17/2014 12:53:07 AM| 5 Answers
Which of the following areas would most likely have the deepest layer ...
Weegy: Which of the following areas would most likely have the deepest layer of topsoil? b. beach User: Which layer ...
9/17/2014 1:00:32 AM| 4 Answers
Simplify the expression where possible. (4c^2)^3 User: Simplify the ...
Weegy: -4x^4 User: Simplify the expression where possible. (x^2)^4 Weegy: that's not possible! what do you need to ...
9/18/2014 9:32:07 AM| 4 Answers
Simplify the expression where possible. (6^3)^-3 User: Simplify the ...
Weegy: (2^3) - 2 = 8 - 2 = 6 ; So the answer is 6. User: Evaluate the following expression. (5x)^0 User: ...
9/18/2014 9:35:27 AM| 4 Answers
Is the underlined word a predicate nominative or a predicate ...
Weegy: "The workers remained calm during the fire drill." In this sentence the word "calm" is the predicate adjective. ...
9/17/2014 2:01:58 PM| 3 Answers
Which word in the sentence is an indirect object? Send them ...
Weegy: D. apartment is an indirect object. User: Which word in the sentence is an indirect object? Choose all ...
9/18/2014 1:00:56 PM| 3 Answers
. Command is: A. Assumed by the individual who is the highest ranking ...
Weegy: Command is Directing, ordering, or controlling by virtue of explicit statutory, regulatory, or delegated ...
9/17/2014 1:35:53 AM| 2 Answers
When communicating, ICS requires the use of
Weegy: The Incident Command System (ICS) is "a systematic tool used for the command, control, and coordination of ...
9/17/2014 1:36:41 AM| 2 Answers
7. Before applying the corkscrew, Lucas discovers a bit of mold on ...
Weegy: Before applying the corkscrew, Lucas discovers a bit of mold on the cork of a bottle of Pinot Noir. Lucas should ...
9/17/2014 2:54:10 AM| 2 Answers
What court case upheld the use of implied powers by Congress in any ...
Weegy: The implied powers doctrine, upheld in McCulloch v. Maryland, gives Congress the power to create a national bank ...
9/17/2014 2:06:27 PM| 2 Answers
Weegy Stuff
S
R
L
1
1
P
C
1
P
1
1
L
P
C
P
C
1
P
C
L
P
C
1
P
C
P
C
P
C
L
Points 1954 [Total 26353]| Ratings 4| Comments 1914| Invitations 0|Online
S
L
1
L
P
C
1
Points 1801 [Total 8332]| Ratings 8| Comments 1721| Invitations 0|Offline
S
L
1
1
1
1
L
1
L
Points 1418 [Total 11198]| Ratings 0| Comments 1418| Invitations 0|Offline
S
L
C
P
C
1
L
L
P
C
1
Points 1355 [Total 17294]| Ratings 10| Comments 1255| Invitations 0|Offline
S
L
P
C
L
P
C
P
C
L
P
C
P
C
P
C
Points 1318 [Total 18490]| Ratings 3| Comments 1288| Invitations 0|Offline
S
1
L
1
L
P
P
L
Points 521 [Total 11767]| Ratings 0| Comments 521| Invitations 0|Offline
S
L
P
C
P
C
1
L
P
C
L
P
C
P
C
P
C
P
C
Points 503 [Total 19034]| Ratings 0| Comments 503| Invitations 0|Offline
S
L
Points 449 [Total 1119]| Ratings 0| Comments 449| Invitations 0|Offline
S
1
L
L
Points 396 [Total 5520]| Ratings 4| Comments 356| Invitations 0|Offline
S
P
C
L
P
L
1
Points 45 [Total 6102]| Ratings 1| Comments 35| Invitations 0|Offline
Home | Contact | Blog | About | Terms | Privacy | Social | ©2014 Purple Inc.