Answer the following with full answer and explanation please: Q1)A DMA module is
ID: 3758639 • Letter: A
Question
Answer the following with full answer and explanation please:
Q1)A DMA module is transferring data to a memory using cycle stealing from the device that transmit data at a rate of 20 KBPS. Frequency of the CPU is 2.5 MIPS. By how much the DMA module will slow down the CPU if it steals 2 cycles for every byte moved to IO?
Q2)For the 8237 the DMA chip module, if a block transfer takes 2 clock cycles per DMA cycle in which one byte is transferred every time. Suppose that the clock frequency is 4 MHz then what will be the maximum transfer rate that this module can attain?
Explanation / Answer
Solution :
1) The DMA module will slow down the CPU = (20/2) * 2.5
= 10 * 2.5
= 25%
2) Maximum transfer rate = 8bits/sec.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.